/* ================================
   Contact Form Widget
================================ */

.-ycw-section.-ycwt-contactform {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 18%, rgb(255 111 0 / 6%) 0, transparent 32%),
        radial-gradient(circle at 90% 82%, rgb(0 0 0 / 5%) 0, transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #fffaf2 100%);
}

.-ycw-section.-ycwt-contactform::before,
.-ycw-section.-ycwt-contactform::after {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
    border-radius: 999px;
}

.-ycw-section.-ycwt-contactform::before {
    width: 360px;
    height: 360px;
    inset-inline-start: -180px;
    top: 80px;
    background: rgb(255 111 0 / 6%);
}

.-ycw-section.-ycwt-contactform::after {
    width: 260px;
    height: 260px;
    inset-inline-end: -110px;
    bottom: 60px;
    border: 38px solid rgb(0 0 0 / 4%);
}

/* ================================
   Layout
================================ */

.contactform-el {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(360px, 620px);
    align-items: flex-start;
    gap: 40px;
}

.contactform-el .blog-content {
    margin-bottom: 22px;
}

.contact-us-row {
    display: block;
}

/* ================================
   Info Card
================================ */

.YC-con-start {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    flex: 1;
    padding: 34px;
    border: 1px solid rgb(0 0 0 / 7%);
    border-radius: 26px;
    background:
        radial-gradient(circle at 0 0, rgb(255 111 0 / 7%) 0, transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #fffaf2 100%);
    box-shadow: 0 18px 50px rgb(0 0 0 / 7%);
}

.YC-con-start::before {
    content: "";
    position: absolute;
    inset-block: 28px;
    inset-inline-start: 0;
    width: 4px;
    border-radius: 999px;
    background: var(--uicolor);
}

.YC-con-start::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset-inline-end: -70px;
    top: -70px;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: rgb(255 111 0 / 7%);
    pointer-events: none;
}

.YC-con-start form {
    position: relative;
    z-index: 2;
}

/* ================================
   Contact Info Items
================================ */

