/* ============================================================
   Services Hero v2 — "Shield Grid"
   Dark, modern hero aligned with site-wide aesthetic.
   All classes prefixed svh- to avoid legacy CSS conflicts.
   ============================================================ */

/* ===== Section ===== */
#services-overview {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--h-bg, #04050c);
  padding: 0;
  z-index: 1;
}

#services-overview::before {
  content: none;
  display: none;
}

/* ===== Background layer ===== */
#services-overview .svh-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

#services-overview .svh-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  will-change: transform, opacity;
}

#services-overview .svh-glow--1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.20), transparent 70%);
  top: -20%; right: -8%;
  animation: svhGlow1 24s ease-in-out infinite;
}

#services-overview .svh-glow--2 {
  width: 550px; height: 550px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.16), transparent 70%);
  bottom: -15%; left: -6%;
  animation: svhGlow2 28s ease-in-out infinite;
}

#services-overview .svh-glow--3 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.10), transparent 70%);
  top: 40%; left: 35%;
  animation: svhGlow3 20s ease-in-out infinite;
}

@keyframes svhGlow1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-45px, 30px) scale(1.14); }
}
@keyframes svhGlow2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.08); }
}
@keyframes svhGlow3 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
  50% { transform: translate(-20px, 25px) scale(1.18); opacity: 1; }
}

#services-overview .svh-grid-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ===== Layout — 2-col grid ===== */
#services-overview .svh-wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 4rem;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 140px 3rem 100px;
  min-height: 100vh;
}

/* ===== Text column ===== */
#services-overview .svh-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.4rem;
}

/* Badge */
#services-overview .svh-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 18px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--h-accent, #00d4ff);
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.18);
  animation: svhUp 0.7s ease-out both;
}

#services-overview .svh-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--h-accent, #00d4ff);
  box-shadow: 0 0 8px var(--h-accent, #00d4ff);
  animation: svhDotPulse 2s ease-in-out infinite;
}

@keyframes svhDotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.65); }
}

/* Title */
#services-overview .svh-title {
  font-size: clamp(2.4rem, 4.6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 0;
  color: #fff;
  -webkit-text-fill-color: #fff;
  font-family: 'Poppins', sans-serif;
  animation: svhUp 0.7s 0.1s ease-out both;
}

#services-overview .svh-title-accent {
  background: linear-gradient(135deg, var(--h-accent, #00d4ff), #7c3aed);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Description */
#services-overview .svh-desc {
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.55);
  max-width: 540px;
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  animation: svhUp 0.7s 0.2s ease-out both;
}

#services-overview .svh-desc strong {
  color: var(--h-accent, #00d4ff);
  font-weight: 600;
}

/* Service domain chips */
#services-overview .svh-domains {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  animation: svhUp 0.7s 0.3s ease-out both;
}

#services-overview .svh-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  cursor: default;
}

#services-overview .svh-chip:hover {
  border-color: rgba(0, 212, 255, 0.25);
  background: rgba(0, 212, 255, 0.06);
  color: #fff;
  transform: translateY(-2px);
}

#services-overview .svh-chip i {
  font-size: 0.75rem;
  color: var(--h-accent, #00d4ff);
}

#services-overview .svh-chip--purple i { color: var(--h-purple, #7c3aed); }
#services-overview .svh-chip--purple:hover {
  border-color: rgba(124, 58, 237, 0.25);
  background: rgba(124, 58, 237, 0.06);
}

#services-overview .svh-chip--green i { color: #34d399; }
#services-overview .svh-chip--green:hover {
  border-color: rgba(52, 211, 153, 0.25);
  background: rgba(52, 211, 153, 0.06);
}

/* Stats row */
#services-overview .svh-stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 0.4rem;
  animation: svhUp 0.7s 0.4s ease-out both;
}

#services-overview .svh-stat {
  display: flex;
  flex-direction: column;
  padding: 0 24px;
}

#services-overview .svh-stat:first-child {
  padding-left: 0;
}

