/**
 * ADA Contrast - Load LAST on every page.
 * Ensures no "Very low contrast" errors.
 */
/* Dark overlays so white text always has dark bg */
.page_header { position: relative; }
.page_header::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.7); pointer-events: none;
}
.page_header .container { position: relative; z-index: 1; }
.features { position: relative; }
.features::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.6); pointer-events: none;
}
.features .container { position: relative; z-index: 1; }
.services { position: relative; }
.services::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.6); pointer-events: none;
}
.services .container { position: relative; z-index: 1; }

/* Nav: solid black + pure white (highest specificity so nothing overrides) */
html body nav.navbar,
html body .navbar.navbar-fixed-top,
.navbar .navbar-collapse.collapse,
.navbar .navbar-collapse.in {
  background-color: #000000 !important;
  background-image: none !important;
}
html body .navbar .navbar-nav > li > a,
html body .navbar .nav li a,
.navbar .navbar-nav > li > a {
  color: #ffffff !important;
}
.navbar .navbar-nav > li > a:hover,
.navbar .navbar-nav > li > a:focus {
  color: #ffdd57 !important;
}

/* Footer: solid black + white/yellow (highest specificity) */
html body footer.footer,
html body section.footer,
footer.footer,
.footer {
  background-color: #000000 !important;
  background-image: none !important;
}
html body footer.footer h1,
html body .footer h1,
footer.footer h1,
.footer h1,
.footer-address .fa,
footer .footer-address .fa {
  color: #ffdd00 !important;
}
html body footer.footer p,
html body footer.footer .footer-address p,
html body .footer p,
footer.footer p,
.footer .footer-address p,
.footer p {
  color: #ffffff !important;
}
html body footer.footer .footer-copyrights p,
.footer .footer-copyrights p {
  color: #f0f0f0 !important;
}
html body footer.footer a,
.footer a,
.footer-copyrights .accessibility-link a {
  color: #ffdd00 !important;
}
.footer a:hover {
  color: #ffffff !important;
}

/* Light-background sections only (do NOT target .footer or .navbar) */
.main-content p, .contact-content p, .contact-info p, .about2 p,
.about p, .about .smalll, .about .page-header h1 small,
.panel-body p, .margin_60_35 p {
  color: #000000 !important;
}
.about .page-header h1, .about .page-header h2, .about2 h2, .contact-content h3, .main-content h3,
.panel-title a, .accordion-toggle, .menu-tags span, .menu-tags2 span,
.menu-tags3 span, .menu-tags4 span {
  color: #000000 !important;
}
section.about,
section.about .container,
section.about .page-header {
  background-color: #ffffff !important;
}
.panel-body li, .about2 li, .main-content label, .contact-content label,
.main-content .help-block, .contact-content .help-block,
.main-content .text-muted, .contact-content .text-muted, .about2 .text-muted {
  color: #1a1a1a !important;
}

.page_header h2, .page_header p, .page_header * {
  color: #fff !important; opacity: 1 !important;
  text-shadow: 0 2px 4px rgba(0,0,0,0.95) !important;
}
.home .tittle-block h1, .home .tittle-block h2, .home .tittle-block * {
  color: #fff !important; text-shadow: 0 2px 6px rgba(0,0,0,0.95) !important;
}
/* Our Specialties：实心深色背景供对比度工具计算，避免 Very low contrast */
.features .page-header {
  background-color: #1a1a1a !important;
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
}
.features .page-header * { color: #ffffff !important; text-shadow: none !important; }
section.features { background-color: #1a1a1a !important; }
.services .service-content * { color: #fff !important; text-shadow: 0 1px 3px rgba(0,0,0,0.9) !important; }
.special-slider .slider-content * { color: #fff !important; text-shadow: 0 1px 3px rgba(0,0,0,0.9) !important; }

.contact-social a { background: #1a1a1a !important; color: #fff !important; }
.contact-social a:hover { background: #ffdd57 !important; color: #1a1a1a !important; }
.myButton, .myButton b { color: #fff !important; background: #c00 !important; }
