/* ============================================
EDUCARE TOUR SYSTEM CSS
============================================ */
.educare-tour-overlay {
  position: fixed;
  background: rgba(0, 0, 0, 0.75);
  z-index: 9998;
  transition: all 0.3s ease;
}

.educare-tour-highlight {
  position: fixed;
  z-index: 9999;
  border: 3px solid #3b82f6;
  border-radius: 8px;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2), 0 0 30px rgba(59, 130, 246, 0.3);
  transition: all 0.3s ease;
  pointer-events: none;
}

.educare-tour-pulse::after {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border-radius: 12px;
  border: 2px solid #3b82f6;
  animation: educarePulseRing 2s infinite;
  pointer-events: none;
}

@keyframes educarePulseRing {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(1.15);
    opacity: 0;
  }
}

.educare-tour-tooltip {
  position: fixed;
  z-index: 10001;
  background: white;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  width: 320px;
  transition: all 0.3s ease;
  animation: educareTooltipIn 0.3s ease;
}

@keyframes educareTooltipIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.educare-tour-arrow {
  position: absolute;
  width: 12px;
  height: 12px;
  background: white;
  transform: rotate(45deg);
}

/* Arrow points TOWARD the target */
.educare-tour-arrow.top {
  bottom: -6px;
  left: 50%;
  margin-left: -6px;
}

.educare-tour-arrow.bottom {
  top: -6px;
  left: 50%;
  margin-left: -6px;
}

.educare-tour-arrow.left {
  right: -6px;
  top: 50%;
  margin-top: -6px;
}

.educare-tour-arrow.right {
  left: -6px;
  top: 50%;
  margin-top: -6px;
}

body.educare-tour-active {
  overflow: hidden;
}

html {
  scroll-behavior: smooth;
}