#ojg-roles-3461,
#ojg-roles-3461 * {
  box-sizing: border-box;
}

#ojg-roles-3461 {
  background: #014392;
  width: 100%;
  padding: 80px 30px;
}

#ojg-roles-3461 .ojg-roles-3461-inner {
  max-width: 1280px;
  margin: 0 auto;
}

/* ── Card wrapper ── */
#ojg-roles-3461 .ojg-roles-3461-card {
  position: relative;
  background: linear-gradient(135deg, #061a3a, #0a2a5c 60%, #072250);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 60px 50px;
  overflow: hidden;
  box-shadow:
    0 20px 50px rgba(1, 30, 70, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

#ojg-roles-3461 .ojg-roles-3461-card::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(9, 120, 239, 0.25), transparent 70%);
  pointer-events: none;
}

#ojg-roles-3461 .ojg-roles-3461-card::after {
  content: "";
  position: absolute;
  bottom: -140px;
  left: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(9, 120, 239, 0.18), transparent 70%);
  pointer-events: none;
}

/* ── Grid : left col | center hub | right col ── */
#ojg-roles-3461 .ojg-roles-3461-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 210px 1fr;
  align-items: center;
  gap: 0 60px;
}

#ojg-roles-3461 .ojg-roles-3461-col {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* ── Each role node ── */
#ojg-roles-3461 .ojg-roles-3461-node {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  opacity: 0;
  animation: ojg-roles-3461-fadein 0.7s ease forwards;
}

#ojg-roles-3461 .ojg-roles-3461-col-right .ojg-roles-3461-node {
  flex-direction: row-reverse;
  text-align: right;
}

#ojg-roles-3461 .ojg-roles-3461-col-left .ojg-roles-3461-node:nth-child(1) {
  animation-delay: 0.05s;
}
#ojg-roles-3461 .ojg-roles-3461-col-left .ojg-roles-3461-node:nth-child(2) {
  animation-delay: 0.18s;
}
#ojg-roles-3461 .ojg-roles-3461-col-left .ojg-roles-3461-node:nth-child(3) {
  animation-delay: 0.31s;
}
#ojg-roles-3461 .ojg-roles-3461-col-left .ojg-roles-3461-node:nth-child(4) {
  animation-delay: 0.44s;
}
#ojg-roles-3461 .ojg-roles-3461-col-right .ojg-roles-3461-node:nth-child(1) {
  animation-delay: 0.12s;
}
#ojg-roles-3461 .ojg-roles-3461-col-right .ojg-roles-3461-node:nth-child(2) {
  animation-delay: 0.25s;
}
#ojg-roles-3461 .ojg-roles-3461-col-right .ojg-roles-3461-node:nth-child(3) {
  animation-delay: 0.38s;
}
#ojg-roles-3461 .ojg-roles-3461-col-right .ojg-roles-3461-node:nth-child(4) {
  animation-delay: 0.51s;
}

@keyframes ojg-roles-3461-fadein {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#ojg-roles-3461 .ojg-roles-3461-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid #2d6fc4;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
}

#ojg-roles-3461 .ojg-roles-3461-icon i {
  font-size: 19px;
  color: #ffffff;
}

#ojg-roles-3461 .ojg-roles-3461-node:hover .ojg-roles-3461-icon {
  background: #0978ef;
  border-color: #0978ef;
  transform: scale(1.08);
  box-shadow: 0 8px 22px rgba(9, 120, 239, 0.45);
}

#ojg-roles-3461 .ojg-roles-3461-text h4 {
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 700;
  margin: 0 0 4px 0;
}

#ojg-roles-3461 .ojg-roles-3461-text p {
  color: #90a3c4;
  font-size: 12.5px;
  margin: 0;
  line-height: 1.5;
}

/* ── Connector lines : span the full gap, touching the hub ── */
#ojg-roles-3461 .ojg-roles-3461-line {
  position: absolute;
  top: 50%;
  height: 1px;
  width: 60px;
  background-image: linear-gradient(to right, #4a7fd0 50%, transparent 50%);
  background-size: 7px 1px;
  transform: translateY(-50%);
}

