/* 
 * تصميم الفوتر المحسن والاحترافي
 * مكتب المحامي محمد السوادي
 * @author AbdulrahmanWard
 * @date 2025-08-13
 */

/* الفوتر الرئيسي */
.main-footer {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  margin-top: 0;
}

/* خلفية الفوتر المتحركة */
.footer-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.footer-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
      circle at 25% 25%,
      rgba(184, 134, 11, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 75% 75%,
      rgba(26, 35, 126, 0.1) 0%,
      transparent 50%
    );
  animation: patternMove 20s ease-in-out infinite;
}

.footer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon points="50,0 100,50 50,100 0,50" fill="none" stroke="rgba(255,255,255,0.02)" stroke-width="0.5"/></svg>')
    repeat;
  opacity: 0.3;
}

@keyframes patternMove {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(2deg);
  }
}

/* محتوى الفوتر */
.footer-content {
  position: relative;
  z-index: 2;
}

/* المساحات */
.section-padding {
  padding: 4rem 0;
}

.footer-top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* القسم العلوي */
.footer-widget {
  height: 100%;
}

.widget-header {
  position: relative;
  margin-bottom: 1.5rem;
}

.widget-title {
  color: var(--light-gold);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.widget-icon {
  font-size: 1.1rem;
  opacity: 0.9;
}

.title-decoration {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--light-gold), transparent);
  margin-top: 0.5rem;
}

/* شعار الفوتر */
.footer-logo-container {
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}

.footer-logo {
  border-radius: 50%;
  border: 3px solid var(--light-gold);
  padding: 5px;
  transition: all var(--transition-normal);
}

.logo-glow {
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 50%;
  background: linear-gradient(
    45deg,
    var(--light-gold),
    transparent,
    var(--light-gold)
  );
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.footer-logo-container:hover .logo-glow {
  opacity: 0.6;
  animation: rotatePulse 2s infinite;
}

@keyframes rotatePulse {
  0%,
  100% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.05);
  }
}

/* وصف المكتب */
.office-description {
  margin-bottom: 2rem;
}

.description-text {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* معلومات الاتصال المحسنة */
.contact-info-enhanced {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.75rem;
  border-radius: var(--border-radius-md);
  transition: all var(--transition-normal);
  border: 1px solid transparent;
}

.contact-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(184, 134, 11, 0.3);
  transform: translateX(-5px);
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--navy-blue), var(--dark-gold));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.contact-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transition: all var(--transition-normal);
  transform: translate(-50%, -50%);
}

.contact-item:hover .contact-icon::before {
  width: 100%;
  height: 100%;
}

.contact-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-label {
  font-weight: 600;
  color: var(--light-gold);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-value {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.4;
}

.contact-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: all var(--transition-normal);
}

.contact-link:hover {
  color: var(--light-gold);
  text-decoration: underline;
}

.whatsapp-link:hover {
  color: #25d366;
}

/* الروابط السريعة المحسنة */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.enhanced-links .link-item,
.services-links .link-item {
  margin-bottom: 0.75rem;
  position: relative;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: var(--border-radius-md);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.link-icon {
  font-size: 0.9rem;
  color: var(--light-gold);
  width: 16px;
  text-align: center;
  transition: all var(--transition-normal);
}

.link-text {
  font-weight: 500;
  transition: all var(--transition-normal);
}

.link-hover-effect {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(184, 134, 11, 0.1),
    transparent
  );
  transition: left var(--transition-slow);
}

.footer-link:hover {
  color: white;
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(-5px);
}

.footer-link:hover .link-icon {
  color: var(--light-gold);
  transform: scale(1.2);
}

.footer-link:hover .link-hover-effect {
  left: 100%;
}

/* زر الخدمات */
.services-cta .btn {
  background: linear-gradient(135deg, transparent, rgba(184, 134, 11, 0.2));
  border: 2px solid var(--light-gold);
  color: var(--light-gold);
  font-weight: 600;
  transition: all var(--transition-normal);
}

