/* TEXT VISIBILITY FIX ONLY - NO DESIGN CHANGES */
/* This file ONLY fixes text visibility while preserving the original design */

/* Hero section text visibility - keep original dark background */
.hero-section * {
    color: #ffffff !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8) !important;
}

.hero-title {
    color: #ffffff !important;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.9) !important;
    font-weight: 900 !important;
}

.hero-description {
    color: #ffffff !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8) !important;
}

.hero-badge {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7) !important;
}

.hero-badge span {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7) !important;
}

.stat-number {
    color: #ffffff !important;
    font-weight: 900 !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8) !important;
}

.stat-label {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7) !important;
}

.gradient-text {
    color: #ffffff !important;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.9) !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
}

/* CTA section text visibility - keep original dark background */
.cta-section * {
    color: #ffffff !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8) !important;
}

.cta-title {
    color: #ffffff !important;
    font-weight: 900 !important;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.9) !important;
}

.cta-description {
    color: #ffffff !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8) !important;
}

.cta-feature {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7) !important;
}

.cta-feature span {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7) !important;
}

/* Footer text visibility - keep original dark background */
.dynamic-footer * {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6) !important;
}

.footer-title {
    color: #ffffff !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8) !important;
}

.footer-heading {
    color: #ffffff !important;
    font-weight: 600 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7) !important;
}

.footer-links a {
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6) !important;
}

.footer-links a:hover {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
}

.footer-copyright {
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6) !important;
}

.legal-link {
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6) !important;
}

.legal-link:hover {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
}

/* Any other dark sections with text visibility issues */
.dark-section * {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7) !important;
}

/* Ensure buttons remain readable */
.btn {
    text-shadow: none !important;
}

.btn-primary {
    color: #ffffff !important;
}

.btn-secondary {
    color: #1f2937 !important;
}

.btn-outline,
.btn-outline-primary {
    color: #2563eb !important;
}

.btn-outline:hover,
.btn-outline-primary:hover {
    color: #ffffff !important;
}

.btn-gradient {
    color: #ffffff !important;
}

/* Navigation text - only if on dark background */
.navbar-dark .nav-link {
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
}

.navbar-dark .nav-link:hover {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7) !important;
}

/* Ensure all text is readable with proper font smoothing */
* {
    text-rendering: optimizeLegibility !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero-section *,
    .cta-section *,
    .dynamic-footer * {
        text-shadow: 0 0 4px rgba(0, 0, 0, 1) !important;
    }
}

/* CTA section text visibility - keep original dark background */
.cta-section * {
    color: #ffffff !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8) !important;
}

.cta-title {
    color: #ffffff !important;
    font-weight: 900 !important;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.9) !important;
}

.cta-description {
    color: #ffffff !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8) !important;
}

.cta-feature {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7) !important;
}

.cta-feature span {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7) !important;
}

/* Footer text visibility - keep original dark background */
.dynamic-footer * {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6) !important;
}

.footer-title {
    color: #ffffff !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8) !important;
}

.footer-heading {
    color: #ffffff !important;
    font-weight: 600 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7) !important;
}

.footer-links a {
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6) !important;
}

.footer-links a:hover {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
}

.footer-copyright {
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6) !important;
}

.legal-link {
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6) !important;
}

.legal-link:hover {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
}

/* Any other dark sections with text visibility issues */
.dark-section * {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7) !important;
}

/* Ensure buttons remain readable */
.btn {
    text-shadow: none !important;
}

.btn-primary {
    color: #ffffff !important;
}

.btn-secondary {
    color: #1f2937 !important;
}

.btn-outline,
.btn-outline-primary {
    color: #2563eb !important;
}

.btn-outline:hover,
.btn-outline-primary:hover {
    color: #ffffff !important;
}

.btn-gradient {
    color: #ffffff !important;
}

/* Navigation text - only if on dark background */
.navbar-dark .nav-link {
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
}

.navbar-dark .nav-link:hover {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7) !important;
}

/* Ensure all text is readable with proper font smoothing */
* {
    text-rendering: optimizeLegibility !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero-section *,
    .cta-section *,
    .dynamic-footer * {
        text-shadow: 0 0 4px rgba(0, 0, 0, 1) !important;
    }
}