/* ═══════════════════════════════════════════════════════
   TerraOptixx — Main Stylesheet
   ═══════════════════════════════════════════════════════ */

/* ── Reset & Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Dark theme (default) ─────────────────────────────── */
:root {
  --bg:        #050d1f;
  --bg-2:      #080f22;
  --bg-card:   #0c1530;
  --bg-card-2: #101933;
  --border:    rgba(255,255,255,0.07);
  --border-h:  rgba(0,212,255,0.35);

  --blue:      #0062ff;
  --cyan:      #00d4ff;
  --purple:    #7c3aed;
  --green:     #10b981;
  --orange:    #f97316;
  --red:       #ef4444;

  --text-1:    #f0f4ff;
  --text-2:    #8b9ab5;
  --text-3:    #4a5568;

  --gradient:  linear-gradient(135deg, var(--blue), var(--cyan));
  --gradient-p:linear-gradient(135deg, var(--purple), var(--cyan));

  --radius:    16px;
  --radius-sm: 8px;
  --shadow:    0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 16px 64px rgba(0,0,0,0.5);

  --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
  --font: 'Inter', system-ui, sans-serif;
  --font-head: 'Space Grotesk', sans-serif;

  /* Theme toggle specifics */
  --tt-track-bg:   rgba(255,255,255,0.08);
  --tt-track-bdr:  rgba(255,255,255,0.14);
  --tt-thumb-bg:   #1a2a50;
  --tt-thumb-clr:  #00d4ff;
  --tt-lbl-clr:    #8b9ab5;
}

/* ── Light theme overrides ────────────────────────────── */
[data-theme="light"] {
  --bg:        #f0f4ff;
  --bg-2:      #e6ecf8;
  --bg-card:   #ffffff;
  --bg-card-2: #f5f8ff;
  --border:    rgba(0,0,0,0.08);
  --border-h:  rgba(0,98,255,0.35);

  --text-1:    #0d1730;
  --text-2:    #4a5568;
  --text-3:    #9aa5b4;

  --shadow:    0 4px 24px rgba(0,50,150,0.10);
  --shadow-lg: 0 16px 64px rgba(0,50,150,0.15);

  /* Toggle specifics in light */
  --tt-track-bg:   rgba(0,98,255,0.10);
  --tt-track-bdr:  rgba(0,98,255,0.22);
  --tt-thumb-bg:   #ffffff;
  --tt-thumb-clr:  #f97316;
  --tt-lbl-clr:    #4a5568;
}

/* ── Theme transition — smooth colour swaps ───────────── */
body,
.navbar,
.hero,
.about,
.services,
.service-card,
.process,
.stats,
.stat-card,
.why-card,
.testimonials,
.testi-card,
.clients,
.contact,
.contact-form,
.footer,
.fcard,
.cd-icon,
.feat-icon,
.ps-icon,
.why-icon,
.social-link,
.tctl,
.back-top,
.cert-badge,
.client-logo,
.nav-link,
.form-group input,
.form-group select,
.form-group textarea {
  transition:
    background-color 0.45s ease,
    background      0.45s ease,
    color           0.45s ease,
    border-color    0.45s ease,
    box-shadow      0.45s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-1);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font); }

/* ── Utility ──────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 100px 0; position: relative; }

.text-center { text-align: center; }

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 16px;
}

.section-tag::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  animation: blink 1.6s ease-in-out infinite;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-1);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-2);
  max-width: 540px;
  margin: 0 auto;
}

.section-header { margin-bottom: 64px; }

.mt-4 { margin-top: 32px; }

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 24px rgba(0,98,255,0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,98,255,0.5);
}

.btn-ghost {
  background: transparent;
  color: var(--text-1);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
}

.btn-block { width: 100%; justify-content: center; }

/* ── Animations ───────────────────────────────────────── */
@keyframes blink {
  0%,100% { opacity: 1; }
  50%      { opacity: 0.3; }
}

@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

@keyframes floatR {
  0%,100% { transform: translateY(0) rotate(2deg); }
  50%      { transform: translateY(-10px) rotate(-2deg); }
}

@keyframes pulse-ring {
  0%   { transform: scale(0.85); opacity: 0.6; }
  100% { transform: scale(1.2);  opacity: 0; }
}

