/* =========================================================
   ALJ NAVBAR CTA BUTTON
   Official colors – works in light & dark
   ========================================================= */

.alj-nav-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;

    /* Size & shape */
    padding: 0.75rem 2.3rem;
    min-height: 48px;
    border-radius: 999px;
    
    box-sizing: border-box;

    /* Typography */
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    color: #ffffff;
   background-color: #48Bccc;

    
}

/* Hover / focus */
.alj-nav-cta:hover,
.alj-nav-cta:focus {
     background-color: #48Bccc;
    border-color: #48Bccc;
    color: #ffffff;
    transform: translateY(-2px);
    filter: brightness(1.05);
  
}

/* Active */
.alj-nav-cta:active {
    transform: translateY(0);
    /* box-shadow: 0 10px 26px rgba(76, 39, 112, 0.35); */
}

/* SVG icon animation */
.alj-nav-cta svg {
    flex-shrink: 0;
    transition: transform 0.18s ease-out;
}

.alj-nav-cta:hover svg {
    transform: translateX(3px) translateY(-3px);
}


[data-bs-theme="dark"] a.alj-nav-cta,
[data-bs-theme="dark"] .alj-nav-cta,
[data-bs-theme="dark"] .alj-nav-cta span,
[data-bs-theme="dark"] .alj-nav-cta * {
    color: #ffffff !important;
}

/* Force SVG stroke to white in dark mode */
[data-bs-theme="dark"] .alj-nav-cta svg path {
    stroke: #ffffff !important;
}
@media (max-width: 1399.9px){

  .alj-nav-cta{
    padding: 0.55rem 0.7rem;
    min-height: 40px;
    min-width: 40px;
    border-radius: 50%;
    gap: 0;
  }

  /* اخفاء النص */
  .alj-nav-cta .cta-text{
    display: none;
  }

  /* الايقونة في النص */
  .alj-nav-cta .cta-icon{
    margin: 0 !important;
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 1399.9px){

  .alj-nav-cta{
    padding: 0.45rem 0.9rem;
    min-height: 38px;
    border-radius: 999px;
    font-size: 0.75rem;
    gap: 0.4rem;
  }

  .alj-nav-cta .cta-icon{
    width: 18px;
    height: 18px;
  }

  .alj-nav-cta .cta-text{
    display: inline-block;
    font-weight: 600;
    line-height: 1;
    color: white;
  }
}
@media (max-width: 575.98px){
  .alj-nav-cta{
    padding: 0.4rem 0.7rem;
    font-size: 0.7rem;
  }
}



/* home page spical desgin */
/* شارة "لماذا تختارنا؟" */
/* =========================================
   WHY BADGE – "لماذا تختارنا؟" (ملوّن وفاخر)
   ========================================= */

.why-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 2.2rem;
    border-radius: 999px;
    background-color: #48BCCC;

    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.3px;

    color: #ffffff;
    line-height: 1;
}

/* النقطة داخل الشارة */
.why-badge-dot {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    border-radius: 999px;
    background: #ffffff;
    opacity: 0.95;
    box-shadow: 0 0 0 6px rgba(72,188,204,.12);
  animation: whyPulse 1.8s ease-in-out infinite;
}
@keyframes whyPulse{
  0%, 100%{ transform: scale(1); opacity: 1; }
  50%{ transform: scale(1.15); opacity: .85; }
}

/* نص الشارة */
.why-badge-text {
    color: #ffffff;
    white-space: nowrap;
}

/* حركة ظهور خفيفة (اختيارية لكن جميلة) */
.why-badge {
    animation: badgeFade 0.6s ease both;
}

