/* remove section from homepage 12936027-hc */
@media screen and (max-width: 767px) {
.vc_row.wpb_row.vc_row-fluid.vc_custom_1557331296212.vc_row-has-fill {
    display: none;
}
}header .header-info-group span {
font-size: 12px !important;}



/* Blue background with gradient - adjusted opacity */
.portfolio_custom .project_cat_title_overlay {
  background: linear-gradient(
    to top,
    rgba(1, 74, 142, 0.7) 20%,
    rgba(1, 74, 142, 0.6) 100%
  ) !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  transition: none !important;
}

/* Text styling */
.portfolio_custom .project_cat_title_overlay_items h3 a {
  color: #fff !important;
  font-weight: 600;
  font-size: 1.1em !important;
  line-height: 1.3 !important;
  margin-bottom: 8px !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.portfolio_custom .project_cat_title_overlay_items h5 a {
  color: #fff !important;
  font-size: 0.9em !important;
  font-weight: 500;
  opacity: 0.9 !important;
  letter-spacing: 0.5px !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Layout adjustments */
.portfolio_custom .project_cat_title_overlay_items {
  padding: 20px !important;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 180px;
}

/* Fix link functionality */
.portfolio_custom .link-project {
  pointer-events: auto !important;
  z-index: 2 !important;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

/* Make the white inner border permanently visible */
.portfolio_custom .box-project {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

/* This targets the specific inner white border shown in your image */
.portfolio_custom .box-project .relative::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  z-index: 1;
  pointer-events: none;
}

/* Keep subtle hover animation */
.portfolio_custom .box-project:hover {
  transform: translateY(-5px);
}

/* Prevent hover states from changing the overlay */
.portfolio_custom .box-project:hover .project_cat_title_overlay {
  opacity: 1 !important;
  transform: none !important;
}