/**
 * Justify.pk — RTL / Urdu Language Stylesheet
 * Activated when body.urdu-mode class is present
 */

body.urdu-mode {
  direction: rtl;
  font-family: var(--font-urdu);
}

body.urdu-mode .container,
body.urdu-mode .header-inner,
body.urdu-mode .topbar-inner,
body.urdu-mode .footer-top,
body.urdu-mode .trust-bar-inner { direction: rtl; }

/* Flip flex directions */
body.urdu-mode .hero-actions,
body.urdu-mode .emergency-actions,
body.urdu-mode .hero-stats { flex-direction: row-reverse; }

/* Navigation RTL */
body.urdu-mode .justify-nav { flex-direction: row-reverse; }
body.urdu-mode .nav-dropdown { left: auto; right: 0; }

/* Typography overrides */
body.urdu-mode h1,
body.urdu-mode h2,
body.urdu-mode h3,
body.urdu-mode h4,
body.urdu-mode p,
body.urdu-mode li,
body.urdu-mode label { font-family: var(--font-urdu); line-height: 2.2; }

/* Form fields RTL */
body.urdu-mode .form-control { direction: rtl; text-align: right; }
body.urdu-mode .form-group label { text-align: right; display: block; }
body.urdu-mode .form-radio-group,
body.urdu-mode .form-check-group { flex-direction: row-reverse; }

/* Card borders flip */
body.urdu-mode .card,
body.urdu-mode .case-item,
body.urdu-mode .sidebar-widget { border-left: none; border-right: 4px solid var(--justify-green-bright); }

/* Inner hero breadcrumb */
body.urdu-mode .breadcrumb { direction: rtl; }

/* Section eyebrow */
body.urdu-mode .section-eyebrow { letter-spacing: 0; }

/* Footer */
body.urdu-mode .footer-disclaimer { text-align: left; }
body.urdu-mode .footer-top { direction: rtl; }

/* Floating buttons — swap sides */
body.urdu-mode .floating-whatsapp { right: auto; left: 24px; }
body.urdu-mode .floating-call     { left: auto; right: 24px; }

/* Back-to-top */
body.urdu-mode #back-to-top { right: auto; left: 90px; }

/* Blog / Archive */
body.urdu-mode .blog-title,
body.urdu-mode .blog-excerpt,
body.urdu-mode .blog-meta { text-align: right; }

body.urdu-mode .blog-footer { flex-direction: row-reverse; }
body.urdu-mode .blog-category { left: auto; right: 12px; }

/* Team cards */
body.urdu-mode .team-card-body { direction: rtl; }

/* Process steps — keep LTR numbering */
body.urdu-mode .process-steps { direction: ltr; }
body.urdu-mode .process-step h5,
body.urdu-mode .process-step p { direction: rtl; }

/* Contact form */
body.urdu-mode .contact-detail { flex-direction: row-reverse; }
body.urdu-mode .contact-detail-text { text-align: right; }

/* Values list */
body.urdu-mode .values-list li { flex-direction: row-reverse; }

/* Registration card features */
body.urdu-mode .reg-features li { flex-direction: row-reverse; text-align: right; }

/* Checkboxes */
body.urdu-mode .form-check { flex-direction: row-reverse; }

/* Mobile nav */
body.urdu-mode .mobile-nav ul li a { text-align: right; }

/* Notification toast */
body.urdu-mode .toast { right: auto; left: 24px; border-left: none; border-right: 4px solid var(--justify-gold); }

/* ── URDU-SPECIFIC FONT SIZES ── */
body.urdu-mode .hero-title        { font-size: clamp(32px, 4.5vw, 56px); }
body.urdu-mode .section-title     { font-size: clamp(24px, 3vw, 36px); }
body.urdu-mode .section-subtitle  { font-size: 15px; }
body.urdu-mode .btn               { font-family: var(--font-urdu); font-size: 15px; letter-spacing: 0; }

/* ── PRINT STYLES ── */
@media print {
  .floating-whatsapp, .floating-call, #back-to-top,
  .hamburger, #justify-topbar, .hero-actions { display: none !important; }

  body { font-size: 12pt; color: #000; }
  a { color: #006600; text-decoration: underline; }
  .hero-section { background: #006600 !important; color: white; }
  .container { max-width: 100%; }
}
