/* Scroll Button */
/* .scroll-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: opacity 0.3s ease-in-out, transform 0.2s;
    z-index: 1000;
} */

/* Ensure the image fits */
/* .scroll-button img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease-in-out;
} */

/* Flip the button when scrolling up */
/* .scroll-up img {
    transform: rotate(180deg);
} */

/* Hide the button when not needed */
/* .hidden {
    opacity: 0;
    pointer-events: none;
} */

/* Scroll Button - Circular */
.scroll-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #008000; /* Green color */
    border-radius: 50%; /* Makes it circular */
    border: 2px solid #ddd; /* Optional border */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: opacity 0.3s ease-in-out, transform 0.2s, background 0.3s;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Ensures the image does not overflow */
    padding: 0;
}

/* Ensure the image fits inside the button */
.scroll-button img {
    width: 70%; /* Adjust to fit */
    height: auto;
    transition: transform 0.3s ease-in-out;
}

/* Flip the button when at the TOP */
.scroll-up img {
    transform: rotate(180deg);
}

/* Hide the button when not needed */
.hidden {
    opacity: 0;
    pointer-events: none;
}

