/* Contrast fixes for better readability */

/* Fix for service list paragraphs */
.service-list p,
.service-item p {
  color: #333 !important; /* Much darker gray for better contrast */
}

/* Fix for industry cards */
.industry-card p {
  color: #333 !important; /* Darker text for better readability */
}

/* Fix for any other light gray text that's hard to read */
.services-intro,
.industries-intro {
  color: #333 !important;
}

/* Dark mode overrides to ensure text remains visible */
[data-theme="dark"] .service-list p,
[data-theme="dark"] .service-item p,
[data-theme="dark"] .industry-card p,
[data-theme="dark"] .services-intro,
[data-theme="dark"] .industries-intro {
  color: #e5e5e5 !important; /* Light text for dark backgrounds */
}

/* Fix for CTA section text */
.cta-text {
  color: rgba(255, 255, 255, 0.95) !important; /* Ensure white text on dark background */
}

/* Ensure proper contrast for all paragraph text */
p {
  color: #2d3748; /* Darker default paragraph color */
}

[data-theme="dark"] p {
  color: #e2e8f0; /* Light color for dark mode */
}

/* Fix specific sections that might have contrast issues */
.memphis-services p,
.service-details li {
  color: #374151 !important; /* Darker gray for better contrast */
}

[data-theme="dark"] .memphis-services p,
[data-theme="dark"] .service-details li {
  color: #d1d5db !important; /* Light gray for dark mode */
}

/* Ensure buttons maintain good contrast */
.btn,
.cta-btn,
.package-cta {
  color: #1f2937 !important; /* Dark text on yellow buttons */
}

/* Fix for any sections with background overlays */
.cta-container {
  background-color: rgba(31, 41, 55, 0.95) !important; /* Slightly more opaque for better contrast */
}
