/* who-we-serve.css - Who We Serve / Orbit Diagram */

#who-we-serve {
  position: relative;
  overflow: hidden;
  padding: 80px 16px;
  background-color: #F8FAFC;
}

/* Dot clouds */
.serve-dot-cloud {
  position: absolute;
  top: 50%;
  opacity: 0.13;
  pointer-events: none;
  z-index: 0;
}

.serve-dot-cloud.left {
  left: 0;
  transform: translateY(-50%);
}

.serve-dot-cloud.right {
  right: 0;
  transform: translateY(-50%) scaleX(-1);
}

/* Header */
.serve-header {
  text-align: center;
  margin-bottom: 56px;
  position: relative;
  z-index: 10;
}

.serve-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--blue-600);
  margin-bottom: 8px;
}

.serve-label-line {
  width: 28px;
  height: 2px;
  border-radius: 9999px;
  background-color: var(--blue-600);
  margin: 0 auto 16px;
}

.serve-heading {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: #07133D;
}

@media (min-width: 640px) {
  .serve-heading {
    font-size: 52px;
  }
}

.serve-heading .accent-blue {
  color: #2563EB;
}

.serve-heading .accent-teal {
  color: #14B8A6;
}

.serve-subtext {
  max-width: 520px;
  margin: 16px auto 0;
  color: #6B7280;
  font-size: 15px;
  line-height: 1.7;
}

/* DESKTOP ORBIT */
.serve-orbit {
  display: none;
  position: relative;
}

@media (min-width: 768px) {
  .serve-orbit {
    display: block;
    overflow-x: auto;
    padding-bottom: 8px;
  }
}

.serve-orbit-svg-container {
  position: relative;
  width: 950px;
  height: 760px;
  margin: 0 auto;
}

/* Orbit rings (positioned absolutely) */
.orbit-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.orbit-ring.outer-faint {
  border: 1px solid rgba(219, 234, 254, 0.7);
}

.orbit-ring.dashed {
  border: 1.8px dashed rgba(37, 99, 235, 0.22);
}

.orbit-ring.inner-solid {
  border: 1px solid rgba(147, 197, 253, 0.4);
}

.orbit-ring.radial-glow {
  background: radial-gradient(circle, rgba(37, 99, 235, 0.07) 0%, transparent 70%);
  border: none;
}

/* Hub */
.orbit-hub {
  position: absolute;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 10px rgba(37, 99, 235, 0.05),
    0 0 0 22px rgba(37, 99, 235, 0.035),
    0 8px 48px rgba(37, 99, 235, 0.16),
    0 2px 12px rgba(0, 0, 0, 0.06);
}

.orbit-hub img {
  width: 78%;
  height: 78%;
  object-fit: contain;
}

/* Connection lines SVG */
.orbit-lines-svg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Node dots */
.orbit-node {
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  z-index: 5;
}

/* Institution cards */
.orbit-card {
  position: absolute;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #F3F4F6;
  padding: 12px 16px;
  min-width: 158px;
  transform: translate(-50%, -50%);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 10;
  cursor: default;
}

.orbit-card:hover {
  transform: translate(-50%, calc(-50% - 4px));
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.orbit-card-inner {
  display: flex;
  align-items: center;
  gap: 10px;
}

.orbit-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.orbit-card-text {
  display: flex;
  flex-direction: column;
}

.orbit-card-line {
  font-size: 12.5px;
  font-weight: 600;
  color: #1F2937;
  line-height: 1.3;
  white-space: nowrap;
}

.orbit-card-divider {
  height: 2px;
  width: 32px;
  border-radius: 9999px;
  margin-top: 6px;
}

/* MOBILE GRID */
.serve-mobile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 24px;
  max-width: 384px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 10;
}

@media (min-width: 768px) {
  .serve-mobile-grid {
    display: none;
  }
}

.serve-mobile-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #F3F4F6;
  padding: 16px;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.serve-mobile-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

.serve-mobile-text {
  display: flex;
  flex-direction: column;
}

.serve-mobile-name {
  font-size: 12px;
  font-weight: 600;
  color: #1F2937;
  line-height: 1.3;
}

.serve-mobile-divider {
  height: 2px;
  width: 24px;
  border-radius: 9999px;
  margin-top: 4px;
}
