/* Portfolio hover lift — matches pricing (.card-glass) hover behavior */
#work .portfolio-card {
  transition: transform 0.25s ease;
  will-change: transform;
}
#work .portfolio-card:hover {
  transform: translateY(-4px);
}

/*
  Portfolio buttons
  Why: Bootstrap returns focus to the trigger button when a modal closes. The previous rule
  applied the "hover" text color to :focus/:focus-visible, so the button looked stuck after closing.
*/

/* Keep normal button text color when focused (e.g., after closing the modal) */
#work .portfolio-buttons:focus,
#work .portfolio-buttons:focus-visible {
  color: #f8f9fa !important; /* matches .btn-outline-light default */
}

/* Override global .btn:hover yellow text for just these buttons */
#work .portfolio-buttons:hover {
  color: #0a0d16 !important;
}
