/* پایه */
/* body {
    margin: 0;
    font-family: Tahoma, sans-serif;
    direction: rtl;
    background-color: #f8f8f8;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
} */

/* فوتر */
.site-footer {
    background-color: #e6f0fa;
    padding-top: 30px;
    position: relative;
    overflow: hidden;
    margin-top: 50px;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-color: #f8f8f8;
    transform: translateY(-50%);
    z-index: -1;
    opacity: 0.7;
}

.footer-top-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.footer-column {
    flex: 1;
    min-width: 220px;
    padding: 10px 0;
    text-align: right;
}

.footer-column h3 {
    color: #007bff;
    font-size: 1.15em;
    margin-bottom: 15px;
    padding-right: 20px;
    position: relative;
}

.footer-column h3::before {
    content: '›';
    position: absolute;
    right: 0;
    top: 0;
    color: #007bff;
    font-size: 1.2em;
    font-weight: bold;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    text-decoration: none;
    color: #555;
    font-size: 0.95em;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-column ul li a::before {
    content: '›';
    margin-left: 8px;
    color: #007bff;
    font-weight: bold;
}

.footer-column ul li a:hover {
    color: #0056b3;
}

/* حذف فلش از آیکون‌های اجتماعی */
.footer-column ul li.social-icons a::before {
    content: none !important;
}

/* آیکون‌های اجتماعی */
.social-icons {
    display: flex;
    gap: 5px;
    margin-top: 20px;
    justify-content: flex-start;
}

.social-icons img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: transform 0.3s, box-shadow 0.3s;
}

.social-icons img:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* نمادهای اعتماد */
.trust-symbols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 12px;
    justify-items: center;
}

.trust-symbols a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.trust-symbols img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    display: block;
}

/* بخش پایین فوتر */
.footer-bottom-section {
    background-color: #cce0f6;
    padding: 15px 20px;
    position: relative;
    margin-top: 20px;
}

.footer-bottom-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30px;
    background-color: #e6f0fa;
    transform: translateY(-50%);
    z-index: -1;
    opacity: 0.8;
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
    /* برای ترتیب درست در rtl */
}

.footer-logo {
    display: flex;
    align-items: center;
    /* gap: 8px; */
    color: #444;
    font-weight: bold;
    font-size: 1em;
}

.footer-logo img {
    max-width: 130px;
    height: auto;
    /* margin-left: 30px; */
}

.copyright {
    font-size: 0.88em;
    color: #444;
    margin: 0;
}

/* دکمه بازگشت به بالا */
.scroll-to-top-button {
    position: fixed;
    bottom: 60px;
    left: 25px;
    background-color: #fff;
    color: #007bff;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: 0.3s;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
}

.scroll-to-top-button.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top-button:hover {
    background-color: #f0f0f0;
    transform: translateY(-3px);
}

.scroll-to-top-button svg {
    width: 26px;
    height: 26px;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .footer-columns {
        flex-direction: row;
        justify-content: center;
        gap: 15px;
    }

    .footer-column {
        flex: 1 1 calc(50% - 10px);
        max-width: calc(50% - 10px);
        min-width: 120px;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo {
        margin-bottom: 10px;
        margin-left: 0;
    }

    .footer-logo img {
        max-width: 100px;
    }

    .footer-logo span {
        display: none;
    }
}

@media (max-width: 480px) {
    .footer-column {
        flex: 1 1 95%;
        max-width: 95%;
        text-align: center;
    }

    .footer-column h3 {
        padding-right: 0;
        text-align: center;
    }

    .footer-column h3::before {
        content: none;
    }

    .footer-column ul {
        padding: 0;
        text-align: center;
    }

    .footer-column ul li a {
        justify-content: center;
    }

    .social-icons {
        justify-content: center;
    }

    .trust-symbols {
        justify-content: center;
    }
}

.footer-logo span {
    color: #1c80f2;
}