@keyframes scroll-arrow {
  0%,100% { transform: translateX(-50%) translateY(0); opacity: 0.6; }
  50%      { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes orb-pulse {
  0%,100% { opacity: 0.18; transform: scale(1); }
  50%      { opacity: 0.28; transform: scale(1.1); }
}

@keyframes spin-slow {
  to { transform: rotate(360deg); }
}

/* Reveal animations */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22,1,0.36,1);
}

.reveal-up    { transform: translateY(48px); }
.reveal-left  { transform: translateX(-56px); }
.reveal-right { transform: translateX(56px); }

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ══════════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(5,13,31,0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  box-shadow: 0 4px 32px rgba(0,0,0,0.3);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ── Real PNG logo image ─────────────────────────────── */
.logo-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 9px;
  /* white bg from the PNG reads as a crisp badge on dark backgrounds */
  box-shadow:
    0 2px 10px rgba(0, 98, 255, 0.30),
    0 0 0 1px rgba(0, 98, 255, 0.12);
  transition: box-shadow var(--transition), transform var(--transition);
  flex-shrink: 0;
  background: #fff;           /* safety fill if PNG edge is transparent */
}

.logo:hover .logo-img {
  transform: scale(1.08);
  box-shadow:
    0 4px 18px rgba(0, 98, 255, 0.45),
    0 0 0 1px rgba(0, 98, 255, 0.22);
}

/* Footer logo is slightly smaller */
.logo-img--footer {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

/* Light mode — shadow adapts to lighter palette */
[data-theme="light"] .logo-img {
  box-shadow:
    0 2px 10px rgba(0, 98, 255, 0.18),
    0 0 0 1px rgba(0, 98, 255, 0.10);
}

[data-theme="light"] .logo:hover .logo-img {
  box-shadow:
    0 4px 18px rgba(0, 98, 255, 0.30),
    0 0 0 1px rgba(0, 98, 255, 0.18);
}

.logo-text {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-1);
}

.logo-accent { color: var(--cyan); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-2);
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-1);
  background: rgba(255,255,255,0.05);
}

.nav-cta {
  background: var(--gradient) !important;
  color: #fff !important;
  border-radius: 100px !important;
  padding: 10px 22px !important;
  margin-left: 8px;
  box-shadow: 0 4px 16px rgba(0,98,255,0.3);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(0,98,255,0.5) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-1);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 24px 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Real photo layer */
.hero-bg-photo {
  position: absolute;
  inset: 0;
  background-image: url('../images/server-cabinets-data-center-maintaining-large-scale-ai-datasets.jpg');
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  z-index: 0;
  opacity: 0.22;
  transform: scale(1.04);        /* slight scale prevents edge gaps on parallax */
  transition: opacity 0.5s ease;
}

/* Gradient overlay that darkens edges and keeps text readable */
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 100% 80% at 50% 50%, rgba(5,13,31,0.45) 0%, rgba(5,13,31,0.82) 100%),
    linear-gradient(180deg, rgba(5,13,31,0.6) 0%, transparent 40%, transparent 60%, rgba(5,13,31,0.9) 100%);
}

[data-theme="light"] .hero-bg-photo  { opacity: 0.32; }
[data-theme="light"] .hero-bg-overlay {
  background:
    radial-gradient(ellipse 100% 80% at 50% 50%, rgba(240,244,255,0.55) 0%, rgba(240,244,255,0.88) 100%),
    linear-gradient(180deg, rgba(240,244,255,0.7) 0%, transparent 40%, transparent 60%, rgba(240,244,255,0.95) 100%);
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orb-pulse 6s ease-in-out infinite;
}

.orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,98,255,0.22), transparent 70%);
  top: -100px; left: -100px;
  animation-delay: 0s;
}

.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(124,58,237,0.18), transparent 70%);
  top: 20%; right: -50px;
  animation-delay: 2s;
}

.orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(0,212,255,0.12), transparent 70%);
  bottom: 10%; left: 30%;
  animation-delay: 4s;
}

.orb-4 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,98,255,0.12), transparent 70%);
  top: -100px; right: -200px;
  animation-delay: 1s;
}