@keyframes badgeFade {
    from {
        opacity: 0;
        transform: translateY(-6px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* =========================================
   تحسين للدارك مود (اختياري)
   ========================================= */

[data-bs-theme="dark"] .why-badge {
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.6);
}


/* العنوان الرئيسي للقسم */
.why-title {
    font-size: clamp(24px, 3.4vw, 34px);
    line-height: 1.4;
}

/* الاقتباس والكاتب */
.why-quote {
    color: #6B6F74;
    font-style: italic;
}

.why-quote-author {
    color: #8A9097;
    font-size: 0.9rem;
}



/* =========================================
   JOURNEY STEPS – تصميم الكروت بدل التابات
   ========================================= */
:root{
  --brand-purple: rgb(77 45 121);
  --brand-cyan: #48BCCC;
}

/* ================== SECTION ================== */
.alj-journey-section{
  position: relative;
}

/* ================== TIMELINE ================== */
.alj-journey{
  position: relative;
  max-width: 760px;
  margin-inline: auto;
  padding-top: 20px;
}

/* الخط العمودي */
.alj-journey-line{
  position: absolute;
  top: 0;
  bottom: 0;
  inset-inline-start: 22px;
  width: 2px;
  background: linear-gradient(
    to bottom,
    rgba(77,45,121,.2),
    rgba(72,188,204,.4)
  );
}

/* ================== STEP ================== */
.alj-journey-step{
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 32px;
}

/* الدائرة */
.alj-journey-dot{
   width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: var(--brand-purple);
  border: 2px solid var(--journey-purple);
  color: white;
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* الكارت */
.alj-journey-card{
  background: #f5f8f8;
  border: 1px solid rgba(77,45,121,.12);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 10px 24px rgba(16,24,40,.06);
  transition: all .25s ease;
  max-width: 100%;
}

.alj-journey-card h5{
  color: var(--brand-purple);
  font-weight: 800;
  margin-bottom: 8px;
}

.alj-journey-card p{
  color: rgba(17,24,39,.78);
  line-height: 1.7;
  font-size: 14.5px;
  margin: 0;
}

/* ================== HOVER ================== */
.alj-journey-step:hover .alj-journey-dot{
  background: var(--brand-cyan);
  border-color: var(--brand-cyan);
  color: #fff;
  transform: scale(1.05);
}

.alj-journey-step:hover .alj-journey-card{
  transform: translateY(-4px);
  box-shadow:
    0 18px 40px rgba(16,24,40,.12),
    0 0 0 6px rgba(72,188,204,.08);
}

/* =================================
   📱 MOBILE (≤ 576px)
   ================================= */
@media (max-width: 576px){

  .alj-journey-step{
    gap: 12px;
    margin-bottom: 22px;
  }

  .alj-journey-dot{
    width: 28px;
    height: 28px;
    min-width: 28px;
    font-size: 12px;
  }

  .alj-journey-card{
    padding: 14px 14px;
    border-radius: 14px;
  }

  .alj-journey-card h5{
    font-size: 14px;
    margin-bottom: 4px;
  }

  .alj-journey-card p{
    font-size: 12.5px;
    line-height: 1.5;
  }
}

/* =================================
   🖥️ LARGE SCREENS (≥ 1200px)
   ================================= */
@media (min-width: 1200px){

  .alj-journey-step{
    gap: 20px;
  }

  .alj-journey-dot{
    width: 48px;
    height: 48px;
    min-width: 48px;
    font-size: 18px;
  }

  .alj-journey-card{
    padding: 24px 26px;
  }

  .alj-journey-card h5{
    font-size: 20px;
  }

  .alj-journey-card p{
    font-size: 16px;
  }
}
/* ================== DARK MODE ================== */
[data-bs-theme="dark"] .alj-journey-card{
  background: rgb(41 53 79);
  border-color: rgba(51,65,85,.8);
}

[data-bs-theme="dark"] .alj-journey-card p{
  color: rgba(226,232,240,.78);
}

[data-bs-theme="dark"] .alj-journey-dot{
  background: #0f172a;
  color: #fff;
  border-color: var(--brand-cyan);
}

[data-bs-theme="dark"] .alj-journey-line{
  background: linear-gradient(
    to bottom,
    rgba(148,163,184,.25),
    rgba(72,188,204,.5)
  );
}

/* =========================================
   EXPERTISE CARDS – FULL STYLE
   ========================================= */
:root{
  --brand-purple: rgb(77 45 121);
  --brand-cyan: #48BCCC;

  --ink: #111827;
  --muted: rgba(17,24,39,.72);

  --card-bg: rgba(255,255,255,.92);
  --card-border: rgba(226,232,240,.9);
  --card-shadow: 0 18px 45px -28px rgba(15,23,42,.22);
}

/* مسافات القسم */
.alj-expertise-row{ margin-top: 2.5rem; }

/* =========================
   CARD BASE
   ========================= */
.expertise-card{
  position: relative;
  height: 100%;
  padding: 22px 22px 18px;
  border-radius: 18px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  cursor: pointer;
  overflow: hidden;

  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}

/* خط سفلي brand يظهر في hover/active */
.expertise-card::before{
  content:"";
  position:absolute;
  left: 18px;
  right: 18px;
  bottom: 12px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-cyan), rgba(72,188,204,0));
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s ease, transform .25s ease;
}

/* الرقم الخلفي — أنعم وأشيك */
.expertise-card::after{
  /* content: attr(data-step); */
  position: absolute;
   inset-inline-end: 16px;
  bottom: -6px;
  font-size: 54px;
  font-weight: 900;
  letter-spacing: .02em;
  color: var(--brand-purple);
  opacity: .06;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, color .25s ease;
}


/* شكل هندسي خفيف داخل الكرت (يكسر الرتابة) */
/* .expertise-card .expertise-card-header::before{
  content:"";
  position:absolute;
  top: -18px;
  inset-inline-end: -22px;
  width: 130px;
  height: 130px;
  background: rgba(77,45,121,.08);
  clip-path: polygon(25% 0%, 85% 0%, 100% 35%, 80% 100%, 15% 100%, 0% 40%);
  opacity: .9;
  pointer-events: none;
  transition: transform .25s ease, opacity .25s ease;
} */
 .expertise-card .expertise-card-header::before{
  content: "";
  position: absolute;
  
  inset-inline-end: -28px;

  width: 160px;
  height: 160px;

  /* اللون الأساسي قبل hover (أوضح شوية) */
  background-color:  rgba(77,45,121,.08);

  /* استخدام مسار الـ SVG الحقيقي */
  -webkit-mask-image: url("/frontend/assets/imgs/financial-services.svg");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;

  mask-image: url("/frontend/assets/imgs/financial-services.svg");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;

  /* قلب الشكل (معكوس) */
  transform: scaleX(-1) scaleY(-1);

  opacity: .85;
  pointer-events: none;

  transition:
    transform .35s ease,
    opacity .35s ease,
    background-color .35s ease;
}

/* =========================
   HEADER
   ========================= */
.expertise-card-header{
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

/* badge */
.expertise-badge{
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(77,45,121,.08);
  border: 1px solid rgba(77,45,121,.14);
  color: var(--brand-purple);
  font-size: 12px;
  font-weight: 800;
  transition: background .25s ease, border-color .25s ease, color .25s ease;
}

/* العنوان */
.expertise-title{
  font-size: 16px;
  line-height: 1.35;
  font-weight: 800;
  margin: 0;
  color: var(--ink);
}

.expertise-title span{
  font-weight: 900;
  color: var(--brand-purple);
}

@media (min-width: 412px){
  .expertise-title{
    font-size: 12px;
  }
}

/* =========================
   LIST
   ========================= */
.expertise-list{
  margin: 0;
  padding: 0;
  list-style: none;
}

/* bullet احترافي */
.expertise-list li{
  position: relative;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(17,24,39,.78);
}

[dir="rtl"] .expertise-list li {
 padding-right: 18px;
  margin-bottom: 8px;
}
[dir="ltr"] .expertise-list li {
 padding-left: 18px;
  margin-bottom: 8px;
}

/* Default (LTR – English) */
.expertise-list li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 2px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, var(--brand-cyan), var(--brand-purple));
  opacity: .9;
  transform: translateY(-50%);
}