#services-overview .svh-stat-num {
  font-size: 1.7rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  font-family: 'Poppins', sans-serif;
}

#services-overview .svh-stat-label {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  margin-top: 2px;
}

#services-overview .svh-stat-sep {
  width: 1px;
  height: 38px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  flex-shrink: 0;
}

/* CTA buttons */
#services-overview .svh-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 0.3rem;
  animation: svhUp 0.7s 0.5s ease-out both;
}

#services-overview .svh-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
  border: none;
  font-family: 'Poppins', sans-serif;
}

#services-overview .svh-cta i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}
#services-overview .svh-cta:hover i {
  transform: translateX(4px);
}

#services-overview .svh-cta--primary {
  background: linear-gradient(135deg, var(--h-accent, #00d4ff), #00b8d4);
  color: #0a0a1a;
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}

#services-overview .svh-cta--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0, 212, 255, 0.5);
}

#services-overview .svh-cta--glass {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

#services-overview .svh-cta--glass:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 212, 255, 0.25);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
}

/* ============================================================
   RIGHT COLUMN — "Shield Grid" Visualization
   Layered defense shield with hexagonal core, scan line,
   and orbiting service-domain tags.
   ============================================================ */

#services-overview .svh-vis {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 500px;
  margin: 0 auto;
  animation: svhUp 0.9s 0.2s ease-out both;
}

/* Central shield core */
#services-overview .svh-shield {
  position: absolute;
  top: 50%; left: 50%;
  width: 80px; height: 80px;
  transform: translate(-50%, -50%);
  z-index: 5;
}

#services-overview .svh-shield-inner {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #33ecff, #00a0cc);
  box-shadow:
    0 0 30px rgba(0, 212, 255, 0.6),
    0 0 60px rgba(0, 212, 255, 0.3),
    0 0 100px rgba(0, 212, 255, 0.12);
  animation: svhShieldPulse 4s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}

#services-overview .svh-shield-inner i {
  font-size: 1.8rem;
  color: #0a0a1a;
}

@keyframes svhShieldPulse {
  0%, 100% {
    box-shadow: 0 0 30px rgba(0,212,255,0.6), 0 0 60px rgba(0,212,255,0.3), 0 0 100px rgba(0,212,255,0.12);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 40px rgba(0,212,255,0.7), 0 0 80px rgba(0,212,255,0.4), 0 0 130px rgba(0,212,255,0.18);
    transform: scale(1.06);
  }
}

/* Defense layers (concentric rings) */
#services-overview .svh-layer {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  z-index: 3;
}

#services-overview .svh-layer--1 {
  width: 180px; height: 180px;
  margin: -90px 0 0 -90px;
  border: 1.5px solid rgba(0, 212, 255, 0.14);
  animation: svhSpin 24s linear infinite;
}

#services-overview .svh-layer--1::before,
#services-overview .svh-layer--1::after {
  content: '';
  position: absolute;
  border-radius: 50%;
}

#services-overview .svh-layer--1::before {
  width: 12px; height: 12px;
  top: -6px; left: 50%; margin-left: -6px;
  background: var(--h-accent, #00d4ff);
  box-shadow: 0 0 12px var(--h-accent, #00d4ff), 0 0 24px rgba(0, 212, 255, 0.4);
}

#services-overview .svh-layer--1::after {
  width: 9px; height: 9px;
  bottom: -5px; left: 50%; margin-left: -5px;
  background: var(--h-purple, #7c3aed);
  box-shadow: 0 0 9px var(--h-purple, #7c3aed);
}

#services-overview .svh-layer--2 {
  width: 300px; height: 300px;
  margin: -150px 0 0 -150px;
  border: 1px dashed rgba(124, 58, 237, 0.10);
  animation: svhSpin 38s linear infinite reverse;
}

#services-overview .svh-layer--2::before {
  content: '';
  position: absolute;
  width: 10px; height: 10px;
  top: 50%; right: -5px; margin-top: -5px;
  border-radius: 50%;
  background: var(--h-purple, #7c3aed);
  box-shadow: 0 0 10px var(--h-purple, #7c3aed), 0 0 20px rgba(124, 58, 237, 0.3);
}

#services-overview .svh-layer--3 {
  width: 420px; height: 420px;
  margin: -210px 0 0 -210px;
  border: 1px solid rgba(255, 255, 255, 0.03);
  animation: svhSpin 50s linear infinite;
}

#services-overview .svh-layer--3::before {
  content: '';
  position: absolute;
  width: 8px; height: 8px;
  bottom: 12%; left: 7%;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
}

