.dir_r{
    /* direction: rtl; */
    direction: rtl !important;
    text-align: right !important;
}
.dir_l{
    direction: ltr !important;
    text-align: left !important;
}
.dir_cr{
    direction: center !important;
    text-align: center !important;
}


.course__card__content {
  position: relative;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
}

.back_imS {
  background-image: url('../media/logorr.webp');
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  z-index: -1;
}

.team__card .team__img_block .team__content_block {
  width: 90%;
}
.active-filter {
  background-color: #005F7F;
  color: white;
  font-weight: bold;
}

@media (max-width: 575px) {

    .main-menu {
      padding-top:18px;
      z-index: 999;
      position: fixed;
      background-color: #fefcfb;
    }
  }

  @media (min-width: 768px) and (max-width: 991px) {
    .main-menu {
      padding-top: 20px;
      padding-bottom: 20px;
      position: fixed;
      background-color: #f5f5f5;
      z-index: 999;
    }
    .main-menu__right {
        gap: 34px;
        padding-top: 20px;
        font-size: 22px;

      }
  }



  .feature__card {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .grow-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .imgs {
    max-width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
    vertical-align: middle;
    margin-right:auto;
    margin-left:auto;
    /* align-items: center;justify-content: center; */

  }



.img {
  max-width: 100%;
  height:60vh;
  object-fit: cover;
  object-position: center;
  vertical-align: middle;
  margin-right:auto;
  margin-left:auto;

}


  .custom-features-wrapper {
    overflow-x: auto;
    scroll-behavior: smooth;
    position: relative;
  }

  .custom-features-wrapper::-webkit-scrollbar {
    height: 8px;
  }

  .custom-features-wrapper::-webkit-scrollbar-thumb {
    background-color: #ddd;
    border-radius: 4px;
  }

.back_cardw{

  background-image: url(../media/backgrounds/footer-bg.png);
  /* margin: auto; */

}


.team_img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}
.bg-white-hover{
    background-color: rgba(255, 255, 255, 0.719);
}





.styled-buttons {
    all: unset; /* يلغي جميع أنماط المتصفح الافتراضية */
    display: block;
    margin: 10px auto;
    padding: 5px 15px;
    /* border: 1px solid #000; إطار بسيط جدًا */
    font-size: 16px;
    text-align: center;
    background-color: rgb(255, 253, 253);
    color: black;
    cursor: pointer;
}

.styled-buttons:hover {
    background-color: #0aa6d7;
    border-radius: 5px;
}
.text-truncate-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3; /* عدد الأسطر */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}
