.primary-button-leaf {
    background-color: #D9D1C1;
    color: #AAB389;
    border-radius: 30px;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    position: relative;
    transition: 0.4s;
    box-shadow: 0px 10px 15px -3px rgba(0,0,0,0.05);
}
.primary-button-leaf p {
    margin: 0;
}
.leaf-one {
    position: absolute;
    top: -5px;
    right: 10px;
    width: 15px;
    transform: rotate(-55deg);
    transition: 0.4s;
    scale: 0;
}
.leaf-two {
    position: absolute;
    top: 3px;
    right: -10px;
    width: 25px;
    transform: rotate(10deg);
    transition: 0.4s;
    transition-delay: 0.15s; /* Added delay for hiding */
    scale: 0;
}
.primary-button-leaf:hover .leaf-one {
    scale: 1;
    transform: rotate(0deg);
    right: 7px;
    top: -11px;
}
.primary-button-leaf:hover {
    scale: 1.05;
    box-shadow: 0px 10px 15px -3px rgba(0,0,0,0.1);
    animation-duration: 1.5s;
    animation-name: leaf-bounce;
}
.primary-button-leaf:hover .leaf-two {
    scale: 1;
    transform: rotate(0deg);
    right: -15px;
    top: -3px;
    transition-delay: 0.15s; /* Added delay for showing */
}
.primary-button-leaf .leaf-two {
    transition-delay: 0.15s;
}
@keyframes leaf-bounce {
    0%{
        transform: translateY(0);
    }
    60%{
        transform: translateY(0);
    }
    80%{
        transform: translateY(-10px);
    }
    100%{
        transform: translateY(0);
    }
}