@keyframes svhSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Scan line sweeping across the visualization */
#services-overview .svh-scan {
  position: absolute;
  top: 50%; left: 50%;
  width: 210px; height: 1px;
  transform-origin: 0 0;
  background: linear-gradient(90deg, rgba(0, 212, 255, 0.6), transparent);
  z-index: 4;
  animation: svhScanSweep 6s linear infinite;
  pointer-events: none;
}

@keyframes svhScanSweep {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

#services-overview .svh-scan::after {
  content: '';
  position: absolute;
  top: -3px; right: 0;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--h-accent, #00d4ff);
  box-shadow: 0 0 10px var(--h-accent, #00d4ff);
}

/* Pulse waves from shield */
#services-overview .svh-pulse {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1.5px solid rgba(0, 212, 255, 0.2);
  z-index: 2;
  pointer-events: none;
}

#services-overview .svh-pulse--1 {
  width: 180px; height: 180px;
  animation: svhPulseWave 5s ease-out infinite;
}

#services-overview .svh-pulse--2 {
  width: 180px; height: 180px;
  animation: svhPulseWave 5s 2.5s ease-out infinite;
}

@keyframes svhPulseWave {
  0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0.5; }
  100% { transform: translate(-50%, -50%) scale(2.6); opacity: 0; }
}

/* Floating service domain tags */
#services-overview .svh-tag {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 14px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 6;
  white-space: nowrap;
}

#services-overview .svh-tag i {
  font-size: 0.7rem;
}

#services-overview .svh-tag--security {
  top: 5%; left: 4%;
  animation: svhTagFloat 7s ease-in-out infinite;
}
#services-overview .svh-tag--security i { color: var(--h-accent, #00d4ff); }
#services-overview .svh-tag--security { border-color: rgba(0, 212, 255, 0.15); }

#services-overview .svh-tag--ai {
  top: 40%; right: -2%;
  animation: svhTagFloat 8s 1.8s ease-in-out infinite;
}
#services-overview .svh-tag--ai i { color: var(--h-purple, #7c3aed); }
#services-overview .svh-tag--ai { border-color: rgba(124, 58, 237, 0.15); }

#services-overview .svh-tag--compliance {
  bottom: 6%; right: 8%;
  animation: svhTagFloat 6.5s 3.5s ease-in-out infinite;
}
#services-overview .svh-tag--compliance i { color: #34d399; }
#services-overview .svh-tag--compliance { border-color: rgba(52, 211, 153, 0.15); }

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

/* ===== Scroll cue ===== */
#services-overview .svh-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.3s ease;
  z-index: 3;
  animation: svhUp 0.7s 0.7s ease-out both;
}

#services-overview .svh-scroll:hover { color: var(--h-accent, #00d4ff); }

#services-overview .svh-scroll-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

#services-overview .svh-scroll-bar {
  display: block;
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, var(--h-accent, #00d4ff), transparent);
  animation: svhScrollPulse 2.2s ease-in-out infinite;
  transform-origin: top;
}

@keyframes svhScrollPulse {
  0%, 100% { opacity: 0.25; transform: scaleY(0.7); }
  50% { opacity: 1; transform: scaleY(1.15); }
}

