@font-face {
    font-family: "Rubik";
    src: local("Rubik Light"), local("Rubik-Light"),
        url(4c753ed7ab8199667578.eot) format("embedded-opentype"),
        url(b1f0f1d816758ea3bc4a.woff2) format("woff2"),
        url(b98975383295673ea225.woff) format("woff"),
        url(ce4e1e41926d1d19ebf8.ttf) format("truetype");
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: "Rubik";
    src: local("Rubik Regular"), local("Rubik-Regular"),
        url(e9a53b3b0ea17fd8c478.eot) format("embedded-opentype"),
        url(7faeaac164d429f053a1.woff2) format("woff2"),
        url(9b504b121d513b85cf70.woff) format("woff"),
        url(bc2b7498ffcc55de3867.ttf) format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Rubik";
    src: local("Rubik Bold"), local("Rubik-Bold"),
        url(0891eb3078db272e7a80.eot) format("embedded-opentype"),
        url(15b537d9fdb84230fd6e.woff2) format("woff2"),
        url(87117101c42fdb69d98a.woff) format("woff"),
        url(7057ebfdfebcecbc3b87.ttf) format("truetype");
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: "Rubik";
    src: local("Rubik Medium"), local("Rubik-Medium"),
        url(17dd0050652c50e7eea5.eot) format("embedded-opentype"),
        url(b87db4c34be5f3bcbae4.woff2) format("woff2"),
        url(2d7c3aac52dbcf1e9a76.woff) format("woff"),
        url(37de5f3b19f150f2a7f1.ttf) format("truetype");
    font-weight: 500;
    font-style: normal;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}
