.video-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  justify-content: center;
}

.video-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-card:hover .overlay {
  opacity: 1;
}

.play-btn {
  background: rgba(255, 0, 0, 0.8);
  border-radius: 50%;
  padding: 0;
  height: 70px;
  width: 70px;
  line-height: 73px;
  text-align: center;
}
 
.play-btn i {
  color: white;
  font-size: 45px;
}
 

.video-card h3 {
  color: #c62828;
  font-size: 1.2rem;
  text-align: center;
  margin-top: 12px;
}

.video-card p {
  color: #333;
  font-size: 0.95rem;
  text-align: center;
  margin-bottom: 15px;
}

@media (max-width: 600px) {
    .banner .youtube-container {
        aspect-ratio: 0 !important;
        height: 100% !important;
    }
}