footer {
  background: url('../images/tab.jpg') center/cover no-repeat;
  color: #fff;
  padding: 2rem 0;
  margin-top: 3rem;
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
  animation: fadeInFooter 1s ease;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 0.6rem;
  flex: 1;
  line-height: 1.6;
  opacity: 0.95;
}

[dir="rtl"] .footer-text {
  text-align: right;
}

.footer-text .brand {
  font-weight: 600;
  font-size: 1rem;
}

.footer-line {
  width: 80%;
  max-width: 250px;
  height: 1px;
  background: rgba(255, 255, 255, 0.5);
}

.footer-logo {
  flex: 0 0 auto;
  height: 80px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.footer-logo:hover {
  transform: scale(1.08);
  filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.8));
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-text,
  [dir="rtl"] .footer-text {
    text-align: center;
  }

  .footer-logo {
    height: 65px;
    margin-top: 1rem;
  }
}

@keyframes fadeInFooter {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
