/* Video Gallery - Fast & Modern */
.video-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 1rem;
  max-width: 1400px;
  margin: 0 auto;
}

.video-thumb {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
  aspect-ratio: 16/9;
  cursor: pointer;
}

.video-thumb:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.video-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

h1{
  color: rgba(204, 0, 255, 0.797);
  text-align: center;
  border: #1e293b;
  justify-content: center;
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 24px;
  color: #2563eb;
}

/* Lightbox */
#video-lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.95);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

#video-lightbox.active {
  display: flex;
}

#lightbox-video {
  width: 90%;
  max-width: 1000px;
  max-height: 90vh;
  border-radius: 8px;
}

.close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: white;
  font-size: 30px;
  cursor: pointer;
}

/* ───────── NAV BUTTONS (NEW) ───────── */
.video-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.video-nav:hover { background: #1a73e8; }

.video-prev { left: 20px; }
.video-next { right: 20px; }


/* Mobile */
@media (max-width: 768px) {
  .video-gallery {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
  }
  
  .play-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
}

/* Video Intro Section */
.video-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.intro-content {
  flex: 1 1 50%;
  padding: 0 2rem;
  min-width: 300px;
}

.intro-content h2 {
  font-size: 2.2rem;
  color: #1e293b;
  margin-bottom: 1.5rem;
  line-height: 1.3;
  margin-top: 40px;
}

.intro-content p {
  font-size: 1.1rem;
  color: #64748b;
  margin-bottom: 2rem;
  max-width: 600px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
  border: 1px solid #648b86;
}

.feature:hover {
  transform: translateY(-5px);
}

.feature i {
  font-size: 2rem;
  color: #2563eb;
  margin-bottom: 1rem;
}


.feature h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #1e293b;
}

.feature p {
  font-size: 0.9rem;
  color: #64748b;
}

.intro-video {
  flex: 1 1 50%;
  min-width: 300px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(237, 77, 77, 0.68);
  border: 2px solid #b69468;
}

.intro-video video {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 25px;
}

/* Responsive */
@media (max-width: 768px) {
  .video-intro {
    flex-direction: column;
    padding: 2rem 1rem;
  }
  
  .intro-content {
    padding: 0;
    margin-bottom: 2rem;
  }
  
  .intro-content h2 {
    font-size: 1.8rem;
  }
}