/* Tooltip styles - using CSS content (not crawlable) */

.tooltip.btn-noonline::before,
.tooltip.btn-online::before {
  position: absolute;
  left: 50%;
  color: white;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  pointer-events: none;
  z-index: 1000;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  font-weight: 500;
  letter-spacing: 0.3px;

  bottom: auto;
  top: 100%;
  transform: translateX(-50%) translateY(8px);
  background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);

  white-space: pre-line;
  width: 260px;
  font-family: Inter, sans-serif;
}

/* Tooltip arrow - pointing down at button */
.tooltip.btn-noonline::after,
.tooltip.btn-online::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 0;
  height: 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  pointer-events: none;
  z-index: 999;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));

  bottom: auto;
  top: 100%;
  transform: translateX(-50%) translateY(2px);
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: none;
  border-bottom: 12px solid #2d3748;
}

.tooltip.btn-noonline::before {
  content: "100% Face-to-Face Training. \A NO ONLINE WORK. NO HASSLE! \A Perfect For Hands-on Learners";
}
.tooltip.btn-online::before {
  content: "Flexible Online Learning & \A Face-to-Face Practice. \A The Perfect Combo!";
  width: 220px;
}

/* Show tooltip on hover */
.tooltip.btn-noonline:hover::before,
.tooltip.btn-noonline:focus-within::before,
.tooltip.btn-online:hover::before,
.tooltip.btn-online:focus-within::before {
  opacity: 1;
  visibility: visible;

  transform: translateX(-50%) translateY(16px) scale(1);
}

.tooltip.btn-noonline:hover::after,
.tooltip.btn-noonline:focus-within::after,
.tooltip.btn-online:hover::after,
.tooltip.btn-online:focus-within::after {
  opacity: 1;
  visibility: visible;

  transform: translateX(-50%) translateY(4px);
}

@media only screen and (max-width: 767px) {
  .tooltip.btn-noonline::before {
    /*left: 45%;*/
  }
  .tooltip.btn-online::before {
    /*left: 62%;*/
  }
}

/* Tooltip End */