.services-cta .btn:hover {
  background: var(--light-gold);
  color: var(--navy-blue);
  transform: translateY(-2px);
}

/* ساعات العمل المحسنة */
.working-hours-enhanced {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.working-day {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.working-day:last-child {
  border-bottom: none;
}

.day-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.day-name {
  font-weight: 600;
  color: white;
  font-size: 0.9rem;
}

.day-status {
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 12px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.day-status.open {
  background: rgba(40, 167, 69, 0.2);
  color: #28a745;
}

.day-status.closed {
  background: rgba(220, 53, 69, 0.2);
  color: #dc3545;
}

.day-hours {
  color: var(--light-gold);
  font-weight: 600;
  font-size: 0.9rem;
}

.emergency-contact {
  margin-top: 1rem;
  padding: 0.75rem;
  background: rgba(255, 193, 7, 0.1);
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(255, 193, 7, 0.3);
  text-align: center;
  font-size: 0.85rem;
  color: #ffc107;
}

.emergency-contact i {
  margin-left: 0.5rem;
}

/* التواصل الاجتماعي المحسن */
.social-section {
  margin-top: 2rem;
}

.social-title {
  color: var(--light-gold);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.social-links-enhanced {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: var(--border-radius-md);
  text-decoration: none;
  transition: all var(--transition-normal);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.social-icon {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition-normal);
}

.social-text {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  font-size: 0.85rem;
  transition: color var(--transition-normal);
}

.social-hover-effect {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  transition: left var(--transition-slow);
}

/* ألوان التواصل الاجتماعي */
.social-link.facebook .social-icon {
  background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.social-link.facebook .social-hover-effect {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(24, 119, 242, 0.2),
    transparent
  );
}

.social-link.facebook:hover {
  border-color: #1877f2;
  box-shadow: 0 5px 15px rgba(24, 119, 242, 0.3);
}

.social-link.twitter .social-icon {
  background: linear-gradient(135deg, #1da1f2, #1976d2);
}

.social-link.twitter .social-hover-effect {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(29, 161, 242, 0.2),
    transparent
  );
}

.social-link.twitter:hover {
  border-color: #1da1f2;
  box-shadow: 0 5px 15px rgba(29, 161, 242, 0.3);
}

.social-link.linkedin .social-icon {
  background: linear-gradient(135deg, #0077b5, #0288d1);
}

.social-link.linkedin .social-hover-effect {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 119, 181, 0.2),
    transparent
  );
}

.social-link.linkedin:hover {
  border-color: #0077b5;
  box-shadow: 0 5px 15px rgba(0, 119, 181, 0.3);
}

.social-link.youtube .social-icon {
  background: linear-gradient(135deg, #ff0000, #f44336);
}

.social-link.youtube .social-hover-effect {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 0, 0, 0.2),
    transparent
  );
}

.social-link.youtube:hover {
  border-color: #ff0000;
  box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

.social-link.whatsapp .social-icon {
  background: linear-gradient(135deg, #25d366, #128c7e);
}

.social-link.whatsapp .social-hover-effect {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(37, 211, 102, 0.2),
    transparent
  );
}

.social-link.whatsapp:hover {
  border-color: #25d366;
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.social-link.instagram .social-icon {
  background: linear-gradient(135deg, #e4405f, #fd1d1d, #fcb045);
}

.social-link.instagram .social-hover-effect {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(228, 64, 95, 0.2),
    transparent
  );
}

.social-link.instagram:hover {
  border-color: #e4405f;
  box-shadow: 0 5px 15px rgba(228, 64, 95, 0.3);
}

.social-link:hover .social-text {
  color: white;
}

.social-link:hover .social-hover-effect {
  left: 100%;
}

.social-link:hover .social-icon {
  transform: scale(1.1) rotate(5deg);
}

/* النشرة الإخبارية */
.newsletter-section {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-title {
  color: var(--light-gold);
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.newsletter-input-group {
  position: relative;
  display: flex;
  margin-bottom: 0.5rem;
}

.newsletter-input {
  flex: 1;
  padding: 0.75rem 3rem 0.75rem 1rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius-md);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 0.9rem;
  transition: all var(--transition-normal);
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--light-gold);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.2);
}

.newsletter-btn {
  position: absolute;
  left: 5px;
  top: 5px;
  bottom: 5px;
  width: 40px;
  background: var(--light-gold);
  border: none;
  border-radius: var(--border-radius-md);
  color: var(--navy-blue);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.newsletter-btn:hover {
  background: var(--dark-gold);
  transform: scale(1.05);
}

.newsletter-status {
  font-size: 0.8rem;
  margin-top: 0.5rem;
  padding: 0.5rem;
  border-radius: var(--border-radius-sm);
  display: none;
}

.newsletter-status.success {
  background: rgba(40, 167, 69, 0.2);
  color: #28a745;
  border: 1px solid rgba(40, 167, 69, 0.3);
}

.newsletter-status.error {
  background: rgba(220, 53, 69, 0.2);
  color: #dc3545;
  border: 1px solid rgba(220, 53, 69, 0.3);
}

/* القسم الوسط - الإحصائيات */
.footer-middle {
  background: rgba(0, 0, 0, 0.3);
  padding: 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-stat {
  text-align: center;
  padding: 1.5rem;
  border-radius: var(--border-radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-normal);
  height: 100%;
}

.footer-stat:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.stat-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--navy-blue), var(--dark-gold));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 2rem;
  color: white;
  position: relative;
  overflow: hidden;
}

.stat-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transition: all var(--transition-normal);
  transform: translate(-50%, -50%);
}

.footer-stat:hover .stat-icon::before {
  width: 100%;
  height: 100%;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--light-gold);
  margin-bottom: 0.5rem;
  display: block;
}

