@import 'https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap';

.full-inset {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  font-family: Open Sans, system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: normal;
}

.image-comparison {
  position: relative;
  width: 100%;
  height: 95vh;
  min-height: 400px;
  max-height: 800px;
  background: #000;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  cursor: ew-resize;
}

.image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.image-before,
.image-after {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.image-before {
  left: 0;
  background-image: url("./assets/Healthy Boy.png");
}

.image-after {
  left: 0;
  clip-path: polygon(50% 0%, 100% 0%, 100% 100%, 50% 100%);
  background-image: url("./assets/Sick Boy.png");
}

.slider {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: linear-gradient(90deg, #6ad4b6, #2ba8ab 79%, #0d93a6);
  transform: translateX(-50%);
  z-index: 10;
}

.slider-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50px;
  height: 50px;
  background: linear-gradient(90deg, #6ad4b6, #2ba8ab 79%, #0d93a6);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  cursor: ew-resize;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.slider-handle:hover {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.slider-handle::after {
  content: "";
  position: absolute;
  width: 54%;
  height: 54%;
}

.slider-handle::before {
  content: "";
  position: absolute;
  background-image: url(./assets/left-and-right-arrows.png);
  background-size: contain;
  width: 54%;
  height: 54%;
  background-repeat: no-repeat;
}

.slider-handle::before {
  border-left: 2px solid white;
}

.slider-handle::after {
  border-right: 2px solid white;
}

.text-labels {
  position: absolute;
  top: 15%;
  width: 40%;
  display: flex;
  justify-content: space-between;
  padding: 0 30px;
  z-index: 5;
  pointer-events: none;
}

.text-labels > .label-body {
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 400;
}

.sub-heading, .sub-heading-bold {
  font-size: 19px;
}
.main-heading {
  font-size: 3.3rem;
  color: #ff0020;
  font-weight: 800;
  margin-bottom: 20%;
  transition: opacity 0.3s
  ease;
}
@media (max-width: 1999px) {
  .main-heading {
    margin-top: -30px;
  }
}
@media (max-width: 1024px) {
  .main-heading {
    font-size: 32px;
    margin-bottom: 20%;
  }
}
.mobile-text-labels .main-heading {
  margin-bottom: 5%;
  margin-top: 5%;
}



.main-heading {
  font-size: 52px;
  color: #ff0020;
  font-weight: 800;
  margin-bottom: 20%;
  transition: opacity 0.3s ease;
}

.mobile-text-labels {
  display: none;
  padding: 20px;
  text-align: center;
}

.mobile-text-labels .main-heading {
  margin-bottom: 5%;
  margin-top: 5%;
}

.sub-heading {
  margin-bottom: 5%;
}

.sub-heading-bold {
  font-weight: 700;
  margin-bottom: 5%;
}

.sub-heading,
.sub-heading-bold {
  font-size: 19px;
}

.info-labels {
  position: absolute;
  bottom: 20px;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  padding: 0 30px;
  z-index: 5;
  pointer-events: none;
}

.info-labels > .label > img {
  width: 28vw;
}

/* Pulsing animation keyframes */
@keyframes pulseHotspot {
  0% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(255, 59, 59, 0.4);
  }
  50% {
    transform: scale(1.2);
    box-shadow: 0 6px 25px rgba(255, 59, 59, 0.8);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(255, 59, 59, 0.4);
  }
}

@keyframes pulseRing {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

.hotspot {
  position: absolute;
  width: 22px;
  height: 22px;
  /* background: rgba(255, 59, 59, 0.8); */
  border: 2px solid rgba(255, 59, 59, 0.8);
  border-radius: 50%;
  cursor: pointer;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 14px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 59, 59, 0.4);
  animation: pulseHotspot 2s infinite;
}

.hotspot::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px solid rgba(255, 59, 59, 0.6);
  border-radius: 50%;
  animation: pulseRing 2s infinite;
  pointer-events: none;
}

.hotspot:hover,
.hotspot.sticky {
  transform: scale(1.5);
  box-shadow: 0 6px 25px rgba(255, 59, 59, 0.6);
  animation: none; /* Stop pulsing when hovered or sticky */
}

.hotspot:hover::before,
.hotspot.sticky::before {
  animation: none;
  opacity: 0;
}

.hotspot-tooltip {
  position: absolute;
  top: 32px;
  transform: translateX(-50%);
  background: #ffff;
  color: #234462;
  padding: 4px 5px;
  border-radius: 10px;
  font-size: 9.6px;
  width: 205px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  margin-bottom: 8px;
  z-index: 20;
}

.tooltip-header {
  margin-top: 4px;
  margin-bottom: 4px;
  font-weight: 800;
  font-size: 12px !important;
}

.tooltip-subtext {
  margin-bottom: 4px;
  font-weight: 400;
}

.tooltip-link {
  color: #5ac9b4;
  text-decoration: none;
}

.tooltip-link:hover {
  text-decoration: underline;
}

.hotspot-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
}

.hotspot.sticky .hotspot-tooltip {
  opacity: 1;
  pointer-events: all;
}

