

/* =====================================================
   FOOTER
===================================================== */

.site-footer {
    width: 100%;
    margin: 0;
    padding: 0;

    direction: rtl;

    font-family: 'iranyekan', sans-serif;

    color: #151515;

    box-sizing: border-box;
}

.site-footer *,
.site-footer *::before,
.site-footer *::after {
    box-sizing: border-box;
}

/* =====================================================
   کارت های خدمات و اعتماد فوتر
===================================================== */

.footer-benefits {

    width: 100%;

    background: #fff;

    border-top: 1px solid #eeeeee;

    border-bottom: 1px solid #eeeeee;

}


.footer-benefits-inner {

    width: 85%;

    max-width: 1650px;

    margin: 0 auto;

    min-height: 114px;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    align-items: center;

    direction: rtl;

}


/* هر کارت */

.footer-benefit {

    min-height: 114px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    color: #82a5e7;

    transition: .2s ease;

}


/* آیکن */

.footer-benefit-icon {

    width: 40px;

    height: 40px;

    margin-bottom: 7px;

    display: flex;

    align-items: center;

    justify-content: center;

}


.footer-benefit-icon svg {

    width: 36px;

    height: 36px;

    display: block;

    color: #2864d7;

}


/* عنوان */

.footer-benefit-title {

    font-family: 'iranyekan', sans-serif;

    font-size: 15px;

    font-weight: 600;

    color: #82a5e7;

    line-height: 1.8;

    white-space: nowrap;

}


/* هاور */

.footer-benefit:hover .footer-benefit-icon {

    transform: translateY(-2px);

}


.footer-benefit-icon {

    transition: transform .2s ease;

}


/* =====================================================
   ریسپانسیو
===================================================== */

@media (max-width: 800px) {

    .footer-benefits-inner {

        width: 90%;

        grid-template-columns: repeat(2, 1fr);

        padding: 15px 0;

    }


    .footer-benefit {

        min-height: 100px;

    }

}


@media (max-width: 480px) {

    .footer-benefits-inner {

        grid-template-columns: repeat(2, 1fr);

    }


    .footer-benefit {

        min-height: 90px;

    }


    .footer-benefit-icon {

        width: 34px;

        height: 34px;

    }


    .footer-benefit-icon svg {

        width: 30px;

        height: 30px;

    }


    .footer-benefit-title {

        font-size: 12px;

    }

}
/* =====================================================
   نوار آبی بالای فوتر
===================================================== */

.footer-social-bar {

    width: 100%;

    height: 99px;

    background: #0645b9;

    color: #fff;
}


.footer-social-inner {

    width: 85%;

    max-width: 1650px;

    height: 100%;

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    direction: rtl;
}


/* =========================================
   SOCIAL MEDIA - FOOTER
========================================= */

.footer-socials {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    direction: ltr;
    gap: 26px;
}

/* خود لینک */
.footer-socials a {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 !important;
    margin: 0 !important;

    background: transparent !important;
    border: none !important;
    box-shadow: none !important;

    text-decoration: none !important;

    flex-shrink: 0;

    transition: transform 0.25s ease;
}

/* SVG عمومی */
.footer-socials .social-svg {
    width: 29px;
    height: 29px;

    display: block;

    flex-shrink: 0;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}

/* آیکون‌هایی که باید سفید باشند */
.footer-socials .social-telegram,
.footer-socials .social-whatsapp,
.footer-socials .social-instagram,
.footer-socials .social-bale,
.footer-socials .social-eitaa {
    fill: none;
}

/* تلگرام */
.footer-socials .social-telegram {
    width: 30px;
    height: 30px;
}

/* واتساپ */
.footer-socials .social-whatsapp {
    width: 30px;
    height: 30px;
}

/* اینستاگرام */
.footer-socials .social-instagram {
    width: 29px;
    height: 29px;

    fill: none;
    stroke: #fff;
    stroke-width: 2;
}

/* بله */
.footer-socials .social-bale {
    width: 30px;
    height: 30px;
}

/* روبیکا */
.footer-socials .social-rubika {
    width: 30px;
    height: 30px;
}

/* ایتا */
.footer-socials .social-eitaa {
    width: 30px;
    height: 30px;
}

/* Hover */
.footer-socials a:hover {
    transform: translateY(-3px);
}

