.iq-features {
  background: #f7f7fb;
  overflow-x: hidden;
}

/* ===== Responsive sizing via CSS variables ===== */

.holderCircle {
  --size: min(500px, 92vw);
  --dot: clamp(56px, 10vw, 80px);
  --inner: clamp(180px, 45vw, 250px);
  --ring-pad: clamp(18px, 6vw, 45px);
  width: var(--size);
  height: var(--size);
  border-radius: 999px;
  margin: 40px auto;
  position: relative;
  overflow: hidden;
}

/* dotted ring stays centered and scales */

.round {
  position: absolute;
  inset: var(--ring-pad);
  border: 2px dotted #2b71bd;
  border-radius: 999px;
  animation: rotation 20s linear infinite;
  pointer-events: none;
}

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

/* dot circle fills holder */

.dotCircle {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  z-index: 20;
  transform-origin: 50% 50%;
  will-change: transform;
}

.dotCircle .itemDot {
  position: absolute;
  width: var(--dot);
  height: var(--dot);
  background: #fff;
  color: #7d4ac7;
  border-radius: 20px;
  border: 2px solid #e6e6e6;
  cursor: pointer;
  z-index: 3;
  display: grid;
  place-items: center;
  font-size: clamp(22px, 4vw, 40px);
  transform-origin: 50% 50%;
  will-change: transform;
  user-select: none;
}

.dotCircle .itemDot .forActive {
  width: 56px;
  height: 56px;
  position: absolute;
  inset: 0;
  margin: auto;
  display: none;
  pointer-events: none;
}

.dotCircle .itemDot .forActive::after {
  content: '';
  width: 5px;
  height: 5px;
  border: 3px solid #7d4ac7;
  bottom: -31px;
  left: -14px;
  filter: blur(1px);
  position: absolute;
  border-radius: 100%;
}

.dotCircle .itemDot .forActive::before {
  content: '';
  width: 6px;
  height: 6px;
  filter: blur(5px);
  top: -15px;
  position: absolute;
  transform: rotate(-45deg);
  border: 6px solid #2b71bd;
  right: -39px;
}

.dotCircle .itemDot.active .forActive {
  display: block;
}

/* ===== Active / Hover gradient (blue theme) ===== */

.dotCircle .itemDot:hover, .dotCircle .itemDot.active {
  color: #ffffff;
  transition: 0.5s;
  background: linear-gradient(135deg, #2b71bd 0%, #1f5fa3 100%);
  border: 2px solid #ffffff;
  box-shadow: 0 30px 30px 0 rgba(0, 0, 0, .13);
}

/* ✅ PERFECT CENTER for inner circle */

.contentCircle {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--inner);
  height: var(--inner);
  transform: translate(-50%, -50%);
  border-radius: 999px;
  z-index: 10;
}

.contentCircle .CirItem {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  opacity: 0;
  transform: scale(0);
  transition: .5s;
  text-align: center;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  color: #222;
  background: rgba(255,255,255,.92);
  box-shadow: 0 15px 30px rgba(0,0,0,.08);
}

.CirItem.active {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
}

.contentCircle .CirItem i {
  font-size: clamp(110px, 22vw, 170px);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  color: #000;
  opacity: .08;
  pointer-events: none;
}

.title-box .title {
  font-weight: 600;
  letter-spacing: 2px;
  position: relative;
  z-index: 1;
  margin: 0;
}

.title-box span {
  text-shadow: 0 10px 10px rgba(0,0,0,.15);
  font-weight: 800;
  color: #fea21d;
}

.title-box p {
  font-size: 16px;
  line-height: 1.8em;
  margin: 0;
}

/* Optional: pause dotted ring on hover */

.holderCircle:hover .round {
  animation-play-state: paused;
}

/* Default icon color */

.itemDot i, .contentCircle .CirItem i {
  color: #2b71bd;
}

/* Active / hover state */

.itemDot:hover i, .itemDot.active i {
  color: #ffffff;
}

