/* =================================
   RTL Mixins and Functions
   ================================= */
/* =================================
   RTL (Arabic) Support Styles
   ================================= */
/* Arabic Font Imports */
@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@200;300;400;500;600;700;800;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Tajawal:wght@400;700&display=swap");
/* RTL Root Variables */
:root[dir=rtl] {
  --arabic-font-primary: "Cairo", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  --arabic-font-secondary: "Tajawal", "Times New Roman", serif;
  --text-align-start: right;
  --text-align-end: left;
  --float-start: right;
  --float-end: left;
  --border-radius-start: 0 8px 8px 0;
  --border-radius-end: 8px 0 0 8px;
}

/* RTL Base Styles */
html[dir=rtl] {
  direction: rtl;
  text-align: right;
}

html[dir=rtl] body {
  font-family: var(--arabic-font-primary);
  text-align: right;
  direction: rtl;
}

/* RTL Typography */
html[dir=rtl] h1,
html[dir=rtl] h2,
html[dir=rtl] h3,
html[dir=rtl] h4,
html[dir=rtl] h5,
html[dir=rtl] h6 {
  font-family: var(--arabic-font-secondary);
}

/* RTL Button Styles */
html[dir=rtl] .btn i {
  margin-right: 0;
  margin-left: 8px;
}

html[dir=rtl] .appointment-btn i {
  margin-right: 0;
  margin-left: 8px;
}

html[dir=rtl] .book-now-btn i {
  margin-right: 0;
  margin-left: 8px;
}

/* RTL Navigation */
html[dir=rtl] .navbar-nav .nav-link {
  text-align: right;
}

html[dir=rtl] .dropdown-arrow {
  margin-left: 0;
  margin-right: 8px;
}

html[dir=rtl] .dropdown-menu {
  left: auto;
  right: 0;
  text-align: right;
}

html[dir=rtl] .dropdown-item {
  text-align: right;
  border-left: none;
  border-right: 3px solid transparent;
  padding-left: 22px;
  padding-right: 22px;
}

html[dir=rtl] .dropdown-item:hover {
  border-right-color: var(--primary-color);
  border-left-color: transparent;
  padding-right: 32px;
  padding-left: 22px;
  transform: translateX(-2px);
}

/* RTL Top Bar */
.carousel-item:before {
  transform: none;
}

html[dir=rtl] .top-bar-item {
  text-align: right;
}

/* RTL Contact Form */
html[dir=rtl] .form-label {
  text-align: right;
}

html[dir=rtl] .form-control,
html[dir=rtl] .form-select {
  text-align: right;
  direction: rtl;
  background-position: left 0.75rem center;
}

html[dir=rtl] .form-submit .btn i {
  margin-right: 0;
  margin-left: 10px;
}

/* RTL Contact Info */
html[dir=rtl] .contact-info-item {
  flex-direction: row-reverse;
  text-align: right;
}

html[dir=rtl] .contact-content {
  text-align: right;
}

html[dir=rtl] .contact-content h4 {
  text-align: right;
}

html[dir=rtl] .contact-content p {
  text-align: right;
}

/* RTL Quick Contact Cards */
html[dir=rtl] .quick-contact-card {
  text-align: center;
  /* Keep centered for cards */
}

html[dir=rtl] .contact-details {
  text-align: right;
  /* Keep centered for contact details */
}

.contact-info-grid {
  margin-right: auto;
  margin-left: 0;
}

/* RTL Section Badges */
html[dir=rtl] .section-badge {
  text-align: right;
}

/* RTL Text Alignment Classes */
html[dir=rtl] .text-start {
  text-align: right !important;
}

html[dir=rtl] .text-end {
  text-align: left !important;
}

/* RTL Float Classes */
html[dir=rtl] .float-start {
  float: right !important;
}

html[dir=rtl] .float-end {
  float: left !important;
}

/* RTL Margin and Padding Utilities */
html[dir=rtl] .me-1 {
  margin-left: 0.25rem !important;
  margin-right: 0 !important;
}

html[dir=rtl] .me-2 {
  margin-left: 0.5rem !important;
  margin-right: 0 !important;
}

html[dir=rtl] .me-3 {
  margin-left: 1rem !important;
  margin-right: 0 !important;
}

html[dir=rtl] .me-4 {
  margin-left: 1.5rem !important;
  margin-right: 0 !important;
}

html[dir=rtl] .me-5 {
  margin-left: 3rem !important;
  margin-right: 0 !important;
}

html[dir=rtl] .ms-1 {
  margin-right: 0.25rem !important;
  margin-left: 0 !important;
}

