.gallery-container1 {
    display: flex;
    gap: 2rem;
    margin: 20px auto;
    max-width: 1200px;
    align-items: stretch; /* 🔑 Ensures both sides stretch equally */
  }
  
  .gallery-area1,
  .gallery-right1 {
    flex: 1 1 50%;
    background: #f9f9f9;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }
  
  /* Maintain consistent heading + button layout */
  .gallery-heading1,
  .video-heading1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
  }
  
  /* Ensure video takes full height available */
  .video-wrapper1 {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .video-wrapper1 video {
    width: 100%;
    height: auto;
    max-height: 300px;
    border-radius: 8px;
    object-fit: cover;
  }
  
  /* Adjust images inside fancybox for uniform layout */
  .fancybox1 ul.gallery-slider {
    display: flex;
    gap: 10px;
    padding: 0;
    list-style: none;
    margin-bottom: 1rem;
  }
  
  .fancybox1 ul.gallery-slider li {
    flex: 1 1 calc(33.333% - 10px);
  }
  
  .fancybox1 img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 6px;
  }

  .gallery-heading1 h3,
.video-heading1 h3 {
  margin: 0;
  font-size: 1.5rem;
  color: blue;
}

.btn-view-all {
  background-color: #007BFF;
  color: white;
  padding: 6px 12px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.9rem;
}
  