/* Styling the chevron */
.scroll-chevron {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 30px;
    transition: transform 0.1s linear, opacity 0.3s ease-out;
    z-index: 9999; /* Ensure it is above other content */
}

.scroll-chevron i {
    color: #fff;
    cursor: pointer;
}

.scroll-chevron-hidden {
    opacity: 0 !important;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

/* Bouncing animation */
@keyframes bounce {
    0%, 100% {
        transform: translate(-50%, 0);
    }
    50% {
        transform: translate(-50%, -10px);
    }
}

/* Initial bounce effect */
.scroll-chevron {
    animation: bounce 1s infinite;
}
