/* ================================
   Arabic / RTL Base
================================ */

html,
body {
    direction: rtl;
    text-align: right;
}
body,
p,
h1,
h2,
h3,
h4,
h5,
h6,
li,
span,
a,
button,
input,
textarea,
select {
    text-align: right;
}

/* ================================
   Layout Helpers
================================ */
.text-left {
    text-align: right !important;
}

.text-right {
    text-align: left !important;
}

.ml-auto {
    margin-right: auto !important;
    margin-left: 0 !important;
}

.mr-auto {
    margin-left: auto !important;
    margin-right: 0 !important;
}
/* ================================
   Header / Navigation
================================ */

.site-header,
.header,
.main-navigation,
.navbar,
.menu,
.primary-menu {
    direction: rtl;
}

.menu,
.navbar-nav,
.primary-menu {
    padding-right: 0;
}

.menu li,
.navbar-nav li {
    text-align: right;
}

.menu .icon,
.menu svg,
.navbar svg {
    transform: rotate(180deg);
}

.logo img,
.site-logo img {
    transform: none !important;
}
/* ================================
   Buttons
================================ */

.dsn-btn,
.button,
.emra-join-btn,
.general-buttons {
    direction: rtl;
}

.dsn-btn .icon,
.button .icon {
    transform: rotate(180deg);
}
.arrow-scroll.page {
    transform: rotate(-180deg);
}
.creators .arrow-scroll , 
.licensing .arrow-scroll {
    transform: rotate(-180deg);
}
/* ================================
   Dynamic Tabs Section
================================ */
.single-page .emra-info-wrapper {
    direction: rtl;
}
.single-page .emra-info-sidebar {
    text-align: right;
}
.single-page .emra-info-tab {
    text-align: right;
    direction: rtl;
}
.single-page .emra-info-tab .tab-arrow {
    transform: rotate(180deg);
}
.single-page .emra-info-content {
    text-align: right;
}
.single-page .general-tab-description,
.single-page .general-tab-description p {
    text-align: right;
}
.single-page .general-buttons {
    justify-content: flex-start;
}
/* ================================
   Accordion / FAQ
================================ */
.single-page #faqs .accordion__question {
    direction: rtl;
    text-align: right;
}
.single-page #faqs .title-accordion {
    text-align: right;
}
.single-page #faqs .accordion__answer,
.single-page #faqs .accordion__answer p {
    text-align: right;
}
.single-page #faqs .accordion-arrow {
    margin-right: 20px;
    margin-left: 0;
}
/* ================================
   Forms
================================ */
input,
textarea,
select {
    direction: rtl;
    text-align: right;
}
input[type="email"],
input[type="url"],
input[type="tel"] {
    direction: rtl;
    text-align: right;
}
/* ================================
   Footer
================================ */
footer,
.site-footer,
.footer {
    direction: rtl;
    text-align: right;
}
footer ul,
.site-footer ul {
    padding-right: 0;
}
/* ================================
   SVG / Icons Exceptions
================================ */
.social,
.socials,
.social-links,
.post-share {
    direction: ltr;
}
.social svg,
.socials svg,
.social-links svg,
.post-share svg,
.post-share i {
    transform: none !important;
}
/* new added for slider  */
@media only screen and (min-width: 992px) {
    .root-posts .pin-spacer .dsn-grid-layout {
        direction: ltr;
    }}
    .partners-slider-wrapper {
        direction: ltr;
    }
/* RTL title fill animation */
.dsn-fill .word,
body.rtl .dsn-fill .word {
    direction: rtl;
    background-position: right center !important;
    transform-origin: 100% 0% !important;
}
/* Rights slider content RTL alignment */
.rights-section .dsn-item-post .content {
    right: 0;
    left: auto;
    text-align: right;
    direction: rtl;
    align-items: flex-start;
}
.rights-section .dsn-item-post .content .d-flex {
    width: 100%;
    justify-content: flex-start !important;
}
.rights-section .title-rights,
.rights-section .para-rights-slider {
    text-align: right;
    direction: rtl;
}
@media only screen and (min-width: 992px) {
    .site-header:not(.dsn-hamburger) ul.primary-nav > li:not(:first-of-type) {
        margin-right: 15px;
        margin-left: 0px;
    }
}
.dsn-btn.dsn-btn-shape {
    direction: rtl;
}

.dsn-btn.dsn-btn-shape.d-flex {
    flex-direction: row;
}