.orb-5 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(124,58,237,0.1), transparent 70%);
  bottom: -100px; left: -100px;
  animation-delay: 3s;
}

#particleCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--cyan);
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 100px;
  padding: 8px 18px;
  margin-bottom: 28px;
}

.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  animation: blink 1.4s ease-in-out infinite;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--text-1);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.typed-wrapper {
  display: inline-block;
  min-width: 200px;
}

.cursor {
  display: inline-block;
  animation: blink 0.75s step-end infinite;
  color: var(--cyan);
  -webkit-text-fill-color: var(--cyan);
  font-weight: 300;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-2);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.hstat { text-align: center; }

.hstat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-1);
}

.hstat-lbl {
  font-size: 0.8rem;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hstat-div {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Floating cards */
.floating-cards {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.fcard {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(12,21,48,0.85);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow);
}

.fcard-1 {
  top: 22%;
  left: 4%;
  border-color: rgba(0,212,255,0.2);
}

.fcard-2 {
  top: 35%;
  right: 3%;
  border-color: rgba(124,58,237,0.2);
}

.fcard-3 {
  bottom: 22%;
  right: 6%;
  border-color: rgba(249,115,22,0.2);
}

.fcard-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
}

.fcard-label { font-size: 0.72rem; color: var(--text-2); margin-bottom: 2px; }
.fcard-value { font-size: 0.95rem; font-weight: 600; color: var(--text-1); }

.float-anim  { animation: float   4s ease-in-out infinite; }
.float-anim-r{ animation: floatR  5s ease-in-out infinite; }

.scroll-down {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--text-2);
  animation: scroll-arrow 2s ease-in-out infinite;
  transition: color 0.2s;
}

.scroll-down:hover { color: var(--cyan); }

/* ══════════════════════════════════════════════════════
   ABOUT
══════════════════════════════════════════════════════ */
.about { background: var(--bg-2); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  background: #0c1530;
}

/* The real photo */
.about-real-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}

.about-image-wrap:hover .about-real-img {
  transform: scale(1.04);
}

/* Subtle gradient overlay so badge text is readable */
.about-img-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(0,98,255,0.25) 0%, transparent 50%),
    linear-gradient(0deg, rgba(5,13,31,0.5) 0%, transparent 50%);
  pointer-events: none;
}

/* Decorative animated rings behind the image */
.about-image-wrap::before {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: calc(var(--radius) + 20px);
  border: 1px solid rgba(0,212,255,0.08);
  z-index: -1;
}

.about-image-wrap::after {
  content: '';
  position: absolute;
  inset: -40px;
  border-radius: calc(var(--radius) + 40px);
  border: 1px solid rgba(0,212,255,0.04);
  z-index: -1;
}

.about-img-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.25);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--cyan);
}

.about-exp-badge {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: var(--gradient);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  box-shadow: 0 8px 32px rgba(0,98,255,0.4);
  text-align: center;
}

.exp-num {
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.exp-lbl {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.3;
}

.about-text {
  color: var(--text-2);
  margin-bottom: 16px;
  line-height: 1.75;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}

.about-feat {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-2);
}

.feat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 6px;
  flex-shrink: 0;
}

.feat-blue   { background: rgba(0,212,255,0.12);  color: var(--cyan); }
.feat-purple { background: rgba(124,58,237,0.12); color: var(--purple); }
.feat-orange { background: rgba(249,115,22,0.12); color: var(--orange); }
.feat-green  { background: rgba(16,185,129,0.12); color: var(--green); }

/* ══════════════════════════════════════════════════════
   SERVICES
══════════════════════════════════════════════════════ */
.services {
  background: var(--bg);
  overflow: hidden;
}

.services-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.service-card:hover {
  border-color: var(--border-h);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(0,212,255,0.15);
}

.service-card:hover::before { opacity: 0.04; }

.service-card > * { position: relative; z-index: 1; }

.sc-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.sc-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 14px;
  transition: var(--transition);
}

.sc-blue   { background: rgba(0,98,255,0.12);    color: var(--blue);   }
.sc-purple { background: rgba(124,58,237,0.12);  color: var(--purple); }
.sc-green  { background: rgba(16,185,129,0.12);  color: var(--green);  }
.sc-cyan   { background: rgba(0,212,255,0.12);   color: var(--cyan);   }
.sc-orange { background: rgba(249,115,22,0.12);  color: var(--orange); }
.sc-red    { background: rgba(239,68,68,0.12);   color: var(--red);    }

