/* Custom styles that complement Tailwind */

/* Ensure smooth transitions on interactive elements */
a, button {
  transition: all 0.2s ease;
}

/* Focus visible for accessibility */
*:focus-visible {
  outline: 2px solid #5ec9a0;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Selection color */
::selection {
  background-color: rgba(58, 179, 130, 0.3);
  color: #f0f4f8;
}

/* Prevent layout shift on images */
img {
  max-width: 100%;
  height: auto;
}

/* Smooth anchor scroll offset for fixed header */
section[id] {
  scroll-margin-top: 64px;
}

/* Subtle hover lift on cards */
.group:hover {
  transform: translateY(-2px);
}

.group {
  transition: transform 0.3s ease;
}

/* Mobile link styles */
.mobile-link {
  display: block;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(51, 78, 104, 0.5);
}

.mobile-link:last-child {
  border-bottom: none;
}
