@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.animate-gradient-x {
  background: linear-gradient(270deg, #22c55e, #059669);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}

/* Accessibility improvements */
.skip-to-content {
  position: absolute;
  top: -40px;
  left: 0;
  background: #333;
  color: white;
  padding: 8px;
  z-index: 10000;
  text-decoration: none;
}

.skip-to-content:focus {
  top: 0;
}

/* Focus styles for better accessibility */
*:focus {
  outline: 3px solid #22c55e;
  outline-offset: 2px;
}

/* Improved button styles */
.btn-primary {
  background: linear-gradient(135deg, #22c55e, #059669);
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.btn-primary:focus {
  outline: 3px solid #059669;
  outline-offset: 2px;
}

/* Card hover effects */
.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Improved contrast for better readability */
.high-contrast-text {
  color: #1a1a1a;
}

.high-contrast-bg {
  background-color: #f8f9fa;
}

/* Responsive improvements */
@media (max-width: 768px) {
  .mobile-stack {
    flex-direction: column !important;
  }
  
  .mobile-center {
    text-align: center !important;
  }
  
  .mobile-full-width {
    width: 100% !important;
  }
}

/* Print styles */
@media print {
  .no-print {
    display: none;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  a {
    color: black !important;
    text-decoration: underline !important;
  }
}