.service-card:hover .sc-blue   { background: rgba(0,98,255,0.22);   box-shadow: 0 0 20px rgba(0,98,255,0.3); }
.service-card:hover .sc-purple { background: rgba(124,58,237,0.22); box-shadow: 0 0 20px rgba(124,58,237,0.3); }
.service-card:hover .sc-green  { background: rgba(16,185,129,0.22); box-shadow: 0 0 20px rgba(16,185,129,0.3); }
.service-card:hover .sc-cyan   { background: rgba(0,212,255,0.22);  box-shadow: 0 0 20px rgba(0,212,255,0.3); }
.service-card:hover .sc-orange { background: rgba(249,115,22,0.22); box-shadow: 0 0 20px rgba(249,115,22,0.3); }
.service-card:hover .sc-red    { background: rgba(239,68,68,0.22);  box-shadow: 0 0 20px rgba(239,68,68,0.3); }

.sc-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: rgba(255,255,255,0.04);
  line-height: 1;
}

/* ── Service card image ─────────────────────────────── */
.sc-img {
  width: 100%;
  height: 160px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  background: #0c1530;
}

/* Real photo inside card */
.sc-real-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.55s ease;
}

/* SVG-generated images fill as block */
.sc-svg-img {
  object-fit: fill;
}

.service-card:hover .sc-real-img {
  transform: scale(1.08);
}

/* Colour-tinted overlay per service — dark-mode */
.sc-img::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.sc-img-datacenter::after   { background: linear-gradient(160deg, rgba(0,98,255,0.45) 0%, rgba(5,13,31,0.35) 100%); }
.sc-img-software::after     { background: linear-gradient(160deg, rgba(124,58,237,0.45) 0%, rgba(5,13,31,0.35) 100%); }
.sc-img-erp::after          { background: linear-gradient(160deg, rgba(16,185,129,0.40) 0%, rgba(5,13,31,0.35) 100%); }
.sc-img-cloud::after        { background: linear-gradient(160deg, rgba(0,212,255,0.40) 0%, rgba(5,13,31,0.35) 100%); }
.sc-img-network::after      { background: linear-gradient(160deg, rgba(249,115,22,0.20) 0%, rgba(13,7,0,0.45) 100%); }
.sc-img-surveillance::after { background: linear-gradient(160deg, rgba(239,68,68,0.40) 0%, rgba(5,13,31,0.35) 100%); }

/* Fade overlay on hover to reveal more of the photo */
.service-card:hover .sc-img::after { opacity: 0.55; }

/* ── Light mode: lighter tints ── */
[data-theme="light"] .sc-img-datacenter::after   { background: linear-gradient(160deg, rgba(0,98,255,0.30) 0%, rgba(240,248,255,0.25) 100%); }
[data-theme="light"] .sc-img-software::after     { background: linear-gradient(160deg, rgba(124,58,237,0.30) 0%, rgba(245,240,255,0.25) 100%); }
[data-theme="light"] .sc-img-erp::after          { background: linear-gradient(160deg, rgba(16,185,129,0.28) 0%, rgba(240,255,248,0.25) 100%); }
[data-theme="light"] .sc-img-cloud::after        { background: linear-gradient(160deg, rgba(0,180,212,0.28) 0%, rgba(240,250,255,0.25) 100%); }
[data-theme="light"] .sc-img-network::after      { background: linear-gradient(160deg, rgba(249,115,22,0.22) 0%, rgba(255,248,240,0.25) 100%); }
[data-theme="light"] .sc-img-surveillance::after { background: linear-gradient(160deg, rgba(239,68,68,0.25) 0%, rgba(255,240,240,0.25) 100%); }

.sc-title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 10px;
}

.sc-desc {
  font-size: 0.87rem;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 16px;
}

.sc-features {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.sc-features li {
  font-size: 0.82rem;
  color: var(--text-2);
  padding-left: 16px;
  position: relative;
}

.sc-features li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: 700;
}

.sc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cyan);
  transition: gap 0.2s ease;
}

