.button_outer_div {
    bottom: 14px;
    right: 16px;
    box-sizing: border-box;
    position: fixed !important;
    z-index: 16000160 !important;
    direction: ltr;
    text-align: right;
    height: auto;
    width: auto;
}

.service-message {
    box-shadow: rgba(136, 136, 136, 0.4) 0px 1px 7px;
    flex-shrink: 0;
    border: 1px solid rgb(226, 226, 226);
    border-radius: 5px;
    background: white;
    cursor: pointer;
    margin: auto 31px auto auto;
    max-width: 172px;
    max-height: 65px;
    display: none;
    order: 1;
    text-decoration: none !important;
    color: rgb(0, 0, 0) !important;
    padding: 5px;
}

.show-service-message {
    display: block;
    transform: translateX(0px);
    position: relative;
    animation-duration: 0.64s;
    animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1);
    animation-delay: 0.16s;
    animation-fill-mode: backwards;
    animation-name: fadeInX;
}

.hide-service-message {
    display: block;
    transition: opacity 0.5s ease, height 0.5s ease;
}


.button_inner_div {
    width: 56px;
    height: 56px;
    display: flex;
    margin: 7px;
    position: relative;
    -webkit-box-pack: end;
    justify-content: flex-end;
}

/* Show the cross icon with forward rotation on hover */
.cross-active .service_icon {
    display: none;
}

.cross-active .btnCtn {
    animation: none;
}

.option-selected .btnCtn {
    animation: none;
}

.cross-active .cross_icon {
    display: flex;
    animation: rotateIn 0.5s ease;
}
.cross-active .btnCtn::before {
    content: none;
    display: none;
}

.cross_icon {
    display: none;
    place-content: center;
    font-size: 46px;
    font-weight: 200;
    color: rgb(255, 255, 255);
    margin-top: 1px;
    width: 100%;
    height: 100%;
    line-height: 1;
}

/*.cross_icon {
    display:none;
}*/

/* After reverse rotate, cross icon hides and service icon shows */
.reverse-rotate .service_icon {
    display: inline;
    animation: rotateOut 0.5s ease;
}

.reverse-rotate .cross_icon {
    display: none;
}


.btnCtn {
    display: block;
    flex-shrink: 0;
    opacity: 1;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    order: 2;
    padding: 5px;
    box-sizing: border-box;
    cursor: pointer;
    box-shadow: rgba(136, 136, 136, 0.4) 0px 1px 7px;
    transition: 0.5s;
    position: relative;
    z-index: 200;
    border: 2.52px solid rgb(255, 255, 255);
    animation: 2s ease 1s infinite normal none running btnCtn_animation;
    text-decoration: none !important;
    background-color: rgb(255, 101, 80) !important;
}

.btnInCtn {
    animation-duration: 0.4s;
    animation-delay: 0.05s;
    height: 100%;
    width: 100%;
    margin-top: -1px;
}

.btnCtn::before {
    content: "1";
    width: 16.8px;
    height: 16.8px;
    display: grid;
    place-content: center;
    color: rgb(255, 255, 255);
    font-size: 13px;
    background-color: red;
    border-radius: 50%;
    font-family: sans-serif;
    position: absolute;
    top: -2px;
    right: -2px;
    box-shadow: rgba(0, 0, 0, 0.5) 0px 1px 2px;
}

.popup_list {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    transform: rotate(45deg);
    position: absolute;
    bottom: 35px;
    right: 40px;
    opacity: 0;
    pointer-events: none;
}

/* Show state with animation */
.show-popup {
    opacity: 1;
    animation-timing-function: ease;
    animation-name: aroundAnimation_RiseUp;
    animation-fill-mode: both;
    animation-delay: 0.05s;
    animation-duration: 0.5s;
    pointer-events: auto;
}

.hide-popup {
    background-color: black;
    opacity: 100%;
    animation-timing-function: ease;
    animation-delay: 0.05s;
    animation-duration: 0.5s;
    animation-fill-mode: both;
    animation-name: aroundAnimation_FallDown;
    pointer-events: none;
}

