/* Cyber Root – Brand-aligned styles
   Logo colours: Blue #006cac | Orange #cc5500 | Brown #a97c50
*/

:root {
  --blue: #006cac;
  --blue-dark: #005a90;
  --blue-light: #e8f4fb;
  --orange: #cc5500;
  --orange-dark: #a34400;
  --brown: #a97c50;
  --navy: #0a2540;
  --navy-mid: #123354;
  --white: #ffffff;
  --off-white: #f7fafc;
  --gray-100: #edf2f7;
  --gray-300: #a0aec0;
  --gray-500: #64748b;
  --gray-700: #2d3748;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 20px rgba(0, 108, 172, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 108, 172, 0.12);
  --transition: all 0.25s ease;
  --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  font-size: 16px;
  scrollbar-gutter: stable; /* prevents layout shift when scrollbar appears */
}
body {
  font-family: var(--font);
  background: var(--white);
  color: var(--gray-700);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--orange); }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 { color: var(--navy); font-weight: 700; line-height: 1.25; }
h1 { font-size: clamp(2.1rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin-bottom: 1rem; }
h3 { font-size: 1.3rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.1rem; }
p { margin-bottom: 1rem; }

.text-blue { color: var(--blue); }
.text-orange { color: var(--orange); }
.text-center { text-align: center; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 4.5rem 0; }
.section-sm { padding: 3rem 0; }

.bg-blue { background: var(--blue); color: var(--white); }
.bg-blue h1, .bg-blue h2, .bg-blue h3, .bg-blue h4 { color: var(--white); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--white); }
.bg-white { background: var(--white); }
.bg-off { background: var(--off-white); }
.bg-light-blue { background: var(--blue-light); }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
  height: 76px;           /* fixed height prevents jump */
  min-height: 76px;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo {
  display: flex; align-items: center; gap: 0.5rem;
  font-weight: 700; font-size: 1.2rem; color: var(--blue); text-decoration: none;
}
.logo img { height: 48px; width: auto; display: block; }
.logo-text { color: var(--blue); letter-spacing: -0.02em; }
.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav a { color: var(--gray-700); font-weight: 500; font-size: 0.95rem; }
.nav a:hover, .nav a.active { color: var(--blue); }
.nav-cta {
  background: var(--blue); color: var(--white) !important;
  padding: 0.55rem 1.2rem; border-radius: 8px; font-weight: 600;
}
.nav-cta:hover { background: var(--orange); color: var(--white) !important; }
.mobile-toggle {
  display: none; background: none; border: none;
  color: var(--navy); font-size: 1.5rem; cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.75rem; border-radius: 8px; font-weight: 600; font-size: 1rem;
  border: none; cursor: pointer; transition: var(--transition); text-decoration: none;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover {
  background: var(--orange); transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(204, 85, 0, 0.35); color: var(--white);
}
.btn-orange { background: var(--orange); color: var(--white); }
.btn-orange:hover { background: var(--orange-dark); color: var(--white); transform: translateY(-2px); }
.btn-secondary { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn-secondary:hover { background: var(--blue); color: var(--white); }
.btn-outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-white { background: var(--white); color: var(--blue); }
.btn-white:hover { background: var(--blue-light); color: var(--blue-dark); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }

/* Hero with neural/root background */
.hero {
  position: relative; background: var(--white); color: var(--navy);
  padding: 5.5rem 0 4.5rem; overflow: hidden; text-align: center;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.6;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='700' viewBox='0 0 900 700'%3E%3Cg fill='none' stroke='%23006cac' stroke-width='0.9' opacity='0.4'%3E%3Cpath d='M80,350 Q220,80 450,340 T820,280'/%3E%3Cpath d='M40,220 Q280,40 520,260 T860,180'/%3E%3Cpath d='M60,480 Q320,580 560,400 T860,500'/%3E%3Cpath d='M140,160 Q380,320 620,140 T860,220'/%3E%3Cpath d='M20,400 Q200,280 420,440 T780,360'/%3E%3Cpath d='M180,520 Q400,420 650,540 T880,460'/%3E%3C/g%3E%3Cg fill='none' stroke='%23cc5500' stroke-width='0.75' opacity='0.28'%3E%3Cpath d='M100,300 Q300,100 520,300 T840,250'/%3E%3Cpath d='M50,450 Q240,520 480,400 T800,480'/%3E%3Cpath d='M220,90 Q450,210 680,70 T880,160'/%3E%3Cpath d='M150,550 Q350,480 580,580 T820,500'/%3E%3C/g%3E%3Cg fill='%23006cac' opacity='0.22'%3E%3Ccircle cx='200' cy='180' r='3.5'/%3E%3Ccircle cx='450' cy='340' r='3'/%3E%3Ccircle cx='620' cy='200' r='3.5'/%3E%3Ccircle cx='320' cy='420' r='2.5'/%3E%3Ccircle cx='720' cy='380' r='3'/%3E%3Ccircle cx='140' cy='340' r='2.5'/%3E%3Ccircle cx='550' cy='480' r='2.5'/%3E%3C/g%3E%3Cg fill='%23cc5500' opacity='0.22'%3E%3Ccircle cx='280' cy='260' r='2.5'/%3E%3Ccircle cx='500' cy='400' r='3'/%3E%3Ccircle cx='760' cy='240' r='2.5'/%3E%3Ccircle cx='180' cy='480' r='2'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover; background-position: center;
}
.hero .container { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--blue-light); border: 1px solid rgba(0,108,172,0.2);
  color: var(--blue); padding: 0.4rem 1rem; border-radius: 50px;
  font-size: 0.85rem; font-weight: 600; margin-bottom: 1.5rem;
}
.hero h1 { color: var(--navy); margin-bottom: 1.25rem; max-width: 820px; margin-left: auto; margin-right: auto; }
.hero h1 span { color: var(--blue); }
.hero-lead {
  font-size: 1.2rem; color: var(--gray-500); margin-bottom: 2rem;
  max-width: 560px; margin-left: auto; margin-right: auto;
}
.hero-ctas {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-bottom: 2.5rem;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 780px;
  margin: 2.5rem auto 0;
}
.hero-stat {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 14px;
  padding: 1.35rem 1.25rem;
  text-align: center;
  box-shadow: 0 4px 18px rgba(10, 37, 64, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.hero-stat:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(10, 37, 64, 0.1);
}
.hero-stat-icon {
  width: 42px;
  height: 42px;
  margin: 0 auto 0.75rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  background: var(--blue-light);
}
.hero-stat strong {
  display: block;
  font-size: 1.35rem;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 0.2rem;
  line-height: 1.2;
}
.hero-stat span {
  font-size: 0.82rem;
  color: var(--gray-500);
  line-height: 1.35;
}
@media (max-width: 640px) {
  .hero-stats { grid-template-columns: 1fr; max-width: 320px; }
}

/* Trust Bar */
.trust-bar {
  background: var(--navy);
  padding: 1.1rem 0;
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.75rem 2.5rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
}
.trust-icon { font-size: 1.1rem; }

/* Service Cards */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.75rem; }
.service-card {
  background: var(--white); border-radius: var(--radius); padding: 2rem;
  box-shadow: var(--shadow); border: 1px solid var(--gray-100);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  height: 100%; display: flex; flex-direction: column;
  position: relative;
}
.service-card:hover { border-color: var(--blue); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card:has(.service-link) { cursor: pointer; }
.service-card .service-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.service-icon {
  width: 56px; height: 56px; background: var(--blue-light); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
  margin-bottom: 1.25rem; color: var(--blue);
}
.service-card h3 { margin-bottom: 0.75rem; color: var(--navy); }
.service-card p { color: var(--gray-500); flex-grow: 1; margin-bottom: 1.25rem; }
.service-link { font-weight: 600; color: var(--blue); display: inline-flex; align-items: center; gap: 0.35rem; }
.service-link:hover { color: var(--orange); gap: 0.6rem; }

/* Why Us */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.why-list { display: grid; gap: 1.25rem; }
.why-item { display: flex; gap: 1rem; align-items: flex-start; }
.why-icon {
  width: 42px; height: 42px; min-width: 42px; background: var(--blue); color: var(--white);
  border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.why-item h4 { margin-bottom: 0.25rem; }
.why-item p { color: var(--gray-500); margin: 0; font-size: 0.95rem; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.75rem; align-items: stretch; }
.pricing-card {
  background: var(--white); border-radius: var(--radius); padding: 2rem;
  box-shadow: var(--shadow); border: 2px solid transparent; position: relative;
  display: flex; flex-direction: column;
}
.pricing-card.popular { border-color: var(--blue); transform: scale(1.02); }
.pricing-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--orange); color: var(--white); font-size: 0.75rem; font-weight: 700;
  padding: 0.3rem 1rem; border-radius: 50px;
}
.price { font-size: 2.25rem; font-weight: 700; color: var(--navy); margin: 1rem 0 0.25rem; }
.price span { font-size: 1rem; font-weight: 500; color: var(--gray-500); }
.pricing-features { margin: 1.5rem 0; flex-grow: 1; }
.pricing-features li { display: flex; align-items: flex-start; gap: 0.6rem; margin-bottom: 0.7rem; font-size: 0.95rem; }
.pricing-features li::before { content: '✓'; color: var(--blue); font-weight: 700; }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.75rem; }
.testimonial-card {
  background: var(--white); border-radius: var(--radius); padding: 1.75rem;
  box-shadow: var(--shadow); border: 1px solid var(--gray-100);
}
.testimonial-text { font-style: italic; color: var(--gray-700); margin-bottom: 1.25rem; }
.testimonial-author { display: flex; align-items: center; gap: 0.85rem; }
.author-avatar {
  width: 48px; height: 48px; background: var(--blue); color: var(--white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem;
}
.author-info strong { display: block; color: var(--navy); }
.author-info span { font-size: 0.85rem; color: var(--gray-500); }

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-dark) 100%);
  border-radius: var(--radius); padding: 3.5rem 2.5rem; text-align: center; color: var(--white);
}
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto 1.75rem; }