.sc-link:hover { gap: 10px; }

/* ══════════════════════════════════════════════════════
   PROCESS
══════════════════════════════════════════════════════ */
.process { background: var(--bg-2); }

.process-track { position: relative; }

.process-line {
  position: absolute;
  top: 56px;
  left: calc(12.5% + 28px);
  right: calc(12.5% + 28px);
  height: 1px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  opacity: 0.3;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}

.process-step { text-align: center; }

.ps-icon-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 24px;
}

.ps-icon {
  width: 72px; height: 72px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  margin: 0 auto;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.ps-icon::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--gradient);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s;
}

.process-step:hover .ps-icon {
  transform: scale(1.1);
  border-color: transparent;
}

.process-step:hover .ps-icon::before { opacity: 1; }

.ps-num {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 22px; height: 22px;
  background: var(--gradient);
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ps-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 10px;
}

.ps-desc {
  font-size: 0.86rem;
  color: var(--text-2);
  line-height: 1.65;
}

/* ══════════════════════════════════════════════════════
   STATS / WHY US
══════════════════════════════════════════════════════ */
.stats {
  padding: 100px 0;
  overflow: hidden;
}

.stats-bg {
  position: absolute;
  inset: 0;
  background: #050d1f;
  overflow: hidden;
}

/* City skyline SVG fills the background */
.stats-skyline-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  opacity: 0.55;
  transition: opacity 0.5s ease;
}

[data-theme="light"] .stats-skyline-img { opacity: 0.25; }

.stats-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(5,13,31,0.70) 0%,
      rgba(5,13,31,0.45) 40%,
      rgba(5,13,31,0.65) 100%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(0,98,255,0.12), transparent);
}

[data-theme="light"] .stats-overlay {
  background:
    linear-gradient(180deg,
      rgba(224,233,248,0.80) 0%,
      rgba(224,233,248,0.55) 40%,
      rgba(224,233,248,0.80) 100%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 80px;
}

.stat-card {
  background: var(--bg-card);
  padding: 48px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.stat-card:hover {
  background: var(--bg-card-2);
}

.stat-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.stat-card:hover::after { transform: scaleX(1); }

.stat-num {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  line-height: 1;
}

.stat-plus {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--cyan);
  display: inline-block;
  margin-left: -4px;
  vertical-align: top;
  padding-top: 4px;
  line-height: 1;
}

.stat-lbl {
  font-size: 0.85rem;
  color: var(--text-2);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Why us */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: var(--transition);
}

.why-card:hover {
  border-color: var(--border-h);
  transform: translateY(-4px);
}

.why-icon {
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.why-card h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 8px;
}

.why-card p {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.65;
}

/* ══════════════════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════════════════ */
.testimonials { background: var(--bg); }

.testi-carousel {
  overflow: hidden;
  position: relative;
}

.testi-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}

