#submit-form-message {
    scroll-margin-top: 180px;
}

.contact-has-error {
    border-bottom: 1px solid #cd1313 !important;
}

.contact-has-error::placeholder {
    color: #cd1313;
    opacity: 1;
    /* Firefox */
}

.contact-has-error:-ms-input-placeholder {
    color: #cd1313;
}

.contact-has-error::-ms-input-placeholder {
    color: #cd1313;
}

.contact-main-wrapper {
    background-color: #151515;
    color: #fdfdfd;
    padding: 30px;
}

.contact-heading-container h1 {
    font-size: 80px;
    line-height: 62px;
    letter-spacing: -0.0305em;
    font-family: 'SyneBold', sans-serif;
    margin: 0;
    /* white-space: pre-wrap; */
}

.mail-wrapper {
    margin-bottom: 10px;
    margin-top: 2rem;
}

.email-phone-container a {
    color: #fdfdfd;
    font-size: 28px;
    font-family: 'SyneSemiBold', sans-serif;
    font-weight: 700;
    display: block;
}

.mail-wrapper h2,
.phone-wrapper h3 {
    font-size: 16px;
    margin: 0;
}

.container-form-main-wrapper {
    padding: 30px;
}

.container-main-form h3 {
    text-align: center;
    font-family: 'SyneBold', sans-serif;
    font-weight: 700;
    font-size: 42px;
    letter-spacing: -0.015em;
    margin-bottom: 30px;
}

.container-main-form h4 {
    font-size: 24px;
    font-family: 'SyneSemiBold', sans-serif;
    line-height: 28px;
    margin: 50px 0;
}

.container-main-form .contact-input,
.container-main-form .contact-textarea {
    flex: 0 0 100%;
    border: none;
    border-bottom: 1px solid #afafaf;
    outline: none;
    position: relative;
    max-width: 100%;
    background-color: transparent;
}

.container-main-form .dot::after {
    content: '';
    position: absolute;
    bottom: 16px;
    right: -16px;
    width: 5px;
    height: 5px;
    background-color: #000;
}

#contactUSForm p {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    font-size: 24px;
    line-height: 28px;
}

#contactUSForm .contact-input::placeholder,
#contactUSForm .contact-textarea::placeholder {
    font-size: 16px;
}

.hidden {
    position: absolute;
    visibility: hidden;
    opacity: 0;
}

.container-form-main-wrapper input[type=checkbox]+label,
.container-form-main-wrapper input[type=radio]+label {
    color: #000;
    background-color: #F3F3F3;
    border: 1px solid #F3F3F3;
    font-weight: 700;
    padding: 10px 15px;
    z-index: 1;
    margin: 0;
    flex: 0 0 100%;
    text-align: center;
}

.container-form-main-wrapper input[type=checkbox]:checked+label,
.container-form-main-wrapper input[type=radio]:checked+label {
    background-color: #fdfdfd;
    border: 1px solid #000;
}

.checkbox-hover:disabled {
    cursor: default;
}

.checkbox-hover:-moz-focusring {
    outline: auto;
}

.checkbox-hover [hidden] {
    display: none;
}

.checkbox-hover {
    overflow: hidden;
    position: relative;
    color: #000;
}

@media (hover: hover) {
    .checkbox-hover:hover {
        background-color: #fdfdfd;
        border-color: #fdfdfd;
    }
}

.checkbox-hover:before {
    background: #fdfdfd;
    border: 1px solid #F3F3F3;
    content: "";
    inset: 0;
    position: absolute;
    transform: translateX(var(--progress, -100%));
    transition: transform 0.2s ease;
    z-index: -1;
}

@media (hover: hover) {
    .checkbox-hover:hover:before {
        --progress: 0;
    }
}

.button-wrapper button {
    display: flex;
    justify-content: center;
    padding: 50px 0;
    width: 100%;

    @media (width >= 1250px) {
        padding: 70px 0;
    }

    @media (width >= 1500px) {
        padding: 100px 0;
    }
}

.button-submit {
    background: none;
    border: none;
    font-size: 22px;
    font-family: 'SyneSemiBold', sans-serif;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #000;
}

.button-submit img {
    width: 15px;
    height: 15px;
}

.arrow .read-more-arrow {
    width: 25px;
    height: 25px;
}

