.video-section {
  margin: 55px 0px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 40px;
  justify-items: center;
  align-items: start;
}

.video-container {
  position: relative;
  width: 100%;

  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
  transform: translateY(30px);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.video-text {
  text-align: center;
  padding: 20px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.video-text h2 {
  font-size: 16px;
  color: #4a5568;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: bold;
}

video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0 0 15px 15px;
}

/* Overlay play button for creativity */

.video-container:hover::before {
  opacity: 1;
}

video:hover + .video-container::before {
  opacity: 0; /* Hide on video hover if needed */
}

/* Responsive design */
@media (max-width: 768px) {
  .video-section {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .wrapper {
    padding: 20px;
  }

  .video-text h2 {
    font-size: 1.2rem;
  }
}