.footer-socials a:hover .social-svg {
    opacity: 0.85;
    transform: scale(1.08);
}

/* متن */
.footer-follow-text {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;

    margin-right: 8px;
}

/* =====================================================
   بازگشت به بالا
===================================================== */

.footer-back-top {

    border: none;

    background: transparent;

    color: #fff;

    display: flex;

    align-items: center;

    gap: 12px;

    font-family: 'iranyekan', sans-serif;

    font-size: 16px;

    cursor: pointer;

    padding: 0;

}


.back-top-icon {

    width: 24px;

    height: 24px;

    border: 2px solid #fff;

    border-radius: 6px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 19px;

    line-height: 1;

    transition: .2s ease;
}


.footer-back-top:hover .back-top-icon {

    transform: translateY(-3px);

}


/* =====================================================
   بخش اصلی
===================================================== */

.footer-main {

    width: 100%;

    background: #f1f2f5;

    padding: 48px 0 50px;
}


.footer-container {

    width: 85%;

    max-width: 1650px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        1.45fr
        1fr
        1fr
        1fr
        1fr;

    gap: 55px;

    direction: ltr;

    align-items: start;
}


/* =====================================================
   خبرنامه
===================================================== */

.footer-newsletter {

    direction: rtl;

    text-align: right;
}


.newsletter-description {

    margin: 0 0 25px;

    font-size: 15px;

    line-height: 2;

    color: #222;

    max-width: 540px;
}


.newsletter-form {

    width: 100%;

    max-width: 540px;

    display: flex;

    flex-direction: row-reverse;

    gap: 10px;

    direction: ltr;
}


.newsletter-form input {

    flex: 1;

    height: 54px;

    min-width: 0;

    border: 1px solid #d9d9dc;

    background: #fff;

    border-radius: 12px;

    padding: 0 22px;

    text-align: right;

    direction: rtl;

    font-family: 'iranyekan', sans-serif;

    font-size: 14px;

    outline: none;

    transition: .2s ease;
}


.newsletter-form input:focus {

    border-color: #0645b9;

}


.newsletter-form button {

    flex: 0 0 95px;

    height: 54px;

    border: none;

    border-radius: 10px;

    background: #dedee1;

    color: #fff;

    font-family: 'iranyekan', sans-serif;

    font-size: 16px;

    cursor: pointer;

    transition: .2s ease;
}


.newsletter-form button:hover {

    background: #0645b9;

}


/* =====================================================
   لوگوهای اعتماد
===================================================== */

.footer-trust-logos {

    display: flex;

    align-items: center;

    gap: 38px;

    margin-top: 70px;
}


.footer-trust-logos a {

    width: 68px;

    height: 68px;

    background: #fff;

    border-radius: 8px;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

    text-decoration: none;
}


.footer-trust-logos img {

    display: block;

    width: 100%;

    height: 100%;

    object-fit: contain;

}


/* =====================================================
   ستون های منو
===================================================== */

.footer-column {

    direction: rtl;

    text-align: right;

    min-width: 0;
}


.footer-column h3 {

    margin: 0 0 25px;

    padding: 0;

    color: #111;

    font-family: 'iranyekan', sans-serif;

    font-size: 17px;

    font-weight: 700;

    line-height: 1.5;
}


/* =====================================================
   منوهای وردپرس
===================================================== */

.footer-menu {

    list-style: none;

    margin: 0;

    padding: 0;
}


.footer-menu li {

    list-style: none;

    margin: 0 0 15px;

    padding: 0;
}


.footer-menu li a {

    display: inline-block;

    color: #333;

    text-decoration: none;

    font-family: 'iranyekan', sans-serif;

    font-size: 14px;

    line-height: 1.8;

    transition:
        color .2s ease,
        transform .2s ease;
}


.footer-menu li a:hover {

    color: #0645b9;

    transform: translateX(-4px);

}


/* لینک فعال */

.footer-menu .current-menu-item > a,
.footer-menu .current_page_item > a {

    color: #0645b9;
}


/* =====================================================
   پایین فوتر
===================================================== */

.footer-bottom {

    width: 100%;

    min-height: 88px;

    background: #f1f2f5;

    border-top: 1px solid #b8c9eb;
}


.footer-bottom-inner {

    width: 85%;

    max-width: 1650px;

    min-height: 88px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 40px;

    direction: rtl;
}


