/* =========================================================
   ANITECH CS — CENTRAL LIGHT TECHNOLOGY THEME
   Visual-only layer. SEO, page copy, images, links and the
   common navbar/footer are intentionally left untouched.
   ========================================================= */
:root{
  --ac-theme-navy:#16324f;
  --ac-theme-blue:#2387c9;
  --ac-theme-teal:#2f8f89;
  --ac-theme-teal-soft:#eaf6f5;
  --ac-theme-blue-soft:#eef7fc;
  --ac-theme-bg:#f7fafc;
  --ac-theme-card:#ffffff;
  --ac-theme-text:#1e293b;
  --ac-theme-muted:#64748b;
  --ac-theme-border:#e2e8f0;
  --ac-theme-shadow:0 10px 30px rgba(22,50,79,.08);
}

/* Base */
html,body{background:var(--ac-theme-bg)!important;color:var(--ac-theme-text);}
body{background-image:none!important;}
main{background:var(--ac-theme-bg)!important;}

/* Index page's old purple/cyan design tokens -> Anitech brand tokens */
body:has(.hero-content){
  --primary:var(--ac-theme-blue)!important;
  --primary-dark:#1c6fa7!important;
  --secondary:var(--ac-theme-teal)!important;
  --accent:var(--ac-theme-teal)!important;
  --accent-pink:#8ab8d6!important;
  --dark:var(--ac-theme-navy)!important;
  --dark-light:#274764!important;
  --gray-900:#1e293b!important;
  --gray-800:#334155!important;
  --gray-700:#475569!important;
  --gray-600:#64748b!important;
  --gray-500:#64748b!important;
  --gray-400:#94a3b8!important;
  --gray-300:#cbd5e1!important;
  --gray-200:#e2e8f0!important;
  --gray-100:#f1f5f9!important;
  --gray-50:#f8fafc!important;
  --primary-gradient:linear-gradient(135deg,#2387c9 0%,#2f8f89 100%)!important;
  --secondary-gradient:linear-gradient(135deg,#2f8f89 0%,#2387c9 100%)!important;
  --accent-gradient:linear-gradient(135deg,#2387c9 0%,#54b8d9 100%)!important;
  --dark-gradient:linear-gradient(135deg,#16324f 0%,#234b69 100%)!important;
}

/* Remove the old multi-colour floating blobs on the home page. */
.animated-bg{display:none!important;}

/* Home hero: light technology treatment instead of dark purple/blue */
.hero,
body:has(.hero-content) .hero{
  background:linear-gradient(135deg,#ffffff 0%,#f2f8fc 58%,#edf8f7 100%)!important;
  color:var(--ac-theme-text)!important;
}
.hero::before,.hero::after{background:none!important;opacity:0!important;}
.hero-glow{opacity:.16!important;filter:blur(120px)!important;}
.hero-glow-1{background:#2387c9!important;}
.hero-glow-2{background:#2f8f89!important;}
.hero-text,.hero-title,.hero-description,.hero-text p{color:var(--ac-theme-text)!important;}
.hero-title span,.hero-title .highlight,.hero-title strong{color:var(--ac-theme-blue)!important;}
.hero-badge{background:var(--ac-theme-teal-soft)!important;border-color:#b9dfdc!important;color:var(--ac-theme-teal)!important;backdrop-filter:none!important;}
.hero-feature,.hero-stat,.hero-main-card,.hero-card-container{color:var(--ac-theme-text)!important;}
.hero-feature{background:rgba(255,255,255,.78)!important;border-color:var(--ac-theme-border)!important;}
.hero-stat-value{color:var(--ac-theme-blue)!important;}
.hero-stat-label{color:var(--ac-theme-muted)!important;}
.hero-buttons a{box-shadow:none!important;}

/* Common section rhythm */
section{color:var(--ac-theme-text);}
section h1,section h2,section h3,section h4{color:var(--ac-theme-navy);}
section p{color:var(--ac-theme-muted);}

/* Standard light section backgrounds */
.feature-section,.tech-section,.why-choose-us-enhanced,.contact-hero,
.disclaimer-section,.privacy-policy-section,.cookie-policy-enhanced,
.terms-conditions,.ptb-100,.py-5,.white-bg,.gray-light-bg{
  background:var(--ac-theme-bg)!important;
}
.gray-light-bg{background:#f7fafc!important;}

/* Hero blocks across service pages */
.hero-section,.disclaimer-hero,.privacy-hero,.terms-hero,
.contact-hero,.image-wrap-iot{
  background:linear-gradient(135deg,#ffffff 0%,#f1f7fb 62%,#edf8f7 100%)!important;
  color:var(--ac-theme-text)!important;
}
.image-wrap-iot .background-image{background:linear-gradient(135deg,#f7fbfd,#eaf6f5)!important;}
.hero-section .text-white,.image-wrap-iot .text-white,.contact-hero .text-white,
.disclaimer-hero .text-white,.privacy-hero .text-white,.terms-hero .text-white{
  color:var(--ac-theme-text)!important;
}
.hero-section h1,.image-wrap-iot h1,.contact-hero h1,.disclaimer-hero h1,.privacy-hero h1,.terms-hero h1{
  color:var(--ac-theme-navy)!important;
}

/* Replace strong dark/gradient section fills while retaining foreground imagery. */
.gradient-overly-right,.tech-section::before,.tech-section::after,
.service-shape::before,.service-shape::after{background-image:none!important;}
.gradient-overly-right{background:linear-gradient(135deg,#f1f7fb,#eaf6f5)!important;}

/* Cards: one shared visual language */
.card,.service-card,.custom-service-card,.pcb-service-card,.offer-card,
.feature-card-new,.protocol-card,.hex-card,.bento-item,.policy-card,
.cookie-type-card,.platform-card,.service-card-fw,.step-box,.single-domain,
.iot-why-choose-card-data,.sc,.eng-stat-item,.industry-card,.tech-card{
  background:var(--ac-theme-card)!important;
  border-color:var(--ac-theme-border)!important;
  box-shadow:var(--ac-theme-shadow)!important;
}
.card:hover,.service-card:hover,.custom-service-card:hover,.pcb-service-card:hover,
.offer-card:hover,.feature-card-new:hover,.protocol-card:hover,.hex-card:hover,
.bento-item:hover,.policy-card:hover,.cookie-type-card:hover,.platform-card:hover,
.service-card-fw:hover,.step-box:hover,.single-domain:hover,.industry-card:hover{
  box-shadow:0 16px 36px rgba(22,50,79,.12)!important;
}
.card-body,.card-content,.feature-card-content,.industry-card-content{color:var(--ac-theme-text);}
.card h3,.card h4,.service-card h3,.custom-service-card h3,.pcb-service-content h3,
.offer-card h3,.feature-card-new h3,.policy-card h3,.cookie-type-card h3,
.platform-card h3,.industry-card-content h3{color:var(--ac-theme-navy)!important;}
.card p,.service-card p,.custom-service-card p,.pcb-service-content p,
.offer-card p,.feature-card-new p,.policy-card p,.cookie-type-card p,
.platform-card p,.industry-card-content p{color:var(--ac-theme-muted)!important;}

/* Icon treatment: teal/blue instead of unrelated rainbow colours */
.service-card-icon,.tech-card-icon,.feature-icon-box,.offer-icon,.service-icon-fw,
.hex-icon,.bento-icon,.si2,.ic,.section-badge-eng,.section-label-fw,.tech-section-badge{
  color:var(--ac-theme-teal)!important;
}
.service-card-icon,.tech-card-icon,.feature-icon-box,.offer-icon,.service-icon-fw,
.hex-icon,.bento-icon{background:var(--ac-theme-teal-soft)!important;border-color:#c5e5e2!important;}

/* Common buttons */
.btn,.button,.action-btn a,.action-btns a,.hero-buttons a,
a.btn-primary,.btn-primary{
  background:var(--ac-theme-navy)!important;
  border-color:var(--ac-theme-navy)!important;
  color:#fff!important;
}
.btn:hover,.button:hover,.action-btn a:hover,.action-btns a:hover,.hero-buttons a:hover,
a.btn-primary:hover,.btn-primary:hover{
  background:var(--ac-theme-teal)!important;border-color:var(--ac-theme-teal)!important;color:#fff!important;
}
.solid-white-btn{background:#fff!important;color:var(--ac-theme-navy)!important;border-color:#d7e2eb!important;}

/* Service-page special colour systems -> connected brand accents */
.tech-card-bg,.tech-card-overlay,.feature-card-bg,.feature-card-overlay,
.card-overlay,.industry-card-overlay{background:linear-gradient(135deg,rgba(35,135,201,.08),rgba(47,143,137,.10))!important;}
.tech-card-pattern{opacity:.12!important;}

/* Stats / badges */
.stat-number,.eng-stat-number,.stn,.stn *{color:var(--ac-theme-blue)!important;}
.stat-label,.eng-stat-label,.stl{color:var(--ac-theme-muted)!important;}
.info-chip,.highlight-tip,.hiring-badge,.section-badge-eng,.section-label-fw,
.tech-section-badge,.hero-badge,.hlbl{
  background:var(--ac-theme-teal-soft)!important;
  color:var(--ac-theme-teal)!important;
  border-color:#c5e5e2!important;
}

/* Forms and policy pages */
input,textarea,select{background:#fff!important;color:var(--ac-theme-text)!important;border-color:var(--ac-theme-border)!important;}
input:focus,textarea:focus,select:focus{border-color:var(--ac-theme-blue)!important;box-shadow:0 0 0 3px rgba(35,135,201,.10)!important;}

/* Dark text/containers used by legacy pages */
.bg-dark,.bg-dark *,[class*="dark-bg"],[class*="dark-section"],
.dark-section,.dark-bg{background-color:#f1f7fb!important;color:var(--ac-theme-text)!important;}

/* Prevent legacy utility backgrounds from reintroducing rainbow blocks. */
.bg-primary{background-color:var(--ac-theme-blue)!important;}
.bg-success{background-color:var(--ac-theme-teal)!important;}
.bg-info{background-color:#eaf6f5!important;color:var(--ac-theme-navy)!important;}
.bg-warning{background-color:#f4f8fb!important;color:var(--ac-theme-navy)!important;}
.bg-danger{background-color:#f5f8fb!important;color:var(--ac-theme-navy)!important;}

/* Keep footer exactly on the common navy treatment. */
.ac-site-footer{background:var(--ac-navy-2)!important;color:#fff!important;}

@media(max-width:900px){
  .hero-content{grid-template-columns:1fr!important;}
}

/* =========================================================
   CONTRAST + IMAGE VISIBILITY PASS
   Keeps the centralized light technology palette while making
   foreground content readable on every section.
   ========================================================= */

/* Core readable text */
body, main, .section, section { color:var(--ac-theme-text)!important; }
section p, .section-subtitle, .section-subtitle-new { color:var(--ac-theme-muted)!important; }
section h1, section h2, section h3, section h4,
.section-title, .section-title-new { color:var(--ac-theme-navy)!important; }

/* Any legacy white text is darkened on the new light surfaces. */
.text-white { color:var(--ac-theme-text)!important; }
.ac-site-footer, .ac-site-footer * { color:inherit; }
.ac-site-footer .text-white { color:#fff!important; }

/* Home: Technology Stack — the section shown in the screenshots. */
.tech-stack{
  background:linear-gradient(135deg,#f7fbfd 0%,#eef7fc 55%,#edf8f7 100%)!important;
}
.tech-stack::before{
  background-image:
    radial-gradient(circle at 15% 80%,rgba(35,135,201,.07) 0%,transparent 45%),
    radial-gradient(circle at 85% 20%,rgba(47,143,137,.08) 0%,transparent 45%)!important;
}
.tech-stack .section-title{color:var(--ac-theme-navy)!important;}
.tech-stack .section-subtitle{color:var(--ac-theme-muted)!important;}
.tech-stack .section-badge{
  background:var(--ac-theme-teal-soft)!important;
  border-color:#c5e5e2!important;
  color:var(--ac-theme-teal)!important;
}
.tech-card{
  background:#fff!important;
  border:1px solid var(--ac-theme-border)!important;
  box-shadow:0 10px 28px rgba(22,50,79,.08)!important;
}
.tech-card:hover{background:#fff!important;box-shadow:0 16px 34px rgba(22,50,79,.12)!important;}
.tech-card-icon{
  background:var(--ac-theme-teal-soft)!important;
  border:1px solid #c5e5e2!important;
}
.tech-card-icon i{color:var(--ac-theme-teal)!important;}
.tech-card h3{color:var(--ac-theme-navy)!important;}

/* About page hero + secondary button: readable against the light hero. */
.hero,
body:has(.hi) .hero{
  background:linear-gradient(135deg,#ffffff 0%,#f2f8fc 58%,#edf8f7 100%)!important;
  color:var(--ac-theme-text)!important;
}
.hero::before{background:none!important;}
.hero h1{color:var(--ac-theme-navy)!important;}
.hero h2{color:var(--ac-theme-blue)!important;}
.hero p{color:var(--ac-theme-muted)!important;}
.hlbl{background:var(--ac-theme-teal-soft)!important;color:var(--ac-theme-teal)!important;border-color:#c5e5e2!important;}
.bo{
  border:1.5px solid #b8cbd9!important;
  background:#fff!important;
  color:var(--ac-theme-navy)!important;
}
.bo:hover{background:var(--ac-theme-teal-soft)!important;border-color:#9bcfc9!important;color:var(--ac-theme-navy)!important;}

/* Shared light heroes on service/policy/contact pages. */
.hero-section,.disclaimer-hero,.privacy-hero,.terms-hero,.contact-hero,.image-wrap-iot{
  color:var(--ac-theme-text)!important;
}
.hero-section p,.disclaimer-hero p,.privacy-hero p,.terms-hero p,.contact-hero p,.image-wrap-iot p{
  color:var(--ac-theme-muted)!important;
}

/* CTA blocks: keep them light so text never disappears into a green/blue fill. */
.call-to-action,.cta-section,.gradient-overlay{
  background:linear-gradient(135deg,#eef8f7 0%,#f2f8fc 100%)!important;
  color:var(--ac-theme-text)!important;
}
.call-to-action h1,.call-to-action h2,.call-to-action h3,
.cta-section h1,.cta-section h2,.cta-section h3,
.call-to-action p,.cta-section p,.call-to-action .text-white,.cta-section .text-white{
  color:var(--ac-theme-navy)!important;
}
.outline-white-btn{
  background:var(--ac-theme-navy)!important;
  border:1px solid var(--ac-theme-navy)!important;
  color:#fff!important;
}
.outline-white-btn:hover{background:var(--ac-theme-teal)!important;border-color:var(--ac-theme-teal)!important;color:#fff!important;}

/* Legacy dark utility surfaces become connected light-blue surfaces. */
.bg-dark,.bg-dark *,[class*="dark-bg"],[class*="dark-section"],.dark-section,.dark-bg{
  background-color:#f1f7fb!important;
  color:var(--ac-theme-text)!important;
}

/* Make normal content images reliably visible. Do not alter image URLs or SEO. */
img{opacity:1!important;visibility:visible!important;}
.feature-icon-box img,.tech-card-icon img,.service-card-icon img,.tech-card-icon i{
  opacity:1!important;visibility:visible!important;
}
.feature-icon-box img{filter:none!important;}

/* Keep hover/reveal imagery visible when a component intentionally uses it. */
.feature-card-bg img,.tech-card-bg img,.feature-card-bg{visibility:visible;}

/* Readable links and labels on light sections. */
a:not(.ac-nav-cta):not(.ac-logo):not(.ac-footer-social a){ }

@media(max-width:900px){
  .tech-grid{grid-template-columns:repeat(2,1fr)!important;}
}
@media(max-width:640px){
  .tech-grid{grid-template-columns:1fr!important;}
}


/* =========================================================
   FINAL CONTRAST PASS — KEEP EXISTING BACKGROUNDS
   Only fixes foreground readability on dark legacy sections.
   PCB + Firmware pages are converted to a light visual theme below.
   SEO, copy, image URLs, links and layout are not changed.
   ========================================================= */

/* Dark sections that intentionally keep their existing background. */
.rec,
.rec h1,.rec h2,.rec h3,.rec h4,.rec h5,.rec h6,
.rec .ttl,.rec p,.rec strong,.rec .esl{
  color:#f8fafc!important;
}
.rec .tag,.rec .esn{color:#5eead4!important;}

.global-footprint .section-title,
.global-footprint .section-subtitle,
.global-footprint h1,.global-footprint h2,.global-footprint h3,
.global-footprint h4,.global-footprint h5,.global-footprint h6,
.global-footprint p{
  color:#f8fafc!important;
}
.global-footprint .section-subtitle{color:rgba(248,250,252,.82)!important;}
.global-footprint .section-badge{color:#5eead4!important;}
.global-footprint .stat-label{color:rgba(248,250,252,.78)!important;}

.cta-section .cta-text h2,
.cta-section .cta-text p,
.cta-section h1,.cta-section h2,.cta-section h3,
.cta-section h4,.cta-section h5,.cta-section h6,
.cta-section p{color:#fff!important;}

.cta-strip h1,.cta-strip h2,.cta-strip h3,.cta-strip h4,
.cta-strip h5,.cta-strip h6,.cta-strip p{color:#fff!important;}

.contact-info-panel h1,.contact-info-panel h2,.contact-info-panel h3,
.contact-info-panel h4,.contact-info-panel h5,.contact-info-panel h6,
.contact-info-panel p,.contact-info-panel li,
.reviews-summary h1,.reviews-summary h2,.reviews-summary h3,
.reviews-summary h4,.reviews-summary h5,.reviews-summary h6,
.reviews-summary p{color:#f8fafc!important;}

.faq-contact-card h1,.faq-contact-card h2,.faq-contact-card h3,
.faq-contact-card h4,.faq-contact-card h5,.faq-contact-card h6,
.faq-contact-card p{color:#f8fafc!important;}

.engineering-stats h1,.engineering-stats h2,.engineering-stats h3,
.engineering-stats h4,.engineering-stats h5,.engineering-stats h6,
.engineering-stats p,
.wwd-stats-strip h1,.wwd-stats-strip h2,.wwd-stats-strip h3,
.wwd-stats-strip h4,.wwd-stats-strip h5,.wwd-stats-strip h6,
.wwd-stats-strip p,
.cap-cta-bar h1,.cap-cta-bar h2,.cap-cta-bar h3,
.cap-cta-bar h4,.cap-cta-bar h5,.cap-cta-bar h6,
.cap-cta-bar p{color:#f8fafc!important;}

/* =========================================================
   PCB DESIGN — LIGHT PAGE THEME
   Keep imagery and content; change only visual surface/foreground colours.
   ========================================================= */
.pcb-hero,
.pcb-why-section{
  background:linear-gradient(135deg,#f7fbfd 0%,#eef7fc 58%,#edf8f7 100%)!important;
  color:var(--ac-theme-text)!important;
}
.pcb-hero::before{background:
  radial-gradient(ellipse at 20% 50%,rgba(35,135,201,.08) 0%,transparent 50%),
  radial-gradient(ellipse at 80% 20%,rgba(47,143,137,.08) 0%,transparent 40%)!important;
}
.pcb-hero .circuit-pattern{opacity:.045!important;}
.pcb-hero-title{color:var(--ac-theme-navy)!important;}
.pcb-hero-desc{color:var(--ac-theme-muted)!important;}
.pcb-badge{background:var(--ac-theme-teal-soft)!important;border-color:#c5e5e2!important;}
.pcb-badge i,.pcb-badge span{color:var(--ac-theme-teal)!important;}
.pcb-hero-title .gradient-text{
  background:linear-gradient(135deg,#2387c9 0%,#2f8f89 100%)!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  -webkit-text-fill-color:transparent!important;
}
.pcb-btn-pimary{color:#fff!important;}
.btn-pcb-outline{border-color:#b8cbd9!important;color:var(--ac-theme-navy)!important;background:#fff!important;}
.btn-pcb-outline:hover{background:var(--ac-theme-teal-soft)!important;color:var(--ac-theme-navy)!important;border-color:#9bcfc9!important;}
.pcb-stat-label{color:var(--ac-theme-muted)!important;}
.floating-tech{
  background:rgba(255,255,255,.92)!important;
  border-color:#dbe7ef!important;
  box-shadow:0 10px 30px rgba(22,50,79,.10)!important;
}
.floating-tech span{color:var(--ac-theme-navy)!important;}
.floating-tech i{color:var(--ac-theme-teal)!important;}
.pcb-why-section .why-card{
  background:#fff!important;
  border-color:var(--ac-theme-border)!important;
  box-shadow:var(--ac-theme-shadow)!important;
}
.pcb-why-section .why-card h5{color:var(--ac-theme-navy)!important;}
.pcb-why-section .why-card p{color:var(--ac-theme-muted)!important;}
.pcb-why-section .section-title,
.pcb-why-section .section-desc{color:var(--ac-theme-navy)!important;}
.pcb-why-section .section-desc{color:var(--ac-theme-muted)!important;}
.pcb-tools-section,.pcb-services-section,.pcb-offer-section,.pcb-cta-section{
  color:var(--ac-theme-text)!important;
}
.pcb-cta-section .cta-box{box-shadow:0 18px 50px rgba(22,50,79,.12)!important;}
.pcb-hero-image img,.pcb-service-img img,.tool-item img{opacity:1!important;visibility:visible!important;}

/* =========================================================
   FIRMWARE DEVELOPMENT — LIGHT PAGE THEME
   ========================================================= */
.firmware-hero,
.services-section-fw,
.platforms-section,
.tech-stack-section,
.process-section-fw,
.features-section-fw,
.case-studies-section,
.cta-section-fw{
  background:linear-gradient(135deg,#f7fbfd 0%,#eef7fc 58%,#edf8f7 100%)!important;
  color:var(--ac-theme-text)!important;
}
.firmware-hero .circuit-pattern{opacity:.04!important;}
.firmware-hero .code-float{opacity:.12!important;}
.firmware-hero .hero-title-fw,
.firmware-hero .section-title-fw,
.services-section-fw .section-title-fw,
.platforms-section .section-title-fw,
.tech-stack-section .section-title-fw,
.process-section-fw .section-title-fw,
.features-section-fw .section-title-fw,
.case-studies-section .section-title-fw,
.cta-section-fw .section-title-fw{
  color:var(--ac-theme-navy)!important;
}
.hero-description-fw,
.section-subtitle-fw,
.feature-description-fw,
.feature-list-fw li,
.process-step-content p,
.case-study-desc{color:var(--ac-theme-muted)!important;}
.terminal-badge{
  background:#fff!important;
  border-color:var(--ac-theme-border)!important;
  color:var(--ac-theme-text)!important;
  box-shadow:0 8px 24px rgba(22,50,79,.06)!important;
}
.terminal-badge .command{color:var(--ac-theme-navy)!important;}
.code-window,
.process-code-block{
  background:#fff!important;
  border-color:var(--ac-theme-border)!important;
  box-shadow:0 14px 36px rgba(22,50,79,.10)!important;
}
.code-window-header,.process-code-header{background:#f8fafc!important;border-color:var(--ac-theme-border)!important;}
.code-window-title,.process-code-tab{color:var(--ac-theme-muted)!important;}
.code-window-body,.process-code-body{color:var(--ac-theme-text)!important;}
.service-card-fw,.platform-card,.case-study-card-fw,.cta-box-fw{
  background:#fff!important;
  border-color:var(--ac-theme-border)!important;
  box-shadow:var(--ac-theme-shadow)!important;
}
.service-card-fw h4,.platform-card h6,.case-study-title,.tech-category-title h5,
.cta-title-fw{color:var(--ac-theme-navy)!important;}
.service-card-fw p,.platform-card span,.case-study-desc,.cta-subtitle-fw{color:var(--ac-theme-muted)!important;}
.service-tag,.tech-pill,.case-study-tech span{
  background:#f1f7fb!important;
  border-color:#dbe7ef!important;
  color:#475569!important;
}
.tech-category-title::after{background:#dbe7ef!important;}
.platform-card img{filter:none!important;opacity:1!important;visibility:visible!important;}
.feature-image-fw img,.case-study-image img{opacity:1!important;visibility:visible!important;}
.process-step:hover{background:#f8fafc!important;}
.process-code-tab.active{background:var(--ac-theme-teal-soft)!important;color:var(--ac-theme-teal)!important;}
.process-step-content h5{color:var(--ac-theme-navy)!important;}
.stats-section-fw{
  background:linear-gradient(135deg,#eaf6f5 0%,#eef7fc 100%)!important;
  color:var(--ac-theme-navy)!important;
}
.stat-number-fw{color:var(--ac-theme-blue)!important;}
.stat-label-fw{color:var(--ac-theme-muted)!important;}
.cta-box-fw{background:#fff!important;}
.cta-buttons-fw .btn-fw-outline{border-color:#b8cbd9!important;color:var(--ac-theme-navy)!important;background:#fff!important;}
.cta-buttons-fw .btn-fw-outline:hover{background:var(--ac-theme-teal-soft)!important;border-color:#9bcfc9!important;color:var(--ac-theme-navy)!important;}

/* Keep every content image rendered; no source/URL changes. */
img{opacity:1!important;visibility:visible!important;}


/* =========================================================
   FINAL USER REQUEST — CONTRAST + RESEARCH IMAGE PATH FIXES
   Keeps section backgrounds as-is; only improves foreground
   readability in the five reported screenshots.
   ========================================================= */

/* 1) Homepage CTA is a light surface: use dark readable text. */
.cta-section .cta-text h2,
.cta-section .cta-text p,
.cta-section .cta-text strong,
.cta-section .cta-text li {
  color: var(--ac-theme-navy) !important;
}

/* 2) Dark IoT dashboard section: use light foreground text. */
.gradient-overly-right .text-white,
.gradient-overly-right h1,
.gradient-overly-right h2,
.gradient-overly-right h3,
.gradient-overly-right h4,
.gradient-overly-right h5,
.gradient-overly-right h6,
.gradient-overly-right p,
.gradient-overly-right li {
  color: #ffffff !important;
}

/* 3) Technology cards are light: numbers and helper text must not be white. */
.tech-section .tech-card-number {
  color: var(--ac-theme-navy) !important;
  background: rgba(255,255,255,.78) !important;
  border: 1px solid #c5e5e2 !important;
}
.tech-section .tech-card-hint {
  color: var(--ac-theme-muted) !important;
}

/* 4) Dark technical-consultation CTA: use light foreground text. */
.gradient-overlay .call-to-action-content,
.gradient-overlay .call-to-action-content h1,
.gradient-overlay .call-to-action-content h2,
.gradient-overlay .call-to-action-content h3,
.gradient-overlay .call-to-action-content h4,
.gradient-overlay .call-to-action-content h5,
.gradient-overlay .call-to-action-content h6,
.gradient-overlay .call-to-action-content p {
  color: #ffffff !important;
}

/* 5) Certification CTA uses a strong gradient: keep text/icons highly visible. */
.cert-cta-box .cta-content h1,
.cert-cta-box .cta-content h2,
.cert-cta-box .cta-content h3,
.cert-cta-box .cta-content h4,
.cert-cta-box .cta-content h5,
.cert-cta-box .cta-content h6,
.cert-cta-box .cta-content p,
.cert-cta-box .cta-content .trust-item,
.cert-cta-box .cta-content .trust-item span {
  color: #ffffff !important;
}

/* Research page: fix local image paths that were pointing to html/. */


/* =========================================================
   DEADLINE FIX — TECHNOLOGY CARDS + SENSOR INTEGRATION LIGHT THEME
   ========================================================= */

/* Technology cards: keep the light card design, but make the
   hover/revealed content clearly readable on the light surface. */
.tech-section .tech-card-bg {
  opacity: .08 !important;
}
.tech-section .tech-card-overlay {
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(22,50,79,.06) 55%, rgba(22,50,79,.14) 100%) !important;
}
.tech-section .tech-card-title,
.tech-section .tech-card-subtitle,
.tech-section .tech-card-number,
.tech-section .tech-card-hint {
  color: var(--ac-theme-navy) !important;
}
.tech-section .tech-card-subtitle,
.tech-section .tech-card-hint {
  color: var(--ac-theme-muted) !important;
}
.tech-section .tech-card-number {
  background: rgba(255,255,255,.92) !important;
  border: 1px solid #b9ddd9 !important;
}
.tech-section .tech-card-icon {
  background: var(--ac-theme-teal-soft) !important;
  border: 1px solid #b9ddd9 !important;
}
.tech-section .tech-card-icon i {
  color: var(--ac-theme-teal) !important;
}
.tech-section .tech-badge {
  background: rgba(255,255,255,.94) !important;
  border: 1px solid #b9ddd9 !important;
  color: var(--ac-theme-navy) !important;
  box-shadow: 0 4px 14px rgba(22,50,79,.06) !important;
}
.tech-section .tech-badge i {
  color: var(--ac-theme-teal) !important;
}
.tech-section .tech-badge:hover {
  background: #ffffff !important;
  color: var(--ac-theme-navy) !important;
}

/* Sensor Integration page: restore the entire page to the same
   light visual language as the rest of the website. */
body:has(.sensor-hero) {
  --dark-bg: #f7fbfd !important;
  --darker-bg: #eef7fc !important;
  --secondary-color: #e6f3f5 !important;
  --text-light: #16324f !important;
  --text-muted: #60758d !important;
  --glass-bg: rgba(255,255,255,.86) !important;
  --glass-border: #cfe4e8 !important;
}

.sensor-hero {
  background: linear-gradient(135deg, #f8fcfd 0%, #eef7fb 58%, #eaf8f6 100%) !important;
  min-height: 78vh !important;
}
.sensor-hero::before {
  background: none !important;
  opacity: 0 !important;
}
.sensor-hero::after {
  opacity: .06 !important;
}
.sensor-hero .hero-title,
.sensor-hero .hero-description,
.sensor-hero .floating-card h6,
.sensor-hero .floating-card p {
  color: #16324f !important;
}
.sensor-hero .hero-description,
.sensor-hero .floating-card p {
  color: #60758d !important;
}
.sensor-hero .hero-badge {
  background: rgba(255,255,255,.9) !important;
  border-color: #c5e5e2 !important;
  color: #238f89 !important;
}
.sensor-hero .btn-glow-outline {
  color: #16324f !important;
  border-color: #9bcfc9 !important;
  background: rgba(255,255,255,.7) !important;
}
.sensor-hero .btn-glow-outline:hover {
  color: #0f766e !important;
  background: #ffffff !important;
}
.sensor-hero .floating-card {
  background: rgba(255,255,255,.94) !important;
  border-color: #cfe4e8 !important;
  box-shadow: 0 15px 40px rgba(22,50,79,.12) !important;
}
.sensor-hero .hero-image {
  box-shadow: 0 25px 60px rgba(22,50,79,.14) !important;
  border-color: #cfe4e8 !important;
}

/* All major Sensor Integration sections inherit the light palette. */
body:has(.sensor-hero) .stats-section,
body:has(.sensor-hero) .sensor-types-section,
body:has(.sensor-hero) .process-section,
body:has(.sensor-hero) .bento-section,
body:has(.sensor-hero) .protocols-section,
body:has(.sensor-hero) .industries-section,
body:has(.sensor-hero) .case-study-section,
body:has(.sensor-hero) .cta-section-new {
  background: #f7fbfd !important;
  color: #16324f !important;
}
body:has(.sensor-hero) .sensor-types-section,
body:has(.sensor-hero) .bento-section,
body:has(.sensor-hero) .case-study-section {
  background: linear-gradient(180deg, #eef7fc 0%, #f8fcfd 100%) !important;
}
body:has(.sensor-hero) .section-title-dark,
body:has(.sensor-hero) .section-description-dark,
body:has(.sensor-hero) .hex-card h5,
body:has(.sensor-hero) .protocol-card h6,
body:has(.sensor-hero) .case-study-card h3,
body:has(.sensor-hero) .case-study-card h4,
body:has(.sensor-hero) .case-study-card p,
body:has(.sensor-hero) .timeline-content h5,
body:has(.sensor-hero) .timeline-content p {
  color: #16324f !important;
}
body:has(.sensor-hero) .section-description-dark,
body:has(.sensor-hero) .hex-card p,
body:has(.sensor-hero) .protocol-card span {
  color: #60758d !important;
}
body:has(.sensor-hero) .hex-card,
body:has(.sensor-hero) .protocol-card,
body:has(.sensor-hero) .case-study-card,
body:has(.sensor-hero) .bento-card {
  background: rgba(255,255,255,.92) !important;
  border-color: #cfe4e8 !important;
  box-shadow: 0 12px 30px rgba(22,50,79,.07) !important;
}
body:has(.sensor-hero) .industry-card-overlay {
  background: linear-gradient(transparent, rgba(22,50,79,.82)) !important;
}
body:has(.sensor-hero) .industry-card-overlay h5 {
  color: #ffffff !important;
}
body:has(.sensor-hero) .industry-card-overlay p {
  color: #eaf3f8 !important;
}
body:has(.sensor-hero) .section-tag {
  color: #0f766e !important;
  background: #dff5f1 !important;
  border: 1px solid #b9ddd9 !important;
}
body:has(.sensor-hero) .cta-section-new {
  background: linear-gradient(135deg, #eaf8f6 0%, #eef7fc 100%) !important;
}
body:has(.sensor-hero) .cta-section-new h2,
body:has(.sensor-hero) .cta-section-new p {
  color: #16324f !important;
}

/* =========================================================
   FINAL HERO IMAGE CONTRAST PASS — NPD + R&D
   Keep the photographic hero images, but restore strong light
   foreground text so it remains readable over the dark imagery.
   ========================================================= */

.image-wrap-Prototyping .hero-content-left,
.image-wrap-research .hero-content-left {
  position: relative;
  z-index: 3;
}

.image-wrap-Prototyping .hero-content-left h1,
.image-wrap-Prototyping .hero-content-left p,
.image-wrap-Prototyping .hero-content-left li,
.image-wrap-Prototyping .hero-content-left li strong,
.image-wrap-Prototyping .hero-content-left .text-white,
.image-wrap-research .hero-content-left h1,
.image-wrap-research .hero-content-left p,
.image-wrap-research .hero-content-left li,
.image-wrap-research .hero-content-left li strong,
.image-wrap-research .hero-content-left .text-white {
  color: #ffffff !important;
  text-shadow: 0 2px 8px rgba(0,0,0,.72) !important;
}

.image-wrap-Prototyping .hero-content-left h1,
.image-wrap-research .hero-content-left h1 {
  font-weight: 700 !important;
}

.image-wrap-Prototyping .hero-content-left p,
.image-wrap-research .hero-content-left p,
.image-wrap-Prototyping .hero-content-left li,
.image-wrap-research .hero-content-left li {
  opacity: 1 !important;
}

/* A subtle dark veil improves readability without replacing the image. */
.image-wrap-Prototyping::after,
.image-wrap-research::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(3,18,35,.66) 0%, rgba(3,18,35,.42) 48%, rgba(3,18,35,.12) 100%);
}

.image-wrap-Prototyping .container,
.image-wrap-research .container {
  position: relative;
  z-index: 2;
}


/* =========================================================
   HOME PAGE — REQUESTED INDEX-ONLY REFINEMENTS
   ========================================================= */
/* Keep the Reliability card clearly above/right of Firmware Deployed. */
body:has(.hero-content) .floating-card-2{
  top:-155px!important;
  right:-95px!important;
  bottom:auto!important;
  left:auto!important;
  z-index:5!important;
}

/* Sectors: continuous, automatic, seamless loop. */
body:has(.industries-carousel) .industries-carousel{
  overflow:hidden!important;
  scroll-snap-type:none!important;
  scrollbar-width:none!important;
}
body:has(.industries-carousel) .industries-carousel::-webkit-scrollbar{display:none!important;}
body:has(.industries-carousel) .industries-track{
  display:flex!important;
  flex-wrap:nowrap!important;
  gap:24px!important;
  width:max-content!important;
  animation:anitech-industries-loop 34s linear infinite!important;
  will-change:transform;
}
body:has(.industries-carousel) .industries-track .industry-card{
  flex:0 0 280px!important;
  scroll-snap-align:none!important;
}
@keyframes anitech-industries-loop{
  from{transform:translateX(0);}
  to{transform:translateX(calc(-50% - 12px));}
}

/* FAQ answers remain hover/focus driven, never click driven. */
body:has(.faq-section) .faq-item:hover .faq-answer,
body:has(.faq-section) .faq-item:focus-within .faq-answer,
body:has(.faq-section) .faq-item.hover-open .faq-answer{
  max-height:500px!important;
}
body:has(.faq-section) .faq-item:hover .faq-toggle,
body:has(.faq-section) .faq-item:focus-within .faq-toggle,
body:has(.faq-section) .faq-item.hover-open .faq-toggle{
  background:var(--primary)!important;
  color:var(--white)!important;
  transform:rotate(45deg);
}
body:has(.faq-section) .faq-item:hover .faq-number,
body:has(.faq-section) .faq-item:focus-within .faq-number,
body:has(.faq-section) .faq-item.hover-open .faq-number{
  background:var(--primary-gradient)!important;
  color:var(--white)!important;
}

/* Respect users who explicitly request reduced motion. */
@media (prefers-reduced-motion:reduce){
  body:has(.industries-carousel) .industries-track{animation:none!important;}
}