#ojg-roles-3461 .ojg-roles-3461-line::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0978ef;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 8px 2px rgba(9, 120, 239, 0.6);
  animation: ojg-roles-3461-pulse 2s ease-in-out infinite;
}

#ojg-roles-3461 .ojg-roles-3461-col-left .ojg-roles-3461-line {
  right: -60px;
}

#ojg-roles-3461 .ojg-roles-3461-col-left .ojg-roles-3461-line::after {
  right: 6px;
}

#ojg-roles-3461 .ojg-roles-3461-col-right .ojg-roles-3461-line {
  left: -60px;
}

#ojg-roles-3461 .ojg-roles-3461-col-right .ojg-roles-3461-line::after {
  left: 6px;
}

@keyframes ojg-roles-3461-pulse {
  0%,
  100% {
    opacity: 0.6;
    transform: translateY(-50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translateY(-50%) scale(1.6);
  }
}

/* ── Center hub ── */
#ojg-roles-3461 .ojg-roles-3461-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

#ojg-roles-3461 .ojg-roles-3461-hub {
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #0d2c5c, #051630 75%);
  border: 1.5px solid #0978ef;
  box-shadow:
    0 0 0 6px rgba(9, 120, 239, 0.07),
    0 0 45px rgba(9, 120, 239, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px;
  position: relative;
}

#ojg-roles-3461 .ojg-roles-3461-hub-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

#ojg-roles-3461 .ojg-roles-3461-hub-icon i {
  font-size: 20px;
  color: #ffffff;
}

#ojg-roles-3461 .ojg-roles-3461-hub h3 {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.4;
  margin: 0;
}

#ojg-roles-3461 .ojg-roles-3461-hub h3 span {
  color: #4ea2ff;
}

/* ── Responsive ── */

@media (max-width: 1100px) {
  #ojg-roles-3461 .ojg-roles-3461-card {
    padding: 50px 32px;
  }

  #ojg-roles-3461 .ojg-roles-3461-grid {
    grid-template-columns: 1fr 185px 1fr;
    gap: 0 44px;
  }

  #ojg-roles-3461 .ojg-roles-3461-line {
    width: 44px;
  }

  #ojg-roles-3461 .ojg-roles-3461-col-left .ojg-roles-3461-line {
    right: -44px;
  }

  #ojg-roles-3461 .ojg-roles-3461-col-right .ojg-roles-3461-line {
    left: -44px;
  }

  #ojg-roles-3461 .ojg-roles-3461-hub {
    width: 185px;
    height: 185px;
  }
}

/* Tablet & mobile → stacked list, hub on top, lines hidden */
@media (max-width: 880px) {
  #ojg-roles-3461 {
    padding: 60px 18px;
  }

  #ojg-roles-3461 .ojg-roles-3461-card {
    padding: 44px 24px;
    border-radius: 22px;
  }

  #ojg-roles-3461 .ojg-roles-3461-grid {
    grid-template-columns: 1fr;
    gap: 36px 0;
  }

  #ojg-roles-3461 .ojg-roles-3461-center {
    order: -1;
  }

  #ojg-roles-3461 .ojg-roles-3461-line {
    display: none;
  }

  #ojg-roles-3461 .ojg-roles-3461-col {
    gap: 18px;
  }

  #ojg-roles-3461 .ojg-roles-3461-col-right .ojg-roles-3461-node,
  #ojg-roles-3461 .ojg-roles-3461-col-left .ojg-roles-3461-node {
    flex-direction: row;
    text-align: left;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 14px 16px;
  }

  #ojg-roles-3461 .ojg-roles-3461-hub {
    width: 175px;
    height: 175px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  #ojg-roles-3461 .ojg-roles-3461-card {
    padding: 36px 18px;
  }

  #ojg-roles-3461 .ojg-roles-3461-hub {
    width: 155px;
    height: 155px;
    padding: 12px;
  }

  #ojg-roles-3461 .ojg-roles-3461-hub h3 {
    font-size: 14px;
  }

  #ojg-roles-3461 .ojg-roles-3461-hub-icon {
    width: 38px;
    height: 38px;
  }

  #ojg-roles-3461 .ojg-roles-3461-hub-icon i {
    font-size: 16px;
  }
}
