@use '../utils' as *;

/*----------------------------------------*/
/*  21. CONTACT CSS START
/*----------------------------------------*/

.contact-form {
    &-box {
        & .contact-form {
            background: #F6F6F4;
            padding: 85px 100px 78px 100px;
            border-radius: 20px;

            @media #{$md} {
                padding: 85px;
            }

            @media #{$sm,$xs} {
                padding: 50px;
            }

            @media #{$xs} {
                padding: 25px;
            }

            & .input,
            & .textarea {
                width: 100%;
                height: 65px;
                padding: 0 18px;
                border: 2px solid transparent;
                background: #FFFFFF;
                outline: none;
                resize: none;
                border-radius: 10px;

                &::placeholder {
                    color: #747474;
                }

                &:focus {
                    border-color: #e7713a;
                }

            }

            & .textarea {
                height: 160px;
                padding: 20px 18px;
            }

            & .contact-input {
                margin-bottom: 18px;
            }

        }

        &-title {
            font-weight: 800;
            font-size: 24px;
            letter-spacing: -0.01em;
            color: #121212;
            padding-top: 100px;
            margin-bottom: 35px;
        }
    }

    &-title {
        font-weight: 800;
        font-size: 32px;
        line-height: 24px;
        letter-spacing: -0.04em;
        margin-bottom: 38px;
    }

    &-btn {
        & button {
            padding: 12px 48px;

            &:hover {
                background: #121212;
                color: #fff;
            }

            @media #{$sm} {
                padding: 12px 32px;
            }

            @media #{$xs} {
                padding: 12px 30px;
            }
        }
    }
}


.tp-contact-info {
    @media #{$xs} {
        margin-top: 25px;
    }
}

.contact-check {
    margin-bottom: 24px;

    & .check-input {
        background: transparent;
        border: 1px solid #D9D9DE;
        box-shadow: none;
        display: block;
        background: transparent;
        width: 18px;
        height: 18px;
        margin-right: 10px;

        @media #{$xs} {
            margin-right: 0;
        }

        &:checked {
            background-color: #e7713a;
            border-color: #e7713a;
        }
    }

    & .check-label {
        font-weight: 400;
        font-size: 14px;
        line-height: 12px;
        color: #666666;
    }
}

.tp-contact-info {
    & .call {
        font-weight: 500;
        font-size: 13px;
        line-height: 16px;
        color: #666666;
        display: block;
    }

    & .mail {
        font-weight: 500;
        font-size: 18px;
        color: #121212;
        display: inline-block;
        margin-top: 5px;
        margin-bottom: 40px;
        transition: .3s;

        &a:hover {
            color: #e7713a;
        }
    }

    & a {
        margin-top: 5px;
        font-weight: 500;
        font-size: 16px;
        color: #121212;
        display: inline-block;

        & i {
            margin-right: 5px;
        }

        &:hover {
            color: #e7713a;
        }
    }
}

.contact-us {
    &-wrapper {
        padding: 58px 80px;
        border: 1px solid #EAEAEF;
        border-radius: 10px;

        @media #{$lg} {
            padding: 58px 40px;
        }

        @media #{$md} {
            padding: 30px;
        }

        @media #{$xs} {
            padding: 40px 30px;
        }

        &-title {
            font-weight: 800;
            font-size: 22px;
            line-height: 20px;
            text-align: center;
            letter-spacing: -0.02em;
            color: #000000;
            margin-bottom: 45px;

            &::before {
                position: absolute;
                content: "";
                height: 1px;
                width: 270px;
                background: #EAEAEF;
                top: 105px;
                left: 50%;
                transform: translateX(-50%);

                @media #{$md} {
                    width: 175px;
                    top: 80px;
                }

                @media #{$xs} {
                    width: 270px;
                    top: 80px;
                }
            }
        }

        & a {
            font-weight: 400;
            font-size: 16px;
            line-height: 24px;
            text-align: center;
            letter-spacing: -0.02em;
            color: #525258;
            &:hover{
                color: var(--tp-theme-primary);
            }
        }
    }

    &-btn {
        & a {
            font-weight: 600;
            font-size: 15px;
            text-align: center;
            letter-spacing: -0.02em;
            color: #03041C;
            padding: 14px 50px;
            border: 1px solid #EAEAEF;
            margin-top: 12px;
            display: inline-block;
            transition: .3s;
            border-radius: 10px;

            @media #{$md} {
                padding: 14px 35px;
            }

            &:hover {
                background: #121212;
                color: #fff;
            }
        }
    }

}