.services_div {
    display: flex;
    margin: 7px;
    -webkit-box-pack: end;
    justify-content: flex-end;
    max-height: 56px;
    position: fixed;
}

.div1 {
    transform: rotate(45deg) translateY(112px);
}

.div2 {
    transform: rotate(90deg) translateY(112px);
}

.div3 {
    transform: rotate(135deg) translateY(112px);
}

.services_button_div {
    order: 2;
    position: relative;
}

.services_button_inner_div {
    display: block;
    flex-shrink: 0;
    opacity: 1;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    order: 2;
    padding: 5px;
    box-sizing: border-box;
    cursor: pointer;
    overflow: hidden;
    box-shadow: rgba(136, 136, 136, 0.4) 0px 1px 7px;
    transition: 0.5s;
    position: relative;
    z-index: 200;
    text-decoration: none !important;
    background-color: rgb(236, 89, 35) !important;
}

.phone_div {
    transform: rotate(-90deg);
    background-color: rgb(236, 89, 35) !important;
}


.callBack_div {
    transform: rotate(-135deg);
    background-color: rgb(0, 99, 255) !important;
}

.whatsApp_div {
    transform: rotate(-180deg);
    background-color: rgb(77, 194, 71) !important;
}

.div1:hover .note1 {
    display: block;
}

.div2:hover .note2 {
    display: block;
}

.div3:hover .note3 {
    display: block;
}


.services_button_img {
    width: 100%;
    height: 100%;
    filter: invert(1) brightness(100);
    stroke: none;
}


.note {
    position: absolute;
    display: none;
    z-index: 1000;
    padding: 7px 10px;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 15.68px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    color: rgb(51, 51, 51);
    background: white;
    box-shadow: rgba(136, 136, 136, 0.4) 0px 1px 7px;
    white-space: nowrap;
    pointer-events: none;
    transform-origin: right center;
    top: unset;
    left: unset;
    transform: rotate(-90deg);
    line-height: 1.1 !important;
}

.note1 {
    right: 50%;
    bottom: -50%;
    transform: rotate(-90deg);
}

.note2 {
    right: -5%;
    bottom: -25%;
    transform: rotate(-135deg);
}

.note3 {
    right: -25%;
    bottom: 25%;
    transform: rotate(-180deg);
}


.note::before {
    content: "";
    position: absolute;
    border-width: 5px;
    border-style: solid;
    border-color: transparent rgba(0, 0, 0, 0.09) transparent transparent;
    border-image: initial;
    top: 50%;
    transform: translateY(-50%) rotate(180deg);
    right: -11px;
}


.note::after {
    content: "";
    position: absolute;
    border-width: 5px;
    border-style: solid;
    border-color: transparent rgb(255, 255, 255) transparent transparent;
    border-image: initial;
    top: 50%;
    transform: translateY(-50%) rotate(180deg);
    right: -10px;
}

@keyframes aroundAnimation_RiseUp {
    0% {
        opacity: 0;
        transform: rotate(-60deg);
    }

    100% {
        opacity: 1;
    }
}

@keyframes aroundAnimation_FallDown {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: rotate(-60deg);
    }
}


@keyframes btnCtn_animation {
    0% {
        transform: scale(1);
    }

    14% {
        transform: scale(1.3);
    }

    28% {
        transform: scale(1);
    }

    42% {
        transform: scale(1.3);
    }

    70% {
        transform: scale(1);
    }

    /* Ensure the last frame brings it back to original scale */
    100% {
        transform: scale(1);
    }
}

/* Rotate animation for the cross icon */
@keyframes rotateIn {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}



/* Animation for rising effect */
@keyframes riseUp {
    0% {
        transform: translateY(15px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes dropDown {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(15px);
    }
}

/* Reverse rotation animation for service icon return */
@keyframes rotateOut {
    0% {
        transform: rotate(360deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

@keyframes fadeInX {
    0% {
        opacity: 0;
        right: -20px;
    }

    100% {
        opacity: 1;
        right: 0px;
    }
}