.elementor-221 .elementor-element.elementor-element-8efd9d0{--display:flex;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:0px;--margin-bottom:-360px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-221 .elementor-element.elementor-element-8efd9d0.e-con{--flex-grow:0;--flex-shrink:0;}.elementor-221 .elementor-element.elementor-element-c3a8970.elementor-element{--align-self:stretch;}.elementor-221 .elementor-element.elementor-element-c3a8970{z-index:12;}.elementor-theme-builder-content-area{height:400px;}.elementor-location-header:before, .elementor-location-footer:before{content:"";display:table;clear:both;}@media(max-width:767px){.elementor-221 .elementor-element.elementor-element-8efd9d0{--margin-top:0px;--margin-bottom:-387px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-221 .elementor-element.elementor-element-c3a8970{width:100%;max-width:100%;padding:0px 0px 0px 0px;}.elementor-221{margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;}}@media(min-width:768px){.elementor-221 .elementor-element.elementor-element-8efd9d0{--width:100%;}}/* Start custom CSS for html, class: .elementor-element-c3a8970 *//* برای نمایش بهتر فونت فارسی (اختیاری اما پیشنهادی) */
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;700&display=swap');

body {
    /* اطمینان از اینکه فونت فارسی اعمال می‌شود */
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    margin: 0; /* حذف فاصله پیش‌فرض */
}

/* * 1. فوتر اصلی
 * - ارتفاع ثابت (height) حذف شد تا از سرریز محتوا جلوگیری شود.
 * - پدینگ پایین به حالت عادی بازگشت (80px).
 */
.site-footer {
    direction: rtl; 
    color: #f0f0f0; 
    /* پدینگ 80px بالا و پایین، 0 چپ و راست */
    padding: 80px 0; 
    position: relative;
    overflow: hidden; 
    background: linear-gradient(-45deg, #94b7bb, #414345, #03736D);
    background-size: 400% 400%;
    animation: gradientAnimation 15s ease infinite;
}

/* انیمیشن حرکت پس‌زمینه */
@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* کانتینر اصلی ستون‌ها */
.footer-container {
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 20px; 
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px; 
}

/* استایل‌دهی ستون‌ها (وسط‌چین) */
.footer-column {
    text-align: center;
}

.footer-column h4 {
    font-size: 18px;
    font-weight: 700;
    color: #FFFFFF; 
    margin-top: 0;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column strong {
    color: #FFFFFF;
    font-family: yekanglobal, 'Vazirmatn', sans-serif; 
    font-weight: 300; 
}

/* خط تزیینی وسط‌چین زیر تیتر */
.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #94b7bb; 
    left: 50%;
    transform: translateX(-50%);
}

.footer-column p,
.footer-column li {
    font-size: 15px;
    line-height: 1.8;
    color: #e0e0e0; 
    margin-bottom: 10px;
}

/* ستون برند (لوگو) */
.footer-brand .footer-logo {
    max-width: 150px; 
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.1); 
    padding: 15px; 
    border-radius: 8px; 
    box-sizing: border-box; 
}

/* ستون خبرنامه (فرم) */
.footer-subscribe-form {
    display: inline-flex; /* برای اعمال text-align:center */
    margin-top: 20px;
    border-radius: 5px;
    overflow: hidden;
    max-width: 100%; 
}

.footer-subscribe-form input[type="email"] {
    flex-grow: 1;
    border: none;
    padding: 12px 15px;
    direction: rtl;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    outline: none;
}

.footer-subscribe-form input[type="email"]::placeholder {
    color: #c0c0c0;
}

.footer-subscribe-form button {
    border: none;
    padding: 12px 20px;
    background-color: #03736D;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.footer-subscribe-form button:hover {
    background-color: #049a8f;
}

/* ستون لینک‌ها */
.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s ease; 
}

.footer-links a:hover {
    color: #fff;
}

/* ستون تماس */
.footer-contact p {
    margin-bottom: 20px;
}
.footer-contact a {
    color: #e0e0e0;
    text-decoration: none;
    direction: ltr;
    display: inline-block;
}
.footer-contact a:hover {
    color: #fff;
}

/* * 2. نوار پایین فوتر (اصلاح شده)
 * - استفاده از Flexbox برای چیدمان عمودی و وسط‌چین.
 * - حذف کامل Position Absolute.
 */
.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px; /* فاصله از ستون‌های بالا */
    padding: 30px 20px; /* 30px بالا و پایین */
    
    /* چیدمان ستونی و وسط‌چین */
    display: flex;
    flex-direction: column; /* چیدن آیتم‌ها زیر هم */
    align-items: center; /* وسط‌چین افقی */
    justify-content: center; /* وسط‌چین عمودی */
    gap: 15px; /* فاصله بین متن کپی‌رایت و لینک‌ها */
    text-align: center;
}

/* متن کپی‌رایت (اصلاح شده) */
.footer-bottom-bar p {
    margin: 0; /* حذف margin اضافی، چون 'gap' اعمال شده */
    font-size: 14px;
    color: #c0c0c0;
}

/* لینک‌های حقوقی (پایین) */
.footer-legal-links {
    display: flex;
    flex-wrap: wrap; /* برای موبایل‌های خیلی کوچک */
    justify-content: center;
    gap: 20px; /* فاصله بین لینک‌های حقوقی */
}

.footer-legal-links a {
    color: #c0c0c0;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: #fff;
}


/* ========================================
 == واکنش‌گرایی (Responsive) ==
 ========================================
*/
@media (max-width: 768px) {
    /* در تبلت و موبایل */
    .site-footer {
        /* پدینگ بالا و پایین در موبایل کمتر است */
        padding: 60px 0; 
    }
    
    .footer-container {
        gap: 30px;
    }

    /* استایل لوگو فقط در موبایل */
    .footer-brand .footer-logo {
        max-width: 250px; /* اندازه بزرگتر در موبایل */
    }
    
    /* نیاز به استایل جدا برای نوار پایین نیست 
            چون استایل دسکتاپ آن (flex-direction: column) 
            از قبل برای موبایل عالی است.
    */
}/* End custom CSS */