/* Page Header */
.page-header {
  background: linear-gradient(145deg, #f4f8fb 0%, #e4eef6 100%);
  color: var(--navy); padding: 4rem 0 3.25rem; text-align: center;
  position: relative; overflow: hidden;
}
.page-header::before {
  content: ''; position: absolute; inset: 0; opacity: 0.15;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='400'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='0.7'%3E%3Cpath d='M50,200 Q150,50 300,200 T550,150'/%3E%3Cpath d='M30,300 Q200,350 400,250 T580,320'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 { color: var(--navy); margin-bottom: 0.75rem; }
.page-header p { color: var(--gray-700); max-width: 640px; margin: 0 auto; font-size: 1.1rem; }

/* Service detail */
.service-hero-img {
  width: 100%; max-width: 560px; margin: 0 auto 2rem; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); background: var(--blue-light); aspect-ratio: 16/9;
  display: flex; align-items: center; justify-content: center; font-size: 4rem; color: var(--blue);
}
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; margin: 2rem 0; }
.feature-box { background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-sm); padding: 1.5rem; }
.feature-box h3, .feature-box h4 { color: var(--blue); margin-bottom: 0.5rem; }

/* Forms */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 500; margin-bottom: 0.4rem; color: var(--navy); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.85rem 1rem; border: 1px solid var(--gray-100);
  border-radius: var(--radius-sm); font-family: inherit; font-size: 1rem;
  transition: var(--transition); background: #fff; color: #0a2540;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,108,172,0.15);
}
.form-group textarea { min-height: 140px; resize: vertical; }

