/* Force White Text in Dark Mode Footer - Ultra High Priority Override */

/* Wildcard selectors for all footer content */
html.dark footer.footer-modern *,
html.dark .footer-modern *,
.dark footer.footer-modern *,
.dark .footer-modern *,
html.dark .footer-glass-card *,
.dark .footer-glass-card * {
    color: #ffffff !important;
}

/* EXCEPTION: Force tagline to be DARK in both themes - HIGHEST PRIORITY */
.footer-tagline-dark,
p.footer-tagline-dark,
html .footer-tagline-dark,
body .footer-tagline-dark,
.footer-header-animate .footer-tagline-dark,
html.dark .footer-tagline-dark,
.dark .footer-header-animate .footer-tagline-dark,
body.dark .footer-tagline-dark,
.dark .footer-modern .footer-tagline-dark {
    color: #1e293b !important;
}

/* Specific text-sm override - CRITICAL */
html.dark .text-sm,
.dark .text-sm,
html.dark .footer-modern .text-sm,
.dark .footer-modern .text-sm,
html.dark .footer-glass-card .text-sm,
.dark .footer-glass-card .text-sm,
html.dark footer .text-sm,
.dark footer .text-sm {
    color: #ffffff !important;
}

/* Specific leading-relaxed override - CRITICAL */
html.dark .leading-relaxed:not(.footer-tagline-dark),
.dark .leading-relaxed:not(.footer-tagline-dark),
html.dark .footer-modern .leading-relaxed:not(.footer-tagline-dark),
.dark .footer-modern .leading-relaxed:not(.footer-tagline-dark),
html.dark .footer-glass-card .leading-relaxed,
.dark .footer-glass-card .leading-relaxed,
html.dark footer .leading-relaxed:not(.footer-tagline-dark),
.dark footer .leading-relaxed:not(.footer-tagline-dark) {
    color: #ffffff !important;
}

/* All spans in footer */
html.dark .footer-modern span,
.dark .footer-modern span,
html.dark .footer-glass-card span,
.dark .footer-glass-card span,
html.dark footer span,
.dark footer span {
    color: #ffffff !important;
}

/* All list items */
html.dark .footer-list-item span,
.dark .footer-list-item span,
html.dark footer li span,
.dark footer li span {
    color: #ffffff !important;
}

/* Preserve gradient text */
html.dark .footer-modern h2.bg-clip-text,
.dark .footer-modern h2.bg-clip-text,
html.dark .bg-clip-text,
.dark .bg-clip-text {
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
}

/* Preserve accent colors with lighter shades */
html.dark .footer-modern .text-indigo-600,
.dark .footer-modern .text-indigo-600,
html.dark footer .text-indigo-600,
.dark footer .text-indigo-600 {
    color: #e0e7ff !important;
}

html.dark .footer-modern .text-emerald-600,
.dark .footer-modern .text-emerald-600 {
    color: #86efac !important;
}

html.dark .footer-modern .text-blue-600,
.dark .footer-modern .text-blue-600 {
    color: #bfdbfe !important;
}

html.dark .footer-modern .text-orange-600,
.dark .footer-modern .text-orange-600 {
    color: #fed7aa !important;
}

/* Nuclear option - force everything in footer to white EXCEPT tagline */
html.dark footer *:not(.bg-clip-text):not(.text-indigo-600):not(.text-emerald-600):not(.text-blue-600):not(.text-orange-600):not(.footer-tagline-dark),
.dark footer *:not(.bg-clip-text):not(.text-indigo-600):not(.text-emerald-600):not(.text-blue-600):not(.text-orange-600):not(.footer-tagline-dark) {
    color: #ffffff !important;
}