/* ============================================
   BILINGUAL SUPPORT STYLES - RTL/LTR
   ============================================ */

/* Language Switcher Button */
.lang-switcher {
  position: fixed;
  top: 90px;
  right: 24px;
  background: linear-gradient(135deg, var(--primary-purple), var(--accent-violet));
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(123, 63, 191, 0.3);
  transition: all 0.3s ease;
  z-index: 998;
}

.lang-switcher:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(123, 63, 191, 0.4);
}

.lang-switcher:active {
  transform: translateY(0);
}

/* RTL Adjustments */
body.rtl {
  direction: rtl;
  text-align: right;
}

body.rtl .lang-switcher {
  right: auto;
  left: 24px;
}

/* Navigation RTL */
body.rtl .nav {
  flex-direction: row-reverse;
}

body.rtl .mobile-menu {
  text-align: right;
}

/* Hero Stats RTL */
body.rtl .hero-stats {
  flex-direction: row-reverse;
}

body.rtl .stat-item {
  text-align: center;
}

/* Services Grid RTL */
body.rtl .services-grid,
body.rtl .packages-grid {
  direction: rtl;
}

/* Feature Cards RTL */
body.rtl .about-features {
  direction: rtl;
}

/* Timeline RTL */
body.rtl .timeline-container {
  direction: rtl;
}

body.rtl .timeline-step {
  text-align: right;
}

body.rtl .timeline-step::before {
  right: auto;
  left: 50%;
  transform: translateX(50%);
}

/* Partners Grid RTL */
body.rtl .partners-grid {
  direction: rtl;
}

/* Footer RTL */
body.rtl .footer-content {
  direction: rtl;
}

body.rtl .footer-column {
  text-align: right;
}

body.rtl .social-links {
  flex-direction: row-reverse;
}

/* Form RTL */
body.rtl .contact-form input,
body.rtl .contact-form textarea {
  text-align: right;
}

/* Responsive */
@media (max-width: 768px) {
  .lang-switcher {
    top: 70px;
    right: 16px;
    padding: 8px 16px;
    font-size: 13px;
  }
  
  body.rtl .lang-switcher {
    left: 16px;
    right: auto;
  }
}

/* Smooth transitions for language switch */
[data-i18n],
[data-i18n-placeholder] {
  transition: opacity 0.2s ease;
}

body.language-switching [data-i18n],
body.language-switching [data-i18n-placeholder] {
  opacity: 0.7;
}

/* Keep service names in English (no RTL) */
body.rtl .service-card h3,
body.rtl .package-card h2,
body.rtl .hero-subtitle {
  direction: ltr;
  text-align: center;
}

/* Business Assistance Banner RTL */
body.rtl .business-assistance-banner {
  direction: rtl;
}

body.rtl .banner-content {
  text-align: right;
}