html[dir=rtl] .ms-2 {
  margin-right: 0.5rem !important;
  margin-left: 0 !important;
}

html[dir=rtl] .ms-3 {
  margin-right: 1rem !important;
  margin-left: 0 !important;
}

html[dir=rtl] .ms-4 {
  margin-right: 1.5rem !important;
  margin-left: 0 !important;
}

html[dir=rtl] .ms-5 {
  margin-right: 3rem !important;
  margin-left: 0 !important;
}

html[dir=rtl] .pe-1 {
  padding-left: 0.25rem !important;
  padding-right: 0 !important;
}

html[dir=rtl] .pe-2 {
  padding-left: 0.5rem !important;
  padding-right: 0 !important;
}

html[dir=rtl] .pe-3 {
  padding-left: 1rem !important;
  padding-right: 0 !important;
}

html[dir=rtl] .pe-4 {
  padding-left: 1.5rem !important;
  padding-right: 0 !important;
}

html[dir=rtl] .pe-5 {
  padding-left: 3rem !important;
  padding-right: 0 !important;
}

html[dir=rtl] .ps-1 {
  padding-right: 0.25rem !important;
  padding-left: 0 !important;
}

html[dir=rtl] .ps-2 {
  padding-right: 0.5rem !important;
  padding-left: 0 !important;
}

html[dir=rtl] .ps-3 {
  padding-right: 1rem !important;
  padding-left: 0 !important;
}

html[dir=rtl] .ps-4 {
  padding-right: 1.5rem !important;
  padding-left: 0 !important;
}

html[dir=rtl] .ps-5 {
  padding-right: 3rem !important;
  padding-left: 0 !important;
}

/* RTL Border Radius */
html[dir=rtl] .rounded-start {
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  border-top-right-radius: var(--bs-border-radius) !important;
  border-bottom-right-radius: var(--bs-border-radius) !important;
}

html[dir=rtl] .rounded-end {
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  border-top-left-radius: var(--bs-border-radius) !important;
  border-bottom-left-radius: var(--bs-border-radius) !important;
}

/* RTL Transform Animations */
html[dir=rtl] .dropdown-item:hover {
  transform: translateX(-2px);
}

html[dir=rtl] .navbar-nav .nav-link:hover::before {
  animation: criss-cross-right 0.8s both;
  animation-direction: alternate;
  transform: translate(50%, -50%);
}

html[dir=rtl] .navbar-nav .nav-link:hover::after {
  animation: criss-cross-left 0.8s both;
  animation-direction: alternate;
  transform: translate(-50%, -50%);
}

/* RTL Keyframes for Animations */
@keyframes criss-cross-left-rtl {
  0% {
    right: -20px;
  }
  50% {
    right: 50%;
    width: 20px;
    height: 20px;
  }
  100% {
    right: 50%;
    width: 375px;
    height: 375px;
  }
}
@keyframes criss-cross-right-rtl {
  0% {
    left: -20px;
  }
  50% {
    left: 50%;
    width: 20px;
    height: 20px;
  }
  100% {
    left: 50%;
    width: 375px;
    height: 375px;
  }
}
/* RTL Specific Component Adjustments */
html[dir=rtl] .contact-page-info-grid {
  text-align: right;
}

html[dir=rtl] .branch-description {
  text-align: right;
}

/* RTL Form Enhancements */
html[dir=rtl] input[type=text],
html[dir=rtl] input[type=email],
html[dir=rtl] input[type=tel],
html[dir=rtl] textarea,
html[dir=rtl] select {
  text-align: right;
  direction: rtl;
}

html[dir=rtl] input::placeholder,
html[dir=rtl] textarea::placeholder {
  text-align: right;
  direction: rtl;
}

/* RTL Accordion */
html[dir=rtl] .accordion-button {
  text-align: right;
}

html[dir=rtl] .accordion-body {
  text-align: right;
}

/* RTL List Styles */
html[dir=rtl] li {
  text-align: right;
}

/* RTL Table Styles */
html[dir=rtl] table {
  direction: rtl;
}

html[dir=rtl] th,
html[dir=rtl] td {
  text-align: right;
}

/* RTL Responsive Adjustments */
@media (max-width: 768px) {
  html[dir=rtl] .branch-title {
    text-align: center;
  }
  html[dir=rtl] .branch-description {
    text-align: center;
  }
  html[dir=rtl] .section-description {
    text-align: center;
  }
}
/* RTL Print Styles */
@media print {
  html[dir=rtl] * {
    direction: rtl !important;
    text-align: right !important;
  }
}
/* RTL Language Specific Adjustments */
html[dir=rtl][lang=ar] {
  font-family: var(--arabic-font-primary);
}

