/* The page direction mirrors flex and grid. These rules mirror the theme's physical offsets. */
.theme-rasm .melek-languages { direction: rtl; }
.theme-rasm .header-layout4 .main-menu {
  padding-left: 0;
  padding-inline-start: 93px;
}
.theme-rasm .header-layout4 .menu-bg {
  inset-inline: 0 auto;
  scale: -1 1;
}
.theme-rasm .header-layout4 .menu-bg2 {
  inset-inline: auto 0;
  scale: -1 1;
}
.theme-rasm .th-menu-wrapper .th-menu-area {
  border-right: 0;
  border-inline-end: 3px solid var(--theme-color);
}
.theme-rasm .th-menu-wrapper .th-menu-toggle { inset-inline: auto -16.5px; }
.theme-rasm .th-mobile-menu { text-align: start; }
.theme-rasm .th-mobile-menu ul li a { padding-left: 0; padding-inline-start: 18px; }
.theme-rasm .th-mobile-menu ul li a::before {
  inset-inline: 0 auto;
  margin-inline: 0 10px;
  scale: -1 1;
}
.theme-rasm .th-mobile-menu ul li ul li { padding-left: 0; padding-inline-start: 20px; }
.theme-rasm .th-mobile-menu .th-mean-expand { inset-inline: auto 0; }
.theme-rasm .th-mobile-menu ul .menu-item-has-children > a::after { float: inline-end; }

.theme-rasm .hero-style4 .hero-big { inset-inline: -30% auto; }
.theme-rasm .hero-4 .th-hero-img {
  margin-inline: -250px 0;
}
.theme-rasm .hero-4 .th-hero-img img { margin-inline: -40px 0; }
.theme-rasm .hero-4 .hero-shape_1 { inset-inline: -10% auto; }
.theme-rasm .hero-4 .hero-shape_2 { inset-inline: auto -10%; }

/* Mirror the image layers without also transforming their text or controls. */
.theme-rasm :is(#reserve, #services, #testimonial).elementor-section {
  isolation: isolate;
  background-image: none;
}
.theme-rasm #reserve {
  --melek-section-art: url('/melek/reference/melekkuafor.com/wp-content/uploads/2023/08/faq_bg_1.webp');
}
.theme-rasm #services {
  --melek-section-art: url('/melek/reference/melekkuafor.com/wp-content/uploads/2023/08/service_bg_1.jpg');
}
.theme-rasm #testimonial {
  --melek-section-art: url('/melek/reference/melekkuafor.com/wp-content/uploads/2023/08/testi_bg_1.webp');
}
.theme-rasm :is(#reserve, #services, #testimonial).elementor-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: var(--melek-section-art);
  background-position: inherit;
  background-repeat: inherit;
  background-size: inherit;
  scale: -1 1;
}
.theme-rasm :is(
  .th-hero-img, .shape-mockup, .sub-title, .img-box5, .service-card_img,
  .gallery-img, .team-img, .testi-grid_img, .testi-quote, .testi-shape1, .testi-shape2,
  .dc-lightbox-content
) img,
.theme-rasm :is(.service-card_overlay, .service-card_overlay2) {
  scale: -1 1;
}

@keyframes melek-moving-x-rtl {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-50px); }
}
.theme-rasm .movingX { animation-name: melek-moving-x-rtl; }

/* Booking and FAQ */
@media (min-width: 1025px) {
  .theme-rasm #reserve .elementor-element-21bc343 > .elementor-element-populated {
    padding-inline: 39px 15px;
  }
}
.theme-rasm #reserve .accordion-button { text-align: start; }
.theme-rasm #reserve .accordion-button::after {
  inset-inline: auto 0;
  padding-inline: 10px 0;
}
.theme-rasm [data-native-booking] :is(.bw-sidebar li > button, .bw-service-control, .bw-service-popover button) {
  text-align: start;
}
.theme-rasm [data-native-booking] .bw-service-categories {
  border-right: 0;
  border-inline-end: 1px solid #e8eaeb;
}
.theme-rasm [data-native-booking] .bw-service-categories button small { margin-inline: auto 0; }
.theme-rasm [data-native-booking] .bw-chevron { margin-inline: 8px 5px; }
.theme-rasm [data-native-booking] :is(.bw-collapse svg, .bw-calendar-toolbar > button) { scale: -1 1; }
.theme-rasm [data-native-booking] .bw select {
  appearance: none;
  background-position: left 12px center;
}
.theme-rasm [data-native-booking] .bw-calendar-toolbar select { padding-inline: 10px 30px; }
.theme-rasm [data-native-booking] .bw-phone select {
  border-right: 0;
  border-inline-end: 1px solid #d1d5d7;
  border-radius: 0 var(--bw-radius) var(--bw-radius) 0;
  background-position: left 7px center;
  padding-inline: 6px 18px;
}
.theme-rasm [data-native-booking] .bw-phone input { border-radius: var(--bw-radius) 0 0 var(--bw-radius) !important; }
.theme-rasm [data-native-booking] :is(.bw-payment-summary, .bw-receipt) dd { text-align: end; }
.theme-rasm [data-native-booking] .bw-receipt .bw-button { margin-inline: 0 8px; }
.theme-rasm [data-native-booking] .bw[data-show-sidebar='true'] .bw-main {
  border-radius: 8px 0 0 8px;
}
.theme-rasm [data-native-booking] .bw[data-show-sidebar='true'] .bw-footer {
  border-radius: 0 0 0 8px;
}

