/* Video Lightbox Styles */
.video-trigger {
  position: relative;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.video-thumbnail {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.video-trigger:hover .video-thumbnail {
  transform: scale(1.05);
}

.video-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 2rem;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.video-trigger:hover .video-play-button {
  background-color: var(--primary-color);
  color: white;
  transform: translate(-50%, -50%) scale(1.1);
}

.video-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.video-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.video-lightbox-content {
  position: relative;
  width: 90%;
  max-width: 1000px;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.video-lightbox-close:hover {
  background-color: var(--primary-color);
}

/* Hero Video Button */
.hero-video-button {
  display: inline-flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid white;
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.hero-video-button i {
  margin-right: 10px;
  font-size: 1.2rem;
}

.rtl .hero-video-button i {
  margin-right: 0;
  margin-left: 10px;
}

.hero-video-button:hover {
  background-color: white;
  color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .video-play-button {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .video-play-button {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .video-lightbox-close {
    top: -40px;
    width: 35px;
    height: 35px;
  }
}

@media (max-width: 576px) {
  .video-play-button {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}