.video-gallery-section {
  margin: 4rem 0;
}

.video-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.video-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.video-thumbnail {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.video-card:hover .video-thumbnail img {
  transform: scale(1.05);
}

.video-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.video-play-icon i {
  color: #ff0000;
  font-size: 24px;
  margin-left: 3px;
}

.video-card:hover .video-play-icon {
  background: white;
  transform: translate(-50%, -50%) scale(1.1);
}

.video-info {
  padding: 1rem;
}

.video-title {
  font-weight: 600;
  color: var(--vivid-sky-blue);
  margin-bottom: 0.5rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Responsive Video Gallery */
@media (max-width: 768px) {
  .video-gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
  }

  .video-thumbnail {
    height: 180px;
  }

  .video-play-icon {
    width: 50px;
    height: 50px;
  }

  .video-play-icon i {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .video-gallery-grid {
    grid-template-columns: 1fr;
  }

  .video-thumbnail {
    height: 160px;
  }
}
