/* SLS public site EN/AR language toggle */

/* Theme preloader removed — never show white splash / Cancel Preloader */
.preloader,
.preloader-inner,
button.preloaderCls {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Site Language + Login header dropdowns */
.sls-site-lang-item,
.sls-site-login-item,
.sls-site-dd-item {
  list-style: none !important;
  display: inline-flex !important;
  align-items: center;
  vertical-align: middle;
  margin-inline-start: 0.3rem;
  position: relative;
  padding-block: 0 !important;
}

.sls-site-dd {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.sls-site-dd__btn {
  appearance: none;
  border: 1px solid transparent;
  margin: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  height: 2.15rem;
  padding: 0 0.7rem 0 0.55rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.sls-site-dd__btn--lang {
  color: #03252d;
  background: #fff;
  border-color: rgba(3, 37, 45, 0.16);
  box-shadow: 0 1px 2px rgba(3, 37, 45, 0.06);
}

.sls-site-dd__btn--lang:hover,
.sls-site-dd__btn--lang:focus-visible,
.sls-site-dd.is-open .sls-site-dd__btn--lang {
  border-color: rgba(13, 148, 136, 0.45);
  background: #f0fdfa;
  color: #0f766e;
  outline: none;
}

.sls-site-dd__btn--login {
  color: #fff;
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 55%, #115e59 100%);
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.35);
}

.sls-site-dd__btn--login:hover,
.sls-site-dd__btn--login:focus-visible,
.sls-site-dd.is-open .sls-site-dd__btn--login {
  background: linear-gradient(135deg, #14b8a6 0%, #0d9488 55%, #0f766e 100%);
  box-shadow: 0 3px 12px rgba(13, 148, 136, 0.45);
  outline: none;
}

.sls-site-dd__btn--login i {
  font-size: 11px;
  opacity: 0.95;
}

.sls-site-dd__flag {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.sls-site-flag {
  display: block;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.12);
  flex-shrink: 0;
}

.sls-site-dd__chev {
  width: 0;
  height: 0;
  margin-inline-start: 0.1rem;
  border-inline: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.7;
}

.sls-site-dd.is-open .sls-site-dd__chev {
  transform: rotate(180deg);
  margin-block-start: -2px;
}

.sls-site-dd__menu {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-start: 0;
  z-index: 1200;
  min-width: 13.5rem;
  padding: 0.35rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sls-site-dd__menu[hidden] {
  display: none !important;
}

.sls-site-dd__menu--login {
  min-width: 14.5rem;
  border-color: rgba(13, 148, 136, 0.22);
  box-shadow: 0 14px 36px rgba(13, 148, 136, 0.18);
}

.sls-site-dd__opt {
  appearance: none;
  border: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  background: transparent;
  color: #0f172a;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  text-align: start;
  text-decoration: none !important;
  cursor: pointer;
  line-height: 1.25;
  transition: background 0.12s ease, color 0.12s ease;
}

.sls-site-dd__opt:hover,
.sls-site-dd__opt:focus-visible {
  background: #f0fdfa;
  color: #0f766e;
  outline: none;
}

.sls-site-dd__opt.is-active,
.sls-site-dd__opt[aria-selected="true"] {
  background: #ccfbf1;
  color: #115e59;
}

.sls-site-dd__opt i {
  width: 1rem;
  text-align: center;
  color: #0d9488;
  font-size: 12px;
}

.sls-site-dd__opt--soon {
  cursor: default;
  opacity: 0.72;
  color: #64748b;
}

.sls-site-dd__opt--soon:hover,
.sls-site-dd__opt--soon:focus-visible {
  background: #f8fafc;
  color: #64748b;
}

.sls-site-dd__soon {
  margin-inline-start: auto;
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: #94a3b8;
  border-radius: 999px;
  padding: 0.15rem 0.45rem;
}

html[dir="rtl"] .sls-site-dd__menu {
  inset-inline-start: auto;
  inset-inline-end: 0;
}

/*
 * Header menu bar: always sticky on scroll (BUG-278).
 * Theme JS only sticks after 800px and hides on scroll-down — override that.
 */
.vs-header .sticky-active.is-sls-sticky,
.will-sticky .sticky-active,
.will-sticky .sticky-active.active {
  position: fixed !important;
  top: 0 !important;
  inset-inline: 0;
  left: 0;
  right: 0;
  z-index: 1050 !important;
  background-color: #fff !important;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.1);
  transition: box-shadow 0.2s ease;
}

/* WP admin bar overlap when staff is logged in on the public site */
body.admin-bar .vs-header .sticky-active.is-sls-sticky,
body.admin-bar .will-sticky .sticky-active,
body.admin-bar .will-sticky .sticky-active.active {
  top: 32px !important;
}

@media screen and (max-width: 782px) {
  body.admin-bar .vs-header .sticky-active.is-sls-sticky,
  body.admin-bar .will-sticky .sticky-active,
  body.admin-bar .will-sticky .sticky-active.active {
    top: 46px !important;
  }
}

/*
 * Header: keep logo + nav + EN/AR + Apply CTA + hamburger on ONE row.
 * Theme Bootstrap row wraps (logo ~140 + Arabic nav ~815 + CTA ~293 > container),
 * so Apply/hamburger dropped under the menu. Force nowrap + compact spacing.
 */
.vs-header .header-menu-area .row.align-items-center {
  flex-wrap: nowrap !important;
  align-items: center !important;
  column-gap: 0.5rem;
}

.vs-header .header-menu-area .row > [class*="col-"] {
  flex: 0 0 auto;
  max-width: none;
}

.vs-header .header-menu-area .header-logo {
  padding-block: 6px;
}

.vs-header .header-menu-area .header-logo img {
  max-height: 52px;
  width: auto;
}

.vs-header .header-menu-area .main-menu > ul > li {
  padding-block: 18px;
}

.vs-header .header-menu-area .main-menu > ul > li > a {
  padding: 4px 8px;
  font-size: 15px;
  white-space: nowrap;
}

.vs-header .header-menu-area .header-button {
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 8px;
}

.vs-header .header-menu-area .header-button .vs-btn,
.vs-header .header-menu-area .header-button button {
  margin: 0 !important;
}

.vs-header .header-menu-area .header-button .vs-btn.wave-btn {
  padding: 8px 16px;
  font-size: 14px;
  white-space: nowrap;
  line-height: 1.3;
}

.vs-header .header-menu-area .header-button .sideMenuToggler.icon-btn {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  min-width: 42px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Show Apply + hamburger from lg (theme hid until xl, which also caused wrap) */
@media (min-width: 992px) {
  .vs-header .header-menu-area .col-auto.d-none.d-xl-block {
    display: block !important;
  }
}

@media (max-width: 1199.98px) and (min-width: 992px) {
  .vs-header .header-menu-area .main-menu > ul > li > a {
    padding: 4px 6px;
    font-size: 14px;
  }

  .vs-header .header-menu-area .header-button .vs-btn.wave-btn {
    padding: 7px 12px;
    font-size: 13px;
  }
}

/*
 * Mobile drawer: Site Language + Login (BUG-380).
 * .sls-site-dd is inline-flex ROW — with position:static portal menus that
 * put Login beside the portal list (button over the white card, list
 * spilling past the drawer). Force a full-width COLUMN stack.
 */
@media (max-width: 991.98px) {
  .vs-menu-wrapper {
    z-index: 2147483200 !important;
  }

  .vs-menu-wrapper .vs-menu-area {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  .vs-mobile-menu {
    overflow-x: hidden !important;
    max-width: 100%;
  }

  .vs-mobile-menu > ul {
    max-width: 100%;
    box-sizing: border-box;
  }

  .vs-mobile-menu .sls-site-lang-item,
  .vs-mobile-menu .sls-site-login-item,
  .vs-mobile-menu .sls-site-dd-item {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0.5rem 0 !important;
    margin: 0.35rem 0 0 !important;
    box-sizing: border-box;
  }

  .vs-mobile-menu .sls-site-dd,
  .vs-mobile-menu .sls-site-dd--login,
  .vs-mobile-menu .sls-site-dd--lang {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
    box-sizing: border-box;
  }

  .vs-mobile-menu .sls-site-dd__btn,
  .vs-mobile-menu .sls-site-dd__btn--login,
  .vs-mobile-menu .sls-site-dd__btn--lang {
    width: 100% !important;
    max-width: 100% !important;
    justify-content: center;
    min-height: 2.5rem;
    height: 2.5rem;
    font-size: 13px;
    flex-shrink: 0;
    order: 1;
    box-sizing: border-box;
  }

  .vs-mobile-menu .sls-site-dd__menu,
  .vs-mobile-menu .sls-site-dd__menu--login {
    position: static !important;
    inset: auto !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-top: 0.45rem !important;
    margin-inline: 0 !important;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.1);
    z-index: 1;
    order: 2;
    box-sizing: border-box;
  }

  .vs-mobile-menu .sls-site-dd__opt {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  /* Park contact chat while the drawer is open — FAB was painting over Login. */
  body:has(.vs-menu-wrapper.vs-body-visible) .sls-cc-dock,
  body:has(.vs-menu-wrapper.vs-body-visible) .sls-cc-fab,
  body:has(.vs-menu-wrapper.vs-body-visible) a.scrollToTop.scroll-btn,
  body:has(.vs-menu-wrapper.vs-body-visible) .scrollToTop {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

/* Arabic: slide the drawer from the inline-end (right), close control on the left. */
@media (max-width: 991.98px) {
  html[dir="rtl"] .vs-menu-wrapper .vs-menu-area,
  html[lang="ar"] .vs-menu-wrapper .vs-menu-area {
    left: auto !important;
    right: -110% !important;
    border-right: none !important;
    border-left: 3px solid var(--theme-color, #1cb9c8);
  }

  html[dir="rtl"] .vs-menu-wrapper.vs-body-visible .vs-menu-area,
  html[lang="ar"] .vs-menu-wrapper.vs-body-visible .vs-menu-area {
    left: auto !important;
    right: 0 !important;
  }

  html[dir="rtl"] .vs-menu-wrapper .vs-menu-toggle,
  html[lang="ar"] .vs-menu-wrapper .vs-menu-toggle {
    right: auto !important;
    left: 10px !important;
  }

  html[dir="rtl"] .vs-mobile-menu,
  html[lang="ar"] .vs-mobile-menu {
    text-align: start;
  }

  html[dir="rtl"] .vs-mobile-menu ul li a,
  html[lang="ar"] .vs-mobile-menu ul li a {
    padding-left: 0;
    padding-right: 18px;
  }

  html[dir="rtl"] .vs-mobile-menu ul li a:before,
  html[lang="ar"] .vs-mobile-menu ul li a:before {
    content: "\f104";
    margin-right: 0;
    margin-left: 10px;
  }

  html[dir="rtl"] .vs-mobile-menu ul .vs-item-has-children > a:after,
  html[lang="ar"] .vs-mobile-menu ul .vs-item-has-children > a:after {
    float: left;
  }
}

/* RTL layout helpers */
html[dir="rtl"] body.sls-site-rtl,
html.sls-site-rtl body {
  direction: rtl;
}

html[dir="rtl"] .main-menu > ul,
html[dir="rtl"] .vs-mobile-menu > ul {
  direction: rtl;
}

html[dir="rtl"] .header-logo {
  margin-inline-end: 0;
}

/*
 * Match SLS ERP Arabic UI font (Cairo — same as ERP header.php when RTL).
 * Override Elementor / theme heading + body stacks so AR chrome looks identical.
 * Do not use a universal * rule — that would break Font Awesome / icon fonts.
 */
html[dir="rtl"] body.sls-site-rtl,
html[lang="ar"] body.sls-site-rtl,
html[dir="rtl"] body.sls-site-rtl p,
html[dir="rtl"] body.sls-site-rtl span:not(.fa):not(.fas):not(.far):not(.fab):not(.fal):not([class*="fa-"]):not(.sls-fees-guide__year):not(.sls-fees-guide__fee),
html[dir="rtl"] body.sls-site-rtl a,
html[dir="rtl"] body.sls-site-rtl li,
html[dir="rtl"] body.sls-site-rtl label,
html[dir="rtl"] body.sls-site-rtl button,
html[dir="rtl"] body.sls-site-rtl input,
html[dir="rtl"] body.sls-site-rtl textarea,
html[dir="rtl"] body.sls-site-rtl select,
html[dir="rtl"] body.sls-site-rtl h1,
html[dir="rtl"] body.sls-site-rtl h2,
html[dir="rtl"] body.sls-site-rtl h3,
html[dir="rtl"] body.sls-site-rtl h4,
html[dir="rtl"] body.sls-site-rtl h5,
html[dir="rtl"] body.sls-site-rtl h6,
html[dir="rtl"] body.sls-site-rtl .elementor-heading-title,
html[dir="rtl"] body.sls-site-rtl .elementor-widget-text-editor,
html[dir="rtl"] body.sls-site-rtl .elementor-button-text,
html[dir="rtl"] body.sls-site-rtl .elementor-icon-box-title,
html[dir="rtl"] body.sls-site-rtl .elementor-icon-box-description,
html[dir="rtl"] body.sls-site-rtl .menu-item a,
html[dir="rtl"] body.sls-site-rtl .nav-link,
html[lang="ar"] body.sls-site-rtl p,
html[lang="ar"] body.sls-site-rtl a,
html[lang="ar"] body.sls-site-rtl li,
html[lang="ar"] body.sls-site-rtl button,
html[lang="ar"] body.sls-site-rtl h1,
html[lang="ar"] body.sls-site-rtl h2,
html[lang="ar"] body.sls-site-rtl h3,
html[lang="ar"] body.sls-site-rtl h4,
html[lang="ar"] body.sls-site-rtl h5,
html[lang="ar"] body.sls-site-rtl h6,
html[lang="ar"] body.sls-site-rtl .elementor-heading-title,
html[lang="ar"] body.sls-site-rtl .elementor-button-text {
  font-family: "Cairo", "Segoe UI", Tahoma, sans-serif !important;
}

/* Fees guide amounts/year: keep Western 0-9 (Cairo remaps ASCII digits to Eastern). */
html[dir="rtl"] body.sls-site-rtl .sls-fees-guide__year,
html[dir="rtl"] body.sls-site-rtl .sls-fees-guide__fee,
html[dir="rtl"] body.sls-site-rtl .sls-fees-guide td strong,
html[lang="ar"] body.sls-site-rtl .sls-fees-guide__year,
html[lang="ar"] body.sls-site-rtl .sls-fees-guide__fee,
html[lang="ar"] body.sls-site-rtl .sls-fees-guide td strong {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
}

html[dir="rtl"] .sls-site-dd__btn--lang,
html[dir="rtl"] .sls-site-dd__btn--login {
  font-family: "Cairo", "Segoe UI", Tahoma, sans-serif !important;
}

/*
 * Slick / Swiper break under document dir=rtl (tracks translate off-screen).
 * Keep carousel chrome LTR; Arabic text inside slides still inherits from children.
 */
html[dir="rtl"] body.sls-site-rtl .slick-slider,
html[dir="rtl"] body.sls-site-rtl .slick-list,
html[dir="rtl"] body.sls-site-rtl .slick-track,
html[dir="rtl"] body.sls-site-rtl .swiper,
html[dir="rtl"] body.sls-site-rtl .swiper-wrapper,
html[dir="rtl"] body.sls-site-rtl .vs-carousel,
html[lang="ar"] body.sls-site-rtl .slick-slider,
html[lang="ar"] body.sls-site-rtl .swiper,
html[lang="ar"] body.sls-site-rtl .vs-carousel {
  direction: ltr !important;
}

html[dir="rtl"] body.sls-site-rtl .slick-slide,
html[dir="rtl"] body.sls-site-rtl .swiper-slide,
html[lang="ar"] body.sls-site-rtl .slick-slide,
html[lang="ar"] body.sls-site-rtl .swiper-slide {
  direction: rtl;
  text-align: start;
}

/*
 * Footer "Contact Us" / تواصل معنا — theme parks icons at physical left:0.
 * Under Arabic: icon on the right of each row (DOM order icon→text + dir:rtl).
 */
html[dir="rtl"] body.sls-site-rtl .vs-widget-contact .footer-info,
html[lang="ar"] body.sls-site-rtl .vs-widget-contact .footer-info {
  direction: rtl !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 0 !important;
  min-height: 40px;
  text-align: right;
}

html[dir="rtl"] body.sls-site-rtl .vs-widget-contact .footer-info i,
html[lang="ar"] body.sls-site-rtl .vs-widget-contact .footer-info i {
  position: static !important;
  inset: auto !important;
  left: auto !important;
  right: auto !important;
  margin: 0 !important;
  flex: 0 0 40px;
  transform: none !important;
}

/* Handset faces the reading start under RTL. */
html[dir="rtl"] body.sls-site-rtl .vs-widget-contact .footer-info i.fa-phone-alt,
html[dir="rtl"] body.sls-site-rtl .vs-widget-contact .footer-info i.fa-phone,
html[lang="ar"] body.sls-site-rtl .vs-widget-contact .footer-info i.fa-phone-alt,
html[lang="ar"] body.sls-site-rtl .vs-widget-contact .footer-info i.fa-phone {
  transform: scaleX(-1) !important;
}

html[dir="rtl"] body.sls-site-rtl .vs-widget-contact .footer-info a,
html[lang="ar"] body.sls-site-rtl .vs-widget-contact .footer-info a {
  display: inline;
  unicode-bidi: plaintext;
  word-break: break-word;
}

/*
 * Team social icons: hidden completely next to every staff card (EN + AR).
 * Kundax always paints .multi-social + share expand-btn even when links are empty.
 */
.team-box .multi-social,
.team-card .multi-social,
.team-box .expand-btn,
.team-card .expand-btn,
.team-section .multi-social,
.team-section .expand-btn {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

/*
 * Our Expert Staff: equal photo frames (ERP portraits have mixed pixel sizes).
 * Fixed aspect + object-fit so carousel cards stay one height — no staircase.
 */
.team-section .team-box .team-img,
.team-box .team-img {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: 30px;
  overflow: hidden;
  background: #e8eef5;
}

.team-section .team-box .team-img img,
.team-box .team-img img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  object-position: center top;
  border-radius: inherit;
  display: block;
}

.team-section .team-box .team-info,
.team-box .team-info {
  width: calc(100% - 2rem);
  max-width: 280px;
  min-height: 5.5rem;
  box-sizing: border-box;
}

/* Keep slick slides top-aligned at equal card height */
.team-section .vs-carousel .slick-track,
.team-section .row.vs-carousel.slick-initialized .slick-track {
  display: flex !important;
  align-items: stretch;
}

.team-section .vs-carousel .slick-slide,
.team-section .row.vs-carousel.slick-initialized .slick-slide {
  height: auto;
  display: flex !important;
}

.team-section .vs-carousel .slick-slide > div,
.team-section .vs-carousel .slick-slide .col-lg-4,
.team-section .vs-carousel .slick-slide .col-md-6 {
  width: 100%;
  display: flex;
}

.team-section .vs-carousel .team-box {
  width: 100%;
  display: flex;
  flex-direction: column;
}

@media (max-width: 767px) {
  .team-section .team-box .team-img,
  .team-box .team-img {
    border-radius: 15px;
  }
}

/*
 * Go-to-top must sit ABOVE the contact chat FAB (not under/behind it).
 * FAB: bottom 1.1rem, ~3.4–4.2rem tall online pill; keep a clear gap.
 */
a.scrollToTop.scroll-btn,
.scrollToTop.scroll-btn,
.scrollToTop {
  z-index: 2147482990 !important;
}

a.scrollToTop.scroll-btn.show,
.scrollToTop.scroll-btn.show,
.scrollToTop.show {
  /* Dock = greeting bubble + FAB; keep clear gap above */
  bottom: calc(1.1rem + 8.5rem + 1.35rem) !important;
  right: 1.1rem !important;
}

@media (max-width: 767px) {
  a.scrollToTop.scroll-btn.show,
  .scrollToTop.scroll-btn.show,
  .scrollToTop.show {
    bottom: calc(0.85rem + 8.25rem + 1.1rem) !important;
    right: 0.75rem !important;
  }
}

/* Hide go-to-top while the contact chat panel is open (dock is already hidden). */
body:has(.sls-cc-panel:not([hidden])) a.scrollToTop.scroll-btn,
body:has(.sls-cc-panel:not([hidden])) .scrollToTop {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

html[dir="rtl"] body.sls-site-rtl .widget_title,
html[dir="rtl"] body.sls-site-rtl .footer-widget .widget_title,
html[lang="ar"] body.sls-site-rtl .footer-widget .widget_title {
  text-align: start;
}

html[dir="rtl"] body.sls-site-rtl .footer-widget .widget_title::after,
html[lang="ar"] body.sls-site-rtl .footer-widget .widget_title::after {
  left: auto !important;
  right: 0 !important;
}

/* ERP school copyright bar — full EN/AR swap; keep reading direction stable */
.footer-copyright .copyright,
.footer-copyright .sls-school-footer {
  unicode-bidi: isolate;
}
.footer-copyright .copyright[dir="rtl"],
.footer-copyright .sls-school-footer[dir="rtl"] {
  direction: rtl;
  text-align: start;
}
.footer-copyright .copyright[dir="ltr"],
.footer-copyright .sls-school-footer[dir="ltr"] {
  direction: ltr;
  text-align: start;
}
html[dir="rtl"] body.sls-site-rtl .footer-copyright .copyright,
html[lang="ar"] body.sls-site-rtl .footer-copyright .copyright {
  font-family: "Cairo", "Segoe UI", Tahoma, sans-serif !important;
}

/*
 * Footer Links (روابط): theme uses FA angle-right (\f105) + physical
 * margin-right. Under RTL that leaves the chevron pointing the wrong way
 * and the gap on the outer edge (arrow stuck to the Arabic label).
 * Flip to angle-left and put space between arrow and text with logical margin.
 */
html[dir="rtl"] body.sls-site-rtl .footer-widget.widget_nav_menu a:before,
html[dir="rtl"] body.sls-site-rtl .footer-widget.widget_meta a:before,
html[dir="rtl"] body.sls-site-rtl .footer-widget.widget_pages a:before,
html[dir="rtl"] body.sls-site-rtl .footer-widget.widget_archive a:before,
html[dir="rtl"] body.sls-site-rtl .footer-widget.widget_categories a:before,
html[lang="ar"] body.sls-site-rtl .footer-widget.widget_nav_menu a:before,
html[lang="ar"] body.sls-site-rtl .footer-widget.widget_meta a:before,
html[lang="ar"] body.sls-site-rtl .footer-widget.widget_pages a:before,
html[lang="ar"] body.sls-site-rtl .footer-widget.widget_archive a:before,
html[lang="ar"] body.sls-site-rtl .footer-widget.widget_categories a:before {
  content: "\f104" !important; /* FA angle-left — mirrors LTR angle-right */
  font-family: var(--icon-font, "Font Awesome 5 Pro") !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  margin-inline-end: 0.55rem !important;
  margin-inline-start: 0 !important;
  display: inline-block;
}

/*
 * Work Process cards (01 → 02 → 03): theme parks .process-direction to the
 * physical right of each card (LTR). Under Arabic the row reads right→left,
 * so arrows must sit on the left of 01/02 and face toward the next card.
 */
html[dir="rtl"] body.sls-site-rtl .process-card .process-direction,
html[lang="ar"] body.sls-site-rtl .process-card .process-direction {
  left: auto !important;
  right: calc(100% + 30px) !important;
  transform: scaleX(-1);
}

@media (max-width: 1399px) {
  html[dir="rtl"] body.sls-site-rtl .process-card .process-direction,
  html[lang="ar"] body.sls-site-rtl .process-card .process-direction {
    right: calc(100% + 20px) !important;
  }
}

/* Number notch: lead edge under RTL (was physical right). */
html[dir="rtl"] body.sls-site-rtl .process-card .process-number,
html[lang="ar"] body.sls-site-rtl .process-card .process-number {
  right: auto !important;
  left: -30px !important;
}

@media (max-width: 1199px) {
  html[dir="rtl"] body.sls-site-rtl .process-card .process-number,
  html[lang="ar"] body.sls-site-rtl .process-card .process-number {
    left: -10px !important;
  }
}

@media (max-width: 575px) {
  html[dir="rtl"] body.sls-site-rtl .process-card .process-number,
  html[lang="ar"] body.sls-site-rtl .process-card .process-number {
    left: -5px !important;
  }
}

/* Icon ↔ title gap uses physical margin-right in the theme. */
html[dir="rtl"] body.sls-site-rtl .process-card .process-icon,
html[lang="ar"] body.sls-site-rtl .process-card .process-icon {
  margin-right: 0 !important;
  margin-left: 20px !important;
}

/* ------------------------------------------------------------------ */
/* Hero video: fit one browser viewport (no taller than the screen)   */
/* ------------------------------------------------------------------ */

:root {
  /* Fallback until JS measures header stack above the video. */
  --sls-hero-max-h: calc(100dvh - 12rem);
}

@media (max-width: 991px) {
  :root {
    /* Top bar is usually hidden on tablet/phone. */
    --sls-hero-max-h: calc(100dvh - 5.5rem);
  }
}

.elementor-element-07798f3 {
  position: relative;
  max-height: var(--sls-hero-max-h) !important;
  overflow: hidden;
}

.elementor-element-d9e46bb {
  position: relative !important;
  height: var(--sls-hero-max-h) !important;
  max-height: var(--sls-hero-max-h) !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

.elementor-element-d9e46bb .e-hosted-video,
.elementor-element-d9e46bb .elementor-wrapper,
.elementor-element-d9e46bb .elementor-widget-container {
  position: relative !important;
  aspect-ratio: auto !important;
  width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

.elementor-element-d9e46bb video,
.elementor-element-d9e46bb .elementor-background-video-hosted {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center !important;
}

/* ------------------------------------------------------------------ */
/* Hero video typewriter — bus-form style (no box, dead-center)       */
/* Matches .ja-hero / .bs-hero: white type + shadow over media.       */
/* ------------------------------------------------------------------ */

.sls-hero-typewriter {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.25rem;
  box-sizing: border-box;
}

.sls-hero-typewriter__panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: min(96vw, 100%);
  max-width: 100%;
  margin: 0;
  padding: 0 0.5rem;
  text-align: center;
  background: none;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: #fff;
  font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
}

html[dir="rtl"] .sls-hero-typewriter__panel,
html.sls-site-rtl .sls-hero-typewriter__panel {
  align-items: center;
  text-align: center;
}

.sls-hero-typewriter__eyebrow {
  display: none;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: clamp(0.92rem, 1.7vw, 1.05rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.sls-hero-typewriter__eyebrow:not([hidden]) {
  display: block;
}

.sls-hero-typewriter__line {
  margin: 0;
  min-height: 1.35em;
  max-width: 100%;
  /* One line only — never wrap the slogan */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
  font-size: clamp(1.15rem, 3.6vw, 2.55rem);
  font-weight: 800;
  line-height: 1.35;
  color: #fffef8;
  /* Soft gold glow (متوهجة) + dark legibility over video */
  text-shadow:
    0 0 6px rgba(255, 236, 179, 0.95),
    0 0 18px rgba(245, 158, 11, 0.75),
    0 0 36px rgba(245, 158, 11, 0.45),
    0 8px 24px rgba(0, 0, 0, 0.55),
    0 2px 6px rgba(0, 0, 0, 0.4);
  animation: sls-hero-glow 2.8s ease-in-out infinite;
}

.sls-hero-typewriter__text {
  white-space: nowrap;
}

.sls-hero-typewriter__caret {
  display: inline-block;
  width: 0.12em;
  height: 1.05em;
  margin-inline-start: 0.12em;
  vertical-align: -0.12em;
  background: #fbbf24;
  border-radius: 1px;
  box-shadow:
    0 0 8px rgba(251, 191, 36, 0.9),
    0 0 16px rgba(245, 158, 11, 0.7);
  animation: sls-hero-caret 0.95s steps(1) infinite;
}

@keyframes sls-hero-caret {
  0%,
  45% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

@keyframes sls-hero-glow {
  0%,
  100% {
    text-shadow:
      0 0 6px rgba(255, 236, 179, 0.85),
      0 0 16px rgba(245, 158, 11, 0.55),
      0 0 28px rgba(245, 158, 11, 0.3),
      0 8px 24px rgba(0, 0, 0, 0.55),
      0 2px 6px rgba(0, 0, 0, 0.4);
  }
  50% {
    text-shadow:
      0 0 10px rgba(255, 248, 220, 1),
      0 0 26px rgba(251, 191, 36, 0.9),
      0 0 48px rgba(245, 158, 11, 0.55),
      0 8px 24px rgba(0, 0, 0, 0.55),
      0 2px 6px rgba(0, 0, 0, 0.4);
  }
}

@media (max-width: 767px) {
  .sls-hero-typewriter {
    /* Keep slogan inside the phone viewport (BUG-396) */
    padding: 0.75rem 1rem;
  }

  .sls-hero-typewriter__panel {
    width: 100%;
    max-width: 100%;
    gap: 0.5rem;
    padding: 0;
    box-sizing: border-box;
  }

  /* Mobile: wrap so the full slogan is visible — never clip mid-glyph (BUG-396) */
  .sls-hero-typewriter__line {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    overflow-wrap: break-word;
    word-wrap: break-word;
    max-width: 100%;
    min-height: 2.6em;
    font-size: clamp(0.88rem, 4.1vw, 1.2rem);
    line-height: 1.4;
    padding-inline: 0.15rem;
    box-sizing: border-box;
  }

  .sls-hero-typewriter__text {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sls-hero-typewriter__caret {
    animation: none;
    opacity: 1;
  }

  .sls-hero-typewriter__line {
    animation: none;
  }
}

/* —— WhatsApp phone buttons (one icon per school number) —— */
.sls-wa-phones,
.sls-wa-inline {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.55rem;
  vertical-align: middle;
}

.sls-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.22rem 0.55rem 0.22rem 0.35rem;
  border-radius: 999px;
  background: #25d366;
  color: #fff !important;
  font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.sls-wa-btn:hover,
.sls-wa-btn:focus {
  background: #1ebe57;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45);
  transform: translateY(-1px);
  outline: none;
}

.sls-wa-btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  flex: 0 0 auto;
}

.sls-wa-btn__icon svg {
  display: block;
}

.sls-wa-btn__num {
  letter-spacing: 0.02em;
  unicode-bidi: plaintext;
}

/*
 * Top bar — Swiss / Inclusive polish (UI-UX Pro)
 * Clear zones: Hours · WhatsApp · Address. High contrast on brand orange.
 */
.header-top-area.sls-topbar,
.header-top-area {
  --sls-topbar-fg: #ffffff;
  --sls-topbar-fg-muted: rgba(255, 255, 255, 0.88);
  --sls-topbar-chip: rgba(255, 255, 255, 0.16);
  --sls-topbar-chip-border: rgba(255, 255, 255, 0.28);
  --sls-topbar-sep: rgba(255, 255, 255, 0.32);
  --sls-topbar-wa-bg: #ffffff;
  --sls-topbar-wa-fg: #0b6b3a;
  --sls-topbar-wa-icon: #25d366;
  background-color: var(--theme-color, #f07a28);
  background-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.06) 0%,
    rgba(0, 0, 0, 0) 40%,
    rgba(0, 0, 0, 0.08) 100%
  );
  color: var(--sls-topbar-fg);
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
  line-height: 1.35;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.header-top-area .container {
  max-width: min(1320px, 100%);
  width: 100%;
  padding-inline: clamp(0.75rem, 2vw, 1.5rem);
}

.header-top-area .row {
  margin: 0 !important;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.75rem;
}

.header-top-area .col-auto {
  padding: 0 !important;
  min-width: 0;
}

.header-top-area .col-auto:first-child {
  flex: 1 1 auto;
  max-width: 100%;
}

.header-top-area .header-links {
  width: 100%;
}

.header-top-area .header-links ul,
.header-top-area .sls-topbar__list {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center;
  justify-content: flex-start;
  gap: 0.65rem 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
  min-width: 0;
}

.header-top-area .header-links ul li,
.header-top-area .sls-topbar__item {
  display: inline-flex !important;
  align-items: center;
  gap: 0.4rem;
  flex: 0 0 auto;
  margin: 0 !important;
  padding: 0 !important;
  font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--sls-topbar-fg);
  white-space: nowrap;
  position: relative;
}

.header-top-area .header-links ul li:before,
.header-top-area .sls-topbar__item:before {
  display: none !important;
  content: none !important;
}

/* Soft separators between zones (not glued) */
.header-top-area .sls-topbar__item + .sls-topbar__item::after {
  content: '';
  position: absolute;
  inset-inline-start: -0.45rem;
  top: 50%;
  width: 1px;
  height: 1.1rem;
  transform: translateY(-50%);
  background: var(--sls-topbar-sep);
  pointer-events: none;
}

.header-top-area .sls-topbar__item > i {
  margin: 0 !important;
  width: 1.1rem;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.95;
  flex: 0 0 auto;
  color: var(--sls-topbar-fg);
}

.header-top-area .sls-topbar__label {
  display: inline-block;
  max-width: 28rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--sls-topbar-fg);
  letter-spacing: 0.01em;
}

/* Hours = calm frosted chip */
.header-top-area .sls-topbar__item--hours {
  background: var(--sls-topbar-chip);
  border: 1px solid var(--sls-topbar-chip-border);
  border-radius: 999px;
  padding: 0.28rem 0.7rem 0.28rem 0.55rem !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

html[dir='rtl'] .header-top-area .sls-topbar__item--hours,
html.sls-site-rtl .header-top-area .sls-topbar__item--hours {
  padding: 0.28rem 0.55rem 0.28rem 0.7rem !important;
}

.header-top-area .sls-topbar__item--hours .sls-topbar__label {
  font-weight: 700;
  max-width: min(26rem, 38vw);
}

/* Phones cluster */
.header-top-area .sls-topbar__item--phones {
  gap: 0.45rem;
}

.header-top-area .sls-topbar__item--phones > i {
  display: none !important; /* WA chips already carry the icon */
}

.header-top-area .sls-wa-phones,
.header-top-area .sls-wa-inline {
  display: inline-flex !important;
  flex-wrap: nowrap !important;
  align-items: center;
  gap: 0.4rem;
}

/* WhatsApp on orange: white pills + green mark = WCAG-friendly contrast */
.header-top-area .sls-wa-btn,
.header-links .sls-wa-btn {
  background: var(--sls-topbar-wa-bg);
  color: var(--sls-topbar-wa-fg) !important;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem 0.2rem 0.28rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(0, 0, 0, 0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  cursor: pointer;
}

html[dir='rtl'] .header-top-area .sls-wa-btn,
html.sls-site-rtl .header-top-area .sls-wa-btn {
  padding: 0.2rem 0.28rem 0.2rem 0.55rem;
}

.header-top-area .sls-wa-btn:hover,
.header-top-area .sls-wa-btn:focus-visible,
.header-links .sls-wa-btn:hover,
.header-links .sls-wa-btn:focus-visible {
  background: #f3fff7;
  color: #085c32 !important;
  box-shadow:
    0 3px 10px rgba(0, 0, 0, 0.16),
    0 0 0 2px rgba(255, 255, 255, 0.45);
  transform: translateY(-1px);
  outline: none;
}

.header-top-area .sls-wa-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.header-top-area .sls-wa-btn__icon,
.header-links .sls-wa-btn__icon {
  width: 1.4rem;
  height: 1.4rem;
  background: var(--sls-topbar-wa-icon);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.header-top-area .sls-wa-btn__icon svg,
.header-links .sls-wa-btn__icon svg {
  width: 14px;
  height: 14px;
}

.header-top-area .sls-wa-btn__num {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
}

/* Address = trailing flex child, ellipsis, never crush phones */
.header-top-area .sls-topbar__item--address {
  flex: 1 1 auto !important;
  min-width: 0;
  max-width: 100%;
  color: var(--sls-topbar-fg-muted);
  font-weight: 500;
}

.header-top-area .sls-topbar__item--address > i {
  opacity: 0.9;
}

.header-top-area .sls-topbar__address,
.header-top-area .sls-topbar__item--address a {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: inherit !important;
  text-decoration: none !important;
  transition: color 0.15s ease, opacity 0.15s ease;
}

.header-top-area .sls-topbar__address:hover,
.header-top-area .sls-topbar__item--address a:hover,
.header-top-area .sls-topbar__address:focus-visible {
  color: #fff !important;
  opacity: 1;
  text-decoration: underline !important;
  text-underline-offset: 2px;
  outline: none;
}

/* Social icons in top bar stay quiet */
.header-top-area .header-social a {
  color: #fff;
  opacity: 0.92;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.header-top-area .header-social a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.vs-widget-contact .footer-info[data-sls-wa='1'] {
  flex-wrap: wrap;
}

.vs-widget-contact .footer-info .sls-wa-phones {
  flex: 1 1 auto;
}

html[dir='rtl'] .header-top-area .sls-wa-phones,
html.sls-site-rtl .header-top-area .sls-wa-phones,
html[dir='rtl'] .vs-widget-contact .sls-wa-phones,
html.sls-site-rtl .vs-widget-contact .sls-wa-phones {
  flex-direction: row;
}

@media (max-width: 1199px) {
  .header-top-area .sls-topbar__item--hours .sls-topbar__label {
    max-width: min(20rem, 32vw);
  }
}

@media (max-width: 991px) {
  .sls-wa-btn__num {
    font-size: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .header-top-area .sls-wa-btn,
  .header-top-area .header-social a {
    transition: none;
  }

  .header-top-area .sls-wa-btn:hover,
  .header-top-area .header-social a:hover {
    transform: none;
  }
}

/* Contact form card — school address + phone (EN/AR via site toggle) */
.sls-contact-school {
  margin: 0 0 1.35rem;
  padding: 1.05rem 1.15rem 1.1rem;
  border-radius: 16px;
  border: 1px solid rgba(13, 92, 99, 0.16);
  background:
    linear-gradient(135deg, rgba(249, 115, 22, 0.06) 0%, transparent 42%),
    linear-gradient(165deg, #f7fbfb 0%, #eef6f6 55%, #f8fafc 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 8px 24px rgba(13, 92, 99, 0.06);
}

.sls-contact-school__label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.4rem;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #0d5c63;
  line-height: 1.35;
}

.sls-contact-school__label::before {
  content: '\f3c5';
  font-family: var(--icon-font, 'Font Awesome 5 Pro');
  font-weight: 900;
  font-size: 0.85rem;
  color: #f97316;
  flex: 0 0 auto;
  line-height: 1;
  speak: none;
}

.sls-contact-school__address {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.55;
  color: #334155;
}

.sls-contact-school__address a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dashed rgba(13, 92, 99, 0.35);
  transition: color 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
}

.sls-contact-school__address a:hover,
.sls-contact-school__address a:focus-visible {
  color: #0d5c63;
  border-bottom-color: #0d5c63;
  outline: none;
}

.sls-contact-school__phone {
  margin: 0.95rem 0 0;
  padding: 0.7rem 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.4rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(13, 92, 99, 0.1);
}

html[dir='rtl'] .sls-contact-school__phone {
  align-items: stretch;
}

.sls-contact-school__phone-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
}

.sls-contact-school__phone-label::before {
  content: '\f095';
  font-family: var(--icon-font, 'Font Awesome 5 Pro');
  font-weight: 900;
  font-size: 0.78rem;
  color: #0d5c63;
  line-height: 1;
  speak: none;
}

.sls-contact-school__phone-list {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.2rem;
  width: 100%;
  max-width: 100%;
  overflow: visible;
  direction: ltr;
  unicode-bidi: isolate;
}

.sls-contact-school__phone-unit {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  flex: 1 1 0;
  min-width: 0;
  flex-wrap: nowrap;
  direction: ltr;
  unicode-bidi: isolate;
  white-space: nowrap;
}

.sls-contact-school__phone-sep {
  flex: 0 0 auto;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
  color: #94a3b8;
  padding: 0 0.05rem;
}

.sls-contact-school__phone-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
  gap: 0.15rem;
  padding: 0.36rem 0.4rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
  color: #fff !important;
  background: linear-gradient(180deg, #fb923c 0%, #f97316 100%);
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.28);
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
  font-variant-numeric: tabular-nums;
}

.sls-contact-school__phone-list > .sls-contact-school__phone-link {
  flex: 1 1 0;
}

.sls-contact-school__phone-unit .sls-contact-school__phone-link {
  flex: 1 1 auto;
  width: 100%;
}

.sls-contact-school__phone-link:hover,
.sls-contact-school__phone-link:focus-visible {
  background: linear-gradient(180deg, #f97316 0%, #ea580c 100%);
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(234, 88, 12, 0.34);
  transform: translateY(-1px);
  outline: none;
}

.sls-contact-school__phone [data-sls-or] {
  font-size: 0.72rem;
  font-weight: 700;
  color: #94a3b8;
  white-space: nowrap;
  flex: 0 0 auto;
}

@media (max-width: 380px) {
  .sls-contact-school__phone-link {
    padding: 0.32rem 0.28rem;
    font-size: 0.7rem;
  }
}

/* Comment form: icons + padding must follow writing direction (theme uses physical left) */
html[dir='rtl'] body.sls-site-rtl .vs-comment-form .form-control.style2,
html[dir='rtl'] body.sls-site-rtl .comment-respond .form-control.style2,
html[dir='rtl'] body.sls-site-rtl .vs-register-form .form-control.style2 {
  padding-left: 30px !important;
  padding-right: 56px !important;
  text-align: right !important;
  direction: rtl !important;
}

html[dir='rtl'] body.sls-site-rtl .vs-comment-form input[type='email'].form-control.style2,
html[dir='rtl'] body.sls-site-rtl .comment-respond input[type='email'].form-control.style2 {
  direction: ltr !important;
  text-align: right !important;
  unicode-bidi: isolate;
}

html[dir='rtl'] body.sls-site-rtl .vs-comment-form .form-control.style2 ~ i,
html[dir='rtl'] body.sls-site-rtl .comment-respond .form-control.style2 ~ i,
html[dir='rtl'] body.sls-site-rtl .vs-register-form .form-group > i,
html[dir='rtl'] body.sls-site-rtl select.style2 ~ i,
html[dir='rtl'] body.sls-site-rtl .form-select.style2 ~ i {
  left: auto !important;
  right: 40px !important;
}

html[dir='ltr'] body.sls-site-lang-en .vs-comment-form .form-control.style2,
html[dir='ltr'] body.sls-site-lang-en .comment-respond .form-control.style2 {
  text-align: start;
  direction: ltr;
}

/* Theme ships custom-checkbox markup without CSS — keep label + box readable EN/AR */
.vs-comment-form .custom-checkbox,
.comment-respond .custom-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  position: relative;
  margin: 0 0 1.25rem;
}

.vs-comment-form .custom-checkbox input[type='checkbox'],
.comment-respond .custom-checkbox input[type='checkbox'] {
  position: static;
  flex: 0 0 auto;
  width: 1.1rem;
  height: 1.1rem;
  margin: 0.2rem 0 0;
  accent-color: #ff7a1a;
  cursor: pointer;
}

.vs-comment-form .custom-checkbox label,
.comment-respond .custom-checkbox label {
  display: block;
  flex: 1 1 auto;
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--body-color, #4b5563);
  text-align: start;
  cursor: pointer;
}

.vs-comment-form .custom-checkbox .checkmark,
.comment-respond .custom-checkbox .checkmark {
  display: none !important;
}

html[dir='rtl'] body.sls-site-rtl .vs-comment-form .custom-checkbox,
html[dir='rtl'] body.sls-site-rtl .comment-respond .custom-checkbox {
  flex-direction: row;
}

html[dir='rtl'] body.sls-site-rtl .vs-comment-form .blog-inner-title,
html[dir='rtl'] body.sls-site-rtl .vs-comment-form .text-theme,
html[dir='rtl'] body.sls-site-rtl .comment-respond .blog-inner-title {
  text-align: right;
}

html[dir='rtl'] body.sls-site-rtl .vs-comment-form .vs-btn,
html[dir='rtl'] body.sls-site-rtl .comment-respond .vs-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-direction: row-reverse;
}

/* Blog sidebar widgets: titles + lists follow language dir */
html[dir='rtl'] body.sls-site-rtl .widget_title,
html[dir='rtl'] body.sls-site-rtl .share-links-title,
html[dir='rtl'] body.sls-site-rtl .share-links h5 {
  text-align: right;
}

html[dir='ltr'] body.sls-site-lang-en .widget_title,
html[dir='ltr'] body.sls-site-lang-en .share-links-title,
html[dir='ltr'] body.sls-site-lang-en .share-links h5 {
  text-align: left;
}

html[dir='rtl'] body.sls-site-rtl .widget_recent_comments .recentcomments,
html[dir='rtl'] body.sls-site-rtl .widget_recent_entries li,
html[dir='rtl'] body.sls-site-rtl .recent-post .post-title {
  text-align: right;
}

/* Category chips: do not clip "Uncategorized" / Arabic labels */
.widget_categories .cat-item a,
.widget_categories .wp-block-categories-list a,
.wp-block-categories a {
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  max-width: none;
}

/* Contact Form 7: Arabic writing direction (theme/CF7 often force LTR) */
html[dir='rtl'] body.sls-site-rtl .contact-form-box .wpcf7,
html[dir='rtl'] body.sls-site-rtl .contact-form-box .wpcf7-form,
html[dir='rtl'] body.sls-site-rtl .contact-form .wpcf7,
html[dir='rtl'] body.sls-site-rtl .contact-form .wpcf7-form {
  direction: rtl !important;
  text-align: right;
}

html[dir='rtl'] body.sls-site-rtl .contact-form-box .form-label,
html[dir='rtl'] body.sls-site-rtl .contact-form .form-label {
  display: block;
  width: 100%;
  text-align: right !important;
  direction: rtl !important;
}

html[dir='rtl'] body.sls-site-rtl .contact-form-box input.form-control:not([type='email']):not([type='url']),
html[dir='rtl'] body.sls-site-rtl .contact-form-box textarea.form-control,
html[dir='rtl'] body.sls-site-rtl .contact-form input.form-control:not([type='email']):not([type='url']),
html[dir='rtl'] body.sls-site-rtl .contact-form textarea.form-control,
html[dir='rtl'] body.sls-site-rtl .contact-form-box .wpcf7-form-control:not(.wpcf7-email):not(.wpcf7-url),
html[dir='rtl'] body.sls-site-rtl .contact-form .wpcf7-form-control:not(.wpcf7-email):not(.wpcf7-url),
html[dir='rtl'] body.sls-site-rtl .contact-form-box input[type='tel'],
html[dir='rtl'] body.sls-site-rtl .contact-form-box .wpcf7-tel,
html[dir='rtl'] body.sls-site-rtl .contact-form input[type='tel'],
html[dir='rtl'] body.sls-site-rtl .contact-form .wpcf7-tel {
  direction: rtl !important;
  text-align: right !important;
  unicode-bidi: plaintext;
}

/* Email stays LTR for Latin addresses; right-align under AR so Arabic placeholders match RTL. */
html[dir='rtl'] body.sls-site-rtl .contact-form-box input[type='email'],
html[dir='rtl'] body.sls-site-rtl .contact-form-box .wpcf7-email,
html[dir='rtl'] body.sls-site-rtl .contact-form input[type='email'],
html[dir='rtl'] body.sls-site-rtl .contact-form .wpcf7-email {
  direction: ltr !important;
  text-align: right !important;
  unicode-bidi: isolate;
}

html[dir='rtl'] .sls-contact-school__address {
  font-size: 0.95rem;
}

@media (prefers-reduced-motion: reduce) {
  .sls-contact-school__phone-link,
  .sls-contact-school__address a {
    transition: none;
  }
  .sls-contact-school__phone-link:hover {
    transform: none;
  }
}

/* —— Website launch page_id=3190 (BUG-281) —— */
body.sls-launch-page .sls-launch-pane--off,
body.sls-launch-page .elementor-element-4f10cd5[hidden],
body.sls-launch-page .elementor-element-8f1b845[hidden] {
  display: none !important;
}
body.sls-launch-page .elementor-element-4f10cd5 .elementor-widget-container,
body.sls-launch-page .elementor-element-8f1b845 .elementor-widget-container {
  text-align: start;
  max-width: 48rem;
  margin-inline: auto;
  line-height: 1.75;
}
body.sls-launch-page .elementor-element-4f10cd5 ul,
body.sls-launch-page .elementor-element-8f1b845 ul {
  margin: 0.75rem 0 1rem;
  padding-inline-start: 1.25rem;
  list-style: disc;
}
body.sls-launch-page .elementor-element-4f10cd5 li,
body.sls-launch-page .elementor-element-8f1b845 li {
  margin: 0.35rem 0;
}
body.sls-launch-page .elementor-element-11dd1b3 .vs-icon-box.testi-1 {
  display: none !important;
}
body.sls-launch-page .elementor-element-11dd1b3 .testi-text,
body.sls-launch-page .elementor-element-11dd1b3 .testi-title,
body.sls-launch-page .elementor-element-11dd1b3 .sub-title,
body.sls-launch-page .elementor-element-11dd1b3 .sec-title {
  text-align: start;
}
body.sls-launch-page .elementor-element-11dd1b3 .testi-text p {
  margin: 0 0 0.75rem;
}
body.sls-launch-page .elementor-element-11dd1b3 .testi-text p:last-child {
  margin-bottom: 0;
}
html[dir="rtl"] body.sls-launch-page .elementor-element-11dd1b3 .col-lg-4 .text-lg-start,
html[lang="ar"] body.sls-launch-page .elementor-element-11dd1b3 .col-lg-4 .text-lg-start {
  text-align: start !important;
}
