/* === RTL + Persian Fonts Styles === */

/* Direction */
body {
  direction: rtl;
  text-align: right;
  font-family: 'Vazirmatn', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 400;
}

/* Headings, Nav, Buttons */
h1, h2, h3, h4, h5, h6,
.navbar, .btn, .card-title, .section-title {
  font-family: 'Estedad', sans-serif;
  font-weight: 700;
}

/* Text alignment helpers */
.text-start { text-align: right !important; }
.text-end   { text-align: left !important; }

/* Bootstrap margin/padding fixes */
.ms-3 { margin-right: 1rem !important; margin-left: 0 !important; }
.me-3 { margin-left: 1rem !important; margin-right: 0 !important; }
.ps-3 { padding-right: 1rem !important; padding-left: 0 !important; }
.pe-3 { padding-left: 1rem !important; padding-right: 0 !important; }

/* Forms RTL tweak */
.form-check { padding-right: 1.5em; padding-left: 0; }
.form-check-input { float: right; margin-right: -1.5em; margin-left: 0; }
.form-check-label { margin-right: .25rem; }

/* Breadcrumb RTL */
.breadcrumb { justify-content: flex-end; }
.breadcrumb-item + .breadcrumb-item::before { content: "›"; padding-left: .5rem; padding-right: 0; }

/* Carousel direction fix */
.carousel, .swiper, .glightbox { direction: ltr; }
.carousel .carousel-caption, .swiper-slide { direction: rtl; }
