/* Common Footer Styles */
.footer {
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  color: white;
  padding: 4rem 2rem 1rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  width: 120px;
  height: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  color: white;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  color: var(--main-color);
  transform: translateY(-3px);
}

.footer-section h3 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: white;
  transition: width 0.3s ease;
}

.footer-section:hover h3::after {
  width: 60px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: white;
  transform: translateX(5px);
}

.footer-links i {
  margin-right: 0.5rem;
  color: white;
}

.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

/* RTL Support for Footer */
[dir="rtl"] .footer-links i {
  margin-right: 0;
  margin-left: 0.5rem;
}

[dir="rtl"] .footer-section h3::after {
  left: auto;
  right: 0;
}

[dir="rtl"] .footer-links a:hover {
  transform: translateX(-5px);
}

@media (max-width: 768px) {
  .footer {
    padding: 3rem 1rem 1rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-section h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-section:hover h3::after {
    width: 80px;
  }
  
  .social-links {
    justify-content: center;
  }
  
  [dir="rtl"] .footer-section h3::after {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
  
  .footer-links a:hover {
    transform: none;
  }
  
  [dir="rtl"] .footer-links a:hover {
    transform: none;
  }
} 