* {
    margin: 0;
    padding: 0;
}

body * {
    display: block;
}

body {
    background: #F0F0F0;
}

body::-webkit-scrollbar {
    display: none;
    -webkit-appearance: none;
    width: 0;
}

body.opened-modal, body.opened-thanks-modal {
    overflow: hidden;
}

body .body-hidden, body .body-thanks-hidden {
    transition: 0.5s;
    background-color: transparent;
}
body.opened-modal .body-hidden, body.opened-thanks-modal .body-thanks-hidden {
    z-index: 999;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.2);
}

#introduction {
    padding: 140px 0 154px 0;
    background-color: #E0E0E0;
}

#introduction img {
    width: 100%;
}

#introduction .introduction-text {
    color: #000000;
    margin-top: 22px;
}

#main-blocks {
    padding: 120px 0;
}

#main-blocks .section {
    display: flex;
    justify-content: space-between;
}

#main-blocks a {
    position: relative;
    padding-left: 34px;
    padding-top: 30px;
    color: #525252;
    transition: color 0.5s;
}

#main-blocks a:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10px;
    width: 1px;
    height: 44px;
    background-color: #525252;
    transition: background-color 0.5s;
}

#main-blocks a span {
    position: absolute;
    left: 0;
    top: 0;
}

#main-blocks a:hover {
    color: #000000;
}

#main-blocks a:hover:before {
    background-color: #000000;
}

#team-photo img {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto 0 auto;
}

#services {
    padding-top: 140px;
}

#main-blocks-text .card {
    margin-bottom: 140px;
    display: flex;
    justify-content: space-between;
}

#main-blocks-text .card .left-side {
    text-transform: none;
    color: #525252;
}

#main-blocks-text .card .left-side div {
    display: flex;
    align-items: flex-end;
    color: #525252;
    margin-bottom: 27px;
}

#main-blocks-text .card .left-side div span {
    padding-top: 6px;
    margin-right: 6px;
    font-size: 32px;
    line-height: 26px;
    font-feature-settings: 'pnum' on, 'lnum' on;
    color: #000000;
}

#main-blocks-text .card .right-side {
    max-width: 780px;
}

#main-blocks-text .card .right-side h2 {
    margin-bottom: 24px;
}

#main-blocks-text .card .right-side li {
    position: relative;
    padding-left: 14px;
    margin-bottom: 8px;
}

#main-blocks-text .card .right-side li:last-child {
    margin-bottom: 0;
}

#main-blocks-text .card .right-side li:before {
    content: '';
    position: absolute;
    background-color: #000000;
    border-radius: 50%;
    width: 6px;
    height: 6px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

#technologies {
    background-color: #E0E0E0;
    padding: 62px 0;
}

#technologies .section {
    width: 988px;
}

#contacts {
    padding-top: 140px;
}

#contacts .contacts-text {
    margin-top: 120px;
    margin-bottom: 200px;
    display: flex;
    justify-content: space-between;
}

#contacts .contacts-text .side {
    width: 100%;
    max-width: 440px;
}

#contacts .contacts-text .left-side button {
    margin-top: 20px;
}

#contacts .contacts-text .right-side {
    display: flex;
    justify-content: space-between;
}

#contacts .contacts-text .right-side, #contacts .contacts-text .right-side span {
    color: #525252;
}

#contacts .contacts-text .right-side span {
    margin-right: 6px;
    padding-top: 2px;
}

#contacts .contacts-text .right-side a {
    display: flex;
    text-transform: none;
}

#contacts .contacts-text .right-side a:first-child {
    margin-top: 4px;
}

#contacts .contacts-text .right-side a:nth-child(2n) {
    margin-top: 22px;
    width: fit-content;
}

#contacts hr {
    border: none;
    border-top: 1px solid #E0E0E0;
}

#contacts .contacts-footer {
    margin: 20px 0;
}

#contacts .contacts-footer, #contacts .contacts-footer div {
    display: flex;
    justify-content: space-between;
}

#contacts .contacts-footer div:last-child {
    max-width: 664px;
    width: 100%;
}