/* Sections, cards, and their controls */
.theme-rasm #about .img-box5 .img2 { inset-inline: auto 0; }
.theme-rasm #about .img-box5 .img3 { inset-inline: -30% auto; }
.theme-rasm #about :is(.title-area, .checklist ul) { text-align: start; }
.theme-rasm #about .checklist ul { padding-inline: 0; }
.theme-rasm .th-btn .ms-2 { margin-inline: .5rem 0 !important; }
.theme-rasm .service-card::before { inset-inline: auto 0; }
.theme-rasm .service-card::after { inset-inline: auto -22px; }
.theme-rasm .service-card_icon { inset-inline: auto 30px; }
.theme-rasm .service-card_overlay2 { inset-inline: -6% auto; }
.theme-rasm .filter-menu .tab-btn { margin-inline: 10px 0; }
.theme-rasm .gallery-wrapper.style2 .gallery-card .gallery-img { text-align: end; }
.theme-rasm .gallery-card .gallery-content { inset-inline: var(--box-space) auto; }
.theme-rasm .team-block.style2 .social-links_wrapp { inset-inline: var(--melek-team-links-offset, 7%) auto; }
.theme-rasm .testi-grid.style2 { padding-inline: 40px 24px; }
.theme-rasm .testi-grid.style2 .testi-quote { inset-inline: 40px auto; }
.theme-rasm .testi-grid .testi-shape1 { inset-inline: 0 auto; }
.theme-rasm .testi-grid .testi-shape2 { inset-inline: auto 0; }
.theme-rasm :is(.dc-lightbox-prev, .dc-lightbox-next) { scale: -1 1; }

/* Footer links and contact form */
.theme-rasm .footer-widget .widget_title::before { inset-inline: 0 auto; }
.theme-rasm .footer-widget .widget_title::after { inset-inline: 40px auto; }
.theme-rasm .footer-widget.widget_nav_menu a { padding-inline: 20px 0; }
.theme-rasm .footer-widget.widget_nav_menu a:hover { padding-inline: 25px 0; }
.theme-rasm .footer-widget.widget_nav_menu a::before { inset-inline: 0 auto; scale: -1 1; }
.theme-rasm .th-widget-about .footer-info { padding-inline: 35px 0; }
.theme-rasm .th-widget-about .footer-info i { inset-inline: 0 auto; }
.theme-rasm .footer-social a { margin-inline: 0 5px; }
.theme-rasm .footer-links { text-align: end; }
.theme-rasm .footer-links li { padding-inline: 0 15px; margin-inline: 0 10px; }
.theme-rasm .footer-links li::after { inset-inline: auto 0; transform: rotate(-13deg); }
.theme-rasm .footer-links li:last-child { padding-inline: 0; margin-inline: 0; }
.theme-rasm .th-widget-about .footer-info a[href^='mailto:'] { direction: ltr; unicode-bidi: isolate; }
.theme-rasm input:is([type='email'], [type='tel']):not(:placeholder-shown) { direction: ltr; text-align: right; }

@media (max-width: 1799px) {
  .theme-rasm .header-layout4 .main-menu { padding-inline-start: 40px; }
}
@media (max-width: 1699px) {
  .theme-rasm .hero-4 .th-hero-img { margin-inline-start: -160px; }
  .theme-rasm .hero-4 .hero-shape_1 { inset-inline-start: 0; }
  .theme-rasm .hero-4 .hero-shape_2 { inset-inline-end: 0; }
}
@media (max-width: 1299px) {
  .theme-rasm .hero-4 .th-hero-img { margin-inline: -100px -30px; }
  .theme-rasm .team-block.style2 { --melek-team-links-offset: 6%; }
}
@media (min-width: 1200px) {
  .theme-rasm .testi-grid.style2 { text-align: start; }
}
@media (max-width: 1199px) {
  [dir='rtl'] .theme-rasm .menu-area .me-xl-auto { margin-inline: 0 !important; }
  .theme-rasm .hero-4 .th-hero-img { margin-inline-end: -70px; }
  .theme-rasm .team-block.style2 { --melek-team-links-offset: 7%; }
}
@media (min-width: 992px) {
  .theme-rasm .text-lg-start { text-align: start !important; }
}
@media (max-width: 991px) {
  [dir='rtl'] .theme-rasm .hero-slider-4 .hero-style4 { text-align: center; }
  .theme-rasm .hero-4 .th-hero-img { margin-inline: 0; }
  .theme-rasm .team-block.style2 { --melek-team-links-offset: 13%; }
}
@container (max-width: 540px) {
  .theme-rasm [data-native-booking] .bw[data-show-sidebar='true'] .bw-main { border-radius: 8px; }
  .theme-rasm [data-native-booking] .bw[data-show-sidebar='true'] .bw-footer { border-radius: 0 0 8px 8px; }
  .theme-rasm [data-native-booking] .bw-calendar-toolbar select {
    padding-inline: 6px 22px;
    background-position: left 6px center;
  }
}
@media (max-width: 767px) {
  .theme-rasm .team-block.style2 { --melek-team-links-offset: 2%; }
}
@media (max-width: 575px) {
  .theme-rasm .hero-4 .th-hero-img img { margin-inline: 0; }
  .theme-rasm .team-block.style2 { --melek-team-links-offset: 27%; }
}
@media (max-width: 480px) { .theme-rasm .team-block.style2 { --melek-team-links-offset: 20%; } }
@media (max-width: 380px) { .theme-rasm .team-block.style2 { --melek-team-links-offset: 15%; } }
@media (max-width: 375px) { .theme-rasm .team-block.style2 { --melek-team-links-offset: 10%; } }