@media (min-width: 768px) {
    .contact-main-wrapper {
        padding: 50px;
    }

    .contact-heading-container h1 {
        font-size: 210px;
        line-height: 167px;
    }

    .email-phone-container a {
        font-size: 27px;
        line-height: 36px;
    }

    .mail-wrapper h2,
    .phone-wrapper h3 {
        font-size: 22px;
    }

    .container-main-form h3 {
        font-size: 72px;
    }

    .container-main-form h4 {
        font-size: 40px;
    }

    #contactUSForm p {
        font-size: 40px;
        line-height: 46px;
    }

    #contactUSForm .person-section {
        gap: 0;
    }

    .person-section span,
    .container-main-form .contact-input {
        max-width: 50%;
        flex: 0 0 50%;
        margin: 25px 0;
    }

    .container-main-form .contact-input,
    .container-main-form .contact-textarea {
        font-size: 32px;
    }

    .project-section span {
        flex: 0 0 100%;
    }

    .container-form-main-wrapper input[type=checkbox]+label,
    .container-form-main-wrapper input[type=radio]+label {
        flex: 0 0 48%;
        font-size: 28px;
    }

    .details-section span {
        flex: 0 0 100%;
    }

    .container-main-form .details-section .contact-input {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
    }

    .button-submit {
        font-size: 32px;
        gap: 15px;
    }

    .button-submit img {
        width: 25px;
        height: 25px;
    }

}

@media (min-width:1280px) {
    .form-description-text{
        font-size: 1.5rem;
        max-width: 50vw;
        margin: 0 auto;
    }
    .contact-main-wrapper {
        padding: 80px;
    }

    .contact-heading-container h1 {
        font-size: 188px;
        line-height: 165px;
    }

    .mail-wrapper,
    .phone-wrapper {
        width: 65%;
    }

    .email-phone-container {
        margin-top: auto;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }

    #contactUSForm .person-section {
        gap: 35px;
    }

    .person-section span,
    .container-main-form .contact-input {
        max-width: unset;
        flex: unset;
    }

    .project-section span {
        flex: unset;
    }

    .container-form-main-wrapper input[type=checkbox]+label,
    .container-form-main-wrapper input[type=radio]+label {
        flex: unset;
        font-size: 28px;
    }

    .container-main-form .person-section .contact-input {
        flex: 0 0 33.33333%;
    }

    .details-section span {
        flex: 0 0 29%;
    }

    .container-main-form .details-section .contact-input {
        flex: 0 0 33%;
        width: 33%;
        max-width: 33%;
    }

    .container-main-form .dot::after {
        right: 0px;
        bottom: 40px;
    }

    #contactUSForm p {
        font-size: 30px;
    }

    .container-form-main-wrapper {
        padding: 50px;
        padding-top: 100px;
    }

    .button-submit {
        font-size: 42px;
        gap: 20px;
    }

    .button-submit img {
        width: 36px;
        height: 36px;
    }

    .arrow .read-more-arrow {
        width: 36px;
        height: 36px;
    }

    .button-wrapper:hover {
        background: #151515;
    }

    .button-wrapper:hover button,
    .button-wrapper:hover button .arrow{
        filter: invert(1);
    }
}

@media (min-width: 1366px) and (max-width: 1380px) {
    #contactUSForm {
        max-width: 94%;
    }
}

@media (min-width: 1440px) {
    .contact-main-wrapper {
        padding: 50px;
    }

    .contact-heading-container h1 {
        font-size: 225px;
        line-height: 154px;
    }

    #contactUSForm p {
        font-size: 37px;
    }

    #contactUSForm .person-section {
        gap: 50px;
    }

    .container-form-main-wrapper {
        padding: 50px;
        padding-top: 150px;
    }

    .details-section span {
        flex: 0 0 30%;
    }
}

@media (min-width: 1500px) {
    .contact-main-wrapper {
        padding: 100px 50px;
    }
}
@media (min-width: 1530px) {
    #contactUSForm .person-section {
        gap: 62px;
    }
}

@media (min-width: 1680px) {
    .contact-main-wrapper {
        padding: 200px 100px;
    }

    .contact-heading-container h1 {
        font-size: 254px;
        line-height: 186px;
    }

    .email-phone-container a {
        font-size: 42px;
        line-height: 44px;
    }

    .container-form-main-wrapper {
        padding: 100px;
        padding-top: 200px;
    }

    .details-section span {
        flex: 0 0 25%;
    }

    .container-main-form .contact-input,
    .container-main-form .contact-textarea {
        flex: 0 0 93%;
    }
    .container-main-form .dot::after{
        right: 90px;
    }
}


@media (min-width: 1950px) {
    .container-main-form .details-section .contact-input {
        flex: 0 0 40%;
        width: 40%;
        max-width: 40%;
    }

    .details-section span {
        flex: 0 0 15%;
    }

    .contact-heading-container h1 {
        font-size: 395px;
        line-height: 315px;
    }
}

@media (max-width: 350px) {
    .contact-heading-container h1 {
        font-size: 75px;
        line-height: 58px;
    }
}

@media (max-width: 450px) {
    .font-sm {
        font-size: 39px!important;
    }
}

@media (max-width: 390px) {
    .font-sm {
        font-size: 30px!important;
    }
}
