/*   
Theme Name: Jtheme Jello Child
Theme URI: https://elementor.com
Description: Simple and lightweight Jezweb theme
Author: Jezweb
Author URI: https://www.jezweb.com.au/
Template: elementor-hello-theme-master
Text Domain: elementor-hello-theme-child
Version: 1.0
*/
.Calltoaction{
	border-radius: 24px;
}


<div class="image-tooltip-container" data-tooltip="Web Design Newcastle">
  <img src="https://kneeandhipsurgeons.com.au/wp-content/uploads/2025/09/faviconV2-removebg-preview.png" alt="Web Design Newcastle">
</div>

.image-tooltip-container {
  position: relative;
  display: inline-block;
  cursor: help; /* Cursor for desktop */
}

/* Tooltip text styling */
.image-tooltip-container::after {
  content: attr(data-tooltip);
  position: absolute;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;

  /* Your styles */
  background-color: #ffffff;
  color: #1A3263;
  border: 1px solid #1A3263;
  padding: 10px;
  font-size: 14px;

  /* Positioning */
  border-radius: 4px;
  white-space: nowrap;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  z-index: 10;
}

/* Tooltip arrow styling */
.image-tooltip-container::before {
  content: '';
  position: absolute;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;

  /* Arrow shape and color */
  border-style: solid;
  border-width: 6px;
  border-color: #1A3263 transparent transparent transparent;

  /* Positioning */
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  z-index: 11;
  margin-bottom: -1px;
}

/* Show tooltip on desktop hover */
.image-tooltip-container:hover::before,
.image-tooltip-container:hover::after {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* --- Mobile and Tablet Optimization --- */

/* Target screens 768px and smaller */
@media (max-width: 768px) {
  /* Hide the tooltip elements completely */
  .image-tooltip-container::before,
  .image-tooltip-container::after {
    display: none;
  }

  /* Remove the 'help' cursor on mobile */
  .image-tooltip-container {
    cursor: default;
  }
}