#contact-us-form {
    z-index: 1000;
    position: fixed;
    bottom: -100%;
    left: 0;
    height: calc(100vh - 62px);
    width: 100%;
    background-color: #FFFFFF;
    border-radius: 20px 20px 0 0;
    transition: 0.5s bottom;
    overflow-y: scroll;
    overflow-x: hidden;
}

#contact-us-form::-webkit-scrollbar {
    display: none;
    -webkit-appearance: none;
    width: 0;
}

body.opened-modal #contact-us-form {
    bottom: 0;
}

#contact-us-form .form-section {
    padding: 24px 40px 20px 40px;
    display: flex;
    flex-direction: column;
}

#contact-us-form .form-section .close-button {
    display: flex;
    margin-left: auto;
    cursor: pointer;
}

#contact-us-form .contact-us-form-content {
    display: flex;
    justify-content: space-between;
    margin-top: 32px;
}

#contact-us-form .contact-us-form-content .left-side div:last-child {
    margin-top: 262px;
}

#contact-us-form .contact-us-form-content .right-side {
    max-width: 664px;
    width: 100%;
}

#contact-us-form .contact-us-form-content .right-side form {
    margin-top: 24px;
    margin-bottom: 118px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#contact-us-form .contact-us-form-content .right-side form input {
    margin-bottom: 60px;
}

#contact-us-form .contact-us-form-content .right-side form .custom-file-uploader {
    position: relative;
}

#contact-us-form .contact-us-form-content .right-side form .custom-file-uploader input.error + label {
    color: red;
}

#contact-us-form .contact-us-form-content .right-side form .custom-file-uploader .custom-file-uploader-files-info {
    position: absolute;
    opacity: 0;
    visibility: hidden;
    bottom: 30px;
    right: 0;
    background: #E0E0E0;
    padding: 15px;
    border-radius: 12px;
    text-transform: none;
    transition: visibility, opacity 0.5s;
    width: 150px;
}

#contact-us-form .contact-us-form-content .right-side form .custom-file-uploader:hover .custom-file-uploader-files-info {
    opacity: 1;
    visibility: visible;
}

#contact-us-form .contact-us-form-content .right-side form .custom-file-uploader .custom-file-uploader-files-info:after {
    content: '';
    background: #E0E0E0;
    transform: rotate(45deg);
    width: 6px;
    height: 6px;
    position: absolute;
    bottom: -3px;
    right: 40px;
}

#contact-us-form .contact-us-form-content .right-side form .custom-file-uploader .custom-file-uploader-files-info span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#contact-us-form .contact-us-form-content .right-side form textarea {
    margin-bottom: 28px;
}

#contact-us-form .contact-us-form-content .right-side form .checkbox-input {
    display: flex;
}

#contact-us-form .contact-us-form-content .right-side form .checkbox-input input {
    margin-bottom: 0;
}

#contact-us-form .contact-us-form-content .right-side form .checkbox-input label {
    text-transform: none;
    display: flex;
    position: relative;
    margin-left: 20px;
}

#contact-us-form .contact-us-form-content .right-side form .checkbox-input a {
    margin-left: 6px;
}

#contact-us-form .contact-us-form-content .right-side form .button-group {
    width: 100%;
    margin-top: 42px;
}

#contact-us-form .contact-us-form-content .contact-info {
    display: flex;
    margin-bottom: 70px;
}

#contact-us-form .contact-us-form-content .contact-info div:first-child {
    margin-right: 178px;
}

#contact-us-form .contact-us-form-content .contact-info, #contacts .contacts-text .contact-info span {
    color: #525252;
}

#contact-us-form .contact-us-form-content .contact-info a {
    display: flex;
    text-transform: none;
}

#contact-us-form .contact-us-form-content .contact-info a:nth-child(2n) {
    width: fit-content;
    margin-top: 22px;
}

#contact-us-form .contact-us-form-content .contact-info a:nth-child(2n) span {
    padding-top: 1px;
    margin-right: 6px;
    color: #525252;
}