.dsn-btn.dsn-btn-shape .button {
    direction: rtl;
}
.dsn-btn.dsn-btn-shape .title-btn,
.dsn-btn.dsn-btn-shape .title-btn span,
.dsn-btn.dsn-btn-shape .title-btn::before,
.dsn-btn.dsn-btn-shape .title-btn::after {
    direction: rtl;
    text-align: right;
}
.dsn-btn .icon, .button .icon {
    transform: rotate(80deg);
}
ul.nav-item li.nav-item > a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    width: 100%;
    direction: rtl;
    text-align: right;
}
@media (min-width:1005px){
ul.nav-item li.nav-item > a::after {
    content: "←" !important;
    font-size: 15px;
    font-weight: var(--fw-medium);
    line-height: 1;
    margin-right: auto;
    margin-left: 0;
}}

#dsn_preloader .logo-box,
#dsn_preloader .logo-box .title,
#dsn_preloader .logo-box .word,
#dsn_preloader .logo-box .char {
    direction: ltr !important;
    unicode-bidi: isolate !important;
    text-align: center !important;
}
.dsn-fill .word,
.dsn-fill-animation .word {
    direction: rtl;
    unicode-bidi: isolate;
    display: inline-block;
    background-position: right center !important;
    background-repeat: no-repeat !important;
    transform-origin: 100% 50% !important;
    line-height: 1.25;
    padding-top: 0.05em;
    padding-bottom: 0.08em;
}
.circle-after.circle-before.circle-both-before{
    padding-right: 0px;
    padding-left: 0;
}
.square-before:before, .circle-before:before {
    right: -30px;
    left: unset;
}
.circle-after.circle-before.circle-both-before:after {
    left: auto;
    right: -20px;
}
@media (max-width:767px){
.circle-after.circle-before.circle-both-before {
    padding-right: 20px;
    padding-left: 0;
}
.square-before:before, .circle-before:before {
    right: -8px;
    left: unset;
}
.circle-after.circle-before.circle-both-before:after {
    left: auto;
    right: 2px;
}}
.header-corporate .content .title-lg {
    text-align: center;
}
.post-date {
    direction: ltr;
}
.single-page .emra-info-tab .tab-arrow {
    transform: rotate(2deg);
}
.toggle-text {
display: none;
}
@media (max-width: 991px) {
    #site_menu_header #navbar_toggle {
        flex: 0 0 auto;
        width: auto !important;
        margin-left: auto;
        margin-right: auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}
.single-page .emra-join-btn {
	font-size:12px;
}
.emra-close {
    left: 32px !important; 
	right: unset !important; 
}
.emra-checkbox-grid input[type="checkbox"] {
	margin-left: 7px;
	margin-right: unset;
}
.wpcf7-form-control.wpcf7-checkbox , .emra-row.single , .emra-consent{
	direction:rtl;
}


.wpcf7 p:has(.wpcf7-submit) {
    position: relative;
}

.wpcf7 .wpcf7-submit {
    width: 100%;
    height: 44px;
    border-radius: 30px;
    border: none;
    background-color: #f33625;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-align: center !important;
    padding: 0 !important;
    direction: rtl;
}
.custom-news-sort-arrow{
	transform: rotate(180deg);
}
.custom-news-sort-btn {
      padding: 10px 40px !important;
}
.intro-title {
	text-align:center !important;
}
.dsn-service.services-accordion .accordion__item.active .accordion__question .icon {
	rotate: 230deg;
}
.dsn-service.services-accordion .accordion__item .accordion__question .icon {
    rotate: 180deg;
}
.dsn-btn-shape:hover .icon {
  transform: translateX(-0.75rem) rotate(45deg);
}
.icon-contact {
	rotate: -90deg;
}
.about-section .box-text .bg-pattern {
    left: unset;
    right: -30%;
}
.text-back span{
	display:none;
}
.dsn-back span svg {
	rotate: 180deg;
}
.dsn-back .text-toggle-back .text-name,
.dsn-back .text-toggle-back .text-back {
  display: inline-block !important;
}
.dsn-back .text-toggle-back .word,
.dsn-back .text-toggle-back .char {
  display: contents !important;
  transform: none !important;
}
@media (max-width: 767px) {
  .blogs-sec .custom-news-sort-menu {
    left: auto !important;
	 right: 0 !important;
	}}
