.main-footer2 {
  background-color: #fff;
    color: #797979;
    padding: 20px 0;
    margin-top: 0px;
border-top:1px solid #eee;
}

.footer-container2 {
  
    max-width: 1280px;
    margin: 0 auto;
    padding:0 20px;
    display: flex;
    justify-content: space-between; /* ایجاد فاصله بین دو بخش چپ و راست */
    align-items: center;
    flex-wrap: wrap; /* برای واکنش‌گرایی در موبایل */
}

.footer-right {
   font-size:13px;
    line-height: 1.8;
}

.footer-left {
    font-size:13px;
    font-family: Arial, sans-serif;
    direction: ltr; /* نمایش صحیح عبارت انگلیسی و تاریخ */
}


@media (max-width: 768px) {
    .footer-container2 {
        flex-direction: column; /* در موبایل زیر هم قرار بگیرند */
        text-align: center;
        gap: 15px;
    }
}







.main-footer {
    background: #ffffff; /* زمینه کاملاً سفید */
    padding: 20px 0 0;
    border-top: 1px solid #eee;
    color: #555;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    /* تنظیم ۴ ستون هوشمند */
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); 
    gap: 30px;
    margin-bottom: 0px;
padding-bottom:20px;
}

.footer-title {
    color: #1d2327;
    font-size: 17px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

/* خط زیر عنوان ستون‌ها */
.footer-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: #2271b1;
    border-radius: 2px;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.8;
    color: #646970;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    text-decoration: none;
    color: #646970;
    font-size: 14px;
    transition: 0.3s;
}

.footer-links li a:hover {
    color: #2271b1;
    padding-right: 8px;
}

/* استایل بخش مجوزها */
.trust-container {
    display: flex;
    gap: 10px;
}

.namad-box {
    background: #f9f9f9;
    border: 1px solid #eee;
    width: 80px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    border-radius: 10px;
    color: #aaa;
    transition: 0.3s;
}

.namad-box:hover {
    border-color: #2271b1;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.namad-box img{
    width: 80px;
    height: 90px;
}

.footer-bottom {
    background: #fcfcfc;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid #f0f0f0;
}

.footer-bottom p {
    font-size: 12px;
    color: #8c8f94;
    margin: 0;
}

/* ریسپانسیو اختصاصی */
@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr; /* در موبایل کوچک ستون‌ها زیر هم */
        text-align: center;
	
    }
    .footer-title::after {
        right: 50%;
        transform: translateX(50%);
    }
    .trust-container {
        justify-content: center;
    }
}