body.opened-modal #contact-us-form .contact-us-form-footer {
    opacity: 1;
    visibility: visible;
}

#contact-us-form .contact-us-form-footer {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    margin: 0 40px;
    padding: 20px 0;
    bottom: 0;
    left: 0;
    width: calc(100% - 80px);
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #E0E0E0;
    background: #FFFFFF;
}

#contact-us-form .contact-us-form-footer div {
    display: flex;
    justify-content: space-between;
}

#contact-us-form .contact-us-form-footer div:last-child {
    max-width: 664px;
    width: 100%;
}

#thanks-modal {
    z-index: 1000;
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translate(-50%, 50%);
    background: #FFFFFF;
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: 0.5s;
    visibility: hidden;
    opacity: 0;
    width: 608px;
}

body.opened-thanks-modal #thanks-modal {
    bottom: 50%;
    visibility: visible;
    opacity: 1;
}

#thanks-modal .header {
    margin-bottom: 32px;
}
#thanks-modal .text {
    margin-bottom: 16px;
}

#thanks-modal button {
    min-width: 100px;
}

@media screen and (max-width: 1400px) {
    #main-blocks-text .card .right-side {
        max-width: 600px;
    }

    #main-blocks-text .card .right-side h2 {
        margin-bottom: 18px;
    }
}

@media screen and (max-width: 1200px) {
    #contact-us-form .contact-us-form-content .right-side {
        max-width: 560px;
    }
}

@media screen and (max-width: 992px) {
    #main-blocks .section {
        overflow-x: scroll;
    }

    #main-blocks {
        padding: 96px 0;
    }

    #main-blocks .section::-webkit-scrollbar {
        display: none;
        -webkit-appearance: none;
        height: 0;
    }

    #main-blocks a {
        white-space: nowrap;
        margin-right: 40px;
    }

    #main-blocks a:last-child {
        margin-right: 0;
    }

    #main-blocks-text .card {
        flex-direction: column;
        margin-bottom: 96px;
    }

    #contacts {
        padding-top: 96px;
    }

    #main-blocks-text .card .left-side {
        margin-bottom: 32px;
    }

    #main-blocks-text .card .left-side div {
        margin-bottom: 8px;
    }

    #main-blocks-text .card .right-side h2 {
        margin-bottom: 12px;
    }

    #services {
        padding-top: 96px;
    }

    #technologies .section {
        width: 540px;
    }

    .slick-initialized .slick-slide {
        display: flex !important;
        justify-content: center;
    }

    #contacts .contacts-text {
        margin-top: 32px;
        flex-direction: column;
    }

    #contacts .contacts-text .side {
        max-width: 100%;
    }

    #contacts .contacts-text .left-side {
        margin-bottom: 96px;
    }

    #contacts .contacts-footer div:last-child {
        max-width: 330px;
    }

    #contact-us-form .form-section .close-button {
        position: absolute;
        right: 40px;
        top: 44px;
    }

    #contact-us-form .contact-us-form-content {
        flex-direction: column;
        justify-content: unset;
        margin-top: 0;
    }

    #contact-us-form .contact-us-form-content .left-side div:first-child {
        margin-bottom: 48px;
    }

    #contact-us-form .contact-us-form-content .left-side div:last-child {
        display: none;
    }

    #contact-us-form .contact-us-form-footer div:first-child {
        white-space: nowrap;
        margin-right: 16px;
    }

    #contact-us-form .contact-us-form-footer div:last-child {
        max-width: 410px;
    }

    #thanks-modal {
        width: 304px;
    }

    #thanks-modal .header {
        margin-bottom: 22px;
    }
}

