html {
  scroll-behavior: smooth;
}

body {
  font-family: Georgia, "Times New Roman", Times, serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
@media (max-width: 480px) {
  .topbar .d-flex.align-items-center.justify-content-end > a {
    display: inline-flex !important;
  }
  /* الكونتينر كله في سطر واحد */
  .topbar .d-flex.align-items-center.justify-content-end {
    display: flex !important;
    flex-direction: row !important;
    /* 🔥 أهم سطر */
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px;
  }
  /* 🔥 إصلاح الجزء الشمال */
  .topbar .d-flex.flex-wrap {
    display: flex !important;
    flex-direction: row !important; /* يرجعهم صف واحد */
    justify-content: center !important;
    flex-wrap: nowrap !important; /* يمنع النزول */
    gap: 10px;
    /* margin-left: -3px; */
  }

  .topbar .d-flex.flex-wrap a {
    display: inline-flex !important;
    align-items: center;
    font-size: 11px;
    white-space: nowrap; /* يمنع كسر النص */
    gap: -9px;
  }

  .topbar .d-flex.flex-wrap i {
    font-size: 12px;
    margin-right: 4px;
  }

  .topbar .col-lg-8,
  .topbar .col-lg-4 {
    text-align: center;
  }
  .topbar .d-flex {
    justify-content: center;
  }
  .topbar a:first-child {
    display: block;
  }
  .topbar a {
    font-size: 11px;
  }

  .topbar .btn-square {
    width: 28px !important;
    height: 28px !important;

    font-size: 11px;
    margin: 0 2px !important;
    flex-shrink: 0;
  }
  .topbar .btn-square i {
    width: 24px;
    height: 24px;
    font-size: 12px;
    margin: 0 2px !important;
    flex-shrink: 0;
  }
  .topbar-actions {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    /* يخليهم في سطر واحد */
    justify-content: center;
    align-items: center;
    gap: 3px !important; /* يقلل المسافة بين كل العناصر */
    overflow-x: auto;
    /* لو الشاشة ضيقة يسمح بالسكرول */
    margin-top: 8px;
  }

  .user-auth-section {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center;
    justify-content: center;
    gap: 4px !important;
    overflow-x: auto;
    /* مهم لو المساحة ضاقت */
  }

  /* السوشيال + الأزرار */
  .user-auth-section a,
  .user-auth-section button {
    flex: 0 0 auto;
    margin: 0 !important;
  }

  /* أزرار السوشيال */
  .user-auth-section .btn-square {
    width: 28px;
    height: 28px;
    font-size: 11px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .btn-auth {
    font-size: 10px; /* أصغر شوية */

    padding: 5px 10px;
    margin-top: 0;

    flex-direction: column;
    white-space: nowrap;
    margin-top: 5px;
    margin-left: -5px;
    margin-right: 5px;
    text-align: justify;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px; /* مسافة صغيرة بين الأيقونة والكلام */
  }
}

@media (max-width: 375px) {
  /* 🔥 إصلاح الجزء الشمال */
  /* .topbar .d-flex.flex-wrap {
    display: flex !important;
    flex-direction: row !important; */
  /* يرجعهم صف واحد */
  /* justify-content: center !important;
    flex-wrap: nowrap !important;  */
  /* يمنع النزول */
  /* gap: 2px;
    margin-left: -3px;
  } */

  .topbar i {
    margin-right: 3px !important;
    margin-left: 0 !important;
  }

  .topbar a,
  .topbar span {
    display: flex;
    align-items: center;
    gap: 2px;
  }
  .topbar .d-flex.flex-wrap {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 4px;
    width: 100%;
    margin-left: -3px;
  }

  .topbar .d-flex.flex-wrap a {
    display: inline-flex !important;
    align-items: center;
    font-size: 9px;
    white-space: nowrap; /* يمنع كسر النص */
  }

  .topbar .d-flex.flex-wrap i {
    font-size: 9px;
  }

  /* السوشيال */
  .topbar .d-flex.align-items-center.justify-content-end > a {
    display: inline-flex !important;
  }
  /* السوشيال */
  .topbar .btn-square {
    width: 26px !important;
    height: 26px !important;
    font-size: 9px;
    margin: 0 2px !important;
    flex-shrink: 0;
  }
  .topbar .btn-square i {
    width: 20px;
    height: 20px;
    font-size: 13px;
    margin: 0 2px !important;
    flex-shrink: 0;
  }

  /* الأزرار */
  .topbar-actions {
    display: flex !important;
    flex-direction: row !important;
    gap: 2px;
    flex-shrink: 0;
    justify-content: center; /* أو left حسب التصميم */
  }
  .topbar-actions .btn-auth {
    font-size: 10px;
    padding: 4px 6px;
    white-space: nowrap;
    margin-top: 2px;
  }

  /* 🔥 نخفي النص ونسيب الأيقونة بس */
  .btn-text {
    display: none;
  }
}
@media (max-width: 375px) {
  .topbar .d-flex.flex-wrap a span {
    display: none;
  }
}
/* ====== Mobile Responsive ====== */
@media (max-width: 414px) {
  .topbar {
    padding: 8px 0;
  }

  .topbar .row {
    height: auto !important;
    text-align: center;
  }

  /* LEFT SIDE (contact info) */
  .topbar .col-lg-8 {
    margin-bottom: 10px;
  }

  .topbar .d-flex.flex-wrap {
    justify-content: center;
    gap: 2px;
  }
  .topbar .d-flex {
    flex-direction: column;
    /* العناصر تحت بعض */
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
  }
  .topbar .d-flex.flex-wrap a {
    font-size: 11px;
    margin: 6px 4px !important;
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }

  .topbar .d-flex.flex-wrap i {
    font-size: 11px;
    margin: 0 !important;
  }
  /* .topbar .d-flex.flex-wrap i {
    font-size: 11px;
    margin-right: 4px;
  }
  .topbar .d-flex.flex-wrap a {
    font-size: 11px;
    margin: 3px 4px !important;
  } */
  /* .topbar a {
    font-size: 11px;
    margin: 3px 4px !important;
  }

  .topbar i {
    font-size: 11px;
    margin-right: 4px;
  } */

  /* RIGHT SIDE */
  .topbar .col-lg-4 {
    text-align: center !important;
  }

  .topbar .d-flex.align-items-center {
    flex-direction: column;
    gap: 8px;
  }

  /* Social Icons */
  .topbar .btn-square {
    width: 32px;
    height: 32px;
    font-size: 12px;
    margin: 0 3px !important;
  }

  /* Buttons */
  .topbar .btn-auth {
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 20px;
  }

  .topbar-actions {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
  }

  /* Dropdown */
  #main-user-dropdown .dropdown-menu {
    width: 80%;
    left: 50% !important;
    transform: translateX(-50%);
  }
}
/* @media (max-width: 375px) { */
/* الكونتينر الرئيسي */
/* .topbar .d-flex.align-items-center.justify-content-end {
    flex-wrap: nowrap !important; */
/* يمنع النزول لسطر جديد */
/* justify-content: center !important;
    gap: 4px;
    overflow-x: auto; */
/* مهم لو المساحة ضاقت */
/* } */

/* السوشيال */
/* .topbar .btn-square {
    width: 26px;
    height: 26px;
    font-size: 10px;
    padding: 0;
    margin: 0 2px !important;
    flex-shrink: 0;  */
/* يمنع التصغير المبالغ فيه */
/* } */

/* الأزرار */
/* .topbar-actions {
    display: flex !important;
    gap: 4px;
    flex-shrink: 0;
  }

  .topbar .btn-auth {
    font-size: 10px;
    padding: 4px 6px;
    white-space: nowrap;  */
/* يمنع نزول النص */
/* }
  .btn-auth span {
    display: none;
  }
} */
/**********************
Navbar
*********************/
/* @media (min-width: 391px) and (max-width: 414px) {
  .navbar-collapse {
    padding: 10px 12px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease;
  }

  .navbar-collapse.show {
    max-height: 500px;
    opacity: 1;
  }


  .navbar-toggler-icon {
    width: 22px;
    height: 22px;
  }
  .navbar-toggler {
    padding: 6px 10px;
  }

  .navbar-toggler .fa-bars {
    font-size: 20px;
  }

  .btn-primary.rounded-pill {
    width: 70%;
    font-size: 12px;
    padding: 10px 15px;
    margin: 3px 0 0 0 !important;
    text-align: center;  */
/* توسيط النص */
/* display: flex;
  }
} */

@media (min-width: 391px) and (max-width: 414px) {
  .navbar-collapse {
    padding: 10px 12px;
  }

  .navbar-toggler-icon {
    width: 22px;
    height: 22px;
  }

  .navbar-toggler {
    padding: 6px 10px;
  }

  .navbar-toggler .fa-bars {
    font-size: 20px;
  }

  .btn-primary.rounded-pill {
    width: 70%;
    font-size: 12px;
    padding: 10px 15px;
    margin: 3px auto 0 !important;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
}
/* @media (max-width: 480px) {
  .btn.btn-primary {
    padding: 5px 7px;
    font-size: 13px;
    width: 10%;
    height: 38px;
  }
} */
/* Mobile only */
@media (max-width: 480px) {
  .more-services-btn {
    font-size: 9px;
    padding: 10px 24px !important;
    width: auto;
    min-width: 42%;
    /* max-width: 40%; */
  }
}
@media (max-width: 375px) {
  .more-services-btn {
    font-size: 13px;
    padding: 9px 20px !important;
  }
}
/**********************
Navbar
*********************/
/**********************
feature area 
*********************/

.single-feature .desc-wrap p {
  font-size: 13px;
  margin-top: -5px;
  color: #151515;
  line-height: 1.6;
  text-align: justify;
}
/****************
card under about
*****************/
.btn.btn-primary {
  background-color: #0492c2 !important;
  color: var(--bs-white) !important;
  font-family: "Roboto", sans-serif;
  border: none;
  font-weight: 400;
  transition: 0.5s;
  margin-top: 3px;
}

/* تأثير عند مرور الماوس (Hover) */
.btn.btn-primary:hover {
  /* background-image: linear-gradient(to bottom, #f7631b, #0492c2); */
  background-image: linear-gradient(to bottom, #f7631b, #f7631b);
  transform: translateY(-3px); /* رفعة بسيطة تعطي شعوراً بالتفاعل */
  box-shadow: 0 5px 15px rgba(4, 146, 194, 0.3); /* ظل ناعم بنفس لون الزر */
  color: var(--bs-light) !important;
}
@media (max-width: 480px) {
  /* .btn.btn-primary {
    padding: 5px 8px;
    font-size: 0.5rem;
    width: 50%;
    height: 38px;
  } */
}
.service-card h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
@media (min-width: 391px) and (max-width: 414px) {
  .service .btn-primary.rounded-pill {
    width: 70%;
    font-size: 12px;
    padding: 10px 15px;
    margin: 3px auto 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
}
@media (max-width: 375px) {
  .service-card h4 {
    font-size: 0.79rem;
    margin-bottom: 1rem;
  }
  /* .btn-primary.rounded-pill {
    width: 60%;
    font-size: 13px;
    padding: 10px 15px;
    margin: 3px 0 0 0 !important;
  } */
  .service .btn-primary.rounded-pill {
    display: block;
    width: 50%;
    max-width: 280px;
    margin: 13px auto 0 !important; /* يجعل الزر في المنتصف */
    padding: 8px 15px;
    font-size: 13px;
    text-align: center; /* توسيط النص */
    display: flex;
    justify-content: center; /* توسيط أفقي */
    align-items: center; /* توسيط رأسي */
    gap: 6px; /* إذا كان يوجد أيقونة */
  }
}
/**************
courses
***************/
.edu-courses .edu-head h2 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  /* color: #0a1733; */
  color: #0492c2;
  margin: 0 0 10px;
}

/* .courses .course-info {
  display: flex;
  justify-content: space-between;  */
/* هذا السطر يدفع العناصر للأطراف */
/* align-items: center; */
/* لضمان توسط العناصر رأسياً في السطر */
/* width: 100%;
  margin-top: 10px;
  gap: 14px;
  flex-wrap: wrap; */
/* مهم للموبايل */
/* font-size: 14px;
  overflow-x: auto;
} */
/* .courses .course-info span {
  color: black;
  font-weight: 500;
  font-size: 12px;
  margin-bottom: 7px;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}

.courses .course-info span i {
  margin-right: 5px;
  color: var(--primary);
} */

/* .courses .course-info span:last-child {
  margin-left: auto;  */
/* تأكيد إضافي لدفع العنصر لليمين في نظام الفليكس */
/* padding: 3px 13px;  */
/* مساحة داخلية ليبدو كالزر */
/* border-radius: 5px; */
/* حواف دائرية */
/* color: white;
  font-size: 13px;
  margin-top: -0px;
  white-space: nowrap;  */
/* يمنع الزر من الانقسام لسطرين إذا كان النص طويلاً */
/* cursor: pointer;
} */

/* @media (min-width: 361px) and (max-width: 375px) {
  .courses .course-info {
    gap: 4px;
    margin-top: 15px;
  }
} */
/* @media (min-width: 361px) and (max-width: 375px) {
  .courses .course-info {
    display: flex;
    flex-wrap: nowrap;
    gap: 2px;
    font-size: 11px;
    margin-top: 15px;
    align-items: center;
  }

  .courses .course-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    flex-wrap: nowrap;
    margin-top: 15px;
  }

  .courses .course-info span {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    margin-bottom: 0;
    white-space: nowrap;
  }

  .courses .course-info span i {
    margin-right: 2px;
    font-size: 11px;
  }

  .courses .course-info span:last-child {
    margin-left: auto;
    padding: 3px 8px;
    font-size: 11px;
    border-radius: 5px;
    white-space: nowrap;
  } */

/* .courses .course .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 75%;
    max-width: 250px; */
/* margin: 20px auto !important; */
/* padding: 8px 9px;
    font-size: 12px;
    text-align: center;
  } */
/* .courses .btn-primary.rounded-pill {
    display: block;
    width: 85%;
    max-width: 280px;
    margin: 13px auto 0 !important;  */
/* يجعل الزر في المنتصف */
/* padding: 8px 10px;
    font-size: 12px;
    text-align: center;  */
/* توسيط النص */
/* display: flex;
    justify-content: center; */
/* توسيط أفقي */
/* align-items: center;  */
/* توسيط رأسي */
/* gap: 6px;  */
/* إذا كان يوجد أيقونة */
/* }
} */
/* @media (max-width: 375px) {
  .dsv-section .dsv-card .dsv-card-title {
    font-size: 0.8rem !important;
  }
  .dsv-section .dsv-card p {
    font-size: 9px !important;
  }
  .dsv-section .dsv-title {
    font-size: 15.5px !important;
  }
} */
.courses .btn-primary.rounded-pill {
  display: block;
  width: 55%;
  max-width: 280px;
  margin: 8px auto 0 !important;
  /* يجعل الزر في المنتصف */
  padding: 8px 15px;
  font-size: 14px;
  text-align: center;
  /* توسيط النص */
  display: flex;
  justify-content: center;
  /* توسيط أفقي */
  align-items: center;
  /* توسيط رأسي */
  gap: 6px;
  /* إذا كان يوجد أيقونة */
}
@media (max-width: 480px) {
  .courses .btn-primary.rounded-pill {
    display: flex;
    width: 90%;
    max-width: 290px;

    margin-left: auto !important;
    margin-right: auto !important;

    justify-content: center;
    align-items: center;
    text-align: center;
  }
}
@media (max-width: 480px) {
  .edu-courses .edu-head h2 {
    font-size: clamp(12px, 4vw, 20px);
    font-weight: 800;
    /* color: #0a1733; */
    color: #0492c2;
    margin: 0 0 10px;
  }
}
/* @media (max-width: 480px) {
  .courses .btn-primary.rounded-pill {
    display: block;
    width: 90%;
    max-width: 270px;
    text-align: center;
  }
} */
.trust-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  padding: 18px 0;
}
.trust .t {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 4px Im !important;
  color: #ffffff;
}
.lang-fr-txt {
  display: none;
}
body.lang-en .lang-fr-txt {
  display: none;
}
body.lang-en .lang-en-txt {
  display: inline;
}
body.lang-fr .lang-fr-txt {
  display: inline;
}
body.lang-fr .lang-en-txt {
  display: none;
}
.fmt-card .ic {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  /* background:var(--ink); */
  background: #0492c2;
  /* color:var(--gold-300); */
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.fmt-card .ic svg {
  width: 24px;
  height: 24px;
}
.fmt-card h4 {
  font-size: 16px;
  margin-bottom: 6px;
}
.fmt-card > p {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 14px;
  text-align: left;
  word-spacing: 0;
  letter-spacing: normal;
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
  min-width: 0;
}
.fmt-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.fmt-list li {
  display: flex;
  gap: 10px;
  font-size: 13px;
  padding: 6px 0;
  color: var(--text);
  align-items: flex-start;
  margin-bottom: 12px;
  text-align: left;
  word-spacing: 0;
  letter-spacing: normal;
  line-height: 1.5;
  flex: 1;
  min-width: 0;
  flex: 0 0 14px;
  /* width: 14px; */
  margin-top: 3px;
}
.fmt-list svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
  flex: none;
  margin-top: 3px;
  flex: 0 0 14px;
  /* width: 14px; */
}
