/* ═══════════════════════════════════════════════════════════════════════════
   Digital Workforce Page — Complete Stylesheet
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── HERO ────────────────────────────────────────────────────────────────── */

.dw-hero {
  min-height: 640px;
}

/* ── ORBITAL TEAM ANIMATION ─────────────────────────────────────────────── */

.dw-hero__orbital {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.25;
}

/* Central hub */
.dw-orbital__hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%,
    rgba(0, 200, 255, 0.15),
    rgba(0, 0, 171, 0.2)
  );
  border: 1.5px solid rgba(0, 200, 255, 0.45);
  box-shadow: 0 0 16px rgba(0, 200, 255, 0.2);
  animation: hubPulse 3s ease-in-out infinite;
  z-index: 2;
}

.dw-orbital__hub::after {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: rgba(0, 200, 255, 0.1);
  animation: hubPulse 3s ease-in-out infinite reverse;
}

@keyframes hubPulse {
  0%, 100% { box-shadow: 0 0 16px rgba(0, 200, 255, 0.2); }
  50%       { box-shadow: 0 0 28px rgba(0, 200, 255, 0.4); }
}

/* Orbital rings removed — hero__ring from about.css already provides the circles */

/* Orbiting nodes (team member dots) */
.dw-orbital__node {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  z-index: 3;
}

/* Node orbits using transform-origin trick */
.dw-orbital__node--1 {
  width: 18px; height: 18px;
  background: radial-gradient(circle at 35% 35%, rgba(0, 200, 255, 0.9), rgba(0, 0, 171, 0.6));
  border: 1.5px solid rgba(0, 200, 255, 0.8);
  box-shadow: 0 0 10px rgba(0, 200, 255, 0.5);
  transform: translate(-50%, -50%) translateX(85px);
  animation: orbit1 8s linear infinite;
}

.dw-orbital__node--2 {
  width: 14px; height: 14px;
  background: radial-gradient(circle at 35% 35%, rgba(0, 135, 168, 0.9), rgba(0, 0, 171, 0.5));
  border: 1.5px solid rgba(0, 135, 168, 0.7);
  box-shadow: 0 0 8px rgba(0, 135, 168, 0.4);
  transform: translate(-50%, -50%) translateX(140px);
  animation: orbit2 13s linear infinite reverse;
}

.dw-orbital__node--3 {
  width: 22px; height: 22px;
  background: radial-gradient(circle at 35% 35%, rgba(0, 200, 255, 0.75), rgba(0, 0, 171, 0.55));
  border: 1.5px solid rgba(0, 200, 255, 0.65);
  box-shadow: 0 0 14px rgba(0, 200, 255, 0.45);
  transform: translate(-50%, -50%) translateX(-140px);
  animation: orbit2 13s linear infinite;
}

.dw-orbital__node--4 {
  width: 10px; height: 10px;
  background: rgba(0, 200, 255, 0.6);
  border: 1px solid rgba(0, 200, 255, 0.5);
  transform: translate(-50%, -50%) translateX(195px);
  animation: orbit3 20s linear infinite;
}

.dw-orbital__node--5 {
  width: 16px; height: 16px;
  background: radial-gradient(circle at 35% 35%, rgba(0, 200, 255, 0.8), rgba(0, 0, 171, 0.5));
  border: 1.5px solid rgba(0, 200, 255, 0.55);
  transform: translate(-50%, -50%) translateX(-195px);
  animation: orbit3 20s linear infinite reverse;
}

@keyframes orbit1 {
  from { transform: translate(-50%, -50%) rotate(0deg)   translateX(85px)  rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg) translateX(85px)  rotate(-360deg); }
}
@keyframes orbit2 {
  from { transform: translate(-50%, -50%) rotate(0deg)   translateX(140px) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg) translateX(140px) rotate(-360deg); }
}
@keyframes orbit3 {
  from { transform: translate(-50%, -50%) rotate(0deg)   translateX(195px) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg) translateX(195px) rotate(-360deg); }
}

/* Connector lines from hub to nodes — radial spokes */
.dw-orbital__spoke {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 200, 255, 0.35), transparent);
  transform-origin: 0 50%;
  pointer-events: none;
}

.dw-orbital__spoke--1 { width: 85px;  animation: spokeRotate1 8s linear infinite; }
.dw-orbital__spoke--2 { width: 140px; animation: spokeRotate2 13s linear infinite reverse; opacity: 0.6; }
.dw-orbital__spoke--3 { width: 140px; animation: spokeRotate2 13s linear infinite; opacity: 0.6; }

@keyframes spokeRotate1 {
  from { transform: translateY(-50%) rotate(0deg); }
  to   { transform: translateY(-50%) rotate(360deg); }
}
@keyframes spokeRotate2 {
  from { transform: translateY(-50%) rotate(180deg); }
  to   { transform: translateY(-50%) rotate(540deg); }
}

/* Ambient floating semicircle arcs */
.dw-orbital__arc {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 200, 255, 0.3);
  pointer-events: none;
}

