/**
 * فوتر — گرید بالا + نوار پایین (درباره/تماس بالا، کپی‌رایت پایین)
 * همه‌جا راست‌چین RTL
 */
.footer-area {
  padding: 3.5rem 0 0;
  direction: rtl;
  text-align: right;
}

.footer-area .container,
.footer-area__main,
.footer-area__nav-row,
.footer-area__bottom,
.footer-area__bottom-inner,
.footer-area__bottom-top {
  direction: rtl;
  text-align: right;
}

.footer-area .single-footer-widget,
.footer-area .single-footer-widget h4,
.footer-area .single-footer-widget p,
.footer-area .single-footer-widget ul,
.footer-area .single-footer-widget ul li,
.footer-area .single-footer-widget ul li a {
  text-align: right;
}

.footer-area .footer_1 img,
.footer-area .footer-logo {
  display: block;
}

.footer-area__main {
  padding-bottom: 2rem;
}

.footer-area__about-text {
  margin-top: 1rem;
  margin-bottom: 0;
  max-width: 36rem;
}

.footer-area__nav-row {
  --bs-gutter-x: 1.5rem;
}

.footer-area__nav-col .single-footer-widget h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  color: #0f2137;
}

.footer-area__nav-col .single-footer-widget ul li {
  margin-bottom: 0.4rem;
}

.footer-area__nav-col .single-footer-widget ul li a {
  font-size: 0.9rem;
  line-height: 1.5;
}

/* نوار پایین */
.footer-area__bottom {
  border-top: 1px solid #dde3ec;
  background: #eef1f6;
  padding: 1.25rem 0 1rem;
}

.footer-area__bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-area__bottom-top {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-bottom: 1.1rem;
}

.footer-area__bottom-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f2137;
  margin: 0 0 0.5rem;
}

.footer-area__bottom-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.35rem 1.25rem;
}

.footer-area__bottom-links a {
  font-size: 0.88rem;
  color: #475569;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-area__bottom-links a:hover {
  color: #ff663b;
}

.footer-area__bottom-contact-lines {
  font-size: 0.85rem;
  line-height: 1.65;
  color: #475569;
}

.footer-area__bottom-contact-lines p {
  margin: 0 0 0.25rem;
}

.footer-area__bottom-contact-lines span {
  font-weight: 600;
  color: #0f2137;
}

.footer-area__bottom-contact-lines a {
  color: inherit;
  text-decoration: none;
}

.footer-area__bottom-contact-lines a:hover {
  color: #ff663b;
}

.footer-area__bottom-copy {
  border-top: 1px solid #d5dce6;
  padding-top: 1rem;
  direction: rtl;
  text-align: center;
}

.footer-area .mhfa-central-footer {
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: #94a3b8;
  text-align: center;
}

.footer-area ul {
  padding-right: 0;
  padding-left: 0;
}

/* لغو تراز وسط/چپ از استایل قدیمی */
.footer-area .copyright_part_text,
.footer-area .text-center {
  text-align: right !important;
}

.footer-area__copyright {
  margin: 0;
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.65;
  direction: rtl;
  text-align: center;
}

.footer-area__copyright .company-link {
  color: #0c2e60;
  font-weight: 600;
}


/* دسکتاپ — درباره راست، تماس چپ، فاصله بین دو باکس */
@media (min-width: 992px) {
  .footer-area__bottom-top {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2.5rem;
    width: 100%;
  }

  .footer-area__bottom-block--about {
    flex: 0 1 auto;
    min-width: 12rem;
    text-align: right;
  }

  .footer-area__bottom-block--contact {
    flex: 0 1 auto;
    min-width: 0;
    max-width: min(52%, 36rem);
    text-align: right;
  }
}

@media (max-width: 991px) {
  .footer-area {
    padding-top: 2.5rem;
  }

  .footer-area__nav-col .single-footer-widget {
    margin-bottom: 0;
  }
}

@media (max-width: 575px) {
  .footer-area__bottom-links {
    flex-direction: column;
    gap: 0.35rem;
  }
}