.testi-card {
  min-width: 100%;
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.testi-quote { margin-bottom: 20px; }

.testi-text {
  font-size: 1.05rem;
  color: var(--text-1);
  line-height: 1.75;
  margin-bottom: 28px;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testi-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  flex-shrink: 0;
}

.ta-1 { background: linear-gradient(135deg, #0062ff, #00d4ff); }
.ta-2 { background: linear-gradient(135deg, #7c3aed, #a855f7); }
.ta-3 { background: linear-gradient(135deg, #10b981, #34d399); }

.testi-name {
  font-weight: 600;
  color: var(--text-1);
  font-size: 0.95rem;
}

.testi-role {
  font-size: 0.82rem;
  color: var(--text-2);
}

.testi-stars {
  margin-left: auto;
  color: #fbbf24;
  font-size: 1rem;
  letter-spacing: 2px;
}

.testi-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}

.tctl {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.tctl:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0,212,255,0.06);
}

.testi-dots {
  display: flex;
  gap: 8px;
}

.tdot {
  width: 8px; height: 8px;
  border-radius: 100px;
  background: var(--border);
  border: none;
  transition: all 0.3s ease;
}

.tdot.active {
  width: 24px;
  background: var(--gradient);
}

/* ══════════════════════════════════════════════════════
   CLIENTS
══════════════════════════════════════════════════════ */
.clients {
  background: var(--bg-2);
  padding: 60px 0;
}

.clients-header {
  text-align: center;
  margin-bottom: 40px;
}

.clients-label {
  font-size: 0.82rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.clients-track-wrap {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.clients-track {
  display: flex;
  gap: 0;
  animation: marquee 20s linear infinite;
  width: max-content;
}

.client-logo {
  padding: 16px 48px;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-3);
  white-space: nowrap;
  border-right: 1px solid var(--border);
  transition: color 0.3s;
}

.client-logo:hover { color: var(--text-2); }

/* ══════════════════════════════════════════════════════
   CONTACT
══════════════════════════════════════════════════════ */
.contact { background: var(--bg); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-sub {
  color: var(--text-2);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cd-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.cd-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cd-label {
  font-size: 0.72rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}

.cd-val {
  font-size: 0.9rem;
  color: var(--text-1);
}

/* Form */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text-2);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-1);
  font-family: var(--font);
  font-size: 0.92rem;
  transition: border-color 0.25s, box-shadow 0.25s;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-3);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(0,212,255,0.4);
  box-shadow: 0 0 0 3px rgba(0,212,255,0.08);
  background: rgba(0,212,255,0.03);
}

.form-group select option {
  background: var(--bg-card);
  color: var(--text-1);
}

.form-group textarea { resize: vertical; min-height: 110px; }

.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 14px 18px;
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.25);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--green);
}

.form-success.show { display: flex; }

/* ══════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════ */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 72px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-tagline {
  font-size: 0.88rem;
  color: var(--text-2);
  margin: 16px 0 24px;
  line-height: 1.6;
  max-width: 260px;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  transition: var(--transition);
}

.social-link:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0,212,255,0.06);
  transform: translateY(-2px);
}

.footer-col-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-1);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links li,
.footer-links a {
  font-size: 0.88rem;
  color: var(--text-2);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--cyan); }

.footer-cert {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.cert-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--cyan);
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 4px;
  padding: 4px 10px;
  letter-spacing: 0.05em;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-3);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 0.82rem;
  color: var(--text-3);
  transition: color 0.2s;
}

.footer-legal a:hover { color: var(--text-2); }

/* ── Back to top ──────────────────────────────────────── */
.back-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gradient);
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(0,98,255,0.4);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
}

