.slide-right {
opacity: 0;
transform: translateX(50px);
transition: all 0.8s ease-out;
}
.slide-left {
opacity: 0;
transform: translateX(-50px);
transition: all 0.8s ease-out;
}
.slide-in {
opacity: 1;
transform: translateX(0);
}

body{ 
  font-family: 'Cairo',
   sans-serif; background:#f9fafb;
}

.video-card {
  position: relative;
  cursor: pointer;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);
  transition: box-shadow 0.3s ease;
}
.video-card:hover {
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.2),
    0 10px 10px -5px rgb(0 0 0 / 0.04);
}
.video-card video {
  display: block;
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 1rem;
  pointer-events: none;
}
.video-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  opacity: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
  border-radius: 1rem;

}
.video-card:hover .video-overlay {
  opacity: 1;
}
.play-button {
  background: #001639;
  border-radius: 9999px;
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgb(0 0 0 / 0.1);
  transition: background-color 0.3s ease;
}
.play-button:hover {
  background-color: #ffffff;
}
.play-button i {
  color: #ffffff;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}
.play-button:hover i {
  color: white;
}
#videoModal {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.85);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
#videoModal.active {
  display: flex;
}
#videoModal video {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 0.75rem;
  box-shadow: 0 10px 25px rgb(0 0 0 / 0.5);
}
#videoModal .close-btn {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: transparent;
  border: none;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 1100;
}
#videoModal .close-btn:hover {
  color: #d6002e;
}
@media (min-width: 768px) {
  .video-card video {
    height: 280px;
  }
}
@media (min-width: 1024px) {
  .video-card video {
    height: 320px;
  }
}
.swiper-pagination-bullet {
  background-color: #d6002e;
  opacity: 0.7;
  width: 10px;
  height: 10px;
}

.swiper-pagination-bullet-active {
  background-color: #d6002e;
  opacity: 1;
}