/* Process */
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; counter-reset: step; }
.process-step { text-align: center; position: relative; }
.process-step::before {
  counter-increment: step; content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; background: var(--blue); color: var(--white);
  border-radius: 50%; font-weight: 700; font-size: 1.2rem; margin: 0 auto 1rem;
}

/* FAQ */
.faq-item {
  background: var(--white); border-radius: var(--radius-sm); margin-bottom: 0.75rem;
  box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--gray-100);
}
.faq-question {
  width: 100%; text-align: left; padding: 1.25rem 1.5rem; background: none; border: none;
  font-weight: 600; font-size: 1rem; color: var(--navy); cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-answer { padding: 0 1.5rem 1.25rem; color: var(--gray-500); display: none; }
.faq-item.open .faq-answer { display: block; }

/* Industries */
.industries-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
.industry-card {
  background: var(--white); border-radius: var(--radius); padding: 1.75rem;
  box-shadow: var(--shadow); text-align: center; transition: var(--transition);
  border: 1px solid var(--gray-100);
}
.industry-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--blue); }
.industry-icon { font-size: 2.25rem; margin-bottom: 1rem; }

/* Footer */
.footer { background: var(--navy); color: rgba(255,255,255,0.75); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer h4 { color: var(--white); margin-bottom: 1.25rem; font-size: 1rem; }
.footer ul li { margin-bottom: 0.6rem; }
.footer a { color: rgba(255,255,255,0.7); }
.footer a:hover { color: var(--orange); }
.footer .logo { color: var(--white); margin-bottom: 1rem; }
.footer .logo-text { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: 0.875rem;
}

.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 0.5rem; } .mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.flex { display: flex; } .flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; } .justify-center { justify-content: center; }
.gap-1 { gap: 0.5rem; } .gap-2 { gap: 1rem; }

