footer .bx {
    font-size: 25px;
}

/* Professional Footer Styles */
.professional-footer {
  background: linear-gradient(135deg, #8865e1 0%, #7c5ce0 100%);
  color: #ffffff;
  position: relative;
  margin-top: 100px;
}

.footer-content {
  padding: 60px 0 40px;
  position: relative;
  z-index: 2;
}

.footer-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #ffffff;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(45deg, #b794f6, #7c5ce0);
  border-radius: 1px;
}

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

.footer-links li {
  margin-bottom: 12px;
}

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

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

.footer-links a::before {
  content: "";
  position: absolute;
  left: -15px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 1px;
  background: #ffffff;
  transition: width 0.3s ease;
}

.footer-links a:hover::before {
  width: 10px;
}

/* Enhanced Social Media Styles */
.social-links {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.social-link1 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  color: #ffffff;
  text-decoration: none;
  font-size: 20px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.social-link1::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.social-link1:hover::before {
  left: 100%;
}

.social-link1:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  color: #ffffff;
}

.social-link1.linkedin:hover {
  background: linear-gradient(45deg, #0077b5, #005885);
}

.social-link1.instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

/* Footer Bottom */
.footer-bottom {
  background: rgba(0, 0, 0, 0.2);
  padding: 25px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 2;
}

.copyright p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
   line-height: 150px;
}

@media (max-width: 768px) {
  .copyright p {
 
    line-height: 30px; /* أو قيمة مناسبة بالـ rem */
  }
}

.footer-badges {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

.badge-item i {
  color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
  .professional-footer {
    margin-top: 50px;
  }

  .footer-content {
    padding: 40px 0 30px;
  }

  .footer-section {
    text-align: center !important;
  }
  
  .footer-title::after {
    left: 50% !important;
    transform: translateX(-50%);
  }
  
  .footer-links {
    text-align: center;
  }
  
  .footer-links a:hover {
    transform: translateY(-3px) !important;
  }
  
  .footer-links a::before {
    display: none;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .footer-bottom .row > div {
    margin-bottom: 15px;
  }
  
  .footer-badges {
    justify-content: center !important;
  }
}

@media (max-width: 576px) {
  .footer-content {
    padding: 30px 0 20px;
  }
  
  .footer-badges {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
}

/* RTL Support */
html[lang="ar"] .professional-footer {
  direction: rtl;
}

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

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

[dir="rtl"] .footer-links a::before {
  left: auto;
  right: -15px;
}

[dir="rtl"] .social-link1::before {
  left: auto;
  right: -100%;
}

[dir="rtl"] .social-link1:hover::before {
  right: 100%;
}

footer[dir="rtl"] h2,
footer[dir="rtl"] h3,
footer[dir="rtl"] h4,
footer[dir="rtl"] h5,
footer[dir="rtl"] h6,
 footer[dir="rtl"] p{
    text-align: right !important;
}

@media (max-width: 768px) {
  [dir="rtl"] .footer-title::after {
    right: 50%;
    transform: translateX(50%);
  }

footer[dir="rtl"] h2,
footer[dir="rtl"] h3,
footer[dir="rtl"] h4,
footer[dir="rtl"] h5,
footer[dir="rtl"] h6,
footer[dir="rtl"] p{
    text-align: center !important;
}
}


footer::before {
    background: url("../images/cube-group.6f59d1967a85.png");
    position: absolute;
    left: 60px;
    opacity: 1;
    bottom: 0;
    width: 266px;
    height: 143px;
    content: '';
    z-index: 2;
}


@media  (max-width: 992px) {
  .copyright p {
    line-height: 30px;
}
}
