/* 🎨 ألوان أساسية */
:root {
  --primary-color: #22b250;
  --secondary-color: #4f46e5;
  --text-light: #fff;
  --text-muted: rgba(255, 255, 255, 0.85);
  --accent: #22c55e;
  --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

/* ===== Footer Base ===== */
.main-footer {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--text-light);
  padding: 3rem 1rem 2rem;
  box-shadow: var(--shadow);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

/* ===== Logo ===== */
.footer-logo a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-light);
  transition: transform 0.3s ease;
}

.footer-logo a:hover {
  transform: scale(1.05);
}

.footer-logo i {
  font-size: 2rem;
  color: #d9e868;
  background: rgba(170, 161, 244, 0.91);
  padding: 0.5rem;
  border-radius: 50%;
  animation: rotatePaw 5s ease-in-out infinite;
}

@keyframes rotatePaw {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(30deg); }
  50% { transform: rotate(0deg); }
  75% { transform: rotate(-30deg); }
  100% { transform: rotate(0deg); }
}

.footer-logo h3 {
  font-size: 1.8rem;
  font-weight: 900;
  white-space: nowrap;
  background: linear-gradient(to right, hsl(84, 33%, 97%), #f6f3f3);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

/* ===== وصف الفوتر ===== */
.footer-section p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 1rem 0;
}

/* ===== Social Links ===== */
.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 1.6rem;
  color: #fff;
  position: relative;
  transition: all 0.35s ease;
  overflow: hidden;
  cursor: pointer;
}

/* تأثير لمعان */
.social-links a::after {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-25deg);
  transition: 0.5s;
}

.social-links a:hover::after {
  left: 130%;
}

/* ===== Facebook ===== */
.social-links a.facebook {
  background: #1877f2;
}

.social-links a.facebook:hover {
  background: #0d6efd;
  transform: translateY(-6px) rotate(8deg) scale(1.1);
  box-shadow: 0 10px 20px rgba(24, 119, 242, 0.4);
}

/* ===== YouTube ===== */
.social-links a.youtube {
  background: #ff0000;
}

.social-links a.youtube:hover {
  background: #e60000;
  transform: translateY(-6px) rotate(-8deg) scale(1.1);
  box-shadow: 0 10px 20px rgba(255, 0, 0, 0.4);
}

/* ===== Support Section ===== */
.footer-section.support h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #fff;
  position: relative;
}

.footer-section.support h4::after {
  content: "";
  position: absolute;
  bottom: -6px;
  right: 0;
  width: 30px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.footer-section.support ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section.support ul li {
  margin-bottom: 0.8rem;
}

.footer-section.support ul li a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.footer-section.support ul li a:hover {
  color: var(--accent);
  transform: translateX(-5px);
}

.footer-section.support ul li a i {
  color: var(--accent);
  font-size: 1.1rem;
}

/* ===== Bottom ===== */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.2rem;
  text-align: center;
}

.footer-bottom p {
  font-size: .9rem; 
  font-weight: 500;
  color: rgb(251, 246, 246);
  margin: 0;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .footer-section.support h4::after {
    right: 50%;
    transform: translateX(50%);
  }

  .social-links {
    justify-content: center;
  }
}
