﻿.theme-toggle{width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;flex:none;border:1px solid #d4d4d8;border-radius:9px;background:transparent;color:#27272a;cursor:pointer;transition:background .2s,border-color .2s,color .2s}
.theme-toggle:hover{background:#f4f4f5;border-color:#a1a1aa}.theme-toggle:focus-visible{outline:2px solid #60a5fa;outline-offset:3px}.theme-toggle svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.theme-icon-sun,html[data-theme=dark] .theme-icon-moon{display:none}html[data-theme=dark] .theme-icon-sun{display:block}html[data-theme=dark] .theme-toggle{color:#fafafa;border-color:#52525b;background:#18181b}html[data-theme=dark] .theme-toggle:hover{background:#27272a}
html[data-theme=dark]{color-scheme:dark;background:#050505}html[data-theme=dark] body{background:#050505!important;color:#f8fafc!important}
html[data-theme=dark] header{background:rgba(9,9,11,.94)!important;border-color:rgba(255,255,255,.09)!important;color:#f8fafc!important}html[data-theme=dark] header a,html[data-theme=dark] header button:not(.primary-btn){color:#f8fafc!important}html[data-theme=dark] footer{background:#09090b!important;border-color:rgba(255,255,255,.09)!important}html[data-theme=dark] footer a{color:#e4e4e7!important}
html[data-theme=dark] :is(h1,h2,h3,h4,h5,h6){color:#f8fafc!important}html[data-theme=dark] :is(p,label,li,.stat-label){color:#c4c4cc}html[data-theme=dark] :is(input,textarea,select){background:#121215!important;color:#fafafa!important;border:1px solid #52525b!important}html[data-theme=dark] :is(input,textarea,select)::placeholder{color:#a1a1aa!important}html[data-theme=dark] :is(input,textarea,select):focus{outline:2px solid #82aaff!important;outline-offset:2px}
html[data-theme=dark] :is(.cp-built,.cp-built-block){background:#111113!important;color:#f8fafc!important;border-color:rgba(255,255,255,.12)!important}html[data-theme=dark] :is(.cp-built-block a,.cp-built-block button){color:#8db5ff}
@media(prefers-reduced-motion:reduce){.theme-toggle{transition:none}}
html[data-theme=dark] :is(.hero-section,.approach-section,.products-section,.projects-section,.stats-section,.partners-section,.clients-section,.testimonials-section,.contact-section){background:#050505!important;color:#f8fafc!important}
html[data-theme=dark] #hero.hero-section{background:radial-gradient(ellipse at 50% 5%,#202023 0%,#09090b 42%,#050505 78%)!important}html[data-theme=dark] #hero .hero-unicorn{visibility:hidden!important}html[data-theme=dark] #hero .wave-container{background:transparent!important}
html[data-theme=dark] :is(.card,.product-card,.project-card,.stat-item,.testimonial-card,.contact-form-card,.contact-info){background:#111113!important;border-color:rgba(255,255,255,.09)!important;color:#f8fafc!important;box-shadow:0 8px 24px #0005}
html[data-theme=dark] :is(.hero-desc,.sub-text,.products-desc,.projects-desc,.footer-desc,.contact-info p,.footer-bottom){color:#a1a1aa!important}html[data-theme=dark] :is(.stat-number,.card-icon,.quote-icon){color:#8db5ff!important}html[data-theme=dark] :is(.footer-bottom,.contact-details){border-color:rgba(255,255,255,.09)!important}
html[data-theme=dark] .product-image-frame{background:#f4f4f5!important;border-color:#d4d4d8!important;border-radius:10px}
html[data-theme=dark] :is(.partner-logo,.client-card,header .logo,footer .footer-logo,header .logo img,footer .footer-logo img,footer .footer-vision,.partner-logo img,.client-card img){background:transparent!important;border-color:transparent!important;box-shadow:none}
html[data-theme=dark] :is(.primary-btn,.submit-btn,.visit-btn){background:#477cff!important;color:#fff!important}html[data-theme=dark] :is(a,button):focus-visible{outline:2px solid #82aaff;outline-offset:3px}

/* Dark-only refinements for the counters, contact area and footer. */
html[data-theme="dark"] .stats-section {
  background: #050505 !important;
  border-block: 0;
}
html[data-theme="dark"] .stat-item {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none;
}
html[data-theme="dark"] .stat-number { color: #7c9eff !important; }
html[data-theme="dark"] .stat-label { color: #d4d4d8 !important; }
html[data-theme="dark"] .contact-info {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none;
}
html[data-theme="dark"] .contact-form-card {
  background: #0e0e11 !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  box-shadow: 0 12px 32px rgba(0,0,0,.25);
}
html[data-theme="dark"] .contact-form-card :is(input,textarea,select) {
  background: #141418 !important;
  border: 1px solid rgba(255,255,255,.12) !important;
}
html[data-theme="dark"] footer {
  max-width: none;
  width: 100%;
  padding-inline: max(20px, calc((100% - 1100px) / 2));
  background: #050505 !important;
  border-top: 1px solid rgba(255,255,255,.08) !important;
}
html[data-theme="dark"] :is(.approach-tag,.project-category,.project-link,.contact-details a,.contact-details span) {
  color: #7c9eff !important;
}
html[data-theme="dark"] :is(.primary-btn,.visit-btn,.submit-btn) {
  background: linear-gradient(135deg, #2563eb, #7c3aed) !important;
  color: #fff !important;
}
html[data-theme="dark"] :is(.primary-btn,.visit-btn,.submit-btn):hover {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6) !important;
}

/* Keep the partner ticker strip consistent with the dark page surface. */
html[data-theme="dark"] .partners-logos,
html[data-theme="dark"] .partners-marquee-track,
html[data-theme="dark"] .partners-marquee-group { background: transparent; }
html[data-theme="dark"] :is(.products-section, .stats-section, .partners-section, .testimonials-section, .contact-section) { background: transparent !important; }

html { --brand-focus: #3957ba; }


html[data-theme="dark"] .lang-btn {
  background: #18181b;
  border-color: #52525b;
}

html[data-theme="dark"] .lang-btn:hover {
  background: #27272a;
  border-color: #71717a;
}

@media (prefers-reduced-motion: reduce) {
  .nav-links a,
  .footer-links a,
  .footer-bottom-links a,
  .lang-btn {
    transition: none;
  }
}
