.elementor-16356 .elementor-element.elementor-element-ad84621{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:0100px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-widget-heading .elementor-heading-title{color:var( --e-global-color-primary );}.elementor-16356 .elementor-element.elementor-element-6845988{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 20px) 0px;text-align:center;}.elementor-16356 .elementor-element.elementor-element-6845988 .elementor-heading-title{font-size:45px;font-weight:800;color:var( --e-global-color-secondary );}.elementor-16356 .elementor-element.elementor-element-fd69e87{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:0px;--margin-bottom:50px;--margin-left:0px;--margin-right:0px;}@media(max-width:767px){.elementor-16356 .elementor-element.elementor-element-ad84621{--margin-top:20px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-16356 .elementor-element.elementor-element-6845988 .elementor-heading-title{font-size:25px;line-height:1.5em;}}/* Start custom CSS for shortcode, class: .elementor-element-7270786 *//* =====================================================
فرم ماده 9 تیس - Contact Form 7
===================================================== */

.cf7-agency-form {
    max-width: 850px;
    margin: 0 auto;
    padding: 32px 34px;

    position: relative;
    overflow: hidden;

    border-radius: 26px;

    background:
        linear-gradient(
            135deg,
            rgba(205, 226, 216, 0.72) 0%,
            rgba(255, 255, 255, 0.68) 48%,
            rgba(189, 198, 204, 0.55) 100%
        );

    border: 1px solid rgba(255, 255, 255, 0.65);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    box-shadow:
        0 20px 55px rgba(20, 50, 74, 0.13),
        inset 0 1px 0 rgba(255, 255, 255, 0.75);

    box-sizing: border-box;
}


/* =====================================================
نورهای تزئینی
===================================================== */

.cf7-agency-form::before {
    content: "";

    position: absolute;

    width: 280px;
    height: 280px;

    top: -140px;
    right: -100px;

    background: rgba(7, 111, 62, 0.14);

    filter: blur(20px);

    border-radius: 50%;

    pointer-events: none;
}


.cf7-agency-form::after {
    content: "";

    position: absolute;

    width: 260px;
    height: 260px;

    bottom: -150px;
    left: -90px;

    background: rgba(20, 50, 74, 0.12);

    filter: blur(25px);

    border-radius: 50%;

    pointer-events: none;
}


/* =====================================================
هدر فرم
===================================================== */

.form-header-custom {
    position: relative;
    z-index: 2;

    text-align: center;

    margin: 0 0 18px;
}


.form-header-custom h2 {
    margin: 0 0 4px;

    color: #14324A;

    font-size: 28px;
    line-height: 1.45;

    font-weight: 800;
}


.form-header-custom p {
    margin: 0;

    color: rgba(20, 50, 74, 0.70);

    font-size: 14px;
    line-height: 1.6;
}


/* =====================================================
ردیف‌های فرم
===================================================== */

.form-row {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 16px;

    margin: 0;
    padding: 0;
}


/* فیلد سوم تمام عرض */

.article9-single-row {
    grid-template-columns: 1fr;
}


/* =====================================================
هر فیلد

مهم:
فاصله فیلدها از هم کمتر شده
===================================================== */

.form-field {
    position: relative;
    z-index: 2;

    margin: 0 0 8px;
    padding: 0;
}


/* =====================================================
عنوان فیلد
===================================================== */

.form-field label {
    display: inline-flex;

    align-items: center;
    justify-content: flex-start;

    gap: 4px;

    margin: 0 0 3px;
    padding: 0;

    color: #14324A;

    font-size: 13px;
    line-height: 1.4;

    font-weight: 700;
}


/* حذف ستاره */

.cf7-agency-form .required {
    display: none !important;
}


/* =====================================================
Wrapper خود Contact Form 7

مهم برای جلوگیری از فاصله اضافی
===================================================== */

.cf7-agency-form .wpcf7-form-control-wrap {
    display: block;

    margin: 0 !important;
    padding: 0 !important;

    line-height: 1;
}


/* =====================================================
Input
===================================================== */

.form-field input,
.form-field select,
.form-field textarea {
    display: block;

    width: 100%;

    margin: 0 !important;

    padding: 11px 14px;

    border: 1px solid rgba(20, 50, 74, 0.12);

    border-radius: 13px;

    box-sizing: border-box;

    outline: none;

    color: #14324A;

    font-size: 14px;
    line-height: 1.5;

    font-family: inherit;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.78),
            rgba(255, 255, 255, 0.55)
        );

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    box-shadow:
        0 5px 18px rgba(20, 50, 74, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}


/* =====================================================
Placeholder
===================================================== */

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: rgba(20, 50, 74, 0.42);

    opacity: 1;
}


/* =====================================================
Focus
===================================================== */

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: rgba(7, 111, 62, 0.55);

    background: rgba(255, 255, 255, 0.88);

    box-shadow:
        0 0 0 4px rgba(7, 111, 62, 0.08),
        0 8px 25px rgba(20, 50, 74, 0.07);
}