/* RTL – Arabic */
[dir="rtl"] .expertise-list li::before {
  left: auto;
  right: 2px;
}
/* =========================
   HOVER / ACTIVE / FOCUS
   ========================= */
.expertise-card:hover{
  transform: translateY(-6px);
  border-color: rgba(72,188,204,.35);
  box-shadow:
    0 22px 55px -28px rgba(15,23,42,.22),
    0 0 0 6px rgba(72,188,204,.06);
}

.expertise-card:hover::before{
  opacity: 1;
  transform: translateY(0);
}

.expertise-card:hover::after{
  opacity: .12;
  transform: translateY(-2px);
}

.expertise-card:hover .expertise-badge{
  background: rgba(72,188,204,.12);
  border-color: rgba(72,188,204,.35);
  color: var(--brand-purple);
}

.expertise-card:hover .expertise-card-header::before{
  /* transform: scale(1.04); */
  transform: scaleX(-1) scaleY(-1);
  opacity: .75;
}

/* Active state — واضح لكن محترم */
.expertise-card.is-active{
  border-color: rgba(72,188,204,.55);
  box-shadow:
    0 26px 70px -30px rgba(72,188,204,.35),
    0 0 0 7px rgba(72,188,204,.10);
}

.expertise-card.is-active::before{
  opacity: 1;
  transform: translateY(0);
}

.expertise-card.is-active::after{
  opacity: .22;
  color: var(--brand-cyan);
}

/* Focus accessbility (لو الكارت clickable) */
.expertise-card:focus-visible{
  outline: none;
  box-shadow:
    0 0 0 3px rgba(255,255,255,.9),
    0 0 0 7px rgba(72,188,204,.35),
    0 22px 55px -28px rgba(15,23,42,.22);
}

/* =========================
   DARK MODE
   ========================= */
[data-bs-theme="dark"] .expertise-card{
  background: rgb(41 53 79);
  border-color: rgba(51, 65, 85, 0.85);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.78);
}

[data-bs-theme="dark"] .expertise-title{
  color: #E5E7EB;
}

[data-bs-theme="dark"] .expertise-title span{
  color: #C7B7FF; /* بنفسجي فاتح شيك */
}

[data-bs-theme="dark"] .expertise-list li{
  color: rgba(226,232,240,.78);
}

[data-bs-theme="dark"] .expertise-badge{
  background: rgba(72,188,204,.10);
  border-color: rgba(72,188,204,.20);
  color: #E5E7EB;
}

[data-bs-theme="dark"] .expertise-card::after{
  color: var(--brand-cyan);
  opacity: .10;
}

[data-bs-theme="dark"] .expertise-card .expertise-card-header::before{
  background: rgba(72,188,204,.08);
  opacity: .85;
}

[data-bs-theme="dark"] .expertise-card:hover{
  border-color: rgba(72,188,204,.40);
  box-shadow:
    0 26px 70px rgba(0,0,0,.70),
    0 0 0 6px rgba(72,188,204,.10);
}

[data-bs-theme="dark"] .expertise-card.is-active{
  box-shadow:
    0 28px 80px rgba(0,0,0,.78),
    0 0 0 7px rgba(72,188,204,.14);
}

/* Responsive تحسين بسيط للـ spacing */
@media (max-width: 992px){
  .expertise-card{ padding: 20px 18px 16px; }
  .expertise-card::after{ font-size: 44px; }
}



