/* ===== کارت‌های اطلاعات تماس خلاقانه ===== */

.contact_info_modern {
    padding: 80px 0 60px;
    background: #fff;
}

.card_contact_modern {
    background: #fff;
    border-radius: 20px;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.4s;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.card_contact_modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, transparent 100%);
    opacity: 0;
    transition: all 0.4s;
    z-index: 0;
}

.card_contact_modern:hover::before {
    opacity: 1;
}

.card_contact_modern:hover {
    transform: translateY(-8px);
}

/* استایل یکسان برای همه کارت‌ها - مثل کارت ایمیل */
.card_contact_style_1,
.card_contact_style_2,
.card_contact_style_3 {
    border: 3px dashed rgba(130, 83, 237, 0.3);
    box-shadow: 0 8px 25px rgba(130, 83, 237, 0.08);
}

.card_contact_style_1:hover,
.card_contact_style_2:hover,
.card_contact_style_3:hover {
    border-style: solid;
    border-color: #8253ED;
    box-shadow: 0 15px 40px rgba(130, 83, 237, 0.2);
}

.card_contact_style_1::before,
.card_contact_style_2::before,
.card_contact_style_3::before {
    background: linear-gradient(135deg, rgba(130, 83, 237, 0.03) 0%, rgba(182, 150, 255, 0.03) 100%);
}

/* آیکون - مثل کارت آدرس */
.icon_modern {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(182, 150, 255, 0.15) 0%, rgba(252, 255, 150, 0.15) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.4s;
    position: relative;
    z-index: 1;
}

.card_contact_modern:hover .icon_modern {
    background: linear-gradient(222deg, #5a12ffe0 27%, #ffb700 100%);
    transform: rotate(5deg) scale(1.05);
}

.icon_modern svg {
    width: 44px;
    height: 44px;
    color: #6421FE;
    transition: all 0.4s;
}

.card_contact_modern:hover .icon_modern svg {
    color: #fff;
}

/* محتوا */
.content_modern {
    flex: 1;
    position: relative;
    z-index: 1;
}

.content_modern h3 {
    font-size: 18px;
    font-weight: 700;
    color: #2D2D2D;
    margin-bottom: 10px;
    transition: all 0.3s;
}

.card_contact_modern:hover .content_modern h3 {
    color: #8253ED;
}

.content_modern p {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.6);
    margin: 5px 0;
    line-height: 1.6;
    transition: all 0.3s;
}

.card_contact_modern:hover .content_modern p {
    color: rgba(0, 0, 0, 0.8);
}

/* ===== فرم تماس با ما خلاقانه ===== */

.contact_form_modern {
    padding: 80px 0 100px;
    background: linear-gradient(135deg, #f8f9ff 0%, #fff 100%);
    position: relative;
    overflow: hidden;
}

.contact_form_modern::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(100, 33, 254, 0.05) 0%, rgba(130, 83, 237, 0.05) 100%);
    border-radius: 50%;
    z-index: 0;
}

.contact_form_modern::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, rgba(182, 150, 255, 0.05) 0%, rgba(252, 255, 150, 0.05) 100%);
    border-radius: 50%;
    z-index: 0;
}

.contact_form_modern > .container {
    position: relative;
    z-index: 1;
}

.h_contact_form_modern h2 {
    font-size: 42px;
    font-weight: 800;
    background: linear-gradient(135deg, #6421FE 0%, #8253ED 50%, #B696FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.h_contact_form_modern h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #6421FE 0%, #8253ED 50%, #B696FF 100%);
    border-radius: 2px;
}

.h_contact_form_modern p {
    font-size: 16px;
    color: rgba(0, 0, 0, 0.6);
    margin-top: 20px;
}

/* ===== Wrapper فرم ===== */
.form_wrapper_creative {
    background: #fff;
    border-radius: 30px;
    padding: 45px;
    box-shadow: 0 20px 60px rgba(100, 33, 254, 0.08);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.form_wrapper_creative::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #6421FE 0%, #8253ED 50%, #B696FF 80%, #ffb907 100%);
}

/* ===== Input استایل‌های خلاقانه ===== */
.input_creative {
    position: relative;
    margin-bottom: 25px;
}

.input_creative label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #2D2D2D;
    margin-bottom: 10px;
    transition: all 0.3s;
}