@media screen and (max-width: 580px) {
    #introduction {
        padding: 96px 0 48px 0;
    }

    #introduction .introduction-text {
        margin-top: 12px;
        font-size: 12px;
        line-height: 16px;
    }

    #main-blocks {
        padding: 48px 0;
    }

    #services {
        padding-top: 64px;
    }

    #technologies {
        padding: 46px 0;
    }

    #technologies .section {
        width: calc(100% - 24px);
    }

    .slick-initialized .slick-slide img {
        max-height: 28px;
        width: auto;
    }

    #contacts .contacts-text {
        margin-bottom: 96px;
    }

    #contacts .contacts-text .right-side {
        flex-direction: column;
    }

    #contacts .contacts-text .right-side a:nth-child(2n) {
        margin-top: 32px;
    }

    #contacts .contacts-text .right-side div.font-size-14:last-child {
        margin-top: 32px;
    }

    #contacts .contacts-footer, #contacts .contacts-footer div {
        flex-direction: column-reverse;
    }

    #contacts .contacts-footer div:last-child {
        max-width: 100%;
        position: relative;
    }

    #contacts .contacts-footer div:last-child a {
        margin-bottom: 8px;
    }

    #contact-us-form .form-section {
        padding: 32px 12px 20px 12px;
    }

    #contact-us-form .contact-us-form-content .left-side div:first-child {
        font-size: 40px;
        line-height: 40px;
    }

    #contact-us-form .form-section .close-button {
        top: 48px;
        right: 14px;
    }

    #contact-us-form .contact-us-form-content .right-side form input {
        margin-bottom: 40px;
    }

    #contact-us-form .contact-us-form-footer {
        flex-direction: column-reverse;
        position: relative;
        margin: 0;
        width: 100%;
    }

    #contact-us-form .contact-us-form-footer div:last-child {
        max-width: 100%;
        flex-direction: column;
    }

    #contact-us-form .contact-us-form-content .contact-info div:first-child {
        margin-right: 0;
    }

    #contact-us-form .contact-us-form-footer div:last-child a:last-child {
        margin-bottom: 0;
        position: absolute;
        right: 0;
        bottom: 20px;
    }

    #contact-us-form .contact-us-form-footer div:last-child a {
        margin-bottom: 8px;
    }

    #contact-us-form .contact-us-form-content .contact-info {
        flex-direction: column;
        margin-bottom: 48px;
    }

    #contact-us-form .contact-us-form-content .contact-info a:nth-child(2n) {
        margin-top: 24px;
    }

    #contact-us-form .contact-us-form-content .contact-info div.font-size-14:last-child {
        margin-top: 24px;
    }

    #contact-us-form .contact-us-form-content .right-side form {
        margin-bottom: 64px;
    }

    #contact-us-form .contact-us-form-content .right-side form textarea {
        margin-bottom: 20px;
    }

    #contact-us-form .contact-us-form-content .right-side form .checkbox-input {
        transform: translateY(44px);
    }

    #contact-us-form .contact-us-form-content .right-side form .custom-file-uploader {
        width: 100%;
        transform: translateY(-16px);
    }

    #contact-us-form .contact-us-form-content .right-side form .button-group {
        margin-top: 50px;
    }

    #contacts .contacts-footer div:last-child a:first-child, #contacts .contacts-footer div:last-child a:nth-child(2) {
        display: none;
    }
    #contacts .contacts-footer div:last-child a:last-child {
        position: absolute;
        right: 12px;
        bottom: -18px;
        margin-bottom: 0;
    }

    #contact-us-form .contact-us-form-content .right-side form .custom-file-uploader .custom-file-uploader-files-info {
        left: 0;
    }

    #contact-us-form .contact-us-form-content .right-side form .custom-file-uploader .custom-file-uploader-files-info:after {
        left: 40px;
        right: unset;
    }

    #thanks-modal {
        width: calc(100% - 68px);
        padding: 24px;
    }

    #thanks-modal .header {
        margin-bottom: 14px;
    }

    #thanks-modal .text {
        margin-bottom: 12px;
    }

    #thanks-modal button {
        width: 100%;
    }
}

@media screen and (max-width: 365px) {
    #contact-us-form .contact-us-form-content .right-side form .custom-file-uploader {
        transform: translateY(-26px);
    }

    #contact-us-form .contact-us-form-content .right-side form .checkbox-input label {
        display: block;
    }

    #contacts .contacts-text .left-side .font-size-16 br {
        display: none;
    }
}