/* =====================================================
خطای Input
===================================================== */

.form-field input.error-border,
.form-field select.error-border,
.form-field textarea.error-border {
    border-color: rgba(210, 55, 55, 0.65);

    background: rgba(255, 245, 245, 0.9);

    box-shadow:
        0 0 0 4px rgba(210, 55, 55, 0.07);
}


/* =====================================================
توضیح زیر فیلد

مهم‌ترین تغییر:
فاصله توضیح تا Input تقریباً حذف شده
===================================================== */

.field-hint {
    display: block;

    margin: 1px 2px 0 !important;
    padding: 0 !important;

    color: rgba(20, 50, 74, 0.58);

    font-size: 10px;
    line-height: 1.35;
}


/* =====================================================
پیام خطای اختصاصی
===================================================== */

.error-message {
    display: none;

    margin: 2px 2px 0 !important;
    padding: 0 !important;

    color: #c93636;

    font-size: 10px;
    line-height: 1.35;

    font-weight: 600;
}


.error-message.show {
    display: block;
}


/* =====================================================
دکمه ارسال
===================================================== */

.form-submit {
    position: relative;
    z-index: 2;

    margin: 8px 0 0;

    text-align: center;
}


.cf7-agency-form .wpcf7-submit {
    width: 100%;

    min-height: 50px;

    margin: 0 !important;

    padding: 12px 35px;

    border: none;

    border-radius: 14px;

    cursor: pointer;

    color: #ffffff;

    font-size: 15px;

    font-family: inherit;

    font-weight: 700;

    background:
        linear-gradient(
            135deg,
            #076F3E 0%,
            #0A5D43 45%,
            #14324A 100%
        );

    box-shadow:
        0 10px 25px rgba(7, 111, 62, 0.17),
        0 6px 20px rgba(20, 50, 74, 0.12);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        filter 0.25s ease;
}


.cf7-agency-form .wpcf7-submit:hover {
    transform: translateY(-2px);

    filter: brightness(1.06);

    box-shadow:
        0 14px 30px rgba(7, 111, 62, 0.23),
        0 8px 24px rgba(20, 50, 74, 0.17);
}


.cf7-agency-form .wpcf7-submit:active {
    transform: translateY(0);
}


.cf7-agency-form .wpcf7-submit:disabled {
    opacity: 0.45;

    cursor: not-allowed;

    transform: none;

    filter: none;

    box-shadow: none;
}


/* =====================================================
Spinner
===================================================== */

.cf7-agency-form .wpcf7-spinner {
    display: block;

    margin: 6px auto 0;
}


/* =====================================================
حذف خطای پیش‌فرض CF7
===================================================== */

.cf7-agency-form .wpcf7-not-valid-tip {
    display: none !important;
}


/* =====================================================
حذف پیام پیش‌فرض CF7
===================================================== */

.wpcf7:has(.cf7-article9-form) .wpcf7-response-output {
    display: none !important;
}


.cf7-article9-form ~ .wpcf7-response-output {
    display: none !important;
}


/* =====================================================
انیمیشن خطا
===================================================== */

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-4px);
    }

    75% {
        transform: translateX(4px);
    }
}


.error-border {
    animation: shake 0.25s ease;
}


/* =====================================================
پاپ‌آپ موفقیت
===================================================== */

.popup-overlay {
    position: fixed;

    inset: 0;

    width: 100%;
    height: 100%;

    padding: 20px;

    display: flex;

    justify-content: center;
    align-items: center;

    box-sizing: border-box;

    background: rgba(20, 50, 74, 0.38);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    z-index: 999999;

    animation: fadeIn 0.35s ease;
}


.popup-content {
    position: relative;

    overflow: hidden;

    width: 100%;
    max-width: 430px;

    padding: 42px 38px;

    text-align: center;

    border-radius: 26px;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.92),
            rgba(205, 226, 216, 0.82)
        );

    border: 1px solid rgba(255, 255, 255, 0.7);

    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);

    box-shadow:
        0 25px 70px rgba(20, 50, 74, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);

    animation:
        slideUp 0.5s cubic-bezier(0.34, 1.2, 0.64, 1);
}


.popup-content::before {
    content: "";

    position: absolute;

    width: 220px;
    height: 220px;

    top: -130px;
    right: -80px;

    border-radius: 50%;

    background: rgba(7, 111, 62, 0.12);

    filter: blur(15px);

    pointer-events: none;
}


/* =====================================================
آیکون پاپ‌آپ
===================================================== */

.popup-icon {
    position: relative;

    z-index: 2;

    margin-bottom: 17px;
}


.popup-icon svg {
    animation:
        scaleCheck 0.65s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    filter:
        drop-shadow(0 8px 18px rgba(7, 111, 62, 0.25));
}


/* =====================================================
عنوان پاپ‌آپ
===================================================== */

.popup-content h3 {
    position: relative;

    z-index: 2;

    margin: 0;

    color: #076F3E;

    font-size: 26px;
    line-height: 1.5;

    font-weight: 800;
}


