* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

.video-section {
  max-width: 1200px;
  margin: 0 auto;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.video-item {
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-item video {
  width: 100%;
  height: auto;
  max-height: 450px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  object-fit: contain;
}

.featured-video video {
  width: 100%;
  height: auto;
  max-height: 600px; /* optional: adjust as needed */
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  object-fit: contain;
}


 .section-title {
      font-size: 2rem;
      font-weight: 600;
      color: #001659;
    }

    .video-title {
      font-size: 1.5rem;
      font-weight: 600;
      color: #001659;
    }

    .masonry-grid {
  column-count: 3;
  column-gap: 1rem;
}

   .masonry-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}


.masonry-item img {
  width: 100%;
  display: block;
  border-radius: 8px;
  transition: transform 0.3s ease;
}


.masonry-item:hover img {
  transform: scale(1.05);
}


    /* Tabs style */
    .nav-tabs .nav-link {
      font-weight: 600;
      color: #001659;
    }

    .nav-tabs .nav-link.active {
      background-color: #001659;
      color: #fff;
    }

    .custom-tabs .nav-link {
  padding: 12px 40px;
  margin: 0 10px;
  border: none;
  border-bottom: 3px solid transparent;
  color: #001659;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border-radius: 0;
  background: none;
}

.custom-tabs .nav-link:hover {
  border-bottom: 3px solid #0dcaf0;
  color: #0dcaf0;
}

.custom-tabs .nav-link.active {
  color: #001659;
  border-bottom: 3px solid #001659;
  background: none;
}

.custom-tabs {
  border-bottom: 1px solid #ddd;
}

.masonry-grid {
  column-count: 3;  /* Number of columns (adjust for desktop/mobile) */
  column-gap: 1rem;
}



/* Responsive: reduce columns on small screens */
@media (max-width: 992px) {
  .masonry-grid {
    column-count: 2;
  }
}

@media (max-width: 576px) {
  .masonry-grid {
    column-count: 1;
  }
}

@media (max-width: 768px) {
  .custom-tabs .nav-link {
    padding: 10px 20px;
    font-size: 1rem;
  }
}


