/* Nexus RTL (Arabic) overrides */

/* Odoo marks RTL pages with .o_rtl on #wrapwrap (not always dir="rtl" on html). */
/* html[lang="ar-001"] body,
.o_rtl,
.o_rtl body {
  font-family: 'Tajawal', 'Inter', 'Segoe UI', Tahoma, sans-serif !important;
}

html[lang="ar-001"] h1, html[lang="ar-001"] h2, html[lang="ar-001"] h3, html[lang="ar-001"] h4, html[lang="ar-001"] h5, html[lang="ar-001"] h6, html[lang="ar-001"] p, html[lang="ar-001"] a, html[lang="ar-001"] span, html[lang="ar-001"] li{
  font-family: 'Tajawal', 'Inter', 'Segoe UI', Tahoma, sans-serif !important;
} */

/* Odoo default header */
html[lang="ar-001"] #top nav.navbar,
.o_rtl #top nav.navbar {
  direction: rtl;
}

html[lang="ar-001"] #top .navbar-brand.logo,
.o_rtl #top .navbar-brand.logo {
  direction: ltr; /* keep logo letter order intact */
  text-align: right;
}

/* html[lang="ar-001"] #top #top_menu,
html[lang="ar-001"] #top #top_menu.navbar-nav,
.o_rtl #top #top_menu,
.o_rtl #top #top_menu.navbar-nav {
  flex-direction: row-reverse;
} */

/* HERO */
html[lang="ar-001"] .s_nexus_hero .s_nexus_hero_content,
.o_rtl .s_nexus_hero .s_nexus_hero_content {
  text-align: right;
}

html[lang="ar-001"] .s_nexus_hero .s_nexus_hero_actions,
.o_rtl .s_nexus_hero .s_nexus_hero_actions {
  flex-direction: row-reverse;
  justify-content: flex-end
}

html[lang="ar-001"] .s_nexus_hero .s_nexus_eyebrow,
.o_rtl .s_nexus_hero .s_nexus_eyebrow {
  flex-direction: row-reverse;
  justify-content: flex-end;
}

html[lang="ar-001"] .s_nexus_hero .s_nexus_eyebrow::before,
.o_rtl .s_nexus_hero .s_nexus_eyebrow::before {
  display: none;
}

html[lang="ar-001"] .s_nexus_hero .s_nexus_hero_stats,
.o_rtl .s_nexus_hero .s_nexus_hero_stats {
  right: auto;
  left: 60px;
  animation: s_nexus_fadeRightRTL 1s 0.9s forwards;
}
html[lang="ar-001"]  .s_nexus_lms_hero_shape1 {
    right: auto;
    left: -1rem;
  }
html[lang="ar-001"] .s_nexus_hero .s_nexus_stat_card:hover,
.o_rtl .s_nexus_hero .s_nexus_stat_card:hover {
  transform: translateX(6px);
}

@keyframes s_nexus_fadeRightRTL {
  from { opacity: 0; transform: translate(-18px, -50%); }
  to   { opacity: 1; transform: translate(0, -50%); }
}

/* Shared section header */
html[lang="ar-001"] .s_nexus_section_header,
.o_rtl .s_nexus_section_header {
  text-align: right;
}

html[lang="ar-001"] .s_nexus_section_label,
.o_rtl .s_nexus_section_label {
  flex-direction: row-reverse;
  justify-content: flex-end;
}

/* CHALLENGES */
html[lang="ar-001"] .s_nexus_challenge_item,
.o_rtl .s_nexus_challenge_item {
  flex-direction: row-reverse;
  text-align: right;
}

html[lang="ar-001"] .s_nexus_ch_tag,
html[lang="ar-001"] .s_nexus_ch_title,
html[lang="ar-001"] .s_nexus_ch_desc,
.o_rtl .s_nexus_ch_tag,
.o_rtl .s_nexus_ch_title,
.o_rtl .s_nexus_ch_desc {
  text-align: right;
}

/* FEATURES */
html[lang="ar-001"] .s_nexus_features_layout,
.o_rtl .s_nexus_features_layout {
  direction: rtl;
}

html[lang="ar-001"] .s_nexus_feat_card,
.o_rtl .s_nexus_feat_card {
  border-left: none;
  border-right: 3px solid transparent;
  text-align: right;
}

html[lang="ar-001"] .s_nexus_feat_card.s_nexus_feat_active,
html[lang="ar-001"] .s_nexus_feat_card:hover {
  border-right-color: var(--red);
}

.o_rtl .s_nexus_feat_card.s_nexus_feat_active,
.o_rtl .s_nexus_feat_card:hover {
  border-right-color: var(--red);
}

/* ROLES */
html[lang="ar-001"] .s_nexus_role_card,
.o_rtl .s_nexus_role_card {
  text-align: right;
}

html[lang="ar-001"] .s_nexus_role_perms li, html[lang="ar-001"] .s_nexus_role_perms,
.o_rtl .s_nexus_role_perms li , .o_rtl .s_nexus_role_perms{
  align-items: flex-start;
}

/* STEPS */
html[lang="ar-001"] .s_nexus_steps,
.o_rtl .s_nexus_steps {
  direction: rtl;
}

/* BENEFITS */
html[lang="ar-001"] .s_nexus_benefit_col,
.o_rtl .s_nexus_benefit_col {
  text-align: right;
}

html[lang="ar-001"] .s_nexus_benefit_col_title,
.o_rtl .s_nexus_benefit_col_title {
  flex-direction: row-reverse;
}

html[lang="ar-001"] .s_nexus_benefit_list li,
.o_rtl .s_nexus_benefit_list li {
  flex-direction: row-reverse;
}

/* REVENUE */
html[lang="ar-001"] .s_nexus_rev_inner,
html[lang="ar-001"] .s_nexus_rev_cards {
  direction: rtl;
}

.o_rtl .s_nexus_rev_inner,
.o_rtl .s_nexus_rev_cards {
  direction: rtl;
}

html[lang="ar-001"] .s_nexus_rev_card,
.o_rtl .s_nexus_rev_card {
  text-align: right;
}

/* CTA */
html[lang="ar-001"] .s_nexus_cta_split_grid,
.o_rtl .s_nexus_cta_split_grid {
  direction: rtl;
}

html[lang="ar-001"] .s_nexus_cta_left,
html[lang="ar-001"] .s_nexus_cta_title,
html[lang="ar-001"] .s_nexus_cta_sub {
  text-align: right;
}

.o_rtl .s_nexus_cta_left,
.o_rtl .s_nexus_cta_title,
.o_rtl .s_nexus_cta_sub {
  text-align: right;
}

html[lang="ar-001"] .s_nexus_cta_contact_link,
.o_rtl .s_nexus_cta_contact_link {
  flex-direction: row-reverse;
}

/* Odoo default footer */
html[lang="ar-001"] #bottom,
html[lang="ar-001"] .o_footer,
.o_rtl #bottom,
.o_rtl .o_footer {
  direction: rtl;
}
html[lang="ar-001"] #bottom .o_grid_item_image img, .o_footer .o_grid_item_image img{
  margin-right: 0 !important;

}