body {
    line-height: 1;
}
ol,
ul {
    list-style: none;
}
blockquote,
q {
    quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
    content: "";
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
* {
    box-sizing: border-box;
}
img {
    width: 100%;
    vertical-align: bottom;
    height: auto;
}
a {
    display: block;
    text-decoration: none;
}
a,
button {
    -webkit-tap-highlight-color: transparent;
}

:root {
    --black: #303030;
    --white: #ffffff;
    --loader-bg: linear-gradient(to bottom right, #ad4562, #25116b, #255e93);
    --bg-1: #ad4562;
    --bg-2: #25116b;
    --bg-3: #255e93;
    --header-btn: linear-gradient(to right, #bc70f1, #7d18c3);
    --title-color: #443870;
    --subtitle-color: #443870;
    --number-color: #5a2ecd;
    --bg: #f2f2f2;
    --title-gradient: linear-gradient(to right, #9b83d8, #5a2ecd);
    --actions-color: #c2cbdd;
    --footer-text-color: #b4b4b4;
    --violet: #bb74ed;
    --work-bg: rgba(90, 46, 205, 0.1);
    --form-bg: #5d32cd;
}

.loader-screen {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background: linear-gradient(
        135deg,
        var(--bg-1),
        var(--bg-2),
        var(--bg-2),
        var(--bg-3)
    );
    background-size: 150% 150%;
    animation: gradientShift 25s ease infinite;
    display: flex;
    align-items: center;
    justify-content: center;

    transition: height 1s ease-in-out, opacity 0.8s ease;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
}

.animation-container {
    display: block;
    position: relative;
    width: 800px;
    max-width: 100%;
    margin: 0 auto;
    transition: opacity 0.4s ease;
}

.animation-container .lightning-container {
    position: absolute;
    top: 50%;
    left: 0;
    display: flex;
    transform: translateY(-50%);
}

.animation-container .lightning-container .lightning {
    position: absolute;
    display: block;
    height: 12px;
    width: 12px;
    border-radius: 12px;
    transform-origin: 6px 6px;
    animation-name: woosh;
    animation-duration: 1.5s;
    animation-iteration-count: infinite;
    animation-timing-function: cubic-bezier(0.445, 0.05, 0.55, 0.95);
    animation-direction: alternate;
}

.animation-container .lightning-container .lightning.white {
    background-color: white;
    box-shadow: 0px 50px 50px 0px rgba(255, 255, 255, 0.3);
}

.animation-container .lightning-container .lightning.red {
    background-color: #bb74ed;
    box-shadow: 0px 50px 50px 0px rgba(252, 113, 113, 0.3);
    animation-delay: 0.2s;
}

.animation-container .boom-container {
    position: absolute;
    display: flex;
    width: 80px;
    height: 80px;
    text-align: center;
    align-items: center;
    transform: translateY(-50%);
    left: 200px;
    top: -145px;
}

.animation-container .boom-container .shape {
    display: inline-block;
    position: relative;
    opacity: 0;
    transform-origin: center center;
}

.animation-container .boom-container .shape.triangle {
    width: 0;
    height: 0;
    border-style: solid;
    transform-origin: 50% 80%;
    animation-duration: 1s;
    animation-timing-function: ease-out;
    animation-iteration-count: infinite;
    margin-left: -15px;
    border-width: 0 2.5px 5px 2.5px;
    border-color: transparent transparent #42e599 transparent;
    animation-name: boom-triangle;
}

.animation-container .boom-container .shape.triangle.big {
    margin-left: -25px;
    border-width: 0 5px 10px 5px;
    border-color: transparent transparent #fade28 transparent;
    animation-name: boom-triangle-big;
}

.animation-container .boom-container .shape.disc {
    width: 8px;
    height: 8px;
    border-radius: 100%;
    background-color: #d15ff4;
    animation-name: boom-disc;
    animation-duration: 1s;
    animation-timing-function: ease-out;
    animation-iteration-count: infinite;
}

.animation-container .boom-container .shape.circle {
    width: 20px;
    height: 20px;
    animation-name: boom-circle;
    animation-duration: 1s;
    animation-timing-function: ease-out;
    animation-iteration-count: infinite;
    border-radius: 100%;
    margin-left: -30px;
}

.animation-container .boom-container .shape.circle.white {
    border: 1px solid white;
}

.animation-container .boom-container .shape.circle.big {
    width: 40px;
    height: 40px;
    margin-left: 0px;
}

.animation-container .boom-container .shape.circle.big.white {
    border: 2px solid white;
}

.animation-container .boom-container .shape:after {
    background-color: rgba(178, 215, 232, 0.2);
}

.animation-container .boom-container .shape.triangle,
.animation-container .boom-container .shape.circle,
.animation-container .boom-container .shape.circle.big,
.animation-container .boom-container .shape.disc {
    animation-delay: 0.38s;
    animation-duration: 3s;
}

.animation-container .boom-container .shape.circle {
    animation-delay: 0.6s;
}

.animation-container .boom-container.second {
    left: 485px;
    top: 155px;
}

.animation-container .boom-container.second .shape.triangle,
.animation-container .boom-container.second .shape.circle,
.animation-container .boom-container.second .shape.circle.big,
.animation-container .boom-container.second .shape.disc {
    animation-delay: 1.9s;
}

.animation-container .boom-container.second .shape.circle {
    animation-delay: 2.15s;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes woosh {
    0% {
        width: 12px;
        transform: translate(0px, 0px) rotate(-35deg);
    }
    15% {
        width: 50px;
    }
    30% {
        width: 12px;
        transform: translate(214px, -150px) rotate(-35deg);
    }
    30.1% {
        transform: translate(214px, -150px) rotate(46deg);
    }
    50% {
        width: 110px;
    }
    70% {
        width: 12px;
        transform: translate(500px, 150px) rotate(46deg);
    }
    70.1% {
        transform: translate(500px, 150px) rotate(-37deg);
    }
    85% {
        width: 50px;
    }
    100% {
        width: 12px;
        transform: translate(700px, 0) rotate(-37deg);
    }
}

@keyframes boom-circle {
    0% {
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    30% {
        opacity: 0;
        transform: scale(3);
    }
    100% {
    }
}

@keyframes boom-triangle-big {
    0% {
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    40% {
        opacity: 0;
        transform: scale(2.5) translate(50px, -50px) rotate(360deg);
    }
    100% {
    }
}

@keyframes boom-triangle {
    0% {
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    30% {
        opacity: 0;
        transform: scale(3) translate(20px, 40px) rotate(360deg);
    }
    100% {
    }
}

@keyframes boom-disc {
    0% {
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    40% {
        opacity: 0;
        transform: scale(2) translate(-70px, -30px);
    }
    100% {
    }
}

@media (max-width: 768px) {
    .animation-container {
        transform: scale(0.4);
        left: -50px;
    }
}

.hitsoft-swiper {
    padding: 50px 0;
}

.swiper-wrapper {
    display: flex;
}

.swiper-slide {
    height: auto;
    transition: transform 3s ease;
}

@media (max-width: 768px) {
    .hitsoft-swiper {
        padding: 30px 0 50px;
    }
    .hitsoft-swiper.paddinged {
        padding: 50px 60px;
    }
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--bg);
    position: relative;
    font-family: "Rubik", sans-serif;
    font-weight: normal;
    font-size: 17px;
    line-height: normal;
    color: var(--black);
}

.no-scroll {
    overflow: hidden;
    height: 100vh;
}

.opacitied {
    opacity: 0;
    transition: opacity 0.8s ease;
}

.opacitied.show {
    opacity: 1;
}

.container {
    padding: 0 15px;
    max-width: 1310px;
    margin: 0 auto;
}

button {
    font-family: "Rubik", sans-serif;
}

.section-title {
    font-weight: bold;
    /* text-align: center; */
    gap: 12px;
    font-size: 44px;
    margin-bottom: 50px;
    color: var(--title-color);
}

.subtitle {
    font-weight: bold;
    font-size: 26px;
    color: var(--subtitle-color);
}

.card {
    padding: 25px;
    border-radius: 40px;
    background-color: var(--white);
    display: flex;
    gap: 20px;
    flex-direction: column;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.card:hover {
    transform: scale(1.03);
}

.card.centered {
    text-align: center;
}

button {
    cursor: pointer;
}

.hovered {
    transition: filter 0.3s;
}

.hovered:hover {
    filter: brightness(90%);
}

#scrollToTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
    display: none;
    width: 50px;
    height: 50px;
    background-color: transparent;
    border: none;
    background-color: #bf70f1;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
}

.fa-angle-up {
    color: var(--white);
    font-size: 40px;
}

@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
    .section-title {
        font-size: 30px;
        margin-bottom: 30px;
        text-align: center;
    }
    .section-title.paddinged {
        padding: 0 15px;
    }
    .section-title.left {
        text-align: center;
    }
    .card {
        padding: 20px;
        gap: 10px;
        border-radius: 20px;
    }
    .subtitle {
        font-size: 20px;
    }
    .directions .container,
    .works .container,
    .advantages .container {
        padding: 0;
    }
}

.header {
    background: linear-gradient(
        135deg,
        var(--bg-1),
        var(--bg-2),
        var(--bg-2),
        var(--bg-3)
    );
    background-size: 150% 150%;
    animation: gradientShift 25s ease infinite;
    padding: 30px 0 50px;
}

.header-wrap {
}

.user-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.header-logo {
    width: 130px;
}

.navigation-list {
    display: flex;
    align-items: center;
    gap: 95px;
}

.navigation-list__item a {
    color: var(--actions-color);
    transition: 0.2s ease;
}

.navigation-list__item:hover a {
    color: var(--white);
}

.lang-phone {
    display: flex;
    gap: 30px;
    align-items: center;
}

.language {
    display: flex;
    align-items: center;
}

.lang-btn {
    padding: 0 10px;
    background-color: inherit;
    border: none;
    color: var(--actions-color);
    font-size: 16px;
}

.lang-btn:first-of-type {
    position: relative;
}

.lang-btn:first-of-type::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 1px;
    background-color: var(--actions-color);
}

.lang-btn.active {
    color: var(--white);
}

.header-btn {
    padding: 12px 20px;
    background-color: var(--violet);
    border: none;
    border-radius: 16px;
    color: var(--white);
    font-size: 14px;
    width: fit-content;
}

.header-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-title {
    font-weight: bold;
    font-size: 58px;
    color: var(--white);
    margin-bottom: 8px;
}

.header-title .we {
    font-size: 50px;
}

.title-colored {
    color: var(--violet);
}

.header-subtitle {
    max-width: 400px;
    color: var(--white);
    margin-bottom: 50px;
}

.header-img {
    max-width: 450px;
    animation: float 3s ease-in-out infinite;
}

.header-img.mobile {
    display: none;
}

.navigation-mobile {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        var(--bg-1),
        var(--bg-2),
        var(--bg-2),
        var(--bg-3)
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    pointer-events: none;
}

.navigation-mobile.show {
    display: flex;
}

.navigation-mobile.active {
    pointer-events: auto;
    opacity: 1;
}

.nav {
    width: 100%;
    font-size: 20px;
}

.nav-list {
    display: flex;
    flex-direction: column;
}

.nav-list__item a {
    padding: 25px 0;
    color: var(--white);
}

.lang-btn.large {
    padding: 30px;
    font-size: 20px;
}

.mobile-phone {
    color: var(--white);
    font-size: 20px;
    padding: 25px 0;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .header {
        padding: 20px 0;
    }
    .header-title {
        font-size: 45px;
    }
    .header-title .we {
        font-size: 40px;
    }
    .header-subtitle {
        font-size: 14px;
    }
    .header-img.desktop {
        display: none;
    }
    .header-img.mobile {
        display: block;
        max-width: 435px;
    }
    .navigation {
        display: none;
    }
    .lang-phone {
        display: none;
    }
    .header-btn {
        display: block;
        margin: 0 auto;
    }
}

.menu-btn {
    display: none;
    width: 30px;
    height: 30px;
    position: relative;
    justify-content: center;
    align-items: center;
    z-index: 100;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.menu-btn__burger {
    width: 30px;
    height: 3px;
    background: #ffffff;
    border-radius: 5px;
    transition: all 0.2s ease-in-out;
}

.menu-btn__burger::before,
.menu-btn__burger::after {
    content: "";
    position: absolute;
    left: 0;
    width: 30px;
    height: 3px;
    background: #ffffff;
    border-radius: 5px;
    transition: all 0.2s ease-in-out;
}

.menu-btn__burger::before {
    transform: translateY(-10px);
}

.menu-btn__burger::after {
    transform: translateY(10px);
}

.menu-btn.open .menu-btn__burger {
    transform: translateX(-50px);
    background: transparent;
}

.menu-btn.open .menu-btn__burger::before {
    transform: rotate(45deg) translate(35px, -35px);
    /* background: $orange; */
}

.menu-btn.open .menu-btn__burger::after {
    transform: rotate(-45deg) translate(35px, 35px);
    /* background: $orange; */
}

@media (max-width: 768px) {
    .menu-btn {
        display: flex;
    }
}

.directions {
    padding: 70px 0;
}

.directions-wrap__item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.directions-wrap__item-img {
    width: 350px;
    height: 300px;
}

.directions-wrap__item-img img {
    height: 100%;
    object-fit: contain;
}

@media (max-width: 768px) {
    .directions {
        padding: 30px 0;
    }
    .directions-wrap__item-img {
        width: 300px;
    }
}

.development-steps {
    padding: 50px 0;
}

.management {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 90px;
}

.management-img {
    flex-shrink: 0;
    width: 120px;
}

.management-img-mobile {
    display: none;
}

.content-block {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.steps {
    display: flex;
    position: relative;
    justify-content: space-between;
}

.step {
    padding: 0 30px;
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    position: relative;
}

.step:first-child {
    padding: 0 30px 0 0;
}

.step:last-child {
    padding: 0 0 0 30px;
}

.step:hover .step-number {
    transform: scale(1.1);
}

.step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 57.5px;
    left: 50%;
    width: 100%;
    height: 3px;
    background-image: repeating-linear-gradient(
        to right,
        var(--number-color),
        var(--number-color) 5px,
        transparent 5px,
        transparent 10px
    );
    background-color: transparent;
    opacity: 0.5;
    z-index: 0;
}

.steps:has(.step:hover) .step:not(:last-child)::after {
    background-image: repeating-linear-gradient(
        to right,
        var(--number-color),
        var(--number-color) 5px,
        transparent 5px,
        transparent 10px
    );
}

.steps:has(.step:nth-child(2):hover) .step:nth-child(1)::after,
.steps:has(.step:nth-child(3):hover) .step:nth-child(-n + 2)::after,
.steps:has(.step:nth-child(4):hover) .step:nth-child(-n + 3)::after,
.steps:has(.step:nth-child(5):hover) .step:nth-child(-n + 4)::after {
    background-image: none;
    background-color: var(--number-color);
}

.step-number-wrapper {
    width: 115px;
    height: 115px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg);
    z-index: 1;
    flex-shrink: 0;
}

.step-number {
    width: 95px;
    height: 95px;
    border-radius: 50%;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: var(--number-color);
    font-weight: 500;
    margin: 0 auto;
    transition: transform 0.3s ease;
    pointer-events: none;
}

.step-title {
    font-size: 20px;
    color: var(--black);
    font-weight: 500;
    margin-bottom: 15px;
}

.step-desc {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step:hover .step-desc {
    opacity: 1;
}

@media (max-width: 768px) {
    .development-steps {
        padding: 30px 0;
    }
    .management-img {
        display: none;
    }
    .management-img-mobile {
        display: block;
        width: 140px;
    }
    .content-block {
        align-items: center;
        text-align: center;
        gap: 30px;
    }
    .steps {
        flex-direction: column;
    }
    .step {
        padding: 50px 0;
        flex-direction: row;
        text-align: left;
        gap: 30px;
    }
    .step:first-child {
        padding: 0 0 50px;
    }
    .step:last-child {
        padding: 50px 0 0;
    }
    .step-desc {
        opacity: 1;
    }
    .step:not(:last-child)::after {
        left: 57.5px;
        background-image: none;
        background-color: var(--number-color);
        width: 3px;
        height: 100%;
    }
}

.works {
    padding: 50px 0;
}

.work {
    padding: 0;
}

.work-image-block {
    padding-top: 20px;
    border-top-right-radius: 40px;
    border-top-left-radius: 40px;
    background-color: var(--work-bg);
    display: flex;
    align-items: flex-end;
}

.work-img img {
    object-fit: contain;
}

.work-info {
    padding: 0 25px 25px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fa-paperclip {
    font-size: 16px;
}

@media (max-width: 768px) {
    .works {
        padding: 30px 0;
    }
    .work-text {
        font-size: 14px;
    }
    .work-image-block {
        border-top-right-radius: 20px;
        border-top-left-radius: 20px;
    }
    .work-img {
        margin: 0 auto;
    }
    .fa-paperclip {
        font-size: 12px;
    }
}

.advantages {
    padding: 50px 0;
}

.advantages-wrapper {
    display: flex;
    gap: 35px;
}

.advantage {
    flex: 1;
    align-items: center;
    text-align: center;
}

.advantage-img {
    max-width: 120px;
}

.advantages-swiper {
    display: none;
}

@media (max-width: 768px) {
    .advantages {
        padding: 30px 0;
    }
    .advantage {
        flex: none;
    }
    .advantages-wrapper {
        display: none;
    }
    .advantages-swiper {
        display: block;
    }
}

.about {
    padding: 50px 0;
}

.about-wrapper {
    display: flex;
    gap: 25px;
    margin-bottom: 60px;
}

.about-wrapper__item {
    flex: 1;
}

.about-wrapper__item-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.about-wrapper__item-img {
    width: 70px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .about-wrapper {
        flex-direction: column;
        row-gap: 30px;
    }
    .about {
        padding: 30px 0;
    }
    .about-wrapper__item {
        width: 75%;
    }
    .about-wrapper__item:nth-child(even) {
        align-self: flex-end;
    }
    .about-text,
    .about-wrapper__item-text {
        font-size: 14px;
    }
    .about-wrapper__item-title {
        margin-bottom: 10px;
        font-size: 20px;
    }
    .about-wrapper__item-marker {
        width: 25px;
        height: 25px;
        border-radius: 8px;
    }
}

.contact {
    padding: 50px 0;
}

.contact-block {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 40px;
}

.form-body {
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    border-radius: 42px;
    gap: 30px;
    margin-bottom: 20px;
    background-color: var(--form-bg);
}

.input-group {
    position: relative;
    display: flex;
    flex-direction: column;
}

.input-group input,
.input-group textarea {
    background-color: inherit;
    border: none;
    border-bottom: 1px solid var(--white);
    color: var(--white);
    font-size: 16px;
    font-family: "Rubik", sans-serif;
    padding: 8px 0 4px;
    outline: none;
}

.input-group.error input {
    border-bottom: 1px solid red;
}

.input-group textarea {
    border: 1px solid var(--white);
    border-radius: 16px;
    padding: 10px;
    height: 125px;
    resize: none;
}

.input-group input::placeholder,
.input-group textarea::placeholder {
    color: transparent;
}

.input-group label {
    position: absolute;
    top: 8px;
    left: 0;
    color: var(--white);
    font-size: 16px;
    font-family: "Rubik", sans-serif;
    pointer-events: none;
    transition: 0.2s ease all;
}

.input-group:last-of-type label {
    left: 8px;
}

.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label,
.input-group textarea:focus + label,
.input-group textarea:not(:placeholder-shown) + label {
    top: -15px;
    font-size: 12px;
}

.form-actions {
    position: relative;
    display: flex;
    gap: 30px;
}

#submitBtn {
    background-color: var(--violet);
}

#submitBtn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#submitBtn.error {
    background-color: red;
}

.contact-btn {
    padding: 15px 10px;
    width: 250px;
    text-align: center;
    border: none;
    font-weight: normal;
    border-radius: 16px;
    font-size: 24px;
    color: var(--white);
    cursor: pointer;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    background-color: var(--form-bg);
}

#fileUpload {
    display: none;
}

.container-mail {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 25rem;
    height: 20rem;
}

.mail {
    position: relative;
    left: -6rem;
}

.mail__top {
    position: absolute;
    top: -5.7rem;
    width: 0;
    height: 0;
    border-right: 8rem solid transparent;
    border-left: 8rem solid transparent;
    border-bottom: 5.8rem solid #5d32cd;
    z-index: 0;
}

.mail__top.closed {
    transition: transform 0.6s 0.8s, z-index 0.2s 0.4s;
    z-index: 2;
    transition-delay: 0.5s;
    transform-origin: bottom left;
    transform: rotate3d(1, 0, 0, 180deg);
}

.mail__back {
    position: absolute;
    background: #5d32cd;
    width: 16rem;
    height: 10rem;
    box-shadow: 0 0.1rem 1rem rgba(0, 0, 0, 0.3);
}

.mail__left {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 8rem solid #8a72c8;
    border-top: 5rem solid transparent;
    border-bottom: 5rem solid transparent;
}

.mail__right {
    position: absolute;
    left: 8rem;
    width: 0;
    height: 0;
    border-right: 8rem solid #8a72c8;
    border-top: 5rem solid transparent;
    border-bottom: 5rem solid transparent;
}

.mail__bottom {
    position: absolute;
    top: 4.92rem;
    width: 0;
    height: 0;
    border-right: 8rem solid transparent;
    border-left: 8rem solid transparent;
    border-bottom: 5.08rem solid #5d32cd;
}

.mail__letter {
    border-radius: 12px;
    position: absolute;
    top: -4rem;
    left: 2rem;
    width: 12rem;
    height: 9rem;
    background: #fff;
    box-shadow: 0 0 0.8rem rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transition: transform 0.8s ease, opacity 1s ease;
}

.mail__letter.move {
    transform: translateY(70px);
    opacity: 0;
}

.mail__letter * {
    background: #e0e0e0;
}

.mail__letter-square {
    position: absolute;
    top: 3rem;
    left: 1rem;
    width: 3.8rem;
    height: 4rem;
    border-radius: 5px;
}

.mail__letter-square::before {
    content: "";
    position: absolute;
    top: -2rem;
    width: 10rem;
    height: 1.5rem;
    background: inherit;
    border-radius: 5px;
}

.mail__letter-lines {
    position: absolute;
    top: 4.9rem;
    left: 5.8rem;
    width: 5rem;
    height: 0.3rem;
    background: #e0e0e0;
}

.mail__letter-lines::before,
.mail__letter-lines::after {
    content: "";
    position: absolute;
    width: 5rem;
    height: 0.3rem;
    background: #e0e0e0;
    border-radius: 5px;
}

.mail__letter-lines::before {
    top: -1rem;
}

.mail__letter-lines::after {
    top: 1rem;
}

.form__btn {
    position: relative;
    overflow: hidden;
}

.form__btn {
    transition: background-color 0.4s;
    transition-delay: 1s;
}

.form__btn > * {
    transition: all 0.4s;
    transition-delay: 1s;
}

.form__btn--invisible {
    position: absolute;
    width: 100%;
    left: 0;
    top: -100%;
}

.form__btn--invisible.visible {
    top: 15px;
}

.form__btn--visible {
    display: flex;
    justify-content: center;
    align-items: center;
}

.form__btn--visible.invisible {
    transform: translateY(200%);
}

@media (max-width: 768px) {
    .contact-block {
        flex-direction: column;
        padding: 20px;
    }
    .container-mail {
        display: none;
    }
    .form-actions {
        flex-direction: column;
        gap: 15px;
    }
    .contact-btn {
        width: auto;
        font-size: 20px;
    }
    .contact-text {
        font-size: 14px;
        text-align: center;
        margin-bottom: 35px;
    }
    .form-body {
        border-radius: 20px;
    }
}

.footer {
    padding: 30px 0;
    background: linear-gradient(
        135deg,
        var(--bg-3),
        var(--bg-2),
        var(--bg-2),
        var(--bg-1)
    );
    background-size: 150% 150%;
    animation: gradientShift 25s ease infinite;
}

.contact-us {
    padding-bottom: 7px;
    margin-bottom: 30px;
    font-size: 21px;
    border-bottom: 1px solid var(--white);
    color: var(--white);
}

.contact-us.mobile {
    display: none;
    font-size: 16px;
}

.footer-wrapper__logo-img {
    max-width: 200px;
    margin-bottom: 30px;
}

.footer-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 50px;
}

.footer-wrapper div {
    flex: 1;
}

.footer-wrapper__logo-text {
    color: var(--white);
    margin-bottom: 18px;
}

.icons-wrapper {
    display: flex;
    gap: 8px;
}

.icons-wrapper a {
    width: 32px;
    height: 32px;
    background-color: var(--violet);
    border-radius: 6px;
    color: var(--white);
    font-size: 22px;
    display: grid;
    place-items: center;
}

.footer-subtitle {
    margin-bottom: 10px;
    color: var(--white);
    font-size: 20px;
}

.footer-wrapper__contact {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.footer-text {
    color: var(--footer-text-color);
    font-weight: 300;
}

@media (max-width: 768px) {
    .footer-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    .contact-us.desktop {
        display: none;
    }
    .contact-us.mobile {
        display: block;
        margin: 0;
    }
    .footer-subtitle,
    .footer-wrapper__logo-text {
        font-size: 16px;
    }
    .footer-text {
        font-size: 14px;
    }
}



