h1, .h1-fonts {
    font-weight: 700 !important;
}

/* From Uiverse.io by gharsh11032000 */ 
.animated-button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 16px 36px;
  border: 4px solid;
  border-color: transparent;
  font-size: 16px;
  background-color: inherit;
  border-radius: 100px;
  font-weight: 600;
  color: greenyellow;
  box-shadow: 0 0 0 2px greenyellow;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button svg {
  position: absolute;
  width: 24px;
  fill: greenyellow;
  z-index: 9;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button .arr-1 {
  right: 16px;
}

.animated-button .arr-2 {
  left: -25%;
}

.animated-button .circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background-color: greenyellow;
  border-radius: 50%;
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button .text {
  position: relative;
  z-index: 1;
  transform: translateX(-12px);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button:hover {
  box-shadow: 0 0 0 12px transparent;
  color: #212121;
  border-radius: 12px;
}

.animated-button:hover .arr-1 {
  right: -25%;
}

.animated-button:hover .arr-2 {
  left: 16px;
}

.animated-button:hover .text {
  transform: translateX(12px);
}

.animated-button:hover svg {
  fill: #212121;
}

.animated-button:active {
  scale: 0.95;
  box-shadow: 0 0 0 4px greenyellow;
}

.animated-button:hover .circle {
  width: 220px;
  height: 220px;
  opacity: 1;
}
@media (max-width: 768px) {
  .mobile-floating-cta {
    /* Fixes the button to the viewport so it stays visible while scrolling */
    position: fixed !important;
    
    /* Horizontal centering logic */
    left: 0 !important;
    right: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    
    /* Distance from the bottom of the screen */
    bottom: 20px !important;
    
    /* Fixed width based on design requirements */
    width: 282px !important; 
    
    /* Ensures the button stays on top of all other elements */
    z-index: 9999 !important;
  }

  /* Ensures the inner button expands to fill the 282px container */
  .mobile-floating-cta .animated-button {
    width: 100% !important;
    justify-content: center; /* Keeps text and icons centered */
  }
}
/* Container logic: establishes a reference point for positioning */
.qr-sidebar-wrapper {
    position: relative;
    display: inline-block;
    cursor: pointer;
    width: 100%;
}

/* Container: Reference point for absolute positioning */
.qr-sidebar-wrapper {
    position: relative;
    display: inline-block;
    cursor: pointer;
    width: 100%;
}

/* Main visible image in the sidebar */
.sidebar-main-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Popup: Positions the box to the Bottom-Right */
.qr-popup-box {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    /* Positions relative to the parent container */
    top: 60%; 
    left: 85%; 
    
    width: 150px; /* Slimmer box for a cleaner look */
    background: #ffffff;
    padding: 12px;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    z-index: 99999;
    text-align: center;
    
    /* Animation: Slide-in effect */
    transform: translateY(-20%) translateX(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* QR Code image inside the popup */
.qr-popup-box img {
    width: 100% !important;
    height: auto !important;
    display: block;
    margin-bottom: 8px !important;
}

/* Simplified caption text styling */
.qr-caption {
    margin: 0 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    color: #444444 !important;
    line-height: 1.2 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Hover logic: Shows the box on mouse enter */
.qr-sidebar-wrapper:hover .qr-popup-box {
    visibility: visible;
    opacity: 1;
    transform: translateY(-20%) translateX(0);
}