/* footer.css */
.site-footer {
  background: var(--primary-rgb);
  color: white;
  padding: 2rem;
  position: relative;
  direction: rtl;
 font-family: var(--font-family);
  font-size: var(--font-size-small);
  margin-top: 6rem;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  /* padding: 1.5rem; */
  text-align: center;
}


/* Footer Bottom Section */
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.copyright {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.bottom-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: var(--font-size-small);
  transition: color 0.3s ease;
}

.bottom-link:hover {
  color: var(--secondary);
}

.separator {
  color: rgba(255, 255, 255, 0.3);
}


/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border: none;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */

@media (max-width: 768px) {
  .site-footer {
    padding: 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .footer-bottom-links {
    justify-content: center;
  }

  .back-to-top {
    left: 1rem;
    bottom: 1rem;
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding: 1rem;
  }
}