/* =========================================
   ALJ FOOTER – PREMIUM DESIGN
   ========================================= */

:root{
  --brand-purple: rgb(77 45 121);
  --brand-cyan: #48BCCC;

  --footer-bg: #f4f4f4;
  --footer-border: rgba(15,23,42,.10);
  --footer-divider: rgba(15,23,42,.10);

  --footer-title: rgb(77 45 121);
  --footer-link: rgba(17,24,39,.72);
  --footer-link-hover: #48BCCC;

  --footer-muted: rgba(17,24,39,.65);
  --footer-icon: rgba(17,24,39,.78);

  --footer-card: rgba(245,246,246,0.65);
}

/* =========================
   FOOTER BASE
   ========================= */
.alj-footer{
  background: var(--footer-bg);
  border-top: 1px solid var(--footer-border);
  direction: rtl;
}

html[dir="rtl"] .alj-footer-links{
  direction: rtl;
}
html[dir="ltr"] .alj-footer-links{
  direction: ltr;
}

.alj-footer-container{
  padding-top: 48px;
  padding-bottom: 32px;
  justify-content: center;
  justify-items: center;
}

@media (max-width: 412px){
  .alj-footer-container{
    padding-top: 33px;
    padding-bottom: 23px;
  }
}

/* خلي الأعمدة مرتبة */
.alj-footer-col{
  min-width: 180px;
}

/* =========================
   TITLES
   ========================= */
.footer-title{
  font-weight: 800;
  font-size: 14px;
  color: var(--footer-title);
  margin-bottom: 12px;
  letter-spacing: .2px;
}

/* =========================
   LIST LINKS (Premium hover)
   ========================= */
.footer-list{
  list-style: none;
  padding: 0;
  margin: 0;
}

html[dir="rtl"] .footer-title,
html[dir="rtl"] .footer-list { text-align: right; }

html[dir="ltr"] .footer-title,
html[dir="ltr"] .footer-list { text-align: left; }

.footer-list li{ margin-bottom: 8px; }

.footer-list a{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;

  text-decoration: none;
  color: var(--footer-link);
  font-size: 13px;
  line-height: 1.7;

  transition: color .2s ease, transform .2s ease;
}

/* underline brand animated */
.footer-list a::after{
  content:"";
  position:absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-cyan), rgba(72,188,204,0));
  transform: scaleX(0);
  transform-origin: right;
  opacity: .9;
  transition: transform .22s ease;
}

.footer-list a:hover{
  color: var(--footer-link-hover);
  transform: translateX(-2px);
}

html[dir="ltr"] .footer-list a:hover{
  transform: translateX(2px);
}

.footer-list a:hover::after{
  transform: scaleX(1);
}

/* Focus accessibility */
.footer-list a:focus-visible{
  outline: none;
  box-shadow: 0 0 0 3px rgba(72,188,204,.35);
  border-radius: 10px;
  padding-inline: 6px;
}

/* =========================
   DIVIDERS
   ========================= */
.alj-footer-divider{
  height: 1px;
  background: var(--footer-divider);
  margin: 28px 0;
  opacity: .85;
}

/* =========================
   LOGOS
   ========================= */
.footer-logo{
  width: 330px;
  height: 100px;
  object-fit: contain;
}

/* الوضع العادي */
.footer-logo-dark{ display:none; }
.footer-logo-light{ display:block; }

/* =========================
   CONTACT + SOCIAL (icons hover)
   ========================= */