html[dir=rtl][lang=ar] h1,
html[dir=rtl][lang=ar] h2,
html[dir=rtl][lang=ar] h3,
html[dir=rtl][lang=ar] h4,
html[dir=rtl][lang=ar] h5,
html[dir=rtl][lang=ar] h6 {
  font-family: var(--arabic-font-secondary);
  font-weight: 700;
  line-height: 1.4;
}

/* Arabic Text Enhancement */
html[dir=rtl][lang=ar] body {
  font-feature-settings: "liga" on, "calt" on;
  -webkit-font-feature-settings: "liga" on, "calt" on;
  text-rendering: optimizeLegibility;
}

/* RTL Utility Classes */
.rtl-hidden {
  display: none;
}

html[dir=rtl] .rtl-hidden {
  display: block;
}

.ltr-hidden {
  display: block;
}

html[dir=rtl] .ltr-hidden {
  display: none;
}

/* RTL Icon Adjustments */
html[dir=rtl] .fa-chevron-right::before {
  content: "\f053";
  /* fa-chevron-left */
}

html[dir=rtl] .fa-chevron-left::before {
  content: "\f054";
  /* fa-chevron-right */
}

html[dir=rtl] .fa-angle-right::before {
  content: "\f104";
  /* fa-angle-left */
}

html[dir=rtl] .fa-angle-left::before {
  content: "\f105";
  /* fa-angle-right */
}

html[dir=rtl] .fa-arrow-right::before {
  content: "\f060";
  /* fa-arrow-left */
}

html[dir=rtl] .fa-arrow-left::before {
  content: "\f061";
  /* fa-arrow-right */
}

.video-process-section .content-wrapper {
  padding-right: 60px;
  padding-left: 0;
}
.video-process-section .play-btn-container {
  padding: 20px 40px;
  left: -60px;
  right: auto;
}

.reviews-section .reviews-carousel,
.reviews-section .reviews-navigation {
  direction: ltr;
}
.reviews-section .reviews-nav-btn {
  transform: scaleX(-1);
}
.reviews-section .reviews-nav-btn:hover {
  transform: scaleX(-1);
}

.team-section .section-content {
  padding-right: 2rem;
  padding-left: 0;
}
.team-section .section-content .section-description {
  text-align: right;
}
.team-section .team-carousel {
  direction: ltr;
}
.team-section .team-indicators {
  direction: ltr;
}

.before-after-showcase .before-after-carousel {
  direction: ltr;
}
.before-after-showcase .ba-carousel-nav {
  transform: scaleX(-1) !important;
}

.services-section .section-content {
  padding-right: 2rem;
  padding-left: 0;
}
.services-section .section-content .section-description {
  text-align: right;
}
.services-section .services-carousel-wrapper {
  direction: ltr;
}

.app-content-side .floating-icon.icon-1 {
  left: 20%;
  right: auto;
}
.app-content-side .floating-icon.icon-2 {
  left: 10%;
  right: auto;
}

.hero-slider-wrapper .carousel-item {
  background-position: center left;
  float: right;
  margin-left: -100%;
  margin-right: 0;
}
.hero-slider-wrapper .hero-content {
  text-align: right;
}
.hero-slider-wrapper .carousel-indicators {
  left: 30px;
  right: auto;
  margin-left: 5%;
}
.hero-slider-wrapper .carousel-item,
.hero-slider-wrapper .carousel,
.hero-slider-wrapper .hero-slide {
  height: auto;
}

.blog-pages .blog-detail-content .blog-title {
  font-size: clamp(2rem, 1.5rem + 2vw, 2rem);
}
.blog-pages .blog-card .blog-info {
  text-align: right;
}
.blog-pages .blog-card .blog-info h4 {
  font-family: var(--arabic-font-secondary);
}
.blog-pages .blog-content .blog-title {
  font-family: var(--arabic-font-secondary);
}
.blog-pages .sidebar-widget .widget-title::after {
  right: 0;
  left: auto;
}

.contact-section-page .contact-info-item {
  flex-direction: row !important;
}

.appointment-pages .appointment-form #phone {
  padding-right: 94px;
}

.footer-description {
  text-align: right;
}

@media (max-width: 576px) {
  .video-process-section .play-btn-container {
    padding: 10px;
    left: 0;
  }
  .widget-title,
  .view-map-link {
    text-align: right;
  }
}

/*# sourceMappingURL=index-rtl.css.map */