/* =====================================================
حذف متن‌های اضافی پاپ‌آپ
===================================================== */

.popup-content > p {
    display: none !important;
}


/* =====================================================
دکمه پاپ‌آپ
===================================================== */

.popup-close {
    position: relative;

    z-index: 2;

    margin-top: 20px;

    padding: 12px 32px;

    border: none;

    border-radius: 13px;

    cursor: pointer;

    background:
        linear-gradient(
            135deg,
            #076F3E,
            #14324A
        );

    color: #ffffff;

    font-family: inherit;

    font-size: 14px;

    font-weight: 700;

    box-shadow:
        0 9px 24px rgba(7, 111, 62, 0.18);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.popup-close:hover {
    transform: translateY(-2px);

    box-shadow:
        0 13px 28px rgba(7, 111, 62, 0.25);
}


.popup-close:active {
    transform: translateY(0);
}


/* =====================================================
انیمیشن‌های پاپ‌آپ
===================================================== */

@keyframes fadeIn {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


@keyframes slideUp {

    from {
        opacity: 0;

        transform:
            translateY(45px)
            scale(0.96);
    }

    to {
        opacity: 1;

        transform:
            translateY(0)
            scale(1);
    }
}


@keyframes scaleCheck {

    0% {
        transform:
            scale(0)
            rotate(-10deg);

        opacity: 0;
    }

    50% {
        transform:
            scale(1.15)
            rotate(4deg);

        opacity: 1;
    }

    100% {
        transform:
            scale(1)
            rotate(0);

        opacity: 1;
    }
}


/* =====================================================
موبایل
===================================================== */

@media (max-width: 768px) {

    .cf7-agency-form {
        padding: 22px 18px;

        border-radius: 21px;
    }


    /* هدر */

    .form-header-custom {
        margin-bottom: 14px;
    }


    .form-header-custom h2 {
        margin-bottom: 3px;

        font-size: 23px;
    }


    .form-header-custom p {
        font-size: 12px;

        line-height: 1.5;
    }


    /* ردیف‌ها */

    .form-row {
        grid-template-columns: 1fr;

        gap: 0;

        margin: 0;
    }


    /* هر فیلد */

    .form-field {
        margin: 0 0 7px;
    }


    /* عنوان */

    .form-field label {
        margin: 0 0 3px;

        font-size: 12px;

        line-height: 1.35;
    }


    /* Input */

    .form-field input,
    .form-field select,
    .form-field textarea {
        padding: 10px 12px;

        font-size: 13px;

        line-height: 1.4;
    }


    /* توضیح دقیقاً نزدیک Input */

    .field-hint {
        margin: 1px 2px 0 !important;

        font-size: 9px;

        line-height: 1.3;
    }


    /* خطا */

    .error-message {
        margin: 1px 2px 0 !important;

        font-size: 9px;

        line-height: 1.3;
    }


    /* دکمه */

    .form-submit {
        margin-top: 7px;
    }


    .cf7-agency-form .wpcf7-submit {
        min-height: 48px;

        font-size: 14px;
    }
}


/* =====================================================
موبایل کوچک
===================================================== */

@media (max-width: 480px) {

    .cf7-agency-form {
        padding: 18px 15px;

        border-radius: 20px;
    }


    /* هدر */

    .form-header-custom {
        margin-bottom: 12px;
    }


    .form-header-custom h2 {
        margin-bottom: 2px;

        font-size: 21px;

        line-height: 1.4;
    }


    .form-header-custom p {
        font-size: 11px;

        line-height: 1.4;
    }


    /* فاصله بین هر مجموعه فیلد */

    .form-field {
        margin-bottom: 6px;
    }


    /* عنوان تا Input */

    .form-field label {
        margin-bottom: 2px;

        font-size: 12px;

        line-height: 1.3;
    }


    /* Input */

    .form-field input,
    .form-field select,
    .form-field textarea {
        padding: 10px 12px;

        font-size: 12px;

        line-height: 1.35;

        border-radius: 12px;
    }


    /* توضیح کاملاً نزدیک به پایین Input */

    .field-hint {
        margin: 0 2px !important;

        padding: 0 !important;

        font-size: 9px;

        line-height: 1.25;
    }


    /* خطا هم نزدیک Input */

    .error-message {
        margin: 1px 2px 0 !important;

        padding: 0 !important;

        font-size: 9px;

        line-height: 1.25;
    }


    /* دکمه نزدیک‌تر */

    .form-submit {
        margin-top: 6px;
    }


    /* پاپ‌آپ */

    .popup-content {
        padding: 32px 22px;

        border-radius: 21px;
    }


    .popup-content h3 {
        font-size: 22px;
    }


    .popup-close {
        margin-top: 18px;

        padding: 11px 27px;

        font-size: 13px;
    }


    .popup-icon svg {
        width: 60px;

        height: 60px;
    }
}/* End custom CSS */