.stats-section {
  padding: 160px 80px 80px 80px;
  position: relative;
  overflow: hidden;
  color: white;
  text-align: center;
}
.stats-section::before {
  content: "";
  position: absolute;
  right: -200px;
  top: 100%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(255, 115, 0, 0.144),
    rgba(0, 0, 0, 0)
  );
  filter: blur(40px);
  z-index: 1;
}
.stats-section::after {
  content: "";
  position: absolute;
  left: -200px;
  top: 20%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(255, 115, 0, 0.144),
    rgba(0, 0, 0, 0)
  );
  filter: blur(40px);
}
.top-text {
  padding: 5px 20px;
  width: fit-content;
  margin: auto;
  border-radius: 15px;
  border: 1px solid #ff7a00;
  font-size: 18px;
  margin-bottom: 20px;
  color: white;
}
.main-title {
  font-size: 80px;
  font-weight: 900;
  margin-bottom: 20px;
  color: white;
}
.orange {
  color: #ff7a00; /* برتقالي */
}
.bottom-text {
  font-size: 18px;
  max-width: 500px;
  margin: auto;
  margin-bottom: 30px;
  color: white;
}
.contact-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px 10px 20px;
  background: #fff;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  overflow: hidden;
  transition: 0.3s ease;
  margin-bottom: 20px;
}
.btn-text {
  color: #000;
  font-size: 18px;
  font-family: "Bebas Neue", sans-serif;
  font-weight: 600;
  transition: 0.3s ease;
}
.icon-circle {
  width: 35px;
  height: 35px;
  background: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.4s ease;
}
.arrow {
  color: #ff7a00; /* السهم البرتقالي */
  font-size: 20px;
  font-weight: bold;
  transition: 0.4s ease;
}
.contact-btn:hover .icon-circle {
  transform: translateX(-80px);
}
.contact-btn:hover .btn-text {
  opacity: 0;
  transform: translateX(-20px);
}
.image-box {
  position: relative;
  display: inline-block;
}
.image-box img {
  width: 100%;
  display: block;
}
.image-box::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 40%; /* زوّد/قلل حسب رغبتك */
  background: linear-gradient(to top, rgb(0, 0, 0), rgba(0, 0, 0, 0));
  border-radius: inherit;
  pointer-events: none;
}
.stats-wrapper {
  display: flex;
  justify-content: space-around;
  margin-top: 50px;
  flex-wrap: wrap;
  gap: 20px;
}

.stat-item {
  position: relative;
  font-size: 32px;
  font-weight: bold;
}

.stat-number {
  font-size: 40px;
  font-weight: bold;
  color: white;
}

.stat-percent {
  margin-left: 5px;
  font-size: 32px;
  font-weight: bold;
  color: #ff7a00;
}