.dw-orbital__arc--1 {
  width: 120px; height: 120px;
  top: 8%; right: 8%;
  clip-path: inset(0 0 50% 0);
  animation: arcSpin 10s linear infinite;
  border-color: rgba(0, 200, 255, 0.4);
}

.dw-orbital__arc--2 {
  width: 80px; height: 80px;
  bottom: 12%; left: 10%;
  clip-path: inset(50% 0 0 0);
  animation: arcSpin 7s linear infinite reverse;
  border-color: rgba(0, 135, 168, 0.5);
}

.dw-orbital__arc--3 {
  width: 55px; height: 55px;
  top: 60%; right: 15%;
  clip-path: inset(0 50% 0 0);
  animation: arcSpin 12s linear infinite;
  border-color: rgba(0, 200, 255, 0.35);
}

.dw-orbital__arc--4 {
  width: 180px; height: 180px;
  bottom: -20px; right: -20px;
  clip-path: inset(50% 50% 0 0);
  animation: arcSpin 22s linear infinite reverse;
  border-color: rgba(0, 0, 171, 0.25);
  border-width: 2px;
}

@keyframes arcSpin {
  to { transform: rotate(360deg); }
}

/* Scattered ambient dots */
.dw-orbital__dot {
  position: absolute;
  border-radius: 50%;
  background: var(--cyan);
  animation: dotFloat 4s ease-in-out infinite;
}

.dw-orbital__dot--1 { width: 6px;  height: 6px;  top: 18%; left: 15%;  animation-delay: 0s;   opacity: 0.7; }
.dw-orbital__dot--2 { width: 4px;  height: 4px;  top: 72%; left: 22%;  animation-delay: 1.1s; opacity: 0.5; }
.dw-orbital__dot--3 { width: 8px;  height: 8px;  top: 30%; right: 12%; animation-delay: 0.6s; opacity: 0.55; background: rgba(0, 200, 255, 0.5); }
.dw-orbital__dot--4 { width: 3px;  height: 3px;  top: 85%; right: 28%; animation-delay: 1.8s; opacity: 0.4; }
.dw-orbital__dot--5 { width: 5px;  height: 5px;  top: 10%; right: 38%; animation-delay: 2.4s; opacity: 0.65; }
.dw-orbital__dot--6 { width: 7px;  height: 7px;  bottom: 20%; right: 10%; animation-delay: 0.3s; opacity: 0.4; background: rgba(0, 135, 168, 0.6); }

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

/* ── STATS BAR ──────────────────────────────────────────────────────────── */

.dw-stats {
  background: var(--blue);
  padding: 36px 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.dw-stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 52px;
}

.dw-stats__num {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1;
  letter-spacing: -2px;
}

.dw-stats__num sup {
  font-size: 20px;
  letter-spacing: 0;
}

.dw-stats__label {
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.6);
}

.dw-stats__divider {
  width: 1px;
  height: 44px;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

/* ── CORE SERVICE LINES (3-col, numbered circles) ───────────────────────── */

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

.dw-service-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 28px 32px;
  position: relative;
  overflow: hidden;
  background: var(--white);
  transition: border-color var(--transition-md), box-shadow var(--transition-md), transform var(--transition-md);
}

/* Cyan top bar */
.dw-service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--blue-mid));
  border-radius: 12px 12px 0 0;
}

/* Subtle corner glow */
.dw-service-card::after {
  content: '';
  position: absolute;
  bottom: -48px; right: -48px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(0, 200, 255, 0.07) 0%, transparent 70%);
  pointer-events: none;
  transition: opacity var(--transition-md);
  opacity: 0;
}

.dw-service-card:hover::after { opacity: 1; }

.dw-service-card:hover {
  border-color: rgba(0, 200, 255, 0.38);
  box-shadow: 0 8px 36px rgba(0, 0, 171, 0.09);
  transform: translateY(-4px);
}

/* Numbered circle badge */
.dw-service-card__badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 200, 255, 0.12), rgba(0, 0, 171, 0.08));
  border: 1.5px solid rgba(0, 200, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  color: var(--blue-mid);
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  transition: background var(--transition-md), border-color var(--transition-md);
}

.dw-service-card:hover .dw-service-card__badge {
  background: linear-gradient(135deg, rgba(0, 200, 255, 0.2), rgba(0, 0, 171, 0.12));
  border-color: rgba(0, 200, 255, 0.55);
}

.dw-service-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.dw-service-card p {
  font-size: 13.5px;
  color: var(--ink-mid);
  line-height: 1.8;
  margin-bottom: 20px;
}

.dw-service-card__features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.dw-service-card__features li {
  font-size: 13px;
  color: var(--ink-mid);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}

.dw-service-card__features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-size: 11px;
  top: 1px;
}

/* ── WHAT'S INCLUDED (dark, 4-col) ─────────────────────────────────────── */

.dw-included-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.dw-included-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 28px 22px;
  transition: border-color var(--transition-md), transform var(--transition-md);
}

.dw-included-card:hover {
  border-color: rgba(0, 200, 255, 0.28);
  transform: translateY(-3px);
}

