
/*---------Video Pgaes*/

.video-gallery-container {
  max-width: 1200px;
  margin: 140px auto 60px;
  padding: 0 20px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(1000px, 1fr));
  gap: 30px;
  padding:40px 20px;
  margin:auto;
  justify-content:center;
}

.video-title {
  font-family: 'tariqafont', serif;
  font-size: 50px;
  color: #064632;
  text-align: center;
  margin-bottom: 10px;
}

.video-card {
  text-align: center;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  overflow: hidden;
  max-width:100%;
}

.video-wrapper {
  position: relative;
  width:100%;
  height: 100%;
  border-radius: 8px;
  aspect-ratio:16 / 9;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-caption {
  padding: 15px;
  font-family: 'tariqafont', serif;
  font-size: 18px;
  color: #064632;
  background: #f4f4f4;
}



/* ====================== RESPONSIVE ====================== */
@media (max-width: 768px) {

 
  .video-grid {
    grid-template-columns: 1fr;
    gap: 50px;
	justify-items: center;
	width:100%;
  }

  .video-card {
	width:300px;
	max-width:400px;
  }
  .video-caption{
	  font-size: 16px;
	  padding:12px;
  }
  .dropdown-menu {
    position: static;
    background-color: rgba(255, 255, 255, 0.1);
    display: none;
  }

  .dropdown:hover .dropdown-menu {
    display: block;
  }
}