
/* =====================================================
   RTL + Arabic Typography – FINAL VERSION
   Scope: html[lang="ar"]
   ===================================================== */

/* ---------- 1. Base RTL Setup ---------- */
html[lang="ar"] {
  direction: rtl;

  --font-heading-ar: "Belqees Pro", "Tajawal", sans-serif;
  --font-body-ar: "Tajawal", "Belqees Pro", sans-serif;

  --fs-h1: 4rem;
  --fs-h2: 3.063rem;
  --fs-h3: 2.438rem;
  --fs-h4: 1.938rem;
  --fs-h5: 1.563rem;
  --fs-h6: 1.25rem;

  --fs-p1: 1rem;
  --fs-p1-light: 1rem;
  --fs-p2: 0.875rem;
  --fs-p3: 0.75rem;

  --fs-subheading: 0.75rem;
  --fs-subheading-2: 0.75rem;
  --fs-button: 1rem;
}

/* ---------- 2. Global Text Fonts (NO ICONS) ---------- */
html[lang="ar"] body,
html[lang="ar"] p,
html[lang="ar"] span,
html[lang="ar"] a,
html[lang="ar"] li,
html[lang="ar"] label,
html[lang="ar"] input,
html[lang="ar"] textarea,
html[lang="ar"] select,
html[lang="ar"] .elementor-button-text,
html[lang="ar"] .ff-btn,
html[lang="ar"] .ff-btn-submit,
html[lang="ar"] .ff-btn-md,
html[lang="ar"] .ff_btn_style,
html[lang="ar"] .text-content-block {
  font-family: var(--font-body-ar) !important;
}

/* ---------- 3. Native Headings ---------- */
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4,
html[lang="ar"] h5,
html[lang="ar"] h6 {
  font-family: var(--font-heading-ar) !important;
  letter-spacing: 0 !important;
  text-align: right;
}

/* ---------- 4. Typography Classes ---------- */

/* Headings */
html[lang="ar"] .text-h1 { font-size: var(--fs-h1); font-weight: 600; line-height: 1.4; font-family: var(--font-heading-ar) !important; }
html[lang="ar"] .text-h2 { font-size: var(--fs-h2); font-weight: 600; line-height: 1.4; font-family: var(--font-heading-ar) !important; }
html[lang="ar"] .text-h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.4; font-family: var(--font-heading-ar) !important; }
html[lang="ar"] .text-h4 { font-size: var(--fs-h4); font-weight: 600; line-height: 1.45; font-family: var(--font-heading-ar) !important; }
html[lang="ar"] .text-h5 { font-size: var(--fs-h5); font-weight: 400; line-height: 1.45; font-family: var(--font-heading-ar) !important; }
html[lang="ar"] .text-h6 { font-size: var(--fs-h6); font-weight: 400; line-height: 1.45; font-family: var(--font-heading-ar) !important; }

/* Paragraphs */
html[lang="ar"] .text-p1 { font-size: var(--fs-p1); font-weight: 500; line-height: 1.9; }
html[lang="ar"] .text-p1-light { font-size: var(--fs-p1-light); font-weight: 300; line-height: 1.6; }
html[lang="ar"] .text-p2 { font-size: var(--fs-p2); font-weight: 400; line-height: 1.9; }
html[lang="ar"] .text-p3 { font-size: var(--fs-p3); font-weight: 400; line-height: 1.9; }

/* UI */
html[lang="ar"] .text-subheading {
  font-size: var(--fs-subheading);
  font-weight: 500;
  line-height: 1.5;
}

html[lang="ar"] .text-subheading-2 {
  font-size: var(--fs-subheading-2);
  font-weight: 500;
  line-height: 1.2;
  text-transform: none !important; /* Arabic fix */
}

html[lang="ar"] .text-button {
  font-size: var(--fs-button);
  font-weight: 600;
  line-height: 1;
}

html[lang="ar"] h5.counter-number{
  text-align: center;
}

html[lang="ar"] .plus-center-text h2.heading-title{
  text-align: center;
}

/* html[lang="ar"] .heading_style .heading-title {
  text-align: center;
} */

.glass {
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35) !important;
  backdrop-filter: blur(16px) !important; /* Chrome, Firefox, Safari */
  -webkit-backdrop-filter: blur(16px) !important; /* Safari */
}

.e-off-canvas__overlay {
  display: block !important;
  height: 100vh !important;
  width: 100vw !important;
  background-color: none !important;
}

.iti__selected-country {
  border-radius: 36px 0 0 36px !important;
  padding: 16px 5px !important;
}

html[dir="rtl"] .iti__selected-country {
  border-radius: 0 36px 36px 0 !important;
}

html[dir="rtl"] .iti__arrow {
  margin-left: 0 !important;
  margin-right: 5px !important;
}

.iti__dropdown-content {
  padding: 10px !important;
  border-radius: 10px !important;
}

html[dir="rtl"] .ff-el-form-control.ff-el-phone {
  direction: rtl !important;
  padding-right: 65px !important;
}

.iti__search-input {
  border-radius: 10px !important;
  padding: 10px !important;
  background-color: #f5f5f5 !important;
  color: #333 !important;
}

