/* ─── LIGHT THEME OVERRIDES ─── */
[data-theme="light"]{
  --navy:#ffffff;
  --navy2:#f8f9fc;
  --navy3:#f0f2f7;
  --navy4:#e8eaf2;
  --white:#0a0b1e;
  --muted:#5a6478;
  --border:rgba(0,0,0,0.08);
}

/* Body */
[data-theme="light"] body{background:#ffffff;color:#0a0b1e;}

/* Nav */
[data-theme="light"] nav{background:rgba(255,255,255,.92);border-bottom:1px solid rgba(0,0,0,.08);}
[data-theme="light"] .logo{color:#0a0b1e;}
[data-theme="light"] .nav-links a{color:#5a6478;}
[data-theme="light"] .nav-links a:hover,
[data-theme="light"] .nav-links a.cur{color:#0a0b1e;}
[data-theme="light"] .nav-cta{background:#0a0b1e;color:#fff;}
[data-theme="light"] .nav-cta:hover{background:#1e2040;}

/* Buttons */
[data-theme="light"] .btn-pri{background:#0a0b1e;color:#fff;box-shadow:0 4px 20px rgba(0,0,0,.1);}
[data-theme="light"] .btn-pri:hover{box-shadow:0 8px 36px rgba(0,0,0,.15);}
[data-theme="light"] .btn-sec{border-color:rgba(0,0,0,.18);color:#0a0b1e;}
[data-theme="light"] .btn-sec:hover{border-color:rgba(0,0,0,.35);background:rgba(0,0,0,.04);}

/* Section backgrounds */
[data-theme="light"] .sec.d2{background:#f8f9fc;}
[data-theme="light"] .sec.d3{background:#f0f2f7;}

/* Stat bar */
[data-theme="light"] .stat-bar{background:#f8f9fc;border-color:rgba(0,0,0,.08);}
[data-theme="light"] .stat-item{border-color:rgba(0,0,0,.08);}
[data-theme="light"] .stat-item:hover{background:rgba(0,0,0,.02);}

/* Dashboard card */
[data-theme="light"] .dash{background:#fff;border-color:rgba(0,0,0,.1);box-shadow:0 8px 40px rgba(0,0,0,.08);}
[data-theme="light"] .dash-head{background:#f8f9fc;border-bottom-color:rgba(0,0,0,.06);}
[data-theme="light"] .dash-row:hover{background:rgba(0,0,0,.03);}
[data-theme="light"] .dash-foot{border-top-color:rgba(0,0,0,.06);}
[data-theme="light"] .dash-sub{color:#5a6478;}
[data-theme="light"] .mini-l{color:#5a6478;}

/* Terminal */
[data-theme="light"] .term{background:#fff;border-color:rgba(0,0,0,.1);box-shadow:0 8px 40px rgba(0,0,0,.08);}
[data-theme="light"] .term-bar{background:#f8f9fc;border-bottom-color:rgba(0,0,0,.06);}
[data-theme="light"] .term-body{color:#0a0b1e;}
[data-theme="light"] .tc{color:#94a3b8;}
[data-theme="light"] .tk{color:#059669;}
[data-theme="light"] .tv{color:#d97706;}
[data-theme="light"] .ts{color:#0284c7;}

/* Services grid */
[data-theme="light"] .srv-grid{background:rgba(0,0,0,.06);border-color:rgba(0,0,0,.08);}
[data-theme="light"] .srv-card{background:#f8f9fc;}
[data-theme="light"] .srv-card:hover{background:#f0f2f7;}
[data-theme="light"] .srv-n{color:rgba(0,0,0,.12);}
[data-theme="light"] .srv-card h3{color:#0a0b1e;}
[data-theme="light"] .srv-card p{color:#5a6478;}

/* Full service cards */
[data-theme="light"] .fsrv{background:#f8f9fc;border-color:rgba(0,0,0,.08);}
[data-theme="light"] .fsrv:hover{border-color:rgba(0,0,0,.2);}
[data-theme="light"] .fsrv h3{color:#0a0b1e;}
[data-theme="light"] .fsrv p{color:#5a6478;}

/* Tags */
[data-theme="light"] .tag{background:rgba(0,0,0,.04);border-color:rgba(0,0,0,.1);color:#5a6478;}

/* Process */
[data-theme="light"] .proc-n{background:#f0f2f7;border-color:rgba(0,0,0,.1);color:#0a0b1e;}
[data-theme="light"] .proc-item h3{color:#0a0b1e;}
[data-theme="light"] .proc-item p{color:#5a6478;}

/* Testimonials */
[data-theme="light"] .testi{background:#f8f9fc;border-color:rgba(0,0,0,.08);}
[data-theme="light"] .testi:hover{border-color:rgba(0,0,0,.2);}
[data-theme="light"] .t-text{color:rgba(0,0,0,.6);}
[data-theme="light"] .t-name{color:#0a0b1e;}
[data-theme="light"] .t-role{color:#5a6478;}

/* CTA section */
[data-theme="light"] .cta-sec{background:#f8f9fc;border-top-color:rgba(0,0,0,.08);}
[data-theme="light"] .cta-orb{background:radial-gradient(ellipse,rgba(37,99,235,.06),transparent 70%);}
[data-theme="light"] .cta-sec h2{color:#0a0b1e;}
[data-theme="light"] .cta-sec p{color:#5a6478;}

/* Values / Team cards */
[data-theme="light"] .val-card{background:#f8f9fc;border-color:rgba(0,0,0,.08);}
[data-theme="light"] .val-card:hover{border-color:rgba(0,0,0,.2);}
[data-theme="light"] .val-card h3{color:#0a0b1e;}
[data-theme="light"] .val-card p{color:#5a6478;}
[data-theme="light"] .team-card{background:#f8f9fc;border-color:rgba(0,0,0,.08);}
[data-theme="light"] .team-card:hover{border-color:rgba(0,0,0,.2);}
[data-theme="light"] .team-card h3{color:#0a0b1e;}
[data-theme="light"] .team-card p{color:#5a6478;}

/* Blog cards */
[data-theme="light"] .blog-card{background:#f8f9fc;border-color:rgba(0,0,0,.08);}
[data-theme="light"] .blog-card:hover{border-color:rgba(0,0,0,.2);}
[data-theme="light"] .blog-card h3{color:#0a0b1e;}
[data-theme="light"] .blog-card p{color:#5a6478;}
[data-theme="light"] .blog-meta{color:rgba(0,0,0,.35);}

/* Contact form */
[data-theme="light"] .form-sec{background:#fff;}
[data-theme="light"] .fcard{background:#f8f9fc;border-color:rgba(0,0,0,.08);}
[data-theme="light"] .fg input,
[data-theme="light"] .fg select,
[data-theme="light"] .fg textarea{background:rgba(0,0,0,.03);border-color:rgba(0,0,0,.12);color:#0a0b1e;}
[data-theme="light"] .fg input:focus,
[data-theme="light"] .fg select:focus,
[data-theme="light"] .fg textarea:focus{border-color:rgba(37,99,235,.5);}
[data-theme="light"] .fg select option{background:#f8f9fc;color:#0a0b1e;}
[data-theme="light"] .fg label{color:#5a6478;}
[data-theme="light"] .f-submit{background:#0a0b1e;color:#fff;}
[data-theme="light"] .f-submit:hover{background:#1e2040;}
[data-theme="light"] .c-ico{background:rgba(0,0,0,.04);}
[data-theme="light"] .c-label{color:#5a6478;}
[data-theme="light"] .c-val{color:#0a0b1e;}
[data-theme="light"] .c-val a{color:#0a0b1e;}
[data-theme="light"] .c-item{border-bottom-color:rgba(0,0,0,.08);}

/* FAQ */
[data-theme="light"] .faq-item{background:#f8f9fc;border-color:rgba(0,0,0,.08);}
[data-theme="light"] .faq-item:hover{border-color:rgba(0,0,0,.2);}
[data-theme="light"] .faq-q{color:#0a0b1e;}
[data-theme="light"] .faq-a{color:#5a6478;}
[data-theme="light"] .faq-chevron{color:#5a6478;}

/* Footer */
[data-theme="light"] footer{background:#fff;border-top-color:rgba(0,0,0,.08);}
[data-theme="light"] .foot-grid{border-bottom-color:rgba(0,0,0,.08);}
[data-theme="light"] .foot-logo{color:#0a0b1e;}
[data-theme="light"] .foot-desc{color:#5a6478;}
[data-theme="light"] .foot-col h4{color:rgba(0,0,0,.35);}
[data-theme="light"] .foot-col a{color:#5a6478;}
[data-theme="light"] .foot-col a:hover{color:#0a0b1e;}
[data-theme="light"] .foot-bot p{color:rgba(0,0,0,.3);}
[data-theme="light"] .foot-links a{color:rgba(0,0,0,.3);}
[data-theme="light"] .soc-ico{background:rgba(0,0,0,.04);border-color:rgba(0,0,0,.08);color:#5a6478;}
[data-theme="light"] .soc-ico:hover{background:rgba(0,0,0,.08);color:#0a0b1e;}

/* Sticky bar */
[data-theme="light"] .sticky{background:rgba(255,255,255,.96);border-top-color:rgba(0,0,0,.08);}
[data-theme="light"] .sticky p{color:#5a6478;}
[data-theme="light"] .sticky strong{color:#0a0b1e;}

/* Orbs — softer on light */
[data-theme="light"] .orb{opacity:.08;}

/* Dots pattern */
[data-theme="light"] .dots{background-image:radial-gradient(rgba(0,0,0,.06) 1px,transparent 1px);}

/* Hero section */
[data-theme="light"] .hero{background:#fff;}
[data-theme="light"] .hero-badge{background:rgba(0,0,0,.04);border-color:rgba(0,0,0,.1);color:#5a6478;}
[data-theme="light"] .hero-badge strong{color:#0a0b1e;}
[data-theme="light"] .hero h1{color:#0a0b1e;}
[data-theme="light"] .hero-sub{color:#5a6478;}
[data-theme="light"] .trust-wrap p{color:rgba(0,0,0,.35);}
[data-theme="light"] .chip{background:rgba(0,0,0,.04);border-color:rgba(0,0,0,.08);color:rgba(0,0,0,.5);}
[data-theme="light"] .chip:hover{background:rgba(0,0,0,.07);color:rgba(0,0,0,.8);}

/* Page hero bg override */
[data-theme="light"] .page-hero{background:radial-gradient(ellipse 120% 60% at 50% 0%,#e8edf5,#fff 70%) !important;}

/* Section headings and text */
[data-theme="light"] .section-h{color:#0a0b1e;}
[data-theme="light"] .section-p{color:#5a6478;}

/* Light cards (used on index) */
[data-theme="light"] .lcard{background:#f8f9fc;border:1px solid rgba(0,0,0,.08);}
[data-theme="light"] .lcard:hover{box-shadow:0 20px 50px rgba(0,0,0,.06);}
[data-theme="light"] .lcard h3{color:#0a0b1e;}
[data-theme="light"] .lcard p{color:#5a6478;}

/* Blog newsletter input */
[data-theme="light"] .cta-sec input[type="email"]{background:rgba(0,0,0,.04);border-color:rgba(0,0,0,.12);color:#0a0b1e;}

/* ─── THEME TOGGLE BUTTON ─── */
.theme-toggle{
  background:none;
  border:1px solid var(--border);
  border-radius:8px;
  width:36px;height:36px;
  display:flex;align-items:center;justify-content:center;
  cursor:pointer;
  color:var(--muted);
  font-size:1rem;
  transition:all .2s;
  margin-left:12px;
  flex-shrink:0;
}
.theme-toggle:hover{
  background:rgba(128,128,128,.1);
  color:var(--white);
}
.theme-toggle .icon-sun,
.theme-toggle .icon-moon{display:none;}
[data-theme="dark"] .theme-toggle .icon-sun{display:block;}
[data-theme="light"] .theme-toggle .icon-moon{display:block;}
/* Default (no data-theme yet) treat as dark */
html:not([data-theme]) .theme-toggle .icon-sun{display:block;}

/* Smooth transition for theme switch */
html.theme-transition,
html.theme-transition *,
html.theme-transition *::before,
html.theme-transition *::after{
  transition:background .3s ease, color .3s ease, border-color .3s ease, box-shadow .3s ease !important;
  transition-delay:0s !important;
}