.alj-footer-brand{
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* النصوص (هاتف + إيميل) */
.footer-phone{
  /* font-weight: 700;
  color: rgba(17,24,39,.92); */
}

/* أيقونات البوتستراب اللي جوة brand */
.alj-footer-brand i{
  color: var(--footer-icon);
  font-size: 18px;
  transition: transform .18s ease, color .18s ease, opacity .18s ease;
  opacity: .9;
}

/* روابط السوشال داخل brand */
.alj-footer-brand a{
  width: 40px;
  height: 40px;
  border-radius: 999px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;
  background: rgba(77,45,121,.06);
  border: 1px solid rgba(77,45,121,.10);

  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

.alj-footer-brand a i{
  color: rgb(77 45 121);
  opacity: 1;
}

/* Hover social */
.alj-footer-brand a:hover{
  transform: translateY(-2px);
  background: rgba(72,188,204,.14);
  border-color: rgba(72,188,204,.35);
  box-shadow: 0 14px 30px rgba(16,24,40,.12), 0 0 0 6px rgba(72,188,204,.08);
}

.alj-footer-brand a:hover i{
  color: rgb(77 45 121);
}

/* Focus social */
.alj-footer-brand a:focus-visible{
  outline: none;
  box-shadow: 0 0 0 3px rgba(72,188,204,.40);
}



/* =========================
   FOOTER SOCIAL AREA (right/center)
   ========================= */
.footer-social{
  display:flex;
  align-items:center;
  gap: 10px;
  flex-wrap: wrap;
  margin-inline-start: 6px;
}

.footer-social a{
  width: 42px;
  height: 42px;
  border-radius: 999px;

  display:inline-flex;
  align-items:center;
  justify-content:center;

  text-decoration:none;

  background: rgba(77,45,121,.06);
  border: 1px solid rgba(77,45,121,.14);

  box-shadow: 0 10px 22px rgba(16,24,40,.08);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

.footer-social a i{
  font-size: 18px;
  line-height: 1;
  color: rgb(77 45 121);
  transition: transform .2s ease, color .2s ease;
}

/* Hover */
.footer-social a:hover{
  transform: translateY(-2px);
  background: rgba(72,188,204,.16);
  border-color: rgba(72,188,204,.45);
  box-shadow: 0 16px 32px rgba(16,24,40,.14), 0 0 0 6px rgba(72,188,204,.10);
}

.footer-social a:hover i{
  transform: scale(1.05);
  color: rgb(77 45 121);
}

/* Focus */
.footer-social a:focus-visible{
  outline: none;
  box-shadow: 0 0 0 3px rgba(72,188,204,.45), 0 16px 32px rgba(16,24,40,.14);
}

/* Active */
.footer-social a:active{
  transform: translateY(0);
  box-shadow: 0 10px 22px rgba(16,24,40,.10);
}

/* =========================
   BOTTOM TEXT
   ========================= */
.alj-footer-bottom{
  font-size: 12px;
  color: rgba(17,24,39,.60);
}

.footer-copy{
  margin-top: 8px;
  color: rgba(17,24,39,.60);
}

/* افتراضي: light mode */
.dark-img {
    display: none;
}

/* dark mode باستخدام data-bs-theme */
[data-bs-theme="dark"] .light-img {
    display: none;
}

[data-bs-theme="dark"] .dark-img {
    display: inline-block;
}


/* =========================
   DARK MODE
   ========================= */
[data-bs-theme="dark"]{
  --footer-bg: #0d182a;
  --footer-border: rgba(255,255,255,.10);
  --footer-divider: rgba(255,255,255,.10);

  --footer-title: rgba(255,255,255,.92);
  --footer-link: rgba(226,232,240,.72);
  --footer-link-hover: #ffffff;

  --footer-muted: rgba(226,232,240,.65);
  --footer-icon: rgba(226,232,240,.82);

  --footer-card: rgba(255,255,255,.06);
}

/* switch logos */
[data-bs-theme="dark"] .footer-logo-light{ display:none; }
[data-bs-theme="dark"] .footer-logo-dark{ display:block; }

/* dark: contact text */
[data-bs-theme="dark"] .footer-phone{
  color: rgba(255,255,255,.92);
}

/* dark: list underline shows nicely */
[data-bs-theme="dark"] .footer-list a::after{
  opacity: 1;
}

/* dark: social icon pills */
[data-bs-theme="dark"] .alj-footer-brand a{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
}

[data-bs-theme="dark"] .alj-footer-brand a i{
  color: rgba(255,255,255,.90);
}

[data-bs-theme="dark"] .alj-footer-brand a:hover{
  background: rgba(72,188,204,.16);
  border-color: rgba(72,188,204,.45);
  box-shadow: 0 22px 60px rgba(0,0,0,.70), 0 0 0 6px rgba(72,188,204,.10);
}

/* =========================
   MOBILE
   ========================= */
@media (max-width: 991px){
  .alj-footer-middle{
    justify-content: center !important;
    text-align: center;
  }
  .alj-footer-brand{
    justify-content: center;
  }

  /* links hover move becomes neutral on mobile */
  .footer-list a:hover{
    transform: none;
  }
}


/* =========================================
   ACCESSIBILITY FLOATING WIDGET
   Style like the provided mockup
   ========================================= */

.accessibility-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;           /* لو تبغاه يسار غيّرها إلى left */
    z-index: 1050;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: inherit;
}

/* الزر الرئيسي – الدائرة الكبيرة */
.accessibility-main-btn {
    width: 74px;
    height: 74px;
    border-radius: 999px;
    border: none;
    outline: none;
    background-color: #4C2770;   /* Indigo */
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.1rem;
    cursor: pointer;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.accessibility-main-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
    background-color: #7E5BA2; /* درجة أفتح عند الهوفر */
}

/* لما تكون الأداة مفتوحة، ندي إحساس أنها فعّالة */
.accessibility-widget.is-open .accessibility-main-btn {
    box-shadow: 0 22px 55px rgba(76, 39, 112, 0.6);
    transform: translateY(-1px) scale(1.02);
}

/* الأزرار الصغيرة الجانبية */
.accessibility-mini-buttons {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;

    /* مخفية بشكل افتراضي */
    opacity: 0;
    transform: translateX(8px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

/* تظهر عند فتح الأداة */
.accessibility-widget.is-open .accessibility-mini-buttons {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

/* زر صغير واحد */
.acc-mini-btn {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    border: none;
    outline: none;
    background-color: #4C2770;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease,
        color 0.2s ease;
}

.acc-mini-btn i {
    font-size: 1.1rem;
}

/* النص داخل أزرار A+/A- */
.acc-mini-btn.font-size-control {
    font-weight: 700;
    font-size: 0.9rem;
}

/* هوفر لكل الأزرار الصغيرة */
.acc-mini-btn:hover {
    background-color: #7E5BA2;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
    transform: translateY(-2px);
}

/* زر الإغلاق نميّزه قليلاً */
.acc-close-btn {
    background-color: #4C2770;
}

/* زر الثيم – نعرض أيقونة واحدة فقط حسب JS تبعك */
.acc-theme-btn .theme-icon {
    display: none;
}
.acc-theme-btn .theme-icon.active {
    display: inline-block;
}

/* موبايل: نصغّر الأداة قليلاً */
@media (max-width: 575.98px) {
    .accessibility-widget {
        bottom: 1.25rem;
        right: 1.25rem;
        gap: 0.5rem;
    }

    .accessibility-main-btn {
        width: 62px;
        height: 62px;
        font-size: 1.7rem;
    }

    .acc-mini-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}











/* card style */
:root{
  --brand-purple: rgb(77 45 121);
  --brand-cyan: #48BCCC;
}

/* ============ GRID ============ */
.why-cards > [class*="col-"]{ margin-bottom: 22px; }

/* ============ TRUST STRIP ============ */
.why-trust{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 920px;
  margin-inline: auto;
}

.why-trust__item{
  display:flex;
  align-items:center;
  gap: 12px;

  background: rgba(245,248,248, .92);
  border: 1px solid rgba(77,45,121,.10);
  border-radius: 14px;
  padding: 14px 14px;

  box-shadow: 0 8px 18px rgba(16,24,40,.05);
  cursor: pointer;

  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

/* ICON BOX */
.why-trust__icon{
  width: 44px;
  height: 44px;
  border-radius: 12px;

  background:#fff;
  border: 1px solid rgba(77,45,121,.14);

  display:flex;
  align-items:center;
  justify-content:center;

  flex: 0 0 auto;
  transition: background .22s ease, border-color .22s ease, transform .22s ease;
}

/* SVG color controlled by currentColor */
.why-trust__svg{
  width: 22px;
  height: 22px;
  color: var(--brand-purple);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: color .22s ease;
}

/* Content */
.why-trust__num{
  font-weight: 900;
  color: var(--brand-purple);
  font-size: 18px;
  line-height: 1.1;
}

.why-trust__txt{
  margin-top: 4px;
  font-size: 13px;
  color: rgba(17,24,39,.70);
}

/* Hover + Focus */
.why-trust__item:hover,
.why-trust__item:focus-visible{
  transform: translateY(-3px);
  border-color: rgba(72,188,204,.35);
  box-shadow:
    0 14px 28px rgba(16,24,40,.10),
    0 0 0 6px rgba(72,188,204,.07);
  outline: none;
}

/* icon reaction */
.why-trust__item:hover .why-trust__icon,
.why-trust__item:focus-visible .why-trust__icon{
  background: var(--brand-purple);
  border-color: var(--brand-purple);
  transform: translateY(-1px);
}

.why-trust__item:hover .why-trust__svg,
.why-trust__item:focus-visible .why-trust__svg{
  color: #fff;
}

/* subtle cyan accent on numbers */
.why-trust__item:hover .why-trust__num,
.why-trust__item:focus-visible .why-trust__num{
  color: var(--brand-cyan);
}

/* Responsive */
@media (max-width: 992px){
  .why-trust{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* DARK MODE */
[data-bs-theme="dark"] .why-trust__item{
  background: rgb(41 53 79);
  border-color: rgba(51, 65, 85, 0.85);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
}

[data-bs-theme="dark"] .why-trust__icon{
  background: rgba(255,255,255,.08);       
  border: 2px solid rgba(255,255,255,.18); 
  border-radius: 12px;  
}
[data-bs-theme="dark"] .why-trust__svg{
  color: #E5E7EB;
  stroke: currentColor;
}

[data-bs-theme="dark"] .why-trust__num{
  color: #E5E7EB;
}

[data-bs-theme="dark"] .why-trust__txt{
  color: rgba(226,232,240,.78);
}

/* hover in dark */
[data-bs-theme="dark"] .why-trust__item:hover,
[data-bs-theme="dark"] .why-trust__item:focus-visible{
  border-color: rgba(72,188,204,.45);
  box-shadow:
    0 22px 60px rgba(0,0,0,.70),
    0 0 0 6px rgba(72,188,204,.10);
}

/* ============ CARD BASE ============ */
.why-card{
  display: flex;
  flex-direction: column;
  position: relative;
  border-radius: 18px;
  padding: 26px 24px 22px;
  background: #f5f8f8;
  border: 1px solid rgba(77,45,121,.10);
  box-shadow: 0 10px 30px rgba(16,24,40,.06);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.why-cards .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch; /* يجعل كل الكروت بنفس ارتفاع أكبر كارت في الصف */
}
.why-cards .col-lg-3, 
.why-cards .col-md-4, 
.why-cards .col-sm-6 {
  display: flex;
}

.why-cards .why-card {
  flex: 1 1 auto; /* يملأ كامل ارتفاع العمود */
  display: flex;
  flex-direction: column;
}

/* خط تركواز أسفل يظهر في hover */
.why-card::before{
  content:"";
  position:absolute;
  left: 18px;
  right: 18px;
  bottom: 14px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-cyan), rgba(72,188,204,0));
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s ease, transform .25s ease;
}

/* ============ SHAPE ============ */
.why-card__shape{
  position: absolute;
  inset-inline-end: -22px;
  margin-inline-start: 6%;
  top: -28px;
  width: 140px;
  height: 140px;
  background-color:  rgba(77,45,121,.08);
  -webkit-mask-image: url("/frontend/assets/imgs/financial-services.svg");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-image: url("/frontend/assets/imgs/financial-services.svg");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  transform: scaleX(-1) scaleY(-1);
  opacity: .85;
  pointer-events: none;
  transition: transform .35s ease, opacity .35s ease, background-color .35s ease;
}

/* Shape colors */
.why-card--shape-1 .why-card__shape{background: rgba(77,45,121,.14);}
.why-card--shape-2 .why-card__shape{background: rgba(72,188,204,.14);}
.why-card--shape-3 .why-card__shape{background: rgba(77,45,121,.12);}
.why-card--shape-4 .why-card__shape{background: rgba(72,188,204,.12);}
.why-card--shape-5 .why-card__shape{background: rgba(77,45,121,.10);}

/* ============ ICON ============ */
.why-card__head{ margin-bottom: 14px; }

.why-icon{
  width: 56px;
  height: 56px;
  background: #ffffff;
  border: 2px solid rgba(77,45,121,.15);
  border-radius: 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}

.why-icon__svg{
  width: 26px;
  height: 26px;
  fill: none;
  stroke: rgb(77 45 121);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke .25s ease, fill .25s ease;
}

/* ============ TEXT ============ */
.why-card__title{
  color: var(--brand-purple);
  font-weight: 800;
  font-size: 18px;
  margin: 8px 0 10px;
}

.why-card__desc{
  color: rgba(17,24,39,.78);
  line-height: 1.8;
  margin: 0 0 16px;
  font-size: 14.5px;
  display: block;
  overflow: visible;
}

/* ============ Make cards same height in a row ============ */
.why-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.why-cards > .col-lg-4 {
  display: flex;
  flex: 1 1 0;
}
.why-cards .why-card{
  flex: 1 1 auto;
}

/* ============ LINK ============ */
.why-card__link{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  text-decoration:none;
  color: var(--brand-cyan);
  font-weight: 700;
  font-size: 13px;
}

.why-card__arrow{ transition: transform .25s ease; }

/* ============ HOVER (Cards) ============ */
.why-card:hover{
  transform: translateY(-6px);
  border-color: rgba(72,188,204,.35);
  box-shadow: 0 18px 50px rgba(16,24,40,.12), 0 0 0 6px rgba(72,188,204,.06);
}

.why-card:hover::before{
  opacity: 1;
  transform: translateY(0);
}

.why-card:hover .why-icon{
  background: #4d2d79;
  border-color: #4d2d79;
  transform: translateY(-2px);
}
.why-card:hover .why-icon__svg{
  stroke: #fff;
}

.why-card:hover .why-card__shape{
  opacity: .45;
  transform: scaleX(-1) scaleY(-1);
}

.why-card:hover .why-card__arrow{
  transform: translateX(4px);
}

[dir="rtl"] .why-card:hover .why-card__arrow{
  transform: translateX(-4px);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 991.98px){
    .why-card__title{ font-size: 16px; }
    .why-card__desc{ font-size: 14px; }
}

@media (max-width: 767.98px){
    .why-card__title{ font-size: 15px; }
    .why-card__desc{ font-size: 13px; }
}


/* ============ CTA ============ */
.why-cta{
  margin-top: 26px;
  padding: 22px 22px;
  border-radius: 18px;
  border: 1px solid rgba(77,45,121,.10);
  background: linear-gradient(90deg, rgba(77,45,121,.06), rgba(72,188,204,.08));
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 16px;
}

.why-cta__title{
  margin: 0 0 6px;
  color: var(--brand-purple);
  font-weight: 900;
  font-size: 18px;
}

.why-cta__desc{
  margin: 0;
  color: rgba(17,24,39,.72);
  font-size: 14px;
}

.why-cta__actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}

.why-btn{
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 800;
  font-size: 13px;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}

.why-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(16,24,40,.12), 0 0 0 6px rgba(72,188,204,.06);
}

.why-btn:focus{
  outline: 2px solid rgba(72,188,204,.75);
  outline-offset: 3px;
}

.why-btn--primary{
  background: var(--brand-cyan);
  color: #fff;
}
.why-btn--primary:hover{
  background: #2fb5c6;
  color: #fff;
}

.why-btn--ghost{
  background: transparent;
  border-color: rgba(77,45,121,.25);
  color: var(--brand-purple);
}
.why-btn--ghost:hover{
  background: rgba(77,45,121,.07);
  border-color: rgba(72,188,204,.45);
  color: var(--brand-purple);
}

@media (max-width: 992px){
  .why-cta{
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================================================
   DARK MODE (Bootstrap): [data-bs-theme="dark"]
   ========================================================= */


[data-bs-theme="dark"] .why-card{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
  box-shadow: 0 18px 44px rgba(0,0,0,.35);
}
[data-bs-theme="dark"] .why-card__title{ color: rgba(255,255,255,.92); }
[data-bs-theme="dark"] .why-card__desc{ color: rgba(255,255,255,.72); }

[data-bs-theme="dark"] .why-icon{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
}
[data-bs-theme="dark"] .why-icon__svg{
  stroke: #E5E7EB; /* فاتح */
}

[data-bs-theme="dark"] .why-card:hover .why-icon{
  background: rgb(77 45 121);
  border-color: rgb(77 45 121);
}

[data-bs-theme="dark"] .why-card:hover .why-icon__svg{
  stroke: #fff;
}

[data-bs-theme="dark"] .why-cta{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
}
[data-bs-theme="dark"] .why-cta__title{ color: rgba(255,255,255,.92); }
[data-bs-theme="dark"] .why-cta__desc{ color: rgba(255,255,255,.70); }

[data-bs-theme="dark"] .why-btn--ghost{
  border-color: rgba(255,255,255,.22);
  color: rgba(255,255,255,.88);
}
[data-bs-theme="dark"] .why-btn--ghost:hover{
  background: rgba(255,255,255,.08);
  border-color: rgba(72,188,204,.55);
}





/* =========================================================
   ALJ ICON SYSTEM – Unified Size
   ========================================================= */
.alj-icon-box{
  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 14px;
  background: rgba(77,45,121,.08);
  border: 1px solid rgba(77,45,121,.18);

  transition:
    background .25s ease,
    border-color .25s ease,
    transform .25s ease,
    box-shadow .25s ease;
}

/* ===== SIZE ===== */
.alj-icon-box--md{
  width: 56px;
  height: 56px;
}

/* SVG */
.alj-icon-svg{
  width: 26px;
  height: 26px;
  stroke: rgb(77 45 121);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke .25s ease;
}

/* ================= HOVER ================= */
.alj-icon-box:hover{
  background: #4d2d79;
  border-color: #4d2d79;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(77,45,121,.30);
}

.alj-icon-box:hover .alj-icon-svg{
  stroke: #ffffff;
}

/* ================= DARK MODE ================= */
[data-bs-theme="dark"] .alj-icon-box{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
}

[data-bs-theme="dark"] .alj-icon-svg{
  stroke: #E5E7EB;
}

[data-bs-theme="dark"] .alj-icon-box:hover{
  background: #4d2d79;
  border-color: #4d2d79;
}

[data-bs-theme="dark"] .alj-icon-box:hover .alj-icon-svg{
  stroke: #ffffff;
}

[data-bs-theme="dark"] .alj-ceo-letter-body{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
}

[data-bs-theme="dark"] .alj-ceo-paragraph{ 
    color: rgba(255,255,255,.88);
}

/* ========= RESPONSIVE ADJUSTMENTS ========= */
@media (max-width: 991.98px){ /* Tablet */
    .alj-icon-box--md {
        width: 48px;
        height: 48px;
    }
    .alj-icon-svg {
        width: 22px;
        height: 22px;
    }
    .ps-5 { padding-left: 2rem !important; }
    h5 { font-size: 1.25rem; }
    p { font-size: 0.95rem; }
}

@media (max-width: 767.98px){ /* Mobile */
    .col-lg-5, .col-lg-6 { flex: 0 0 100%; max-width: 100%; }
    .offset-lg-1 { margin-left: 0 !important; }
    .ps-5 { padding-left: 1rem !important; }
    .mt-8, .mt-4 { margin-top: 2rem !important; }
    h5 { font-size: 1.1rem; }
    p { font-size: 0.9rem; }
    /* .pq-card { margin-top: 2rem; } */
    .pq-frame-svg { width: 100%; height: auto; }
}



.footer-contact{
  direction: rtl;              /* لو الفوتر عربي */
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-contact__item{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;

  color: #5f5f66;             /* لون نص الفوتر */
  text-decoration: none;
  font-size: 15px;
  line-height: 1;
  padding: 6px 2px;           /* مساحة صغيرة للهوفر */
  transition: color .2s ease;
}

.footer-contact__item i{
  font-size: 18px;
  color: #7a7a85;
  transition: color .2s ease, transform .2s ease;
}

/* خط سفلي متحرك (الهوفر الأساسي) */
.footer-contact__item::after{
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: #48Bccc; /* بنفس الهوية */
  transition: width .22s ease;
}

/* Hover / Focus */
.footer-contact__item:hover,
.footer-contact__item:focus-visible{
  color: #48Bccc;
}

.footer-contact__item:hover i,
.footer-contact__item:focus-visible i{
  color: #48Bccc;            
  transform: translateY(-1px);
}

.footer-contact__item:hover::after,
.footer-contact__item:focus-visible::after{
  width: 100%;
}

/* موبايل: خليهم تحت بعض لو تحب */
@media (max-width: 480px){
  .footer-contact{
    gap: 10px;
    flex-direction: column;
    align-items: flex-start;
  }
}

.cc-message-container ,p {
  color: black;
}



