/* WCAG AA Color Contrast Enhancements */
/* Ensures all text meets 4.5:1 contrast ratio for accessibility */

/* Fix text-muted contrast issues */
.text-muted {
  color: #5a6c7d !important; /* Changed from #6c757d to meet WCAG AA */
}

/* Improve contrast for small text */
small.text-muted,
.small.text-muted {
  color: #4a5c6d !important; /* Darker for better readability */
}

/* Badge contrast improvements */
.badge.bg-info {
  background-color: #0891b2 !important; /* Darker cyan for better contrast */
}

.badge.bg-warning {
  background-color: #d97706 !important; /* Darker amber */
  color: #ffffff !important;
}

/* Lead text contrast */
.lead.text-dark {
  color: #1e293b !important; /* Ensure proper contrast */
}

/* Card text improvements */
.card-text,
.card-body p {
  color: #334155 !important;
}

/* Footer link contrast */
footer a {
  color: #475569 !important;
}

footer a:hover {
  color: #0f172a !important;
}

/* Light mode specific fixes */
@media (prefers-color-scheme: light) {
  .text-muted {
    color: #475569 !important;
  }
  
  small.text-muted,
  .small.text-muted {
    color: #334155 !important;
  }
}

/* Ensure focus indicators are high contrast */
*:focus-visible {
  outline: 3px solid #3b82f6 !important;
  outline-offset: 2px !important;
}

/* Button text contrast */
.btn-outline-primary {
  color: #1e40af !important;
  border-color: #3b82f6 !important;
}

.btn-outline-primary:hover {
  background-color: #3b82f6 !important;
  border-color: #3b82f6 !important;
  color: #ffffff !important;
}

/* Navigation link contrast */
.nav-menu a {
  color: #1e293b !important;
}

.nav-menu a:hover {
  color: #0f172a !important;
}

/* Hero benefits list */
.hero-benefits li {
  color: #334155 !important;
}

/* Testimonial text */
.testimonial-text {
  color: #1e293b !important;
}

/* Ensure all icons have sufficient contrast */
.text-primary {
  color: #2563eb !important;
}

.text-success {
  color: #16a34a !important;
}

.text-warning {
  color: #d97706 !important;
}

.text-info {
  color: #0891b2 !important;
}
