main .tp-banner-title-4 {
    font-size: 40px !importnat;
}

.tp-banner-title {
    color: #ffff !important;
}

.tp-banner-full-btn .tp-btn  {
    border-color: hsl(0 0% 0%);
    color: #ffff;
}
.tp-link-btn {
  color: #ffff !important;
}
@media (max-width: 768px) {
  /* النص الأول */
  .tp-slider-title-4 {
    font-size: 30px !important; /* صغر حجم الخط */
    line-height: 1; /* كبر المسافة بين السطور */
  }

  /* لو فيه عنصر تاني بيستخدم --tp-ff-charm */
 .tp-slider-content-4 > span {
    font-size: 20px !important; /* صغر الحجم للنص التاني */
    line-height: 1.2; /* كبر المسافة بين السطور */

  }
}


.tp-slider-active-4 {
  max-width: 1100px !important;
  margin: 0 auto !important;
  overflow: hidden;
}


.tp-slider-item-4 {
  width: 80%;
  max-width: 80% !important;
  margin: 0 auto;
}
.tp-slider-thumb-4 img {
  width: 80%;
  height: auto;
  object-fit: contain;
}
.tp-slider-height-4 {
    min-height: 500px;
}

@media (max-width: 768px) {
.tp-slider-height-4 {
    min-height: 300px;
}
}



  .row.align-items-center {
    display: flex;
    flex-wrap: wrap;
  }

  .row.align-items-center > div:nth-of-type(1) {
    order: 2; /* اللوجو */
  }

  .row.align-items-center > div:nth-of-type(2) {
    order: 3; /* البحث */
  }

  .row.align-items-center > div:nth-of-type(3) {
    order: 1; /* الأزرار */
  }

@media (max-width: 767px) {
  .header__middle {
    display: flex !important;
    flex-direction: row !important; /* الترتيب الطبيعي */
    align-items: center;
    justify-content: space-between;
  }

  .header__logo {
    order: 2 !important; /* اللوجو ييجي بعد => شمال */
    max-width: 120px;
    text-align: left;
  }

  .header__right {
    order: 1 !important; /* الزرائر تيجي أول => يمين */
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .header__action {
    display: flex;
    flex-direction: row;
    gap: 10px;
  }

.hero-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  padding: 40px 20px;
  background-color: #fff;
}

.video-wrapper {
  width: 180px;
  height: 320px; /* Adjust to fit portrait videos */
  overflow: hidden;
  position: relative;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Tablet */
@media (max-width: 768px) {
  .video-wrapper {
    width: 45%;
    height: auto;
    aspect-ratio: 9 / 16;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .video-wrapper {
    width: 90%;
    height: auto;
    aspect-ratio: 9 / 16;
  }
}