/* ===== Entry animation ===== */
@keyframes svhUp {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1200px) {
  #services-overview .svh-wrap {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 120px 2.5rem 80px;
  }
  #services-overview .svh-vis { max-width: 420px; }
  #services-overview .svh-layer--3 {
    width: 350px; height: 350px;
    margin: -175px 0 0 -175px;
  }
}

@media (max-width: 960px) {
  #services-overview .svh-wrap {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 110px 2rem 70px;
    gap: 2.5rem;
  }

  #services-overview .svh-text { align-items: center; }

  #services-overview .svh-desc {
    max-width: 560px;
    margin: 0 auto;
  }

  #services-overview .svh-domains { justify-content: center; }
  #services-overview .svh-actions { justify-content: center; }
  #services-overview .svh-stats { justify-content: center; }

  #services-overview .svh-vis { max-width: 380px; }

  #services-overview .svh-layer--3 {
    width: 320px; height: 320px;
    margin: -160px 0 0 -160px;
  }

  #services-overview .svh-tag--ai { right: 2%; }
}

@media (max-width: 640px) {
  #services-overview .svh-wrap {
    padding: 100px 1.25rem 60px;
    gap: 2rem;
  }

  #services-overview .svh-title {
    font-size: clamp(1.9rem, 7vw, 2.6rem);
  }

  #services-overview .svh-actions {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
  }

  #services-overview .svh-cta {
    width: 100%;
    justify-content: center;
  }

  #services-overview .svh-stat { padding: 0 16px; }
  #services-overview .svh-stat:first-child { padding-left: 0; }
  #services-overview .svh-stat-num { font-size: 1.35rem; }
  #services-overview .svh-stat-label { font-size: 0.6rem; }
  #services-overview .svh-stat-sep { height: 28px; }

  #services-overview .svh-vis { max-width: 300px; }

  #services-overview .svh-layer--2 {
    width: 240px; height: 240px;
    margin: -120px 0 0 -120px;
  }
  #services-overview .svh-layer--3 {
    width: 280px; height: 280px;
    margin: -140px 0 0 -140px;
  }
  #services-overview .svh-shield { width: 60px; height: 60px; }
  #services-overview .svh-shield-inner i { font-size: 1.3rem; }
  #services-overview .svh-tag { font-size: 0.65rem; padding: 7px 12px; }
  #services-overview .svh-scan { width: 140px; }

  #services-overview .svh-scroll { display: none; }

  #services-overview .svh-glow--1 { width: 400px; height: 400px; }
  #services-overview .svh-glow--2 { width: 320px; height: 320px; }
  #services-overview .svh-glow--3 { display: none; }
}

@media (max-width: 420px) {
  #services-overview .svh-wrap { padding: 90px 1rem 50px; }
  #services-overview .svh-title { font-size: clamp(1.5rem, 8vw, 2rem); }
  #services-overview .svh-badge { font-size: 0.6rem; padding: 5px 12px; }
  #services-overview .svh-vis { max-width: 250px; }
  #services-overview .svh-layer--3 { display: none; }
  #services-overview .svh-tag { display: none; }
  #services-overview .svh-scan { display: none; }
  #services-overview .svh-domains { gap: 8px; }
  #services-overview .svh-chip { font-size: 0.75rem; padding: 7px 14px; }
}

/* ===== Reduce motion ===== */
@media (prefers-reduced-motion: reduce) {
  #services-overview .svh-glow,
  #services-overview .svh-layer,
  #services-overview .svh-shield-inner,
  #services-overview .svh-pulse,
  #services-overview .svh-tag,
  #services-overview .svh-scan,
  #services-overview .svh-scroll-bar,
  #services-overview .svh-badge-dot {
    animation: none !important;
  }
  #services-overview .svh-badge,
  #services-overview .svh-title,
  #services-overview .svh-desc,
  #services-overview .svh-domains,
  #services-overview .svh-stats,
  #services-overview .svh-actions,
  #services-overview .svh-vis,
  #services-overview .svh-scroll {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