.hotspot.sticky .hotspot-tooltip {
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hotspot.clipped {
  display: none;
}

.close-btn {
  display: flex;
  justify-content: end;
  margin-right: 5px;
  position: absolute;
  right: 4px;
  top: 4px;
}

.search-dh-btn {
  text-decoration: none;
  color: #ffff;
  background-color: #78c6ae;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: 6px;
  pointer-events: auto;
}

@media (min-width: 2000px) {
  .main-heading {
    font-size: 80px;
    margin-bottom: 14%;
  }

  .sub-heading,
  .sub-heading-bold {
    font-size: 24px;
    margin-bottom: 4%;
  }

  .text-labels {
    width: 38%;
  }
}

@media (min-width: 2000px) {
  .hotspot {
    width: 40px;
    height: 40px;
  }
  #hotspot1 {
    top: 26% !important;
    right: 53% !important;
  }
  #hotspot3 {
    top: 46% !important;
    right: 42% !important;
  }
  #hotspot4 {
    top: 82% !important;
    left: 61% !important;
  }
  .hotspot-tooltip {
    top: 45px;
  }
}

@media (min-width: 2300px) {
  #hotspot4 {
    top: 88% !important;
    left: 61% !important;
  }
}

@media (min-width: 1025px) {
  .hotspot-tooltip {
    top: 25px;
    left: -105px;
  }

  #hotspot4 .hotspot-tooltip {
    top: -81px !important;
    left: 130px !important;
  }
}

@media (max-width: 1999px) {
  .hotspot {
    width: 30px;
    height: 30px;
  }

  #hotspot1 {
    top: 27% !important;
    right: 54% !important;
  }

  #hotspot2 {
    top: 53% !important;
    right: 48.5% !important;
  }

  #hotspot3 {
    top: 47% !important;
    right: 42% !important;
  }

  #hotspot4 {
    top: 85% !important;
    right: 35% !important;
  }

  #hotspot4 .hotspot-tooltip {
    top: -81px !important;
    left: 130px !important;
  }

  .main-heading {
    margin-top: -30px;
  }

}

@media (min-width: 900px) and (max-width: 1200px) {
  #hotspot3 {
    top: 48% !important;
    right: 38% !important;
  }
}

@media (max-width: 1024px) and (min-width: 768px) {
  #hotspot1 .hotspot-tooltip {
    top: -75px !important;
    left: 108px;
  }
}

@media (max-width: 1024px) {
  .hotspot-tooltip {
    font-size: 0.5rem;
  }

  .image-comparison {
    height: 65vh;
    min-height: 300px;
  }

  .slider-handle {
    width: 40px;
    height: 40px;
  }

  .text-labels {
    padding: 0 20px;
    top: 15%;
  }

  .main-heading {
    font-size: 32px;
    margin-bottom: 20%;
  }

  .sub-heading,
  .sub-heading-bold {
    font-size: 12px;
  }

  .search-dh-btn {
    font-size: 9.6px;
  }

  .info-labels {
    padding: 0 20px;
    bottom: 15px;
  }

  .text-labels > .label {
    padding: 8px 16px;
    font-size: 0.9rem;
  }

  .hotspot {
    width: 25px;
    height: 25px;
    font-size: 12px;
    /* Larger touch target for mobile */
    min-width: 35px;
    min-height: 35px;
  }

  .close-btn {
    /* padding: 8px; */
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    /* Larger touch target */
    min-width: 32px;
    min-height: 32px;
    /* display: flex;
    align-items: center;
    justify-content: center; */
  }

  #hotspot2 {
    top: 53% !important;
    right: 48.3% !important;
  }

  #hotspot4 .hotspot-tooltip {
    top: -70px !important;
    left: 130px !important;
  }
}

@media only screen and (max-width: 900px) {
  #hotspot2 {
    top: 53% !important;
    right: 47.6% !important;
  }

  #hotspot3 {
    top: 47% !important;
    right: 36% !important;
  }

  #hotspot4 .hotspot-tooltip {
    top: -81px !important;
    left: 103px !important;
    width: 150px !important;
  }

  .close-btn {
    right: 5px;
    top: 4px;
  }
}
.main-body-banner{
    padding-top: 60px;
}
@media only screen and (max-width: 600px) {
  .main-body-banner{
	padding-top: 0;
  }
  #hotspot2 {
    top: 53% !important;
    right: 46% !important;
  }

  .info-labels > .label > img {
    width: 40vw;
  }

  .mobile-text-labels {
    display: block;
  }

  .text-labels {
    display: none;
  }

  .hotspot-tooltip {
    font-size: 6px;
  }

  .tooltip-header {
    font-size: 8px !important;
  }

  .hotspot-tooltip {
    width: 106px;
    top: 22px;
    right: -21px;
  }

  #hotspot4 {
    top: 86% !important;
    right: 16% !important;
  }

  #hotspot4 .hotspot-tooltip {
    top: -40px !important;
    left: -81px !important;
  }
}

@media only screen and (max-width: 600px) and (min-width: 485px) {
  #hotspot3 {
    top: 47% !important;
    right: 30% !important;
  }
}

@media only screen and (max-width: 485px) {
  #hotspot3 {
    top: 47% !important;
    right: 30% !important;
  }
}

@media only screen and (max-width: 400px) {
  #hotspot2 {
    top: 53% !important;
    right: 45% !important;
  }

  #hotspot3 {
    top: 47% !important;
    right: 30% !important;
  }

  .hotspot-tooltip {
    width: 90px;
    padding: 4px 4px;
  }
}

@media only screen and (max-width: 376.5px) {
  #hotspot3 {
    top: 47% !important;
    right: 30% !important;
  }

  #hotspot4 .hotspot-tooltip {
    top: -40px !important;
    left: -58px !important;
    width: 105px !important;
  }

  .hotspot-tooltip {
    top: 31px !important;
    right: -16px !important;
  }
}