.input_creative .form-control,
.input_creative textarea {
    width: 100%;
    padding: 16px 20px;
    font-size: 15px;
    color: #2D2D2D;
    background: #fff;
    border: 2px solid transparent;
    border-radius: 15px;
    transition: all 0.3s;
    position: relative;
    z-index: 1;
}

.input_creative textarea {
    resize: none;
    min-height: 120px;
}

/* بوردر متحرک - حذف شده */
.input_creative .input_border {
    display: none;
}

/* استایل یکسان برای همه اینپوت‌ها - مشابه استایل تماس */
.input_creative .form-control,
.input_creative textarea {
    background: #fff;
    border: 2px dashed rgba(100, 33, 254, 0.2);
}

.input_creative .form-control:focus,
.input_creative textarea:focus {
    border-color: #6421FE;
    border-style: solid;
    box-shadow: 0 0 0 4px rgba(100, 33, 254, 0.1);
    outline: none;
}

.input_creative .form-control:focus ~ label,
.input_creative textarea:focus ~ label {
    color: #6421FE;
}

/* دکمه ارسال خلاقانه */
.btn_submit_creative {
    width: 100%;
    padding: 18px 40px;
    background: linear-gradient(135deg, #6421FE 0%, #8253ED 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn_submit_creative::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #8253ED 0%, #B696FF 100%);
    transition: all 0.4s;
    z-index: -1;
}

.btn_submit_creative:hover::before {
    left: 0;
}

.btn_submit_creative:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(100, 33, 254, 0.3);
}

.btn_submit_creative svg {
    transition: transform 0.4s;
}

.btn_submit_creative:hover svg {
    transform: translateX(-5px);
}

/* ===== نقشه خلاقانه ===== */
.map_creative {
    position: relative;
    height: 100%;
    min-height: 700px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(100, 33, 254, 0.08);
}

.map_creative iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.map_overlay {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 10;
}

.map_info_badge {
    background: linear-gradient(135deg, #6421FE 0%, #8253ED 100%);
    padding: 20px 25px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(100, 33, 254, 0.3);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.map_info_badge .icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.map_info_badge h4 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 5px 0;
}

.map_info_badge p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.5;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
    .contact_info_modern {
        padding: 60px 0 40px;
    }

    .card_contact_modern {
        padding: 25px;
    }

    .icon_modern {
        width: 60px;
        height: 60px;
    }

    .icon_modern svg {
        width: 36px;
        height: 36px;
    }

    .content_modern h3 {
        font-size: 16px;
    }

    .content_modern p {
        font-size: 13px;
    }

    .map_creative {
        min-height: 500px;
        margin-top: 30px;
    }

    .form_wrapper_creative {
        padding: 35px 25px;
    }

    .h_contact_form_modern h2 {
        font-size: 32px;
    }

    .contact_form_modern {
        padding: 60px 0 80px;
    }
}

@media (max-width: 767px) {
    .contact_info_modern {
        padding: 50px 0 30px;
    }

    .card_contact_modern {
        padding: 20px;
        gap: 15px;
    }

    .icon_modern {
        width: 55px;
        height: 55px;
    }

    .icon_modern svg {
        width: 32px;
        height: 32px;
    }

    .content_modern h3 {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .content_modern p {
        font-size: 12px;
    }

    .map_creative {
        min-height: 400px;
    }

    .form_wrapper_creative {
        padding: 30px 20px;
    }

    .h_contact_form_modern h2 {
        font-size: 28px;
    }

    .map_info_badge {
        padding: 15px 20px;
        right: 15px;
        top: 15px;
    }

    .map_info_badge .icon {
        width: 40px;
        height: 40px;
    }

    .map_info_badge h4 {
        font-size: 14px;
    }

    .map_info_badge p {
        font-size: 12px;
    }

    .btn_submit_creative {
        padding: 16px 30px;
        font-size: 15px;
    }

    .contact_form_modern::before,
    .contact_form_modern::after {
        display: none;
    }
}