.iti__country-name {
  color: #333 !important;
}

.iti__highlight {
  border-radius: 10px !important;
}

html[dir="rtl"]  .iti__country .iti__dial-code,
html[dir="rtl"]  .iti__highlight .iti__dial-code {
  padding-right: 5px !important;
}

@media (min-width: 768px) {
  .frm-fluent-form .ff-t-cell .ff_submit_btn_wrapper_custom {
    margin: 0 !important;
  }
}

.language-switch {
  width: 40px !important;
  height: 40px !important;
  max-width: 40px !important;
  max-height: 40px !important;
  font-size: 1.3rem !important;
  line-height: 0%;
}

html[dir="rtl"] .cpel-switcher__lang a {
  line-height: 1.9em !important;
}

.cpel-switcher__code {
  padding: 14px 8px 8px 0 !important;
  text-transform: capitalize !important;
  font-weight: 700 !important;
}

.line-height0 {
  line-height: 0 !important;
}

:root {
  --border-angle: 0deg;
  --card-radius: 20px;

  /* Rich black card background */
  --inner-bg: #111111;

  /* Metallic gold border layers */
  --ring-1: #8d6e27; /* dark gold base */
  --ring-2: #cba054; /* medium gold */
  --ring-3: #f6e27f; /* highlight gold */
}

@property --border-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@keyframes rotate-border {
  to {
    --border-angle: 360deg;
  }
}

.border-animation {
  border-radius: var(--card-radius);
  background:
    linear-gradient(
      45deg,
      var(--inner-bg),
      #1c1c1c 50%,
      var(--inner-bg)
    ) padding-box,
    conic-gradient(
      from var(--border-angle),
      var(--ring-1) 75%,
      var(--ring-2) 84%,
      var(--ring-3) 90%,
      var(--ring-2) 96%,
      var(--ring-1)
    ) border-box;
    
  animation: rotate-border 4s linear infinite;
  border: 5px solid transparent;
  overflow: hidden;
}

/* UL: two columns, red background remains visible */
.custom-list .elementor-icon-list-items.elementor-inline-items {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0px 12px !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none;
}

.custom-list .elementor-icon-list-item.elementor-inline-item {
  display: block !important;
  break-inside: avoid !important;
  -webkit-column-break-inside: avoid !important;
  box-decoration-break: clone !important;
  -webkit-box-decoration-break: clone !important;

  background: rgba(255,255,255,0.1) !important; 
  padding: 8px 12px !important;
  margin: 0 0 12px !important;
  border-radius: 6px !important;
  box-shadow: 0 1px 5px rgba(0,0,0,0.1) !important;
}

/* Keep icon + text inline inside each item */
.custom-list .elementor-icon-list-item .elementor-icon-list-icon,
.custom-list .elementor-icon-list-item .elementor-icon-list-text {
  display: inline-flex !important;
  vertical-align: middle !important;
  align-items: center !important;
}

/* Icon sizing & spacing */
.custom-list .elementor-icon-list-icon {
  width: 20px !important;
  margin-right: 8px !important;
  justify-content: center !important;
}

/* Mobile: enforce one column for each item */
@media (max-width: 600px) {
  .custom-list .elementor-icon-list-items.elementor-inline-items {
    grid-template-columns: 1fr !important;
  }
}

.custom-icon-box{
  min-height: 80px !important;
}

:where(input, textarea, select, button, a[href], [tabindex])
  :focus:not(:focus-visible) {
  outline: none !important;
  box-shadow: none !important;
}

.mob-menu-accordion * {
  margin: 0 !important;
}

/* ================================
   Scoped Styles for: .services_dropdown
   ================================ */
.services_dropdown .choices__inner {
  background: var( --e-global-color-329d4cc ) !important;
  border-width: 0px!important;
  border-radius: 50px !important;
  padding: 6px 10px !important;
  min-height: inherit !important;
  font-weight: 400 !important;
  max-height: 209px!important;
}

.services_dropdown .choices__input.choices__input--cloned{
  display: none !important;
}

/* Selected item text */
.services_dropdown .choices__list--single .choices__item {
  color: var( --e-global-color-5a8ef17 ) !important;
  font-weight: 400 !important;
}

/* Dropdown panel */
.services_dropdown .choices__list--dropdown {
  background: var( --e-global-color-329d4cc ) !important;
  border-radius: 25px !important;
  max-height: 100px !important;
  margin-top: 4px !important;
  border:0 !important;
  color: var( --e-global-color-5a8ef17 ) !important;
  font-weight: 400 !important;
}

/* Dropdown options */
.services_dropdown .choices__list--dropdown .choices__item {
  padding: 10px 12px !important;
  color: var( --e-global-color-5a8ef17 ) !important;
  font-weight: 400 !important;
}

/* Hover + highlighted option */
.services_dropdown .choices__list--dropdown .choices__item--selectable:hover,
.services_dropdown .choices__list--dropdown .choices__item.is-highlighted {
  background: rgba(255,255,255,0.1) !important;
  color: var( --e-global-color-5a8ef17 ) !important;
  font-weight: 400 !important;
}