/* Quick fix file to override conflicting styles */

/* Fix 1: Remove double nav underline by disabling the ::after pseudo-element */
.navbar-b .nav-link::after {
  display: none !important;
}

/* Fix 2: Add solid white background to portfolio section to prevent intro bleed-through */
#categories,
.portfolio-section,
main {
  background-color: #f5f5f5 !important;
  position: relative;
  z-index: 10;
}

/* Ensure portfolio section has proper spacing */
#categories {
  margin-top: 0 !important;
  padding-top: 4rem;
}

/* Fix 3: Force consistent category image heights on homepage */
.category-img {
  height: 400px !important; /* Fixed height for consistency */
  width: 100%;
  position: relative;
  overflow: hidden;
}

.category-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important; /* Fill container while maintaining aspect ratio */
  object-position: center !important; /* Center the image */
}
