.cinema-slider {
  position: relative;
  height: 88vh;
  min-height: 520px;
  max-height: 820px;
  overflow: hidden;
  background: #0a1224;
  /* No hardcoded direction — inherits rtl/ltr from <html dir>, so the
     slide text, CTA button, and company badge all mirror correctly
     per language instead of staying stuck in Arabic layout. */
}

.cinema-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1;
}

.cinema-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

.cinema-slide__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  will-change: transform, opacity;
}

.cinema-slide__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 10, 30, 0.86) 0%, rgba(3, 10, 30, 0.55) 45%, rgba(3, 10, 30, 0.35) 100%),
    linear-gradient(0deg, rgba(3, 10, 30, 0.55) 0%, rgba(3, 10, 30, 0) 35%);
}

.cinema-slide__content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(24px, 6vw, 90px);
}

.cinema-slide__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #6fd66a;
  font-family: var(--somar-Bold);
  font-size: 14px;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
  opacity: 0;
}

.cinema-slide__eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: #6fd66a;
  display: inline-block;
}

.cinema-slide__title {
  color: #fff;
  font-family: var(--somar-Bold);
  font-size: clamp(28px, 4.4vw, 56px);
  line-height: 1.25;
  margin: 0 0 18px;
  max-width: 780px;
  opacity: 0;
}

.cinema-slide__subtitle {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(15px, 1.6vw, 19px);
  line-height: 1.9;
  max-width: 620px;
  margin: 0 0 30px;
  opacity: 0;
}

.cinema-slide__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  background: var(--primary-color, #0047ab);
  color: #fff;
  font-family: var(--somar-Bold);
  font-size: 15px;
  padding: 15px 28px;
  border-radius: 40px;
  text-decoration: none;
  transition: background 0.25s, transform 0.25s;
  opacity: 0;
}

.cinema-slide__cta:hover {
  background: #135dc4;
  color: #fff;
  transform: translateY(-2px);
}

/* ---- Controls ---- */
.cinema-slider__controls {
  position: absolute;
  inset-inline: 0;
  bottom: 26px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 0 24px;
}

.cinema-slider__arrow {
  display: none;
}

.cinema-slider__dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cinema-slider__dot {
  position: relative;
  width: 42px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
}

.cinema-slider__dot__progress {
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  background: var(--accent, #ffffff);
  opacity: 0.7;
}

/* ---- Company badge ---- */
.cinema-slide__company-badge {
  position: absolute;
  top: 28px;
  inset-inline-end: clamp(24px, 6vw, 90px);
  z-index: 4;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 14px;
  padding: 12px 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.cinema-slide__company-badge img {
  height: 34px;
  max-width: 140px;
  object-fit: contain;
  display: block;
}

@media (max-width: 767px) {
  .cinema-slide__company-badge {
    top: 16px;
    padding: 8px 12px;
  }
  .cinema-slide__company-badge img {
    height: 24px;
    max-width: 100px;
  }
}

.cinema-slider__dot.is-active .cinema-slider__dot__progress {
  width: 100%;
}

/* ---- Reduced motion / fallback ---- */
@media (prefers-reduced-motion: reduce) {
  .cinema-slide__bg { transition: none !important; transform: scale(1) !important; }
  .cinema-slide { transition: opacity .3s ease !important; }
}

@media (max-width: 767px) {
  .cinema-slider { height: 78vh; min-height: 460px; }
  .cinema-slide__subtitle { display: none; }
  .cinema-slider__arrow { width: 38px; height: 38px; }
}