.partners-slider-wrapper {
	direction:rtl !important;
}
/* arabic rights slider */
.rights-section .section-title,
.rights-section .title,
.rights-section .sub-heading,
.rights-section .rights-para,
.rights-section .rights-note,
.rights-section .rights-note p {
    direction: rtl;
    text-align: right;
}
/* Arabic Custom Slider Wrappers */
.ar-rights-slider-section {
    position: relative;
    width: 100%;
    overflow: visible;
    direction: ltr;
    margin-top: 30px;
    margin-bottom: 50px;
    padding-right: 0;
    padding-left: 0;
    box-sizing: border-box;
}
.ar-rights-slider-sticky {
    position: sticky;
    top: 120px;
    height: auto;
    width: 100%;
    overflow: hidden;
}
.ar-rights-slider-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 30px;
    width: max-content;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    padding-right: 88px;
    box-sizing: border-box;
}
/* Arabic Card */
.ar-rights-slide-card {
    flex: 0 0 430px;
    height: 520px;
}
.ar-rights-slide-image {
    height: 100%;
    width: 100%;
  }
.ar-rights-slide-image img,
  .ar-rights-slide-image .cover-bg-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
.ar-rights-slide-content {
    direction: rtl;
    text-align: right;
    left: auto !important;
    right: 0 !important;
}
.ar-rights-slide-title,
.ar-rights-slide-text {
    direction: rtl;
    text-align: right;
    width: 100%;
}
.rights-section .dsn-btn {
    direction: rtl;
}
.rights-section .rights-note {
    direction: rtl;
    text-align: right;
}
/* Mobile */
@media (max-width: 767px) {
    .ar-rights-slider-track {
        gap: 20px;
        padding-right: 20px;
    }

    .ar-rights-slider-sticky {
        top: 90px;
    }

    .ar-rights-slide-card {
        flex-basis: 320px;
        height: 430px;
    }

    .ar-rights-slide-content {
        padding: 22px;
    }

    .ar-rights-slide-title {
        font-size: 22px;
    }

    .ar-rights-slide-text {
        font-size: 14px;
    }
}
@media (max-width: 767px) {
  .ar-rights-slider-section {
    height: auto !important;
    overflow: visible;
  }

  .ar-rights-slider-sticky {
    position: relative !important;
    top: auto !important;
    overflow: visible;
    height: auto;
  }
	.ar-rights-slider-track {
    flex-direction: column;
    width: 100% !important;
    max-width: 100%;
    padding-right: 0;
    padding-left: 0;
    transform: none !important;
  }
	.ar-rights-slide-card {
    flex: none;
    width: 100%;
    max-width: 100%;
    height: auto;
  }
}
@media (max-width: 767px) {
  .ar-rights-slider-track {
    padding-right: 20px !important;
    padding-left: 20px !important;
    box-sizing: border-box;
  }

  .ar-rights-slide-image {
    height: 45vh !important;
    width: 100% !important;
    box-sizing: border-box;
  }
	.ar-rights-slide-image img,
  .ar-rights-slide-image .cover-bg-img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover;
  }
}
/* Partners slider - Arabic RTL */
.partners-section .partners-slider-track,
.partners-section .partners-slider-track {
  animation: partnersMarqueeArabic 40s linear infinite !important;
  transform: translateX(0);
  will-change: transform;
}
@keyframes partnersMarqueeArabic {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(50%);
  }
}
@media (min-width: 767px) {
    .index .title-block.grids {
        height: 45px !important;
    }
}
	@media (min-width: 1400px) {
    .para-why-join {
        height: 80px;
    }
}
.about .title-banner-sub {
	font-size: 80px;
    line-height: 100px;
}
@media (max-width:767px){
.about .title-banner-sub {
	font-size: 36px !important;
}}
.index .header-normal .black {
    color: var(--reverse-heading-color);
}
.site-header.dsn-hamburger .dsn-back span {
	    padding-right: 5px;
}

.arabic-title {
  direction: rtl;
  text-align: right;

 font-family: var(--font-family);
  font-size: 32px;
  font-weight: 700;

  /* مهم للخط العربي على Safari */
  line-height: 1.45;
  height: auto;
  min-height: 0;
  overflow: visible;

  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;

  /* يمنع Safari من تكبير النص تلقائياً */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;

  /* تجنب القص بسبب التحويلات */
  transform: none;
}


.title  , h2 , .h2 , .dsn-btn .title-btn{
	letter-spacing:0px !important;
}
#dsn-primary-list a.active-header-link, #dsn-primary-list a.active-header-link span, #dsn-primary-list a.active-header-link .overflow, #dsn-primary-list li.active-header-item > a, #dsn-primary-list li.active-header-item > a span, #dsn-primary-list li.active-header-item > a .overflow {
	letter-spacing:0px !important;
}
body,
body * {
  letter-spacing: 0 !important;
}