/* فوتر کلی */
.site-footer {
    background-color: #c2e8e8; /* رنگ پس‌زمینه فوتر (سبز/آبی ملایم) */
    padding: 20px 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.37);
}

/* کانتینر اصلی فوتر */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    /* توجه: در صورت نیاز، با row-reverse جای چپ و راست را جابجا کنید */
    flex-direction: row-reverse;
}

/* بخش سمت چپ: مربع */
.footer-left-box {
    width: 230px;
    height: 250px;
    background-color: #c8e8e8;
    border-radius: 10px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.33);
    margin-right: 20px; /* فاصله از سمت راست (چون RTL هست) */
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 10px;

}

/* هر سکشن درون مربع */
.footer-left-box .box-section {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 -10px 0;
}

.footer-left-box a {
    text-decoration: none;
    color: #0026ff; /* رنگ دلخواه لینک */
}

.footer-left-box a:visited,
.footer-left-box a:active,
.footer-left-box a:hover {
    text-decoration: none;
    color: #0026ff; /* رنگ ثابت برای همه حالت‌ها */
}

.footer-left-box .box-section p {
    font-size: 1.2rem;
    font-weight: 490;
}

.footer-left-box .box-contact p {
    display: flex;
    justify-content: center;
    font-size: 1.7rem;
    color: #5321c8;
    font-family: "B Nazanin", sans-serif;

}

.footer-left-box .box-section img {
    width: 30px; /* اندازه آیکن */
    height: 30px;
    margin-left: 30px; /* فاصله بین آیکن و متن */
}


/* بخش سمت راست فوتر */
.footer-right-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

/* تیتر بالا */
.footer-right-top h2 {
    margin-top: -10px;
    margin-bottom: 5px;
    font-size: 1.7rem;
    color: #354c75;
    text-align: center;
    font-family: "tanha", sans-serif;
}

/* خط جداکننده (مشکی) */
.footer-divider {
    width: 100%;
    border: none;
    border-top: 1px solid #000;
    margin: 10px 0;
}

/* تصویر پایین */
.footer-right-bottom img {
    max-width: 100%;
    height: 10rem;
    margin-top: 0;
    margin-bottom: 0;
}

/* نوشته‌ی کپی‌رایت و ... در پایین فوتر */
.footer-bottom-note {
    max-width: 1200px;
    margin: 0 auto;
    margin-top: -20px;
    text-align: right;
    font-family: "tanha", sans-serif;

}

.footer-bottom-note p {
    font-size: 0.8rem;
    color: #353434;
}

@media (max-width: 768px) {
    /* بخش سمت چپ: مربع */
    .footer-left-box {
        display: none;
    }


    /* بخش سمت راست فوتر */
    .footer-right-box {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 10px;
    }

    /* تیتر بالا */
    .footer-right-top h2 {
        margin-top: -10px;
        margin-bottom: 5px;
        font-size: 1.1rem;
        color: #354c75;
        text-align: center;
        font-family: "tanha", sans-serif;
        margin-right: 0.5rem;
    }

    /* خط جداکننده (مشکی) */
    .footer-divider {
        width: 100%;
        border: none;
        border-top: 1px solid #000;
        margin: 10px 0;
    }

    /* تصویر پایین */
    .footer-right-bottom img {
        max-width: 100%;
        height: 8.5rem;
    }

    /* نوشته‌ی کپی‌رایت و ... در پایین فوتر */
    .footer-bottom-note {
        max-width: 600px;
        margin: 0 auto;
        margin-top: -20px;
        text-align: right;
        font-family: "tanha", sans-serif;
        margin-right: 1.3rem;

    }

    .footer-bottom-note p {
        font-size: 0.8rem;
        color: #353434;
    }

}