.YC-wigdht-cont {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.YC-wigdht-cont > div {
    min-width: 0;
    padding: 15px;
    border: 1px solid rgb(0 0 0 / 7%);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgb(0 0 0 / 5%);
    display: flex;
    align-items: center;
    gap: 12px;
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.YC-wigdht-cont > div:hover {
    transform: translateY(-4px);
    border-color: rgb(255 111 0 / 15%);
    box-shadow: 0 20px 44px rgb(0 0 0 / 10%);
}

.YC-wigdht-cont > div a {
    width: 100%;
    margin-bottom: 0;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 12px;
}

.YC-wigdht-cont > div i {
    width: 50px;
    min-width: 50px;
    height: 50px;
    border: 1px solid rgb(255 111 0 / 10%);
    border-radius: 16px;
    background: rgb(255 111 0 / 8%);
    color: var(--uicolor);
    -webkit-text-fill-color: currentColor;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition:
        transform .25s ease,
        background-color .25s ease,
        color .25s ease;
}

.YC-wigdht-cont > div:hover i {
    background: var(--uicolor);
    color: #ffffff;
    transform: scale(1.05) rotate(-3deg);
}

.value_info {
    min-width: 0;
}

._value {
    margin: 0 0 5px;
    color: var(--primary-text);
    font-size: 18px;
    line-height: 1.45;
    font-weight: 900;
}

.value_info span {
    display: block;
    color: var(--secondarytext);
    font-size: 15px;
    line-height: 1.6;
    font-weight: 600;
}

/* ================================
   Social Icons
================================ */

.-seest-shares {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 24px;
}

.-seest-shares a {
    width: 42px;
    min-width: 42px;
    height: 42px;
    border: 1px solid var(--sociaColor);
    border-radius: 14px;
    background: var(--sociaColor);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 12px 28px rgb(0 0 0 / 7%);
    transition:
        transform .24s ease,
        box-shadow .24s ease,
        background-color .24s ease,
        color .24s ease,
        border-color .24s ease;
}

.-seest-shares a:hover {
    background: #ffffff !important;
    color: var(--sociaColor);
    transform: translateY(-3px);
    box-shadow: 0 18px 38px rgb(0 0 0 / 11%);
}

/* ================================
   Form Card
================================ */

.form_form {
    position: sticky;
    top: 145px;
    width: 100%;
    max-width: 620px;
    padding: 32px;
    border: 1px solid rgb(0 0 0 / 7%);
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 18px 50px rgb(0 0 0 / 7%);
}

.form_form .-dw-title {
    margin-bottom: 28px;
    align-items: flex-start;
    text-align: start;
}

.form_form .-dw-h1 {
    margin-bottom: 10px;
    text-align: start;
}

.form_form .p-content {
    max-width: 100%;
    text-align: start !important;
}

/* ================================
   Form Fields
================================ */

.contact-form {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    overflow: visible;
}

.-YC-FM-inputs-area {
    flex: 1;
    min-width: 280px;
    margin-bottom: 0;
    overflow: visible;
}

.contact-form .-selectbox-button,
.contact-form input[input-model],
.contact-form textarea[textarea-model],
.-YC-FM-inputs-area select,
.-YC-FM-inputs-area select option {
    width: 100%;
    border: 1px solid rgb(0 0 0 / 9%);
    border-radius: 16px;
    background: #ffffff;
    color: var(--primary-text);
    font-size: 15px;
    line-height: 1.5;
    font-weight: 600;
    box-shadow: none;
    transition:
        border-color .24s ease,
        box-shadow .24s ease,
        background-color .24s ease;
}

.contact-form input[input-model],
.-YC-FM-inputs-area select {
    min-height: 54px;
    padding: 0 16px;
}

.contact-form textarea[textarea-model] {
    min-height: 130px;
    padding: 15px 16px;
    resize: vertical;
}

.contact-form .-selectbox-button {
    min-height: 54px;
    padding-inline: 16px;
}

.contact-form input[input-model]::placeholder,
.contact-form textarea[textarea-model]::placeholder {
    color: rgb(74 82 95 / 65%);
    font-weight: 600;
}

textarea[textarea-model]:focus,
input[input-model][type="text"]:focus,
input[input-model][type="number"]:focus,
input[input-model][type="password"]:focus,
input[input-model][type="tel"]:focus,
input[input-model][type="email"]:focus,
.-YC-FM-inputs-area select:focus {
    outline: 0;
    border-color: rgb(255 111 0 / 38%) !important;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgb(255 111 0 / 10%) !important;
}

.yc-form-section-title {
    min-width: 100%;
    margin: 4px 0 0;
    color: var(--primary-text);
    font-size: 20px;
    line-height: 1.45;
    font-weight: 900;
}

.yc-form-section-title.yc-form-section-title--project {
    margin-top: 12px;
}

/* ================================
   Submit Button
================================ */

.cont-submit {
    width: 100%;
    margin-top: 8px;
    display: flex;
    justify-content: flex-end;
}

.archive-btm {
    position: relative;
    overflow: hidden;
    min-height: 50px;
    margin: 0;
    margin-inline-start: auto;
    padding: 0 24px;
    border: 1px solid var(--uicolor);
    border-radius: 999px;
    background: var(--uicolor);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 900;
    box-shadow: 0 16px 34px rgb(255 111 0 / 22%);
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background-color .25s ease,
        color .25s ease,
        border-color .25s ease,
        gap .25s ease;
}

.archive-btm > i {
    margin-inline-start: 0;
    color: inherit;
    font-size: 14px;
    transition: transform .25s ease;
}

.archive-btm:hover {
    gap: 14px;
    background: #ffffff;
    color: var(--uicolor);
    transform: translateY(-3px);
    box-shadow: 0 22px 46px rgb(0 0 0 / 12%);
}

.archive-btm:hover > i {
    transform: translateX(-3px);
}

/* ================================
   Map
================================ */

.contactsit-map {
    position: relative;
    overflow: hidden;
    height: 260px;
    margin-top: 30px;
    border: 1px solid rgb(0 0 0 / 7%);
    border-radius: 24px;
    background:
        radial-gradient(circle at 20% 20%, rgb(255 111 0 / 8%) 0, transparent 34%),
        linear-gradient(135deg, #fff3df, #fffaf2);
    box-shadow: 0 16px 42px rgb(0 0 0 / 7%);
}

.contactsit-map iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
    filter: saturate(1.02) contrast(1.02);
}

/* ================================
   Phone Input Plugin Fix
================================ */

.iti--separate-dial-code .iti__selected-flag {
    border-radius: 14px;
}

.-YC-FM-inputs-area input[input-model][type="tel"] {
    direction: ltr;
}

[dir="rtl"] .iti--allow-dropdown .iti__flag-container,
[dir="rtl"] .iti--separate-dial-code .iti__flag-container {
    left: auto;
    right: 0;
}

/* ================================
   Responsive
================================ */

@media only screen and (max-width: 1050px) {
    .contactform-el {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .YC-con-start {
        width: 100%;
    }

    .form_form {
        position: relative;
        top: 0;
        max-width: 100%;
        min-width: 100%;
    }

    .form_form .-dw-title {
        align-items: center;
        text-align: center;
    }

    .form_form .-dw-h1,
    .form_form .p-content {
        text-align: center !important;
    }

    .-seest-shares {
        justify-content: center;
    }
}

@media only screen and (max-width: 768px) {
    .YC-con-start,
    .form_form {
        padding: 24px;
        border-radius: 22px;
    }

    .YC-wigdht-cont {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .-YC-FM-inputs-area {
        min-width: 100%;
        max-width: 100% !important;
        flex: 1 1 100%;
        margin-bottom: 0 !important;
        overflow: visible;
    }

    .contactsit-map {
        height: 230px;
        border-radius: 20px;
    }

    .cont-submit {
        justify-content: stretch;
    }

    .archive-btm {
        width: 100%;
    }
}

@media only screen and (max-width: 580px) {
    .-ycw-section.-ycwt-contactform::before,
    .-ycw-section.-ycwt-contactform::after {
        display: none;
    }

    .contactform-el {
        gap: 20px;
    }

    .YC-con-start,
    .form_form {
        min-width: 100%;
        max-width: 100%;
        padding: 18px;
        border-radius: 18px;
    }

    .YC-wigdht-cont > div {
        padding: 13px;
        border-radius: 16px;
    }

    .YC-wigdht-cont > div i {
        width: 44px;
        min-width: 44px;
        height: 44px;
        border-radius: 14px;
        font-size: 19px;
    }

    ._value {
        font-size: 16px;
    }

    .value_info span {
        font-size: 13px;
    }

    .-seest-shares a {
        width: 38px;
        min-width: 38px;
        height: 38px;
        border-radius: 13px;
        font-size: 16px;
    }

    .contact-form {
        gap: 11px;
    }

    .contact-form input[input-model],
    .contact-form .-selectbox-button,
    .-YC-FM-inputs-area select {
        min-height: 50px;
        border-radius: 14px;
        font-size: 14px;
    }

    .contact-form textarea[textarea-model] {
        min-height: 118px;
        border-radius: 14px;
        font-size: 14px;
    }

    .yc-form-section-title {
        font-size: 17px;
    }

    .archive-btm {
        min-height: 48px;
        font-size: 14px;
    }

    .contactsit-map {
        height: 210px;
        margin-top: 22px;
        border-radius: 18px;
    }

    .iti--separate-dial-code .iti__selected-flag {
        padding: 0 4px !important;
    }

    .-YC-FM-inputs-area input[input-model][type="tel"] {
        padding-inline-start: 80px !important;
        display: block;
    }

    [dir="rtl"] .iti--allow-dropdown .iti__flag-container,
    [dir="rtl"] .iti--separate-dial-code .iti__flag-container {
        width: 72px;
        font-size: 10px;
    }
}

@media only screen and (max-width: 380px) {
    .YC-con-start,
    .form_form {
        padding: 15px;
    }

    .contactsit-map {
        height: 190px;
    }

    .YC-wigdht-cont > div {
        padding: 12px;
    }

    ._value {
        font-size: 15px;
    }
}