/* ===== رپر اصلی با بوردر و سایه ظریف ===== */
.header-wrapper {
    border: 1px solid #e3e3e3;
    border-radius: 14px;
    box-shadow: 0px 3px 12px rgba(0,0,0,0.06);
    padding: 25px !important;
    background: #fff;
}

/* متن سمت راست → کمی بالاتر */
.content-col {
    margin-top: -20px;
}

/* عکس */
.header-image-box {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    box-shadow: 0px 3px 10px rgba(0,0,0,0.15);
}

.page-title {
    font-size: 42px;
    color: #FA523C;
}

.header-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: #555;
    margin-top: 10px;
}

/* ===== اصلاح چیدمان آیپد (سایز 768 تا 1024) ===== */
@media (max-width: 1024px) and (min-width: 768px) {
    .content-col {
        margin-top: 0;
        text-align: center;
    }
    .content-col .col-md-4 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
        margin-bottom: 20px;
    }
    .content-col .social-icons {
        justify-content: flex-end !important;
    }
    .content-col .contact-box.text-center {
        text-align: right !important;
    }
    .page-title {
        font-size: 34px !important;
        margin-bottom: 15px;
    }
    .header-image-box {
        height: 300px;
        background-position: center;
    }
    .header-wrapper {
        padding: 30px !important;
    }
}

/* موبایل */
@media (max-width: 768px) {
    .header-wrapper {
        padding: 22px !important;
    }
    .header-two-col {
        text-align: center;
    }
    .content-col {
        margin-top: 0;
    }
    .header-image-box {
        height: 220px;
        background-position: center;
    }
    .page-title {
        font-size: 32px;
    }
    .touch-container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

/* ===== باکس پیام مینیمال ===== */
/* استایل شیک برای پیام‌ها */
#ajax-message .alert {
    padding: 12px 18px;
    margin-bottom: 30px;
    border: none !important;                          /* حذف کامل بوردر */
    border-radius: 10px;                              /* گوشه‌های نرم‌تر */
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);          /* سایه شیک و ملایم */
    font-size: 14px;
    line-height: 1.5;
}

/* رنگ پس‌زمینه‌ها */
#ajax-message .alert-success {
    background-color: #d8f5dd;   /* سبز ملایم‌تر */
}

#ajax-message .alert-danger {
    background-color: #fbe3e5;   /* قرمز بسیار لطیف */
}

/* متن همه پیام‌ها مشکی */
#ajax-message .alert,
#ajax-message .alert * {
    color: #111 !important;
}

/* راست‌چین شدن پیام‌ها */
#ajax-message .alert {
    text-align: right !important;
}

/* استایل چیدمان پیام‌های داخلی */
#ajax-message .alert div {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
}

/* ضربدر قرمز کنار پیام‌های danger */
#ajax-message .alert-danger div::before {
    content: "✖";
    color: #ff3b3b;
    font-weight: bold;
    margin-left: 5px;
    font-size: 14px;
}

/* وسط چین و col-9 شدن */
#ajax-message {
    width: 75%;
    margin: 0 auto 20px;
    text-align: center;
}

/* ===== گرد کردن فیلدهای فرم ===== */
.contact-form input,
.contact-form textarea,
.contact-form select {
    border-radius: 6px;       /* گوشه‌های نرم */
    border: 1px solid #ccc;   /* مرز سبک */
    padding: 10px 12px;
    font-size: 14px;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: #FA523C;
    box-shadow: 0 0 5px rgba(250,82,60,0.3);
    outline: none;
}
.contact-form button {
    border-radius: 6px;  /* دکمه فرم گرد شود */
}


