/* Outer button (handles scaling & hover) */
#myCustomButton {
    position: fixed;
    top: 50%;
    right: 20px;
    width: 185px;
    height: 185px;
    background: linear-gradient(135deg, #19a10c, #34d058);
    border: 5px solid #111; /* black ring */
    border-radius: 50%;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 10px 30px rgba(0,0,0,0.35), 0 0 20px rgba(40,167,69,0.5), inset 0 0 14px rgba(0,0,0,0.6);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    transition: transform 0.3s, background 0.3s, box-shadow 0.3s, opacity 0.3s;

    right: -160px;
}

#myCustomButton.show {
    right: 20px;
    opacity: 1;
}

/* Hover scale effect */
#myCustomButton:hover {
    transform: translateY(-50%) scale(1.25); /* now works! */
    background: linear-gradient(135deg, #34d058, #19a10c);
    box-shadow: 0 12px 35px rgba(0,0,0,0.4), 0 0 25px rgba(52,208,88,0.6), inset 0 0 18px rgba(0,0,0,0.7);
}


/* Inner div – do NOT rotate by default */
.innerRotate {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: 'Poppins', sans-serif;

    animation: rotate 7s linear infinite;
    animation-play-state: paused;   /* <-- stop rotating */
}

/* Start rotation only when hovering the button */
#myCustomButton:hover .innerRotate {
    animation-play-state: running;
}

/* rotation keyframes */
@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Text styling */
.innerRotate span {
    color: black;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Main “24/7” text */
.innerRotate .mainText {
    font-size: 32px;      /* bigger 24/7 */
    font-weight: 900;
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    line-height: 1;
}

.innerRotate .subText {
    font-size: 22px;      /* bigger Service */
    font-weight: 700;
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    line-height: 1;
}
