/* ===== CRITICAL CONTRAST FIX FOR INDUSTRY PAGES ===== */
/* Emergency fix for dark text on dark backgrounds */

/* ===== FORCE HIGH CONTRAST ON ALL SECTIONS ===== */

.o_website .industry-detail-page {
  background: #ffffff;
  color: #000000;
}

.o_website .industry-detail-page * {
  color: inherit;
}

/* ===== HERO SECTION CONTRAST FIX ===== */

.o_website .industry-detail-page .executive-hero {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  color: #000000;
}

.o_website .industry-detail-page .executive-hero * {
  color: #000000;
  text-shadow: none;
}

.o_website .industry-detail-page .executive-hero .executive-subtitle {
  color: #374151;
}

.o_website .industry-detail-page .executive-hero .title-accent {
  color: #2563eb;
  -webkit-text-fill-color: #2563eb;
}

.o_website .industry-detail-page .executive-hero .positioning-label {
  color: #6b7280;
}

.o_website .industry-detail-page .executive-hero .metric-label {
  color: #6b7280;
}

.o_website .industry-detail-page .executive-hero .trust-indicator {
  color: #374151;
}

/* ===== BUTTON CONTRAST FIX ===== */

.o_website .industry-detail-page .executive-primary {
  background: #2563eb;
  color: #ffffff;
  border: 2px solid #2563eb;
}

.o_website .industry-detail-page .executive-secondary {
  background: #ffffff;
  color: #2563eb;
  border: 2px solid #2563eb;
}

/* ===== CHALLENGE CARDS CONTRAST ===== */

.o_website .industry-detail-page .strategic-challenge {
  background: #ffffff;
  color: #000000;
  border: 2px solid #e5e7eb;
}

.o_website .industry-detail-page .strategic-challenge h3 {
  color: #000000;
}

.o_website .industry-detail-page .strategic-challenge .challenge-description {
  color: #374151;
}

.o_website .industry-detail-page .strategic-challenge .approach-desc {
  color: #374151;
}

.o_website .industry-detail-page .strategic-challenge .impact-label {
  color: #6b7280;
}

/* ===== SECTION BACKGROUNDS ===== */

.o_website .industry-detail-page .strategic-challenges {
  background: #ffffff;
}

.o_website .industry-detail-page .strategic-challenges::before {
  background: #f9fafb;
}

.o_website .industry-detail-page .industry-expertise-section {
  background: #ffffff;
}

.o_website .industry-detail-page .industry-recognition-section {
  background: #f9fafb;
}

/* ===== HEADER TEXT CONTRAST ===== */

.o_website .industry-detail-page .executive-header h2 {
  color: #000000;
}

.o_website .industry-detail-page .executive-header .executive-subtitle {
  color: #374151;
}

.o_website .industry-detail-page .context-label {
  color: #6b7280;
}

/* ===== EXPERTISE CARDS CONTRAST ===== */

.o_website .industry-detail-page .expertise-card {
  background: #ffffff;
  color: #000000;
  border: 2px solid #e5e7eb;
}

.o_website .industry-detail-page .expertise-card h3 {
  color: #000000;
}

.o_website .industry-detail-page .expertise-card p {
  color: #374151;
}

/* ===== RECOGNITION SECTION CONTRAST ===== */

.o_website .industry-detail-page .recognition-category {
  background: #ffffff;
  color: #000000;
  border: 2px solid #e5e7eb;
}

.o_website .industry-detail-page .recognition-category h3 {
  color: #000000;
}

.o_website .industry-detail-page .recognition-item {
  color: #374151;
}

/* ===== CTA SECTION CONTRAST ===== */

.o_website .industry-detail-page .industry-cta-section {
  background: #1f2937;
  color: #ffffff;
}

.o_website .industry-detail-page .industry-cta-section * {
  color: #ffffff;
}

.o_website .industry-detail-page .industry-cta-section h2 {
  color: #ffffff;
}

.o_website .industry-detail-page .industry-cta-section p {
  color: #d1d5db;
}

/* ===== STATS AND METRICS CONTRAST ===== */

.o_website .industry-detail-page .stat-number {
  color: #2563eb;
}

.o_website .industry-detail-page .stat-label {
  color: #374151;
}

.o_website .industry-detail-page .impact-value {
  color: #059669;
}

.o_website .industry-detail-page .metric-number {
  color: #2563eb;
}

/* ===== BADGES AND ICONS CONTRAST ===== */

.o_website .industry-detail-page .detail-hero-badge {
  background: #2563eb;
  color: #ffffff;
}

.o_website .industry-detail-page .challenge-priority {
  background: #dc2626;
  color: #ffffff;
}

.o_website .industry-detail-page .expertise-badge {
  background: #059669;
  color: #ffffff;
}

/* ===== FORCE READABLE BACKGROUNDS ===== */

.o_website .industry-detail-page .challenge-impact {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
}

.o_website .industry-detail-page .impact-metric {
  background: #ffffff;
  border: 1px solid #e5e7eb;
}

.o_website .industry-detail-page .strategic-approach {
  background: rgba(37, 99, 235, 0.05);
  border-left: 4px solid #2563eb;
}

.o_website .industry-detail-page .overview-stat {
  background: #ffffff;
  border: 2px solid #e5e7eb;
}

/* ===== MOBILE CONTRAST FIXES ===== */

@media (max-width: 768px) {
  .industry-detail-page .executive-hero {
    background: #ffffff !important;
  }
  
  .industry-detail-page .strategic-challenges {
    background: #ffffff !important;
  }
}

/* ===== PRINT CONTRAST ===== */

@media print {
  .industry-detail-page,
  .industry-detail-page * {
    background: #ffffff !important;
    color: #000000 !important;
    text-shadow: none !important;
  }
  
  .industry-detail-page .executive-hero {
    background: #ffffff !important;
  }
}

/* ===== ACCESSIBILITY OVERRIDES ===== */

.o_website .industry-detail-page *:focus {
  outline: 3px solid #2563eb;
  outline-offset: 2px;
  background: #ffffff;
  color: #000000;
}

/* ===== ENSURE MINIMUM CONTRAST RATIOS ===== */

.industry-detail-page h1,
.industry-detail-page h2,
.industry-detail-page h3,
.industry-detail-page h4,
.industry-detail-page h5,
.industry-detail-page h6 {
  color: #000000 !important;
  font-weight: 700 !important;
}

.industry-detail-page p,
.industry-detail-page span,
.industry-detail-page div {
  color: #374151 !important;
}

.o_website .industry-detail-page a {
  color: #2563eb;
  text-decoration: underline;
}

.o_website .industry-detail-page a:hover {
  color: #1d4ed8;
}

/* ===== REMOVE PROBLEMATIC GRADIENTS ===== */

.industry-detail-page .hero-background-elements,
.industry-detail-page .hero-geometric-pattern,
.industry-detail-page .hero-strategic-overlay {
  display: none !important;
}

.industry-detail-page .strategic-challenges::before,
.industry-detail-page .industry-expertise-section::before,
.industry-detail-page .industry-cta-section::before {
  display: none !important;
}

/* ===== SIMPLIFIED CLEAN LAYOUT ===== */

.o_website .industry-detail-page section {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  padding: 4rem 0;
}

.o_website .industry-detail-page section:nth-child(even) {
  background: #f9fafb;
}

.o_website .industry-detail-page .becloud-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}