.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.video-card {
  background-color: #E6E8E5;
  border-radius: 15px 15px 10px 10px;
  overflow: show;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.video-title {
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #333;
}


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

.video-thumb-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 ratio */
  overflow: hidden;
  border-radius: 10px 10px 0px 0px;
}

.video-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0px;
}

.video-content {
  padding: 1rem;
}

.video-description {
  font-size: 1rem;
  color: #555;
}

/* Filter Buttons Styles */
.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.filter-btn {
  padding: 0.6rem 1.8rem;
  font-size: 1rem;
  border: 2px solid #D4AF37;
  border-radius: 8px;
  background: transparent;
  color: #27689a;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: #D4AF37;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}


.video-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.video-card {
  width: 300px;
  display: block;
}

.filter-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;  /* ensures buttons wrap on smaller screens */
  gap: 1rem;        /* space between buttons */
  margin: 2rem 0;   /* vertical spacing above/below */
}

.filter-btn {
  padding: 0.5rem 1.5rem;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
  background-color: #273d5f;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.filter-btn:hover {
  background-color: #D4AF37;
}



@media (max-width: 600px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 600px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr); /* Half screen: 2 columns */
  }
}

@media (min-width: 1000px) {
  .video-grid {
    grid-template-columns: repeat(3, 1fr); /* Desktop: 3 columns max */
  }
}

  /*update notes */