.back-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,98,255,0.6);
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .floating-cards { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }

  /* Nav */
  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(5,13,31,0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 100;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: all;
  }

  .nav-link { font-size: 1.2rem; padding: 12px 24px; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-exp-badge { left: 16px; bottom: -16px; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }

  /* Process */
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-line  { display: none; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid   { grid-template-columns: 1fr; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .hero-stats  { gap: 16px; }
  .hstat-num   { font-size: 1.4rem; }
  .form-row    { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .stats-grid  { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
  .testi-card   { padding: 24px; }
  .back-top     { bottom: 20px; right: 20px; }
}

/* ══════════════════════════════════════════════════════
   THEME TOGGLE BUTTON
══════════════════════════════════════════════════════ */
.theme-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  margin-right: 4px;
}

/* Track — the pill */
.tt-track {
  position: relative;
  width: 52px;
  height: 28px;
  background: var(--tt-track-bg);
  border: 1px solid var(--tt-track-bdr);
  border-radius: 100px;
  display: flex;
  align-items: center;
  padding: 3px;
  transition:
    background 0.4s ease,
    border-color 0.4s ease;
}

/* Thumb — the sliding circle */
.tt-thumb {
  position: absolute;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--tt-thumb-bg);
  color: var(--tt-thumb-clr);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  transition:
    left        0.38s cubic-bezier(0.34,1.56,0.64,1),
    background  0.4s ease,
    color       0.4s ease,
    box-shadow  0.4s ease;
  will-change: left;
}

/* Light mode — thumb slides to right */
[data-theme="light"] .tt-thumb {
  left: calc(100% - 25px);
  box-shadow: 0 2px 12px rgba(249,115,22,0.35);
}

/* Icons inside thumb */
.tt-icon {
  position: absolute;
  transition: opacity 0.25s ease, transform 0.35s ease;
}

/* Dark mode: show moon, hide sun */
.tt-moon { opacity: 1;  transform: rotate(0deg)   scale(1); }
.tt-sun  { opacity: 0;  transform: rotate(90deg)  scale(0.5); }

/* Light mode: show sun, hide moon */
[data-theme="light"] .tt-moon { opacity: 0; transform: rotate(-90deg) scale(0.5); }
[data-theme="light"] .tt-sun  { opacity: 1; transform: rotate(0deg)   scale(1);   }

/* Label */
.tt-label {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--tt-lbl-clr);
  letter-spacing: 0.04em;
  transition: color 0.4s ease;
  user-select: none;
  min-width: 30px; /* prevent layout shift */
}

/* Track glow on light mode */
[data-theme="light"] .tt-track {
  background: rgba(249,115,22,0.08);
  border-color: rgba(249,115,22,0.25);
}

/* ══════════════════════════════════════════════════════
   LIGHT THEME — component-level overrides
   (variables handle most, these fix hard-coded colours)
══════════════════════════════════════════════════════ */

/* Navbar */
[data-theme="light"] .navbar.scrolled {
  background: rgba(240,244,255,0.92);
  border-bottom-color: rgba(0,0,0,0.08);
  box-shadow: 0 4px 32px rgba(0,50,150,0.1);
}

[data-theme="light"] .nav-link        { color: #4a5568; }
[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active { color: #0d1730; background: rgba(0,0,0,0.04); }

/* Hero */
[data-theme="light"] .hero-bg         { filter: brightness(1.5) saturate(0.6); }
[data-theme="light"] .grid-overlay    { opacity: 0.5; }
[data-theme="light"] .hero-title      { color: #0d1730; }
[data-theme="light"] .hero-sub        { color: #4a5568; }
[data-theme="light"] .hstat-num       { color: #0d1730; }
[data-theme="light"] .hstat-lbl       { color: #4a5568; }
[data-theme="light"] .hstat-div       { background: rgba(0,0,0,0.12); }

[data-theme="light"] .btn-ghost {
  border-color: rgba(0,0,0,0.14);
  color: #0d1730;
}
[data-theme="light"] .btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
}

[data-theme="light"] .hero-badge {
  color: var(--blue);
  background: rgba(0,98,255,0.07);
  border-color: rgba(0,98,255,0.18);
}

[data-theme="light"] .fcard {
  background: rgba(255,255,255,0.85);
  border-color: rgba(0,0,0,0.09);
}

[data-theme="light"] .scroll-down { color: #4a5568; }

/* About */
[data-theme="light"] .about                { background: var(--bg-2); }
[data-theme="light"] .about-img-placeholder {
  background: #dce8ff;
  border-color: rgba(0,0,0,0.08);
}

[data-theme="light"] .about-img-overlay {
  background:
    linear-gradient(135deg, rgba(0,98,255,0.18) 0%, transparent 50%),
    linear-gradient(0deg, rgba(240,244,255,0.45) 0%, transparent 50%);
}
[data-theme="light"] .section-title        { color: #0d1730; }
[data-theme="light"] .section-tag          { color: var(--blue); background: rgba(0,98,255,0.07); border-color: rgba(0,98,255,0.18); }
[data-theme="light"] .section-tag::before  { background: var(--blue); }

/* Service cards */
[data-theme="light"] .service-card          { background: #ffffff; border-color: rgba(0,0,0,0.07); }
[data-theme="light"] .service-card:hover    { border-color: rgba(0,98,255,0.25); box-shadow: 0 20px 60px rgba(0,50,150,0.12), 0 0 0 1px rgba(0,98,255,0.1); }
[data-theme="light"] .sc-num                { color: rgba(0,0,0,0.04); }
[data-theme="light"] .sc-title              { color: #0d1730; }
[data-theme="light"] .sc-desc,
[data-theme="light"] .sc-features li        { color: #4a5568; }
[data-theme="light"] .sc-img-datacenter  { background: linear-gradient(135deg, #c8d8f8, #d8e8ff); }
[data-theme="light"] .sc-img-software    { background: linear-gradient(135deg, #d4c8f8, #e8d8ff); }
[data-theme="light"] .sc-img-erp         { background: linear-gradient(135deg, #c8f0e0, #d8f8ec); }
[data-theme="light"] .sc-img-cloud       { background: linear-gradient(135deg, #c8e4f8, #d8efff); }
[data-theme="light"] .sc-img-network     { background: linear-gradient(135deg, #f8e8c8, #fff0d8); }
[data-theme="light"] .sc-img-surveillance{ background: linear-gradient(135deg, #f8d0d0, #ffe0e0); }

/* Process */
[data-theme="light"] .process { background: var(--bg-2); }
[data-theme="light"] .ps-icon {
  background: #ffffff;
  border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .ps-title { color: #0d1730; }
[data-theme="light"] .ps-desc  { color: #4a5568; }

/* Stats */
[data-theme="light"] .stats-bg {
  background: linear-gradient(135deg, #e8f0ff 0%, #dce8ff 50%, #e4ecff 100%);
}
[data-theme="light"] .stats-overlay {
  background:
    radial-gradient(ellipse 60% 60% at 50% 50%, rgba(0,98,255,0.05), transparent),
    radial-gradient(ellipse 40% 40% at 80% 20%, rgba(0,212,255,0.04), transparent);
}

[data-theme="light"] .why-card       { background: #ffffff; border-color: rgba(0,0,0,0.07); }
[data-theme="light"] .why-card:hover { border-color: rgba(0,98,255,0.2); }
[data-theme="light"] .why-card h4    { color: #0d1730; }
[data-theme="light"] .why-card p     { color: #4a5568; }
[data-theme="light"] .why-icon       { background: rgba(0,0,0,0.03); }

/* Testimonials */
[data-theme="light"] .testi-card     { background: #ffffff; border-color: rgba(0,0,0,0.07); }
[data-theme="light"] .testi-text     { color: #0d1730; }

/* Clients */
[data-theme="light"] .clients        { background: #e6ecf8; }
[data-theme="light"] .client-logo    { color: #9aa5b4; }

/* Contact form */
[data-theme="light"] .contact-form { background: #ffffff; border-color: rgba(0,0,0,0.07); }
[data-theme="light"] .form-group input,
[data-theme="light"] .form-group select,
[data-theme="light"] .form-group textarea {
  background: #f5f8ff;
  border-color: rgba(0,0,0,0.1);
  color: #0d1730;
}
[data-theme="light"] .form-group input::placeholder,
[data-theme="light"] .form-group textarea::placeholder { color: #9aa5b4; }
[data-theme="light"] .form-group label { color: #4a5568; }
[data-theme="light"] .form-group select option { background: #ffffff; color: #0d1730; }
[data-theme="light"] .cd-val  { color: #0d1730; }
[data-theme="light"] .cd-icon { background: #f0f4ff; border-color: rgba(0,0,0,0.08); }

/* Footer */
[data-theme="light"] .footer         { background: #e0e9f8; border-top-color: rgba(0,0,0,0.08); }
[data-theme="light"] .footer-bottom  { border-top-color: rgba(0,0,0,0.08); }
[data-theme="light"] .social-link    { background: #ffffff; border-color: rgba(0,0,0,0.09); color: #4a5568; }
[data-theme="light"] .logo-text      { color: #0d1730; }
[data-theme="light"] .footer-col-title { color: #0d1730; }
[data-theme="light"] .footer-tagline { color: #4a5568; }

/* Mobile nav overlay */
[data-theme="light"] .nav-links.open {
  background: rgba(240,244,255,0.97);
}

/* Scrollbar */
[data-theme="light"] ::-webkit-scrollbar-track { background: #e6ecf8; }

/* ── Scrollbar ────────────────────────────────────────── */
::-webkit-scrollbar       { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--blue), var(--cyan));
  border-radius: 3px;
}

/* ── Selection ────────────────────────────────────────── */
::selection {
  background: rgba(0,212,255,0.2);
  color: var(--text-1);
}

[data-theme="light"] ::selection {
  background: rgba(0,98,255,0.15);
  color: #0d1730;
}

/* ── Theme toggle in mobile nav ───────────────────────── */
@media (max-width: 768px) {
  .theme-toggle  { margin-right: 8px; }
  .tt-label      { display: none; }       /* hide label on small screens */
}

/* ── Responsive navbar with toggle ───────────────────────── */
.nav-container { gap: 8px; }
