.mobile-footer {
  display: none;
}

.footer-container {
  background-color: #18304c;
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  direction: rtl;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-container a {
  font-size: 14px;
}

.footer-container div {
  font-size: 14px;
}

.column {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: right;
  padding: 30px;
  line-height: 1.6;
  flex-direction: column;
}

.right {
  justify-content: center;
}

.left {
  justify-content: flex-start;
}

.column img {
  max-height: 100px;
  max-width: 100%;
  object-fit: contain;
}

.column.social {
  align-items: flex-start;
}

.social-text {
  font-size: 14px;
}

.social-icons {
  margin-top: 3rem;
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.social-icons i {
  font-size: 28px;
}

.links-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.links-column a {
  color: white;
  text-decoration: none;
  /* font-weight: bold; */
  transition: color 0.3s;
}

.links-column a:hover {
  color: #cfab5d;
}

.column.left > .buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
  align-self: flex-start;
  align-items: flex-start;
}

.buttons .flex-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  border: 2px solid #fff;
  padding: 8px 12px;
  border-radius: 5rem;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  color: white;
  font-weight: bold;
  gap: 10px;
  width: 150px;
}

.buttons .flex:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.buttons i {
  font-size: 20px;
  color: white;
}

/* استایل خط افقی */
hr.custom-line {
  border: none;
  height: 1px;
  background-color: white;
  width: 100%;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

/* فوتر دوطرفه */
.footer-text {
  display: flex;
  justify-content: space-between;
  color: white;
  font-size: 14px;
  padding: 0 10px;
  flex-wrap: wrap;
  width: 100%;
}

.footer-text div {
  margin: 2px 0;
}

/* ==================================================================== */
/* Mobile */
.footer-container .logos > div {
  width: 30%;
  text-align: center;
}

.footer-container .logos > div img {
  width: 80%;
  margin: 0 auto;
}
/* ====================================================================== */
/* Responsive */
@media screen and (max-width: 1620px) {
  .links-column-right {
    display: none;
  }
}

@media screen and (max-width: 1450px) {
  .column {
    padding: 0.5rem;
  }
}

@media screen and (max-width: 1200px) {
  .social-icons > i {
    font-size: 1.5rem;
  }

  .buttons .flex-buttons {
    width: 100px;
  }
}

@media screen and (max-width: 992px) {
  .desktop-footer {
    display: none;
  }

  .mobile-footer {
    display: block;
  }

  .footer-container {
    flex-direction: column;
    width: 100%;
    padding: 0;
  }

  .footer-container > div {
    width: calc(100% - 3rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    color: var(--white);
    font-size: 0.9rem;
  }

  .footer-container > .social-media i {
    font-size: 1.5rem;
  }

  .footer-container > div button {
    padding: 0.3rem 1.5rem;
    border-radius: 5rem;
    border: 1px solid var(--white);
    color: var(--white);
    background-color: transparent;
    font-size: 1rem;
  }
}

@media screen and (max-width: 768px) {
    .footer-container .address {
    text-align: center;
    flex-direction: column;
    gap: 1rem;
  }
}

@media screen and (max-width: 576px) {
  .footer-container > div {
    width: calc(100% - 1rem);
    padding: 1.5rem 0.5rem;
    font-size: 0.8rem;
  }

  .footer-container .copright {
    text-align: center;
    flex-direction: column;
    gap: 1rem;
    padding: 0.5rem 0;
    border: 0;
  }

  .footer-container > div button {
    padding: 0.3rem 1rem;
    font-size: 0.9rem;
  }

  .footer-container .logos > div {
    width: 40%;
  }
}