.stat-label {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  font-size: 0.95rem;
}

/* الخط الفاصل */
.footer-divider {
  padding: 2rem 0;
}

.divider-line {
  position: relative;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
}

.divider-decoration {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--navy-blue),
    var(--light-gold),
    var(--navy-blue)
  );
  transform: translate(-50%, -50%);
  border-radius: 2px;
}

/* القسم السفلي */
.footer-bottom {
  padding: 2rem 0;
  background: rgba(0, 0, 0, 0.2);
}

.copyright-info {
  text-align: center;
}

.copyright-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.site-name {
  color: var(--light-gold);
  font-weight: 600;
}

.powered-by {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

.developer-link {
  color: var(--light-gold);
  text-decoration: none;
  transition: color var(--transition-normal);
}

.developer-link:hover {
  color: white;
  text-decoration: underline;
}

.footer-links-bottom {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-bottom-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-bottom-link:hover {
  color: var(--light-gold);
  text-decoration: underline;
}

/* زر العودة للأعلى في الفوتر */
.scroll-to-top-footer {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--navy-blue), var(--dark-gold));
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8);
  transition: all var(--transition-normal);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.scroll-to-top-footer.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.scroll-to-top-footer:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
  background: linear-gradient(135deg, var(--dark-gold), var(--navy-blue));
}

.scroll-icon {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 2px;
  transition: transform var(--transition-normal);
}

.scroll-text {
  color: white;
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.scroll-to-top-footer:hover .scroll-icon {
  transform: translateY(-2px);
}

/* رسالة الكوكيز المحسنة */
.enhanced-cookie {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 35, 126, 0.95),
    rgba(33, 37, 41, 0.95)
  );
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 9999;
  animation: slideUpCookie 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.3);
}

.cookie-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem;
}

.cookie-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--dark-gold), var(--light-gold));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
  animation: cookieBounce 2s infinite;
}

