.partner-process {
  padding: var(--section-pad);
  background: var(--bg-white);
}

.partner-process .partner-section-header {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 3.5rem;
}

.partner-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #24499f;
  margin-bottom: 1rem;
}
 
.partner-eyebrow::before,
.partner-eyebrow::after {
  content: "";
  width: 28px;
  height: 2px;
  background: #24499f;
}
.partner-eyebrow--light {
  color: rgba(255, 255, 255, 0.72);
}

/* Timeline Grid */
.partner-process__timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4rem 4.5rem;
  max-width: 1120px;
  margin: 0 auto;
  justify-items: center;
}

/* Circle Cards */
.partner-process__item {
  position: relative;
  width: clamp(145px, 13vw, 170px);
  aspect-ratio: 1 / 1;
  background: #ffffff;
  border: 1px solid rgba(20, 184, 166, 0.14);
  border-radius: 50%;
  padding: 1.2rem;
  box-shadow: var(--shadow-card);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: visible;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease;
}

.partner-process__item::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(20, 184, 166, 0.1),
    rgba(143, 216, 255, 0.16)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.partner-process__item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(20, 184, 166, 0.35);
}

.partner-process__item:hover::before {
  opacity: 1;
}

.partner-process__item span {
  position: relative;
  z-index: 2;
  width: 44px;
  height: 44px;
  margin: 0 auto 0.7rem;
  border-radius: 50%;
  background: var(--env-hero-bg);
  color: var(--clr-accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: 0 10px 24px rgba(11, 31, 77, 0.18);
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    color 0.3s ease;
}

.partner-process__item:hover span {
  transform: scale(1.08);
  background: var(--clr-teal);
  color: #ffffff;
}

.partner-process__item p {
  position: relative;
  z-index: 2;
  max-width: 120px;
  margin: 0;
  color: #004E8F;
  font-weight: 800;
  font-size: 0.9rem;
  line-height: 1.3;
}

/* Zig-Zag Order */
.partner-process__item:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
}

.partner-process__item:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}

.partner-process__item:nth-child(3) {
  grid-column: 3;
  grid-row: 1;
}

.partner-process__item:nth-child(4) {
  grid-column: 4;
  grid-row: 1;
}

.partner-process__item:nth-child(5) {
  grid-column: 4;
  grid-row: 2;
}

.partner-process__item:nth-child(6) {
  grid-column: 3;
  grid-row: 2;
}

.partner-process__item:nth-child(7) {
  grid-column: 2;
  grid-row: 2;
}

.partner-process__item:nth-child(8) {
  grid-column: 1;
  grid-row: 2;
}

/* Right Arrows - First Row */
.partner-process__item:nth-child(1)::after,
.partner-process__item:nth-child(2)::after,
.partner-process__item:nth-child(3)::after {
  content: "❯❯";
  position: absolute;
  top: 50%;
  right: -3.5rem;
  transform: translateY(-50%);
  color: var(--clr-teal);
  font-size: 2.3rem;
  font-weight: 900;
  line-height: 1;
}

/* Down Arrow from 04 to 05 */
.partner-process__item:nth-child(4)::after {
  content: "❯";
  position: absolute;
  right: 50%;
  bottom: -3.1rem;
  transform: translateX(50%) rotate(90deg);
  color: var(--clr-teal);
  font-size: 2.2rem;
  font-weight: 900;
}

/* Left Arrows - Second Row */
.partner-process__item:nth-child(5)::after,
.partner-process__item:nth-child(6)::after,
.partner-process__item:nth-child(7)::after {
  content: "❮❮";
  position: absolute;
  top: 50%;
  left: -3.5rem;
  transform: translateY(-50%);
  color: var(--clr-teal);
  font-size: 2.3rem;
  font-weight: 900;
  line-height: 1;
}

/* Tablet */
@media (max-width: 1000px) {
  .partner-process__timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 3.8rem 3.5rem;
    max-width: 680px;
  }

  .partner-process__item {
    width: 160px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
  }

  .partner-process__item::before {
    border-radius: 50%;
  }

  .partner-process__item:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
  }

  .partner-process__item:nth-child(1)::after,
  .partner-process__item:nth-child(3)::after,
  .partner-process__item:nth-child(5)::after,
  .partner-process__item:nth-child(7)::after {
    content: "❯❯";
    top: 50%;
    right: -3rem;
    left: auto;
    bottom: auto;
    transform: translateY(-50%);
  }

  .partner-process__item:nth-child(2)::after,
  .partner-process__item:nth-child(4)::after,
  .partner-process__item:nth-child(6)::after {
    content: "❯";
    top: auto;
    right: 50%;
    bottom: -3rem;
    left: auto;
    transform: translateX(50%) rotate(90deg);
  }

  .partner-process__item:nth-child(8)::after {
    display: none;
  }
}

/* Mobile */
@media (max-width: 560px) {
  .partner-process .partner-section-header {
    margin-bottom: 2.5rem;
  }

  .partner-process__timeline {
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 100%;
  }

  .partner-process__item {
    width: 165px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    padding: 1rem;
  }

  .partner-process__item::before {
    border-radius: 50%;
  }

  .partner-process__item:nth-child(n)::after {
    content: "❯";
    position: absolute;
    top: auto;
    right: 50%;
    bottom: -2.4rem;
    left: auto;
    transform: translateX(50%) rotate(90deg);
    color: var(--clr-teal);
    font-size: 1.9rem;
    font-weight: 900;
  }

  .partner-process__item:nth-child(8)::after {
    display: none;
  }

  .partner-process__item:hover {
    transform: translateY(-4px);
  }

  .partner-process__item span {
    width: 42px;
    height: 42px;
    font-size: 0.82rem;
  }

  .partner-process__item p {
    font-size: 0.86rem;
    line-height: 1.3;
  }
}