.footer {
  background-color: #000000;
  color: #ffffff;
  padding: 2rem 0;
}

.footer-container {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-left {
  flex: 1;
  display: flex;
  align-items: center;
}

.footer-right {
  flex: 2;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.copyright {
  font-size: 0.9rem;
  margin: 0;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-link {
  color: #ffffff;
  text-decoration: none;
  margin-left: 1rem;
  font-size: 0.9rem;
  transition: opacity 0.3s ease;
}

.footer-link:hover {
  opacity: 0.7;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: row; /* Keep the row direction */
  }

  .footer-left, .footer-right {
    flex: 1; /* Adjust flex to maintain layout */
  }

  .footer-nav {
    justify-content: flex-end; /* Keep links aligned to the right */
  }

  .footer-link {
    margin-left: 0.5rem; /* Reduce margin for smaller screens */
    font-size: 0.8rem; /* Slightly reduce font size if needed */
  }
}

@media (max-width: 480px) {
  .footer-container {
    flex-direction: column; /* Stack vertically on very small screens */
    align-items: flex-start;
  }

  .footer-left, .footer-right {
    width: 100%;
    justify-content: flex-start;
    margin-bottom: 1rem;
    justify-content: center;
  }

  .footer-nav {
    justify-content: flex-start;
    margin-top: 0.5rem;
  }

  .footer-link {
    margin-left: 0;
    margin-right: 0.5rem;
  }
}