@keyframes cookieBounce {
  0%,
  100% {
    transform: rotate(0deg) scale(1);
  }
  25% {
    transform: rotate(-5deg) scale(1.05);
  }
  75% {
    transform: rotate(5deg) scale(1.05);
  }
}

.cookie-text {
  flex: 1;
  min-width: 250px;
}

.cookie-title {
  color: var(--light-gold);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.cookie-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.cookie-link {
  color: var(--light-gold);
  text-decoration: underline;
  transition: color var(--transition-normal);
}

.cookie-link:hover {
  color: white;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-cookie-accept {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: var(--border-radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition-normal);
  cursor: pointer;
}

.btn-cookie-accept:hover {
  background: #20c997;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(32, 201, 151, 0.3);
}

.btn-cookie-settings {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 0.6rem 1.5rem;
  border-radius: var(--border-radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition-normal);
  cursor: pointer;
}

.btn-cookie-settings:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.btn-cookie-decline {
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  border: 2px solid rgba(220, 53, 69, 0.5);
  padding: 0.6rem 1.5rem;
  border-radius: var(--border-radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition-normal);
  cursor: pointer;
}

.btn-cookie-decline:hover {
  color: #dc3545;
  border-color: #dc3545;
  background: rgba(220, 53, 69, 0.1);
  transform: translateY(-2px);
}

@keyframes slideUpCookie {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* إعدادات الكوكيز Modal */
.modal-content {
  background: linear-gradient(135deg, #2d2d2d, #1a1a1a);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-lg);
  color: white;
}

.modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(184, 134, 11, 0.1);
}

.modal-title {
  color: var(--light-gold);
}

.btn-close {
  filter: invert(1);
}

.cookie-category {
  padding: 1rem;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-category h6 {
  color: var(--light-gold);
  margin-bottom: 0.5rem;
}

.cookie-category p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.form-check-input:checked {
  background-color: var(--navy-blue);
  border-color: var(--navy-blue);
}

.form-check-label {
  color: rgba(255, 255, 255, 0.9);
}

/* تحسينات الحركة والتفاعل */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* تأثيرات إضافية */
.footer-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--light-gold),
    transparent
  );
  opacity: 0.6;
}

.pulse-effect {
  animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%,
  100% {
    box-shadow: 0 0 5px rgba(184, 134, 11, 0.3);
  }
  50% {
    box-shadow: 0 0 20px rgba(184, 134, 11, 0.6);
  }
}

/* التجاوب مع الشاشات المختلفة */
@media (max-width: 1200px) {
  .social-links-enhanced {
    grid-template-columns: 1fr;
  }

  .footer-links-bottom {
    gap: 1.5rem;
  }

  .contact-item {
    padding: 0.5rem;
  }

  .footer-stat {
    padding: 1rem;
  }

  .stat-number {
    font-size: 2rem;
  }
}

@media (max-width: 992px) {
  .section-padding {
    padding: 3rem 0;
  }

  .footer-middle {
    padding: 2rem 0;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .cookie-actions {
    justify-content: center;
    width: 100%;
  }

  .footer-links-bottom {
    flex-direction: column;
    gap: 1rem;
  }

  .social-links-enhanced {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .social-link {
    padding: 0.5rem;
    font-size: 0.8rem;
  }

  .social-icon {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 2rem 0;
  }

  .footer-content {
    font-size: 0.9rem;
  }

  .widget-title {
    font-size: 1.1rem;
  }

  .contact-item {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .contact-content {
    align-items: center;
  }

  .working-hours-enhanced {
    padding: 1rem;
  }

  .newsletter-section {
    padding: 1rem;
  }

  .newsletter-input-group {
    flex-direction: column;
    gap: 0.5rem;
  }

  .newsletter-btn {
    position: static;
    width: 100%;
    padding: 0.75rem;
  }

  .newsletter-input {
    padding: 0.75rem 1rem;
  }

  .scroll-to-top-footer {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }

  .scroll-icon {
    font-size: 1rem;
  }

  .scroll-text {
    font-size: 0.5rem;
  }

  .cookie-container {
    padding: 1rem;
  }

  .cookie-actions {
    flex-direction: column;
    width: 100%;
  }

  .cookie-actions button {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .footer-top {
    padding: 2rem 0;
  }

  .footer-middle {
    padding: 1.5rem 0;
  }

  .footer-bottom {
    padding: 1.5rem 0;
  }

  .footer-stat {
    padding: 0.75rem;
    margin-bottom: 1rem;
  }

  .stat-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .working-day {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
  }

  .social-links-enhanced {
    grid-template-columns: 1fr;
  }

  .footer-logo {
    width: 50px;
    height: 50px;
  }

  .contact-icon {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }

  .copyright-info {
    text-align: center;
  }

  .footer-links-bottom {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .widget-title {
    font-size: 1rem;
  }

  .footer-widget {
    margin-bottom: 2rem;
  }

  .description-text {
    font-size: 0.85rem;
  }

  .contact-value,
  .contact-label {
    font-size: 0.8rem;
  }

  .emergency-contact {
    font-size: 0.75rem;
    padding: 0.5rem;
  }

  .cookie-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .cookie-title {
    font-size: 1rem;
  }

  .cookie-description {
    font-size: 0.8rem;
  }
}

/* تحسينات الطباعة */
@media print {
  .main-footer {
    background: white !important;
    color: black !important;
    box-shadow: none !important;
  }

  .footer-background,
  .scroll-to-top-footer,
  .enhanced-cookie,
  .social-links-enhanced,
  .newsletter-section {
    display: none !important;
  }

  .widget-title {
    color: black !important;
    border-bottom: 2px solid black;
    padding-bottom: 0.5rem;
  }

  .footer-link,
  .contact-value,
  .description-text {
    color: black !important;
  }

  .contact-icon {
    background: black !important;
    color: white !important;
  }

  .footer-stat {
    border: 2px solid black !important;
    background: white !important;
  }

  .stat-number {
    color: black !important;
  }

  .footer-bottom {
    border-top: 2px solid black !important;
  }
}

/* تحسينات الوصولية */
@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll,
  .footer-link,
  .social-link,
  .contact-item,
  .footer-stat {
    transition: none !important;
    animation: none !important;
  }

  .cookie-icon {
    animation: none !important;
  }

  .footer-pattern {
    animation: none !important;
  }
}

@media (prefers-contrast: high) {
  .main-footer {
    background: #000000 !important;
    color: #ffffff !important;
    border: 3px solid #ffffff;
  }

  .footer-link,
  .contact-link,
  .social-link {
    border: 2px solid transparent;
  }

  .footer-link:focus,
  .contact-link:focus,
  .social-link:focus {
    border-color: #ffffff;
    outline: 3px solid #ffffff;
  }

  .widget-title {
    color: #ffff00 !important;
  }

  .btn-cookie-accept,
  .btn-cookie-settings,
  .btn-cookie-decline {
    border-width: 3px;
  }
}

/* تحسينات الأداء */
.footer-optimized {
  contain: layout style paint;
  will-change: transform;
}

.gpu-accelerated {
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* متحركات متقدمة */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* تطبيق الحركات */
.animate-on-scroll[data-animation="fadeInUp"] {
  animation: fadeInUp 0.8s ease-out forwards;
}

.animate-on-scroll[data-animation="slideInRight"] {
  animation: slideInRight 0.8s ease-out forwards;
}

.animate-on-scroll[data-animation="slideInLeft"] {
  animation: slideInLeft 0.8s ease-out forwards;
}

/* تحسينات أخيرة */
.footer-enhanced {
  font-display: swap;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.footer-complete {
  position: relative;
  z-index: 10;
}

/* انتهاء تصميم الفوتر */
