@use '../../utils' as *;

/*----------------------------------------*/
/*  7.7 contact css start
/*----------------------------------------*/

.#{$theme-prifix}-contact{
    &-spacing{
        padding-top: 218px;
         @media #{$sm,$xs}{
            padding-top: 160px;
         }
    }
    &-number{
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        padding: 20px 40px 5px 40px;
        border: 1px solid var(--tp-border-1);
        @media #{$xs}{
            padding: 20px 20px 5px 20px;
        }
    }
    &-icon{
        width: 40px;
        height: 40px;
        background: var(--tp-theme-primary);
        color: var(--tp-common-black);
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    &-email{
        font-family: var(--tp-ff-p);
        font-weight: 400;
        font-size: 25px;
        color: var(--tp-common-black);
        &:hover{
            color: var(--tp-grey-1);
        }
    }
    &-form{
        padding: 70px 60px 70px 60px;
        @media #{$xs}{
            padding: 30px 20px 30px 20px;
        }
        & .tp-postbox-details-input input, .tp-postbox-details-input textarea {
            font-size: 18px;
            &::placeholder{
                font-size: 18px;
            }
        }
        & .tp-postbox-details-input .tp-textarea {
            height: 180px;
        }
    }
    &-shape{
        position: absolute;
        bottom: 0;
        right: 0;
        z-index: -1;
        width: 30%;
    }
    &-wrap{
        & p{
            @media #{$sm,$xs}{
                & br{
                    display: none;
                }
            }
        }
    }
    &-map{
        &-box{
            line-height: 0;
            & iframe{
                height: 680px;
                width: 100%;
                line-height: 1;
                filter: saturate(0);
                @media #{$md,$sm} {
                    height: 400px;
                }
                @media #{$xs} {
                    height: 300px;
                }
            }
        }
    }
    &-us{
        &-text{
            & p{
                font-size: 18px;
                font-weight: 400;
                color: rgba(245, 247, 245, 0.50);
            }
            & a{
                display: inline-block;
                &:hover{
                    & p{
                        color: var(--tp-common-white);
                    }
                }
            }
        }
        &-form{
            &-ptb{
                @media #{$sm,$xs} {
                    padding-top: 30px;
                }
            }
            &-wrapper{
                padding: 10px;
                border-radius: 14px;
                background: #F6F6F9;
            }
        }
        &-map{
            width: 100%;
            height: 100%;
            border-radius: 8px;
            @media #{$md} {
                height: 500px;
                margin-bottom: 30px;
            }
            @media #{$sm,$xs} {
                height: 450px;
                margin-bottom: 30px;
            }
            & iframe{
                width: 100%;
                height: 100%;
                border-radius: 8px;
            }
        }
        &-heading{
            & .tp-career-title{
                @media #{$xs} {
                    padding-bottom: 20px;
                }
            }
        }
        &-title{
            font-size: 30px;
            font-weight: 600;
            letter-spacing: -0.6px;
            text-transform: uppercase;
            color: var(--tp-common-black);
            @media #{$md,$sm,$xs} {
                margin-bottom: 30px;
            }
        }
        &-wrap{
            padding: 110px;
            @media #{$xxl} {
                padding: 70px;
            }
            @media #{$xl} {
                padding: 50px;
            }
            @media #{$lg,$md} {
                padding: 30px;
            }
            @media #{$sm,$xs} {
                padding: 20px;
            }
            & .tp-postbox-details{
                &-input{
                    & input,
                    & textarea{
                        border-radius: 8px;
                    }
                }
            }
        }

        &-thumb{
            overflow: hidden;
            border-radius: 10px;
            margin-bottom: 40px;
            & img{
                width: 100%;
                transition: .9s;
                border-radius: 10px;
            }
        }
        &-content{
            padding: 15px;
            border-radius: 14px;
            background: #F6F6F9;
            @media #{$md,$sm,$xs} {
                margin-top: 0;
            }
            &:hover{
                & .tp-contact-us-thumb{
                    & img{
                        transform: scale(1.1);
                    }
                }
            }
        }
        &-info{
            &-area{
                @media #{$md,$sm,$xs} {
                    padding-bottom: 90px;
                }
            }
            &-title{
                font-size: 26px;
                font-weight: 700;
                color: var(--tp-common-black);
                letter-spacing: -0.52px;
                margin-bottom: 25px;
                padding-bottom: 20px;
                border-bottom: 1px solid rgba(0, 0, 0, 0.10);
            }
            &-details{
                margin-bottom: 45px;
                & a{
                    font-size: 18px;
                    font-weight: 400;
                    display: block;
                    margin-bottom: 15px;
                    color: rgba(0, 0, 0, 0.70);
                    &:hover{
                        color: var(--tp-common-black);
                    }
                }
            }
        }
        &-bottom{
            padding: 0 22px 28px;
        }
    }
}

.cn-contactform{
    &-support{
        &-area{
            @media #{$md,$sm,$xs} {
                margin-bottom: 80px;
            }
        }
        &-bg{
            background-repeat: no-repeat;
            background-size: cover;
            object-fit: cover;
            height: 385px;
        }
        &-text{
            & span{
                font-size: 44px;
                font-weight: 500;
                line-height: 52px;
                max-width: 755px;
                margin: 0 auto;
                display: inline-block;
                letter-spacing: -0.88px;
                color: var(--tp-common-black);
                @media #{$sm,$xs} {
                    font-size: 40px;
                }
            }
        }
    }
}