@media (max-width: 900px) {
  .why-grid, .footer-grid { grid-template-columns: 1fr; }
  .nav {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    background: var(--white); flex-direction: column; padding: 1.5rem; gap: 1rem;
    border-bottom: 1px solid var(--gray-100); box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .mobile-toggle { display: block; }
  .pricing-card.popular { transform: none; }
}
@media (max-width: 600px) {
  .section { padding: 3.25rem 0; }
  .hero { padding: 4rem 0 3.25rem; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 320px; }
}

/* ========== Circuit network ========== */
.hero-bg-animated {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 42%, #f7fbfe 0%, #e7f2f8 62%, #f4f8fb 100%);
}
.hero-bg-animated::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 32% 48% at 50% 42%, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.05) 55%, transparent 72%);
}
.hero-bg-animated svg { width: 100%; height: 100%; display: block; contain: paint; }
.hero-bg-animated path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.hero-bg-animated path.node-orange { fill: #e39a55; }
.hero-bg-animated path.node-blue { fill: #6eb6d6; }
.wire-orange { stroke: #e08a3a; stroke-width: 0.95; opacity: 0.42; }
.wire-blue { stroke: #5aaed4; stroke-width: 0.95; opacity: 0.4; }
.flow {
  fill: none; stroke-linecap: round; stroke-width: 1.2;
  stroke-dasharray: 10 34; opacity: 0.7; animation: surge 2.6s linear infinite;
}
.flow-orange { stroke: #f0a05a; }
.flow-blue { stroke: #7ec4e4; }
.t1 { animation-duration: 3.6s; animation-delay: -0.8s; }
.t2 { animation-duration: 2.2s; animation-delay: -1.4s; }
.t3 { animation-duration: 4.2s; animation-delay: -2.1s; }
.t4 { animation-duration: 3.1s; animation-delay: -0.4s; }
.t5 { animation-duration: 2.5s; animation-delay: -1.9s; }
.node { opacity: 0.55; animation: nodeGlow 3.6s ease-in-out infinite; }
.node-orange { fill: #e39a55; }
.node-blue { fill: #6eb6d6; }
@keyframes surge { to { stroke-dashoffset: -44; } }
@keyframes nodeGlow {
  0%, 100% { opacity: 0.16; }
  50% { opacity: 0.42; }
}
@media (prefers-reduced-motion: reduce) {
  .flow, .node { animation: none; }
}
body.dark-theme .hero-bg-animated {
  background: radial-gradient(ellipse at 50% 45%, #0b315c 0%, #071630 55%, #050f1f 100%);
}
body.dark-theme .hero-bg-animated::after {
  background: radial-gradient(ellipse 38% 58% at 50% 42%, rgba(5, 16, 36, 0.62) 0%, rgba(5, 16, 36, 0.12) 58%, transparent 76%);
}
body.dark-theme .wire-orange { stroke: #e2b084; opacity: 0.27; }
body.dark-theme .wire-blue { stroke: #93c4d8; opacity: 0.25; }
body.dark-theme .flow { opacity: 0.78; }
body.dark-theme .flow-orange { stroke: #f6d7b8; }
body.dark-theme .flow-blue { stroke: #d9eef8; }
body.dark-theme .hero-bg-animated path.node-orange { fill: #edc092; }
body.dark-theme .hero-bg-animated path.node-blue { fill: #b7dced; }

/* About page team / image cards */
.about-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.about-image-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
}

.about-image-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--blue-light);
}

.about-image-card .caption {
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  color: var(--gray-500);
}

.about-image-card .caption strong {
  display: block;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

/* SEO helper - visually hidden but readable by screen readers / crawlers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ========== Partners / Certifications slider ========== */
.partners-section {
  padding: 2.5rem 0;
  background: var(--white);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  overflow: hidden;
}
.partners-track {
  display: flex;
  gap: 3.5rem;
  align-items: center;
  animation: partnersSlide 35s linear infinite;
  width: max-content;
}
.partners-track:hover { animation-play-state: paused; }
.partner-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 0.5rem;
  opacity: 0.75;
  transition: opacity 0.25s;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  white-space: nowrap;
}
.partner-item:hover { opacity: 1; }
.partner-item span {
  background: var(--blue-light);
  color: var(--blue);
  padding: 0.45rem 1.1rem;
  border-radius: 6px;
  border: 1px solid rgba(0,108,172,0.15);
}
@keyframes partnersSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========== Testimonials carousel ========== */
.testimonials-carousel {
  position: relative;
  overflow: hidden;
}
.testimonials-track {
  display: flex;
  transition: transform 0.6s ease;
}
.testimonial-slide {
  min-width: 100%;
  padding: 0 0.5rem;
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .testimonial-slide { min-width: 50%; }
}
@media (min-width: 1024px) {
  .testimonial-slide { min-width: 33.333%; }
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-300);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s;
}
.carousel-dot.active { background: var(--blue); }
.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}
.carousel-btn {
  background: var(--blue-light);
  color: var(--blue);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all 0.25s;
}
.carousel-btn:hover { background: var(--orange); color: white; }

/* ========== Theme toggle button ========== */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  position: relative;
  z-index: 30;
}
.theme-toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--gray-100);
  background: var(--off-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  flex-shrink: 0;
  position: relative;
  z-index: 31;
  touch-action: manipulation;
  pointer-events: auto;
}
.theme-toggle:hover {
  background: var(--blue-light);
  border-color: rgba(0,108,172,0.25);
  transform: scale(1.05);
}
.theme-icon-dark { display: none; }
body.dark-theme .theme-icon-light { display: none; }
body.dark-theme .theme-icon-dark { display: inline; }

/* ========== Dark theme ========== */
body.dark-theme {
  --navy: #e8eef4;
  --blue: #4db0e0;
  --blue-dark: #3a9ad0;
  --blue-light: rgba(77, 176, 224, 0.12);
  --orange: #e87a30;
  --brown: #c49a6c;
  --white: #0f1720;
  --off-white: #151d28;
  --gray-100: #1e2936;
  --gray-300: #3d4f63;
  --gray-500: #94a3b8;
  --gray-700: #cbd5e1;
  --shadow: 0 4px 20px rgba(0,0,0,0.35);
  --shadow-lg: 0 16px 40px rgba(0,0,0,0.45);
  background: #0f1720;
  color: #e8eef4;
}

body.dark-theme .form-group label { color: #e8eef4; }
body.dark-theme .form-group input,
body.dark-theme .form-group select,
body.dark-theme .form-group textarea {
  background: #0b1220;
  color: #f4f8fc;
  border-color: #2c3e52;
  caret-color: #f4f8fc;
  color-scheme: dark;
}
body.dark-theme .form-group input::placeholder,
body.dark-theme .form-group textarea::placeholder { color: #8aa0b5; }
body.dark-theme .form-group select option { background: #0b1220; color: #f4f8fc; }
body.dark-theme .form-group input:-webkit-autofill,
body.dark-theme .form-group input:-webkit-autofill:focus,
body.dark-theme .form-group textarea:-webkit-autofill {
  -webkit-text-fill-color: #f4f8fc;
  caret-color: #f4f8fc;
  box-shadow: 0 0 0 1000px #0b1220 inset;
}

body.dark-theme .header {
  background: rgba(15, 23, 32, 0.96);
  border-bottom-color: #1e2936;
}

body.dark-theme .hero {
  background: linear-gradient(180deg, #061428 0%, #0a2a56 52%, #07182f 100%);
  color: #e8eef4;
}

body.dark-theme .hero h1 { color: #e8eef4; }
body.dark-theme .hero h1 span { color: #4db0e0; }
body.dark-theme .hero-lead { color: #94a3b8; }

body.dark-theme .hero-stat {
  background: #151d28;
  border-color: #1e2936;
}
body.dark-theme .hero-stat strong { color: #e8eef4; }
body.dark-theme .hero-stat-icon { background: rgba(77, 176, 224, 0.15); }

body.dark-theme .btn-secondary {
  background: transparent;
  border-color: #4db0e0;
  color: #4db0e0;
}
body.dark-theme .btn-secondary:hover {
  background: #4db0e0;
  color: #0f1720;
}

body.dark-theme .service-card,
body.dark-theme .testimonial-card,
body.dark-theme .feature-box,
body.dark-theme .about-image-card,
body.dark-theme .industry-card {
  background: #151d28;
  border-color: #1e2936;
}

body.dark-theme .section.bg-white { background: #0f1720; }
body.dark-theme .section.bg-off { background: #151d28; }

body.dark-theme .trust-bar { background: #0a1018; }
body.dark-theme .partners-section {
  background: #0f1720;
  border-color: #1e2936;
}
body.dark-theme .partner-item span {
  background: rgba(77, 176, 224, 0.12);
  color: #4db0e0;
  border-color: rgba(77, 176, 224, 0.2);
}

body.dark-theme .footer {
  background: #0a1018;
}

body.dark-theme .page-header {
  background: linear-gradient(135deg, #0a1520 0%, #0f2840 100%);
}

body.dark-theme .faq-item {
  background: #151d28;
  border-color: #1e2936;
}
body.dark-theme .faq-question { color: #e8eef4; }

body.dark-theme .theme-toggle {
  background: #1e2936;
  border-color: #3d4f63;
}
body.dark-theme .nav a { color: #cbd5e1; }
body.dark-theme .nav a:hover,
body.dark-theme .nav a.active { color: #4db0e0; }
body.dark-theme .logo-text { color: #e8eef4; }

body.dark-theme .cta-banner {
  background: linear-gradient(135deg, #0f2840, #0a1520);
}

@media (max-width: 900px) {
  body.dark-theme .nav {
    background: #151d28;
    border-color: #1e2936;
  }
}


/* ========== Dark theme – readability fixes ========== */
body.dark-theme .page-header {
  background: linear-gradient(135deg, #0a1520 0%, #123a5c 100%) !important;
}
body.dark-theme .page-header h1,
body.dark-theme .page-header p {
  color: #f0f6fc !important;
}
body.dark-theme .page-header p {
  color: rgba(240, 246, 252, 0.85) !important;
}

body.dark-theme .cta-banner {
  background: linear-gradient(135deg, #123a5c 0%, #0a1520 100%) !important;
}
body.dark-theme .cta-banner h2,
body.dark-theme .cta-banner p {
  color: #f0f6fc !important;
}
body.dark-theme .cta-banner p {
  color: rgba(240, 246, 252, 0.85) !important;
}
body.dark-theme .cta-banner .btn-white,
body.dark-theme .cta-banner .btn-primary {
  background: #4db0e0 !important;
  color: #0f1720 !important;
  border-color: #4db0e0 !important;
}
body.dark-theme .cta-banner .btn-white:hover,
body.dark-theme .cta-banner .btn-primary:hover {
  background: #e87a30 !important;
  border-color: #e87a30 !important;
  color: #fff !important;
}

body.dark-theme h1,
body.dark-theme h2,
body.dark-theme h3,
body.dark-theme h4 {
  color: #f0f6fc;
}
body.dark-theme p,
body.dark-theme li {
  color: #cbd5e1;
}
body.dark-theme .service-card h3,
body.dark-theme .feature-box h3,
body.dark-theme .feature-box h4,
body.dark-theme .industry-card h3,
body.dark-theme .testimonial-card,
body.dark-theme .why-item h4 {
  color: #f0f6fc;
}
body.dark-theme .service-card p,
body.dark-theme .feature-box p,
body.dark-theme .industry-card p,
body.dark-theme .testimonial-text {
  color: #94a3b8;
}
body.dark-theme .service-link {
  color: #4db0e0;
}
body.dark-theme .text-center p,
body.dark-theme .section p {
  color: #94a3b8;
}
body.dark-theme strong {
  color: #e8eef4;
}
body.dark-theme .author-info strong { color: #f0f6fc; }
body.dark-theme .author-info span { color: #94a3b8; }

body.dark-theme .btn-primary {
  background: #4db0e0;
  color: #0f1720;
}
body.dark-theme .btn-primary:hover {
  background: #e87a30;
  color: #fff;
}
body.dark-theme .nav-cta {
  background: #4db0e0 !important;
  color: #0f1720 !important;
}
body.dark-theme .nav-cta:hover {
  background: #e87a30 !important;
  color: #fff !important;
}

body.dark-theme .hero-badge {
  background: rgba(77, 176, 224, 0.15);
  color: #e8eef4;
  border-color: rgba(77, 176, 224, 0.3);
}

body.dark-theme .pricing-card,
body.dark-theme .why-grid > div {
  color: #cbd5e1;
}
body.dark-theme a:not(.btn):not(.nav-cta):not(.service-link) {
  color: #4db0e0;
}

/* ========== GDPR Privacy banner ========== */
.privacy-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #0a1520;
  color: #e8eef4;
  padding: 1.1rem 1.5rem;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.35);
  border-top: 1px solid rgba(77,176,224,0.25);
}
.privacy-banner.show { display: block; }
.privacy-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.privacy-inner p {
  margin: 0;
  font-size: 0.9rem;
  color: #cbd5e1;
  flex: 1;
  min-width: 220px;
  line-height: 1.45;
}
.privacy-inner a { color: #4db0e0; text-decoration: underline; }
.privacy-actions { display: flex; gap: 0.6rem; flex-shrink: 0; }

.footer-bottom a { color: rgba(255,255,255,0.85); text-decoration: underline; }
.legal-copy h2 { margin-top: 2rem; font-size: 1.35rem; }
.legal-copy ul { list-style: disc; padding-left: 1.25rem; margin: 0 0 1rem; }
.legal-copy li { margin-bottom: 0.45rem; }
.legal-copy a:not(.btn) { text-decoration: underline; }

/* ========== Force orange hover on ALL buttons ========== */
.btn:hover,
.btn-primary:hover,
.btn-secondary:hover,
.btn-outline:hover,
.btn-white:hover,
.btn-orange:hover,
.nav-cta:hover,
a.btn:hover {
  background: #cc5500 !important;
  border-color: #cc5500 !important;
  color: #ffffff !important;
}
body.dark-theme .btn:hover,
body.dark-theme .btn-primary:hover,
body.dark-theme .btn-secondary:hover,
body.dark-theme .btn-outline:hover,
body.dark-theme .btn-white:hover,
body.dark-theme .nav-cta:hover,
body.dark-theme a.btn:hover {
  background: #e87a30 !important;
  border-color: #e87a30 !important;
  color: #ffffff !important;
}

/* ========== Team grid (About) ========== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.team-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top center;
  background: var(--blue-light);
  display: block;
}
.team-card .team-info { padding: 1.15rem 1rem 1.35rem; }
.team-card h3 {
  font-size: 1.05rem;
  margin: 0 0 0.25rem;
  color: var(--navy);
}
.team-card .team-role {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 0.75rem;
}
.team-card .linkedin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: #0a66c2;
  color: #fff !important;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s;
}
.team-card .linkedin-btn:hover { background: #004182 !important; color: #fff !important; }

body.dark-theme .team-card {
  background: #151d28;
  border-color: #1e2936;
}
body.dark-theme .team-card h3 { color: #f0f6fc; }

/* Testimonials single-slide width override */
.testimonials-track { display: flex; }
.testimonial-slide {
  min-width: 100% !important;
  flex-shrink: 0;
  padding: 0 0.5rem;
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .testimonial-slide { min-width: 100% !important; }
}
@media (min-width: 1024px) {
  .testimonial-slide { min-width: 100% !important; }
}

/* Uploaded photos: the shared card class was built for an icon placeholder */
img.service-hero-img {
  display: block;
  object-fit: cover;
  width: 100%;
  max-width: 720px;
  height: auto;
  aspect-ratio: 16 / 9;
  font-size: 0;
}
.cr-notice {
  margin: 1.25rem auto 0;
  max-width: 1140px;
  padding: 0 1.5rem;
}
.cr-notice p {
  margin: 0;
  background: var(--blue-light);
  color: var(--navy);
  border: 1px solid rgba(0, 108, 172, 0.2);
  border-radius: 10px;
  padding: 0.9rem 1.1rem;
  font-weight: 600;
}

.entry-content { font-size: 1.05rem; line-height: 1.7; }
.entry-content img, .entry-content iframe { max-width: 100%; height: auto; }
.entry-content h2, .entry-content h3 { margin-top: 1.75rem; }
.service-card h3 a { color: inherit; text-decoration: none; }
.nav-links { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; }
body.dark-theme .entry-content,
body.dark-theme .entry-content p,
body.dark-theme .entry-content li { color: #d5dee8; }
body.dark-theme .service-card h3 a { color: #f0f6fc; }
body.admin-bar .header { top: 32px; }
body.cyberroot-site > header.header {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: sticky !important;
  z-index: 100000 !important;
  min-height: 76px !important;
}
.elementor-location-header { display: none !important; }
@media (max-width: 782px) {
  body.admin-bar .header { top: 46px; }
}
.cyberroot-site .elementor-widget-html > .elementor-widget-container {
  padding: 0;
  margin: 0;
}
.cyberroot-site .elementor-widget-heading .elementor-widget-container,
.cyberroot-site .elementor-widget-text-editor .elementor-widget-container,
.cyberroot-site .elementor-widget-image .elementor-widget-container,
.cyberroot-site .elementor-widget-accordion .elementor-widget-container {
  padding: 0;
  margin: 0;
}
.cyberroot-site .elementor-widget-heading,
.cyberroot-site .elementor-widget-text-editor,
.cyberroot-site .elementor-widget-html,
.cyberroot-site .elementor-widget-image,
.cyberroot-site .elementor-widget-accordion {
  margin-bottom: 0;
  width: 100%;
}
.cyberroot-site .elementor-heading-title,
.cyberroot-site .elementor-widget-text-editor {
  font-family: var(--font);
}
.cyberroot-site .e-con.services-grid,
.cyberroot-site .e-con.pricing-grid,
.cyberroot-site .e-con.industries-grid,
.cyberroot-site .e-con.hero-stats,
.cyberroot-site .e-con.why-grid,
.cyberroot-site .e-con.process-steps {
  display: grid !important;
}
.cyberroot-site .e-con.hero-ctas,
.cyberroot-site .e-con.flex {
  display: flex !important;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
.cyberroot-site .e-con.testimonials-track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  width: 100%;
}
.cyberroot-site .e-con.cr-narrow {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.cyberroot-site .page-header .elementor-heading-title,
.cyberroot-site .page-header .elementor-widget-text-editor,
.cyberroot-site .page-header .elementor-widget-text-editor p,
.cyberroot-site .cta-banner .elementor-heading-title,
.cyberroot-site .cta-banner .elementor-widget-text-editor,
.cyberroot-site .cta-banner .elementor-widget-text-editor p,
.cyberroot-site .hero .elementor-widget-text-editor h1 {
  color: inherit;
}
.cyberroot-site .elementor-accordion .elementor-tab-title {
  font-family: var(--font);
  font-weight: 600;
}
.cyberroot-site .elementor-accordion .elementor-tab-content {
  font-family: var(--font);
}