.dw-included-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  letter-spacing: -0.1px;
}

.dw-included-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dw-included-card ul li {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}

.dw-included-card ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: rgba(0, 200, 255, 0.5);
  font-size: 11px;
}

/* ── HOW WE WORK — 5-step process ───────────────────────────────────────── */

.dw-process {
  margin-top: 56px;
  position: relative;
}

/* Horizontal connector line behind circles */
.dw-process__track {
  position: absolute;
  top: 28px; /* half of 56px circle */
  left: 10%;   /* center of first column in 5-col grid */
  right: 10%;  /* center of last column */
  height: 1px;
  background: linear-gradient(90deg,
    rgba(0, 200, 255, 0.6),
    rgba(0, 135, 168, 0.3),
    rgba(0, 200, 255, 0.6)
  );
  z-index: 0;
}

/* animated progress shimmer on the line */
.dw-process__track::after {
  content: '';
  position: absolute;
  top: 0; left: -60px;
  width: 60px; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 200, 255, 0.8), transparent);
  animation: trackShimmer 3s ease-in-out infinite;
}

@keyframes trackShimmer {
  0%   { left: -60px; }
  100% { left: 100%; }
}

.dw-process__steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
  z-index: 1;
}

.dw-process__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 10px;
  padding-top: 72px;
  position: relative;
}

/* The numbered circle */
.dw-process__num {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  color: var(--blue-mid);
  letter-spacing: -0.3px;
  z-index: 2;
  transition: background var(--transition-md), border-color var(--transition-md), color var(--transition-md);
  box-shadow: 0 0 0 4px rgba(0, 200, 255, 0.08);
}

.dw-process__step:hover .dw-process__num {
  background: var(--cyan);
  color: var(--dark-bg);
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(0, 200, 255, 0.2), 0 4px 16px rgba(0, 200, 255, 0.3);
}

.dw-process__step h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -0.1px;
  line-height: 1.3;
}

.dw-process__step p {
  font-size: 12.5px;
  color: var(--ink-mid);
  line-height: 1.7;
}

/* ── WHY PGI (4-col, dark) ──────────────────────────────────────────────── */

.dw-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.dw-why-card {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition-md), transform var(--transition-md);
}

.dw-why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--blue-mid));
  border-radius: 10px 10px 0 0;
}

.dw-why-card:hover {
  border-color: rgba(0, 200, 255, 0.28);
  transform: translateY(-3px);
}

.dw-why-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.dw-why-card p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.75;
}

/* ── INDUSTRIES (pill tags, light bg) ───────────────────────────────────── */

.dw-industries {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
  justify-content: center;
}

.dw-industry-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border: 1px solid var(--border);
  border-radius: 30px;
  font-size: 13.5px;
  font-weight: 400;
  color: var(--ink-mid);
  background: var(--white);
  transition: border-color var(--transition), color var(--transition), background var(--transition), transform var(--transition);
  cursor: default;
}

.dw-industry-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.dw-industry-tag:hover {
  border-color: rgba(0, 200, 255, 0.5);
  color: var(--blue);
  background: rgba(0, 200, 255, 0.05);
  transform: translateY(-2px);
}

.dw-industry-tag:hover::before {
  transform: scale(1.4);
}

/* ── RESPONSIVE ─────────────────────────────────────────────────────────── */

@media (max-width: 1100px) {
  .dw-included-grid { grid-template-columns: repeat(2, 1fr); }
  .dw-why-grid      { grid-template-columns: repeat(2, 1fr); }

  .dw-process__steps { grid-template-columns: repeat(3, 1fr); gap: 24px 0; }
  .dw-process__track { display: none; }
  /* In 3-col mode, draw partial lines per row */
  .dw-process__step::before {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(50% + 28px);
    right: 0;
    height: 1px;
    background: rgba(0, 200, 255, 0.3);
  }
  .dw-process__step:nth-child(3n)::before,
  .dw-process__step:last-child::before { display: none; }
}

@media (max-width: 900px) {
  .dw-services-grid { grid-template-columns: 1fr; }
}

/* Tablet: stats wrap to 2×2 */
@media (max-width: 860px) {
  .dw-stats {
    flex-wrap: wrap;
    gap: 20px;
    padding: 32px 36px;
  }
  .dw-stats__item   { flex: 1 1 calc(50% - 20px); }
  .dw-stats__divider { display: none; }
}

@media (max-width: 768px) {
  .dw-stats {
    padding: 28px 20px;
    gap: 24px;
  }
  .dw-stats__item      { padding: 0; flex: 1 1 calc(50% - 12px); }
  .dw-included-grid    { grid-template-columns: 1fr; }
  .dw-why-grid         { grid-template-columns: 1fr; }
  .dw-process__steps   { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
  .dw-process__step::before { display: none; }
  .dw-orbital__arc--4  { display: none; }
}

@media (max-width: 480px) {
  .dw-process__steps { grid-template-columns: 1fr; }
  .dw-hero__orbital  { opacity: 0.6; }
  .dw-stats__item    { flex: 1 1 100%; text-align: center; }
}