.footer-support {

    display: flex;

    align-items: center;

    gap: 15px;

    white-space: nowrap;

    font-size: 14px;

    color: #0645b9;
}


.footer-support strong {

    font-size: 15px;
}


.footer-support a {

    color: #0645b9;

    text-decoration: none;

    direction: ltr;
}


.footer-copyright {

    color: #0645b9;

    font-size: 14px;

    line-height: 2;

    text-align: right;
}

/* =========================================================
   MOBILE FOOTER - FINAL
   دسکتاپ بدون تغییر
========================================================= */

@media (max-width: 768px) {

    /* جلوگیری از بیرون‌زدگی افقی فوتر */
    .site-footer {
        width: 100%;
        overflow: hidden;
    }


    /* =====================================================
       1. کارت های اعتماد
    ===================================================== */

    .footer-benefits {
        width: 100% !important;
        background: var(--white) !important;

        border-top: 1px solid var(--border-color) !important;
        border-bottom: 1px solid var(--border-color) !important;
    }

    .footer-benefits-inner {
        width: 100% !important;
        max-width: none !important;

        min-height: 72px !important;

        margin: 0 !important;
        padding: 8px 4px !important;

        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;

        gap: 0 !important;

        direction: rtl !important;
    }

    .footer-benefit {
        width: 100% !important;
        min-height: 0 !important;

        display: flex !important;

        flex-direction: column !important;

        align-items: center !important;
        justify-content: center !important;

        text-align: center !important;

        color: var(--primary-color) !important;
    }

    .footer-benefit-icon {
        width: 25px !important;
        height: 25px !important;

        margin-bottom: 3px !important;
    }

    .footer-benefit-icon svg {
        width: 23px !important;
        height: 23px !important;

        color: var(--primary-color) !important;
    }

    .footer-benefit-title {
        width: 100% !important;

        padding: 0 2px !important;

        color: var(--primary-color) !important;

        font-family: var(--font-family) !important;

        font-size: 8px !important;
        font-weight: 600 !important;

        line-height: 1.5 !important;

        white-space: nowrap !important;
    }


    /* =====================================================
       2. نوار آبی شبکه های اجتماعی
    ===================================================== */

    .footer-social-bar {
        width: 100% !important;

        height: auto !important;
        min-height: 73px !important;

        padding: 7px 0 9px !important;

        background: var(--primary-color) !important;

        border-radius: 0 !important;
    }

    .footer-social-inner {
        width: calc(100% - 24px) !important;

        max-width: none !important;

        min-height: 59px !important;

        margin: 0 auto !important;

        padding: 0 !important;

        display: flex !important;

        flex-wrap: wrap !important;

        align-items: center !important;
        justify-content: center !important;

        gap: 3px 0 !important;

        direction: rtl !important;
    }


    /* -------------------------
       بازگشت به بالا
    ------------------------- */

    .footer-back-top {
        width: 100% !important;

        height: 25px !important;

        order: 1 !important;

        display: flex !important;

        align-items: center !important;

        justify-content: flex-start !important;

        gap: 6px !important;

        padding: 0 !important;
        margin: 0 !important;

        color: var(--white) !important;

        font-family: var(--font-family) !important;

        font-size: 10px !important;

        font-weight: 500 !important;
    }

    .footer-back-top span:first-child {
        display: inline-block !important;
    }

    .back-top-icon {
        width: 18px !important;
        height: 18px !important;

        border: 1.5px solid var(--white) !important;

        border-radius: 5px !important;

        font-size: 14px !important;
    }


    /* -------------------------
       شبکه های اجتماعی
    ------------------------- */

    .footer-socials {
        width: 100% !important;

        height: 31px !important;

        order: 2 !important;

        display: flex !important;

        align-items: center !important;

        justify-content: flex-start !important;

        gap: 13px !important;

        direction: ltr !important;

        padding: 0 !important;

        margin: 0 !important;
    }

    .footer-socials > a {
        width: 23px !important;
        height: 23px !important;

        min-width: 23px !important;
        min-height: 23px !important;

        padding: 0 !important;
        margin: 0 !important;
    }

    .footer-socials > a > svg,
    .footer-socials .social-svg {
        width: 22px !important;
        height: 22px !important;

        min-width: 22px !important;
        min-height: 22px !important;

        max-width: 22px !important;
        max-height: 22px !important;
    }

    .footer-follow-text {
        width: auto !important;

        margin: 0 0 0 4px !important;

        color: var(--white) !important;

        font-family: var(--font-family) !important;

        font-size: 11px !important;

        font-weight: 700 !important;

        white-space: nowrap !important;

        direction: rtl !important;

        order: 10 !important;
    }


    /* =====================================================
       3. بخش اصلی فوتر
    ===================================================== */

    .footer-main {
        width: 100% !important;

        background: var(--light-bg) !important;

        padding: 0 0 14px !important;
    }

    .footer-container {
        width: 100% !important;
        max-width: none !important;

        margin: 0 !important;
        padding: 0 8px !important;

        display: flex !important;

        flex-direction: column !important;

        gap: 0 !important;

        direction: rtl !important;
    }


    /* =====================================================
       4. ستون های منو
    ===================================================== */

    .footer-column {
        width: 100% !important;

        min-width: 0 !important;

        margin: 0 !important;
        padding: 0 !important;

        text-align: right !important;

        border-bottom: 1px solid var(--border-color);
    }


    .footer-column h3 {
        position: relative;

        width: 100% !important;

        height: 43px !important;

        margin: 0 !important;
        padding: 0 12px !important;

        display: flex !important;

        align-items: center !important;

        justify-content: space-between !important;

        background: transparent !important;

        color: var(--text-color) !important;

        font-family: var(--font-family) !important;

        font-size: 12px !important;

        font-weight: 700 !important;

        line-height: 1 !important;

        cursor: pointer !important;
    }


    /* فلش سمت چپ */

    .footer-column h3::before {
        content: "⌄";

        display: flex;

        align-items: center;
        justify-content: center;

        width: 16px;
        height: 16px;

        color: var(--text-color);

        font-size: 14px;

        line-height: 1;

        transition: transform .25s ease;
    }


    /* منوها در حالت بسته */

    .footer-column .footer-menu {
        display: none !important;

        width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;

        background: var(--white);
    }


    /* وقتی باز شد */

    .footer-column.mobile-open .footer-menu {
        display: block !important;
    }

    .footer-column.mobile-open h3::before {
        transform: rotate(180deg);
    }


    .footer-menu li {
        width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;

        border-top: 1px solid var(--border-color);
    }

    .footer-menu li a {
        display: block !important;

        width: 100% !important;

        padding: 11px 20px !important;

        color: var(--muted-color) !important;

        font-family: var(--font-family) !important;

        font-size: 11px !important;

        line-height: 1.7 !important;

        text-align: right !important;

        transform: none !important;
    }

    .footer-menu li a:hover {
        color: var(--primary-color) !important;

        background: var(--primary-light) !important;

        transform: none !important;
    }


    /* =====================================================
       5. خبرنامه
       در موبایل بعد از منوها
    ===================================================== */

    .footer-newsletter {
        width: 100% !important;

        order: 5 !important;

        padding: 16px 8px 5px !important;

        margin: 0 !important;

        text-align: center !important;

        direction: rtl !important;
    }

    .newsletter-description {
        width: 100% !important;

        max-width: none !important;

        margin: 0 0 10px !important;

        color: var(--text-color) !important;

        font-family: var(--font-family) !important;

        font-size: 10px !important;

        line-height: 1.8 !important;

        text-align: center !important;
    }


    /* =====================================================
       6. فرم خبرنامه
    ===================================================== */

    .newsletter-form {
        width: 100% !important;

        max-width: none !important;

        display: flex !important;

        flex-direction: column !important;

        gap: 6px !important;

        margin: 0 !important;

        direction: rtl !important;
    }

    .newsletter-form input {
        width: 100% !important;

        height: 40px !important;

        flex: none !important;

        padding: 0 14px !important;

        border: 1px solid var(--border-color) !important;

        border-radius: 8px !important;

        background: var(--white) !important;

        color: var(--text-color) !important;

        font-family: var(--font-family) !important;

        font-size: 11px !important;

        text-align: right !important;
    }

    .newsletter-form button {
        width: 100% !important;

        height: 38px !important;

        flex: none !important;

        padding: 0 !important;

        border: none !important;

        border-radius: 8px !important;

        background: #dedee1 !important;

        color: var(--white) !important;

        font-family: var(--font-family) !important;

        font-size: 12px !important;
    }

    .newsletter-form button:hover {
        background: var(--primary-color) !important;
    }


    /* =====================================================
       7. لوگوهای اعتماد
    ===================================================== */

    .footer-trust-logos {
        width: 100% !important;

        display: flex !important;

        align-items: center !important;
        justify-content: center !important;

        gap: 14px !important;

        margin: 12px 0 0 !important;

        direction: rtl !important;
    }

    .footer-trust-logos a {
        width: 48px !important;
        height: 48px !important;

        flex: 0 0 48px !important;

        background: var(--white) !important;

        border-radius: 6px !important;

        overflow: hidden !important;
    }

    .footer-trust-logos img {
        width: 100% !important;
        height: 100% !important;

        object-fit: contain !important;
    }


    /* =====================================================
       8. پایین فوتر
    ===================================================== */

    .footer-bottom {
        width: 100% !important;

        min-height: auto !important;

        padding: 9px 8px 12px !important;

        background: var(--light-bg) !important;

        border-top: 1px solid #b8c9eb !important;
    }

    .footer-bottom-inner {
        width: 100% !important;

        max-width: none !important;

        min-height: auto !important;

        margin: 0 !important;
        padding: 0 !important;

        display: flex !important;

        flex-direction: column !important;

        align-items: center !important;

        justify-content: center !important;

        gap: 3px !important;

        direction: rtl !important;

        text-align: center !important;
    }

    .footer-support {
        order: 1 !important;

        width: 100% !important;

        display: flex !important;

        align-items: center !important;

        justify-content: center !important;

        gap: 5px !important;

        color: var(--primary-color) !important;

        font-family: var(--font-family) !important;

        font-size: 9px !important;

        white-space: nowrap !important;
    }

    .footer-support strong {
        font-size: 9px !important;
    }

    .footer-support a {
        color: var(--primary-color) !important;

        font-size: 9px !important;
    }

    .footer-copyright {
        order: 2 !important;

        width: 100% !important;

        color: var(--primary-color) !important;

        font-family: var(--font-family) !important;

        font-size: 7px !important;

        line-height: 1.7 !important;

        text-align: center !important;
    }


    /* =====================================================
       9. دکمه شناور پشتیبانی
    ===================================================== */

    .floating-btn {
        position: fixed !important;

        left: 17px !important;
        right: auto !important;

        bottom: 52px !important;

        width: 58px !important;
        height: 58px !important;

        z-index: 10000 !important;
    }

    .social-menu {
        left: 18px !important;
        right: auto !important;

        bottom: 118px !important;

        gap: 7px !important;
    }

    .social-item {
        width: 50px !important;
        height: 50px !important;
    }

}


