/* footer.css */
.store-btn i {
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.store-btn span {
  font-size: 0.95rem;
}
@media (max-width: 576px) {
  .store-btn {
    padding: 10px 14px;
    font-size: 0.85rem;
  }

  .store-btn i {
    font-size: 1.2rem;
  }

  .store-btn span {
    font-size: 0.85rem;
  }

  .store-btns-wrapper {
    justify-content: center;
  }
}


.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.footer-links li {
  text-align: start;
  width: 100%;
}

[dir="rtl"] .footer-links {
  align-items: flex-end;
}
[dir="rtl"] .footer-links li {
  text-align: end;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-links {
    align-items: center;
  }
  .footer-links li {
    text-align: center;
  }

  .footer-logo {
    justify-content: center;
    text-align: center;
    font-size: 1.6rem;
    flex-direction: column;
  }

  footer h5 {
    text-align: center;
    width: 100%;
  }

  .footer-logo img {
    margin-bottom: 10px;
  }

  .footer-title p {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .store-btns {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.store-btn-wrapper {
  flex: 1 1 48%;
  min-width: 140px;
}
.store-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #fff;
  color: #000;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 12px;
  padding: 10px 16px;
  width: 100%;
  transition: var(--transition-speed);
  text-decoration: none;
  border: none;
  min-height: 50px;
}

.badge-soon {
  position: absolute;
  top: -8px;
  right: -10px;
  background-color: #BCFB6C;
  color: #000;
  font-weight: bold;
  font-size: 0.6rem;
  padding: 4px 8px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  animation: pulseBadge 1.5s infinite;
  z-index: 5;
}


@keyframes pulseBadge {
  0%   { transform: scale(1); opacity: 1; }
  50%  { transform: scale(1.1); opacity: 0.85; }
  100% { transform: scale(1); opacity: 1; }
}


.footer-links li {
  text-align: start;
  direction: inherit;
}
[dir="rtl"] .footer-links {
  align-items: flex-end;
}

[dir="rtl"] .footer-links li {
  text-align: end;
}
footer {
  background-color: var(--bg-color);
  color: var(--light-text);
  padding: 60px 0 30px;
  font-family: 'Alexandria', sans-serif;
}

footer a {
  color: #fff; 
  transition: var(--transition-speed);
  text-decoration: none;
  font-weight: 500;
}

footer a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

footer h5 {
  color: #BCFB6C; 
  font-size: 1.25rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

footer h5::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background-color: #BCFB6C;
  border-radius: 12px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.8rem;
  font-weight: bold;
  color: #BCFB6C; 
}

.footer-logo img {
  width: 36px;
  height: 36px;
}
.footer-title {
  font-size: 1.2rem;
  color: #BCFB6C;
  margin-bottom: 20px;
}

[dir="rtl"] .footer-links {
  align-items: flex-end;
}

.footer-links li {
  text-align: start;
  width: 100%;
}

[dir="rtl"] .footer-links li {
  text-align: end;
}



.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 20px;
  margin-top: 40px;
  font-size: 0.9rem;
  text-align: center;
  color: #777;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #fff;
  color: #000;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 12px;
  padding: 10px 16px;
  width: 180px;
  transition: var(--transition-speed);
  text-decoration: none;
  border: none;
}

.store-btn:hover {
  background-color: #000;
  color: #fff;
}

.store-btns a i {
  font-size: 1.4rem;
}
[dir="rtl"] .footer-links {
  align-items: start;
}

[dir="rtl"] .footer-links li {
  text-align: start;
}



/* Responsive Design */
@media (max-width: 768px) {
  [dir="rtl"] .footer-links li {
  text-align: center;
}
  

  .footer-logo {
    justify-content: center;
    text-align: center;
    font-size: 1.6rem;
    flex-direction: column;
  }
footer h5 {
    text-align: center;
    margin-right: 20px;
    display: block;
    width: 100%;
  }
  
  .footer-logo img {
    margin-bottom: 10px;
  }

  .store-btns {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 10px;
    height: 2px;
  }
  
  .footer-title p{
    display: flex;
  flex-direction: column;
  align-items: center; 
  }

  .footer-links {
  display: flex;
  flex-direction: column;
  align-items: center; /* ✅ تبدأ من اليسار في ltr وتتحول تلقائياً في rtl */
}

.footer-links li {
  text-align: center; /* ✅ يبدأ حسب اتجاه اللغة */
  width: 100%;
}
}
