/* Contact Page ---------------------------------- */
.contact-area {
    position: relative;
    z-index: 3;
    background-repeat: no-repeat;
    background-size: cover;
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: cover;
    padding: 427px 0 120px 0;
    margin-top: -180px;

    @media(min-width: 1930px) {
        padding: 327px 0 120px 0;
        margin-top: -50px;
    }

    @include lg {
        padding: 300px 0 120px 0;
        margin-top: -265px;
    }

    @include md {
        background-image: none;
        padding: 240px 0 80px 0;
        margin-top: -253px;
    }
}

.contact-form {
    &.style2 {
        background-color: $white-color;
        box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.1);
        border-radius: 60px;
        padding: 60px;

        @include lg {
            padding: 30px;
            border-radius: 30px;
        }

        select,
        .form-control,
        .form-select,
        textarea,
        input {
            border: none;
            background: $smoke-color;
        }

        .form-group {
            i {
                color: $body-color;
            }
        }
        .nice-select:after {
            right: 30px;
            border-bottom: 2px solid $body-color;
            border-right: 2px solid $body-color;
        }
    }

    select,
    .form-control,
    .form-select,
    textarea,
    input {
        border: none;
        background: $white-color;
        color: $body-color;
        font-weight: 500;
        border-radius: 30px;
        font-size: 14px;

        @include inputPlaceholder {
            color: $body-color;
        }
    }

    .form-group {
        i {
            color: $theme-color;
        }
    }

    .th-btn {
        &:hover {

            &:before,
            &:after {
                width: 120%;
            }
        }
    }

    .nice-select {
        font-size: 14px;

        .option {
            color: $title-color;

            &.selected {
                color: $theme-color !important;
                background: $theme-color !important;

                &.focus {
                    color: #fff !important;
                    background: $theme-color !important;
                }
            }

            &:hover,
            &.focus {
                background: $theme-color !important;
                color: #fff !important;
            }
        }

        &.open {
            .list {
                border-bottom: 3px solid $theme-color;
            }
        }
    }

    i {
        color: #888C97;
    }

    textarea.form-control,
    textarea {
        min-height: 159px;
        padding-top: 16px;
        padding-bottom: 17px;
    }

    .nice-select:after {
        right: 30px;
        border-bottom: 2px solid $theme-color;
        border-right: 2px solid $theme-color;
    }

    .th-btn {
        padding: 19.5px 42px;

        i {
            color: $white-color;
        }
    }
}

.contact-image {
    &.style2 {
        text-align: right;
        @include md {
            margin-top: 60px;
            text-align: center;
        }
    }
}

.contact-info {
    display: flex;
    gap: 20px;

    &_wrapp {
        &:nth-child(2) {
            .contact-info {
                &_icon {
                    background-color: $theme-color2;
                }
            }
        }

        &:nth-child(3) {
            .contact-info {
                &_icon {
                    background-color: $theme-color3;
                }
            }
        }

        &:nth-child(4) {
            .contact-info {
                &_icon {
                    background-color: $theme-color4;
                }
            }
        }
    }


    @include vxs {
        flex-direction: column;
    }

    &:not(:last-child) {
        margin-bottom: 30px;
    }

    .media-body {
        @include vxs {
            text-align: center;
        }

    }



    &_icon {
        display: inline-block;
        width: 80px;
        min-width: 80px;
        height: 80px;
        line-height: 80px;
        border-radius: 24px;
        background-color: var(--theme-color);
        color: var(--white-color);
        text-align: center;
        font-size: 35px;
        position: relative;

        @include vxs {
            display: block;
            margin: auto;
            text-align: center;
        }

    }

    &_label {
        font-family: $title-font;
        font-size: 24px;
        line-height: 30px;
        color: $title-color;
        font-weight: 600;
        margin-top: -0.3rem;
        margin-bottom: 2px;

        @include xl {
            font-size: 20px;
        }
    }

    &_link {
        font-family: var(--body-font);
        color: #4D5765;
        line-height: 26px;
        font-size: 16px;
        display: block;

        span {
            display: block;
        }
    }

    .media-body {
        margin-bottom: -0.5rem;

    }
}

.rounded-20 {
    border-radius: 20px;
    overflow: hidden;
}

.form-text {
    font-size: 16px;
}

.contact-map {
    position: relative;
    line-height: 0px;
    background-color: $white-color;
    box-shadow: 0px 8px 50px rgba(0, 0, 0, 0.06);
    border-radius: 60px;
    padding: 40px;
    margin-top: 50px;
    @include lg {
        padding: 30px;
    }

    iframe {
        width: 100%;
        height: 465px;
        filter: grayscale(0.9);
        border-radius: 30px;
    }

    &.style2 {
        margin-bottom: -160px;

        @include md {
            margin-bottom: -250px;
        }

        iframe {
            width: 100%;
            height: 800px;
        }
    }
}