.stat-item p {
  margin-top: 10px;
  font-size: 18px;
  color: white;
}
@media (max-width: 768px) {
  .stats-section {
    padding: 100px 20px 50px 20px;
  }
  .stats-section::before {
    width: 300px;
    height: 300px;
  }
  .top-text {
    font-size: 14px;
  }
  .main-title {
    font-size: 20px;
  }
  .bottom-text {
    font-size: 14px;
  }
  .contact-btn {
    padding: 5px 10px 5px 15px;
  }
  .btn-text {
    font-size: 14px;
  }
  .icon-circle {
    width: 30px;
    height: 30px;
  }
  .arrow {
    font-size: 14px;
  }
  .image-box {
    width: 100%;
    display: flex;
    justify-content: center; /* ← يحط الصورة في النص */
    align-items: center; /* ← لو عايزها تتسنتر رأسيًا كمان */
  }
  .image-box img {
    width: 600px;
  }
  .stats-wrapper {
    display: flex;
    justify-content: space-around;
    margin-top: 50px;
    flex-wrap: wrap;
    gap: 40px;
  }
  .stat-number {
    font-size: 30px;
  }
  .stat-percent {
    font-size: 20px;
  }
  .stat-item p {
    font-size: 18px;
  }
}
/* ----------------------------------------------------------------------- */
.video-section {
  padding: 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.video-section::before {
  content: "";
  position: absolute;
  right: -200px;
  top: 0%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(255, 115, 0, 0.144),
    rgba(0, 0, 0, 0)
  );
  filter: blur(40px);
  z-index: 1;
}
.video-section::after {
  content: "";
  position: absolute;
  left: -200px;
  top: 100%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(255, 115, 0, 0.144),
    rgba(0, 0, 0, 0)
  );
  filter: blur(40px);
}
.film-slider {
  position: relative; /* مهم عشان الـ before/after */
  width: 100%;
  overflow: hidden;
  padding: 30px 0;
  background: linear-gradient(to right, #000000, #1a1a1a, #000000);
}
/* التدرج اليمين */
.film-slider::before,
.film-slider::after {
  content: "";
  position: absolute;
  top: 0;
  width: 120px; /* وسّع أو قلل حسب ما تحب */
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

/* الناحية الشمال */
.film-slider::before {
  left: 0;
  background: linear-gradient(to right, #000000, transparent);
}

/* الناحية اليمين */
.film-slider::after {
  right: 0;
  background: linear-gradient(to left, #000000, transparent);
}

.film-track {
  display: flex;
  width: max-content;
  animation: scrollLoop 20s linear infinite;
}

.film-slide {
  display: flex;
  gap: 50px;
  margin-left: 50px;
}

.film-slide img {
  height: 30px;
  width: auto;
  opacity: 0.9;
  transition: 0.3s ease;
}

.film-slide img:hover {
  transform: scale(1.1);
  opacity: 1;
}

/* الحركة دون أي توقف */
@keyframes scrollLoop {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.video-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 60px;
}
.video-card {
  overflow: hidden;
  width: 22%;
  padding: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  border: 1px solid;
  border-image: linear-gradient(180deg, #ff7b0000, #ff7a00, #4c00ff00) 1;
}
.video-card:hover {
  transform: translateY(-10px);
}
.card-image {
  border-radius: 10px;
  width: 100%;
  object-fit: cover;
}
.card-title {
  font-size: 20px;
  font-weight: 600;
  margin: 15px 0 10px 0;
  color: white;
}
.card-text {
  font-size: 16px;
  color: #dddddd;
  padding: 0 10px 20px 10px;
}
@media (max-width: 768px) {
  .video-section {
    padding: 50px 20px;
  }
  .video-section::before {
    width: 300px;
    height: 300px;
  }
  .film-slider {
    padding: 15px 0;
  }
  .film-slide {
    gap: 20px;
    margin-left: 20px;
  }
  .film-slide img {
    height: 10px;
  }
  .video-grid {
    margin-top: 20px;
  }
  .video-card {
    width: 100%;
  }
  .card-title {
    font-size: 16px;
  }
  .card-text {
    font-size: 14px;
    color: #dddddd;
    padding: 0 10px 20px 10px;
  }
}
/* ----------------------------------------------------------------------- */
/* basic reset for this section */
.tl-section {
  padding: 80px;
  color: #e6eef8;
  position: relative;
  overflow: hidden;
}
.tl-section::before {
  content: "";
  position: absolute;
  right: -200px;
  top: 100%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(255, 115, 0, 0.144),
    rgba(0, 0, 0, 0)
  );
  filter: blur(40px);
  z-index: 1;
}
.tl-section::after {
  content: "";
  position: absolute;
  left: -200px;
  top: 0%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(255, 115, 0, 0.144),
    rgba(0, 0, 0, 0)
  );
  filter: blur(40px);
}
.tl-container {
  position: relative;
}
/* center vertical line */
.tl-center-line {
  position: absolute;
  left: 50%;
  top: 0px;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, #ff7a00, #007bff);
  z-index: 1;
  border-radius: 10px;
}
/* arrow that moves on the line */
.tl-arrow {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  top: 0; /* initial top (will be animated) */
  z-index: 3;
  pointer-events: none;
  background-color: #ff7b001e;
  padding: 10px 0 5px 0;
  border-radius: 10px;
}
/* timeline item layout */
.tl-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 40px 0;
  position: relative;
  z-index: 2;
}
/* reverse items (image on right, content on left) */
.tl-item.reverse {
  flex-direction: row-reverse;
}
/* media (image) */
.tl-item-media {
  width: 35%;
}
.tl-item-media img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  border-bottom: 1px solid;
  border-image: linear-gradient(90deg, #ff7b0000, #ff7a00, #4c00ff00) 1;
}
/* content */
.tl-item-content {
  width: 35%;
}
.tl-item-title {
  font-size: 22px;
  color: #ffffff;
  margin: 0 0 8px 0;
}
.tl-item-text {
  margin: 0;
  color: #cecece;
  line-height: 1.6;
}

/* small responsive tweaks */
@media (max-width: 768px) {
  .tl-section {
    padding: 50px 20px;
  }
  .tl-item {
    flex-direction: column;
    text-align: center;
  }
  .tl-item.reverse {
    flex-direction: column;
  }
  .tl-item-media {
    margin-bottom: 20px;
  }
  .tl-item-media,
  .tl-item-content {
    width: 80%;
  }
  .tl-center-line {
    left: 0px;
    transform: none;
    height: calc(100% - 40px);
  }
}
/* ----------------------------------------------------------------------- */
.film2 {
  padding: 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.film2::before {
  content: "";
  position: absolute;
  right: -200px;
  top: 0%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(255, 115, 0, 0.144),
    rgba(0, 0, 0, 0)
  );
  filter: blur(40px);
  z-index: 1;
}
.film-slider2 {
  position: relative; /* مهم عشان الـ before/after */
  width: 100%;
  overflow: hidden;
  padding: 30px 0;
}
.film-slider2::before,
.film-slider2::after {
  content: "";
  position: absolute;
  top: 0;
  width: 120px; /* وسّع أو قلل حسب ما تحب */
  height: 100%;
  z-index: 3;
  pointer-events: none;
}
.film-slider2::before {
  left: 0;
  background: linear-gradient(to right, #000000, transparent);
}
.film-slider2::after {
  right: 0;
  background: linear-gradient(to left, #000000, transparent);
}
.film-track2 {
  display: flex;
  width: max-content;
  animation: scrollLoop 40s linear infinite;
}
.film-slide2 {
  display: flex;
  gap: 60px;
  margin-left: 50px;
}
.film-slide2 img {
  height: 400px;
  width: auto;
  border-radius: 10px;
  opacity: 0.9;
  transition: 0.3s ease;
}
.film-slide2 img:hover {
  transform: scale(1.1);
  opacity: 1;
}
@keyframes scrollLoop {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@media (max-width: 768px) {
  .film2 {
    padding: 50px 20px;
  }
  .film-slider2 {
    padding: 0px 0;
  }
  .film-slide2 {
    display: flex;
    gap: 20px;
    margin-left: 50px;
  }
  .film-slide2 img {
    height: 150px;
  }
}
