.contact-section {
    position: relative;
}

.contact-section__title {
    max-width: 660px;
    width: 100%;
    margin-bottom: 40px;
}

.contact-section__description {
    max-width: 660px;
    width: 100%;
}

.contact-section__form-title {
    margin-bottom: 40px;
}

.contact-form .contact-form__upload-btn .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.contact-form .wpcf7-form .wpcf7-not-valid-tip {
    color: #ff6b6b;
    font-size: 14px;
    display: block;
    position: absolute;
    top: calc(100% + 13px) !important;
}

.contact-form .wpcf7-form .wpcf7-validation-errors {
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid #ff6b6b;
    color: #ff6b6b;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.contact-form .wpcf7-form .wpcf7-mail-sent-ok {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid var(--green-color);
    color: var(--green-color);
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.contact-form .wpcf7-form .wpcf7-response-output {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    font-size: 16px !important;
}

.contact-form__actions {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-form__upload-btn {
    max-width: -moz-fit-content;
    max-width: fit-content;
    width: 100%;
    position: relative;
}

.contact-form__upload-btn:hover label {
    cursor: pointer;
    color: var(--green-color);
}

.contact-form__upload-btn>.wpcf7-form-control-wrap {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

.contact-form__upload-btn label {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    font-family: var(--rubik-font);
    font-style: normal;
    font-weight: 400;
    font-size: 22px;
    line-height: 26px;
    text-decoration-line: underline;
    color: var(--white-color);
    transition: color 0.3s ease;
}

.contact-form__upload-btn label:hover {
    cursor: pointer;
    color: var(--green-color);
}

.contact-form__upload-btn label:hover path {
    fill: var(--green-color);
}

.contact-form__upload-btn label-icon {
    width: 21px;
    height: 21px;
    stroke: currentColor;
}

.contact-form__actions>p {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    gap: 40px;
}

@media (max-width: 550px) {
    .contact-form__actions>p {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

.contact-form__submit-btn {
    width: 223px !important;
    height: auto !important;
    margin-bottom: 0 !important;
    padding: 12px 16px !important;
    background: transparent !important;
    border: 1px solid var(--white-color) !important;
    border-radius: 40px !important;
    color: var(--white-color) !important;
    font-family: var(--rubik-font) !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 18.96px !important;
    text-align: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    letter-spacing: 0 !important;
}

.contact-form__submit-btn:hover {
    background: var(--green-color) !important;
    border-color: var(--green-color) !important;
    color: var(--dark-color) !important;
}

@media (max-width: 1580px) and (min-width: 1200px) {
    .contact-section .who-we-are__decoration {
        width: 480px;
    }
}

@media (max-width: 1200px) {
    .contact-section__grid {
        row-gap: 60px;
    }

    .contact-section__title {
        font-size: 60px;
        line-height: 70px;
    }

    .contact-section__description {
        font-size: 24px;
        line-height: 28px;
    }

    .contact-section__form-title {
        font-size: 24px;
        line-height: 28px;
    }

    .contact-form__input,
    .contact-form__textarea {
        font-size: 20px;
        line-height: 24px;
    }

    .contact-form__upload-btn {
        font-size: 20px;
        line-height: 24px;
    }

    .contact-form__submit-btn {
        font-size: 14px !important;
        line-height: 16px !important;
    }
}

@media (max-width: 1024px) {
    .contact-section .who-we-are__decoration {
        width: 320px;
        height: 320px;
        right: -100px;
        bottom: 0;
    }
}

@media (max-width: 768px) {
    .contact-section__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-section__title {
        font-size: 48px;
        line-height: 56px;
    }

    .contact-section__description {
        font-size: 20px;
        line-height: 24px;
    }

    .contact-section__form-title {
        font-size: 20px;
        line-height: 24px;
    }

    .contact-form__input,
    .contact-form__textarea {
        font-size: 18px;
        line-height: 22px;
    }

    .contact-form__upload-btn {
        font-size: 18px;
        line-height: 22px;
    }

    .contact-form__submit-btn {
        width: 200px !important;
        font-size: 14px !important;
        line-height: 16px !important;
    }
}

@media (min-width: 768px) {
    .contact-section__form-title-content br {
        display: none;
    }
}

@media (max-width: 767px) {
    .contact-section {
        z-index: 1;
    }

    .contact-section .who-we-are__decoration {
        width: 202px;
        height: 178px;
        bottom: auto;
        top: 100%;
        right: -51px;
        margin-top: 50px;
    }

    .contact-section__title {
        margin-bottom: 30px;
    }

    p.contact-section__description-content {
        margin-bottom: 0;
    }

    .contact-section__grid {
        gap: 30px;
    }

    .contact-section__form-title-content {
        font-size: 20px;
        line-height: initial;
        font-weight: 500;
    }
}

@media (max-width: 480px) {
    .contact-section__title {
        font-size: 36px;
        line-height: 42px;
    }

    .contact-section__description {
        font-size: 18px;
        line-height: 22px;
    }

    .contact-section__form-title {
        font-size: 18px;
        line-height: 22px;
    }

    .contact-form__input,
    .contact-form__textarea {
        font-size: 16px;
        line-height: 20px;
    }

    .contact-form__upload-btn {
        font-size: 16px;
        line-height: 20px;
    }

    .contact-form__submit-btn {
        width: 220px !important;
        font-size: 16px !important;
        line-height: 18px !important;
    }
}