/* =========================================================
   موبایل خیلی کوچک
========================================================= */

@media (max-width: 380px) {

    .footer-benefit-title {
        font-size: 7px !important;
    }

    .footer-socials {
        gap: 10px !important;
    }

    .footer-socials > a {
        width: 21px !important;
        height: 21px !important;
        min-width: 21px !important;
        min-height: 21px !important;
    }

    .footer-socials > a > svg,
    .footer-socials .social-svg {
        width: 20px !important;
        height: 20px !important;
        min-width: 20px !important;
        min-height: 20px !important;
    }

}
/***********************      شروع شبکه اجتماعی شناور     ********************************/
.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.image-social{
    padding-left: 7px;
}
.social-menu {
    position: fixed;
    bottom: 100px;
    right: 30px;
    display: none;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.social-item {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: white;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.social-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.bale {
    background: #00C19B;
}

.telegrami {
    background:#1d87bb;
}

.whatsapp {
    background: #25D366;
}

.social-icon{
    width: 32px;
    height: 32px;
    display: block;
}

.social-item i{
    font-size: 32px;
}
@media (max-width: 768px) {
    .social-menu {
        right: 33px;
        bottom: 90px;
        gap: 8px;
margin-bottom: 5px;
    }
    
    .social-item {
        width: 55px !important;
        height: 55px !important;
    }
    
   .image-social {
        width: 36px !important;
        height: 30px !important;
        padding-left: 7px !important;
        flex-shrink: 0 !important;
    }
    
  
}
overflow-x{
display:hidden;
}
/***********************  پایان  شبکه اجتماعی شناور    ********************************/
