/* =========================================
   Footer Styles (Final - Fixed Logo)
   ========================================= */

.site-footer {
  background: linear-gradient(
    180deg,
    rgba(255, 140, 64, 0) 0%,
    rgba(255, 140, 64, 0.8) 100%
  );
  padding-top: 120px;
  padding-bottom: 50px;
  margin-top: -80px;
  position: relative;
  z-index: 10;
}

.footer-card {
  background: #fff;
  border-radius: 35px;
  padding: 30px 40px;
  padding-bottom: 20px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.05);
}

/* --- Header --- */
.footer-header-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-bottom: 5px;
  gap: 20px;
}
.header-item {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #333;
  gap: 12px;
}
.phone-item {
  justify-self: start;
}
.address-item {
  justify-self: center;
  justify-content: center;
  text-align: center;
}
.social-item {
  justify-self: end;
  display: flex;
}
.icon-wrap img,
.social-link img {
  width: 34px;
  height: 34px;
  display: block;
  object-fit: contain;
}
.social-link:hover img {
  transform: scale(1.2);
  transition: transform 0.3s;
}
.phone-number,
.address-text {
  font-size: 15px;
  font-weight: 700;
  color: #444;
  line-height: 1.8;
}
.address-text {
  text-align: center;
  white-space: nowrap;
}
@media (max-width: 1200px) {
  .address-text {
    white-space: normal;
  }
}

/* --- Divider --- */
.main-divider {
  border: none;
  border-top: 1px solid #ff8c40;
  margin: 5px 0 20px 0;
  opacity: 1;
}
.separator-line {
  height: 1px !important;
  background-color: #ff8c40 !important;
  opacity: 1 !important;
  border: none !important;
  margin: 20px 0;
  width: 100%;
}

/* --- Columns --- */
.footer-columns {
  padding: 0 !important;
  margin-bottom: 0 !important;
}
.footer-columns .row {
  margin-bottom: 0 !important;
}
.footer-columns .mb-2 {
  margin-bottom: 0 !important;
}

/* === Column Titles === */
.column-title {
  font-size: 19px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
  text-align: justify;
  line-height: 1.8;
}

.info-list {
  list-style: none !important;
  padding: 0;
  margin: 0;
}

/* === List Items === */
.info-list li {
  position: relative;
  padding-right: 18px;
  margin-bottom: 8px;
  font-size: 15px;
  color: #555;
  line-height: 2.2;
  text-align: right;
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
}

.info-list li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  background-color: #ff8c40;
  border-radius: 50%;
  flex-shrink: 0;
}
.info-list a {
  color: #555;
  text-decoration: none;
  transition: color 0.2s;
}
.info-list a:hover {
  color: #ff8c40;
}
.phone-link {
  font-weight: 700;
  color: #333 !important;
  direction: ltr;
  display: inline-block;
  margin: 0 2px;
}
.phone-link:hover {
  color: #ff8c40 !important;
}
.mx-1 {
  margin: 0 5px;
}

/* --- Newsletter Form --- */
.custom-newsletter-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #ff8c40;
  border-radius: 12px;
  padding: 4px;
  background: #fff;
  height: 50px;
  width: 100%;
  margin-bottom: 0;
}
.custom-newsletter-box input {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  width: 100%;
  height: 100%;
  padding: 0 15px;
  font-size: 13px;
  outline: none;
  color: #555;
  text-align: right;
}
.custom-newsletter-box .btn-submit {
  background-color: #ff8c40;
  color: #fff;
  border: none;
  border-radius: 8px;
  height: 100%;
  padding: 0 25px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s;
  white-space: nowrap;
  flex-shrink: 0;
}
.custom-newsletter-box .btn-submit:hover {
  background-color: #e67e30;
}
#newsletter-message {
  display: none;
  font-size: 12px;
  font-weight: bold;
  padding: 10px;
  margin-top: 10px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid transparent;
}
#newsletter-message.success {
  color: #ff8c40;
  border-color: #ff8c40;
  background: #fff;
  box-shadow: 0 2px 10px rgba(255, 140, 64, 0.1);
}
#newsletter-message.error {
  color: #d9534f;
  border-color: #d9534f;
  background: #fff;
}

/* === Trust Logos === */
.trust-logos {
  display: flex;
  justify-content: space-between;
  width: 100%;
  gap: 5px;
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 125px;
  height: 125px;
  flex: 0 0 auto;
  border: 1px solid #ff8c40;
  border-radius: 18px;
  padding: 5px;
  background: #fff;
}
.trust-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* =========================================
   Footer Bottom
   ========================================= */
.footer-bottom {
  border-top: none !important;
  margin-top: -10px !important;
  padding-top: 0 !important;
  position: relative;
  z-index: 5;
}

.footer-desc-row {
  align-items: center !important;
}

.footer-bottom-content {
  width: 100%;
}

/* لوگو با استایل فیکس شده */
.footer-logo {
  height: 30px !important;
  width: auto !important;
  max-width: 150px;
  display: block;
  object-fit: contain;
}

.footer-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.8;
  text-align: justify;
  margin: 0;
  max-width: 52%;
}

.footer-orange-line {
  width: 100%;
  height: 0.75px;
  background-color: #ff8c40;
  margin-top: 15px;
  margin-bottom: 15px;
  opacity: 1;
}
.copyright-text {
  text-align: center;
  font-size: 12px;
  color: #999;
  border: none !important;
  padding-top: 0;
  margin-top: 0;
}

/* Responsive */
@media (max-width: 992px) {
  .site-footer {
    margin-top: 0;
    padding-top: 60px;
  }
  .footer-header-row {
    display: flex;
    flex-direction: column;
    gap: 25px;
    text-align: center;
  }
  .header-item {
    flex-direction: column;
    justify-content: center;
  }
  .address-text {
    text-align: center;
    white-space: normal;
  }

  .footer-desc {
    max-width: 100%;
    text-align: center;
  }
  .footer-desc-row {
    flex-direction: column;
    text-align: center;
  }

  .trust-logos {
    justify-content: center;
    gap: 10px;
  }
  .trust-item {
    width: 90px;
    height: 90px;
  }

  .footer-bottom {
    margin-top: 20px !important;
  }
}
