/* Scroll Arrow Styles */
.scroll-arrow {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease, opacity 0.5s ease, visibility 0.5s ease;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.scroll-arrow:hover {
    transform: translateX(-50%) translateY(-5px);
}

.arrow-down {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(70, 223, 240, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    animation: pulse-arrow 2s infinite;
    border: 2px solid rgba(70, 223, 240, 0.3);
}

.arrow-down svg {
    animation: bounce-arrow 2s infinite;
}

.scroll-text {
    color: #46dff0;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    opacity: 0.8;
    animation: fade-text 2s infinite;
}

/* Pulsing animation for the arrow container */
@keyframes pulse-arrow {
    0% {
        box-shadow: 0 0 0 0 rgb(241, 241, 241);
        background: rgba(70, 223, 240, 0.1);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(70, 223, 240, 0);
        background: rgba(70, 223, 240, 0.2);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(70, 223, 240, 0);
        background: rgba(70, 223, 240, 0.1);
    }
}

/* Bouncing animation for the arrow icon */
@keyframes bounce-arrow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

/* Fading animation for the text */
@keyframes fade-text {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
}

/* Responsive styles */
@media (max-width: 768px) {
    .scroll-arrow {
        bottom: 20px;
    }
    
    .arrow-down {
        width: 40px;
        height: 40px;
    }
    
    .arrow-down svg {
        width: 20px;
        height: 20px;
    }
    
    .scroll-text {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .scroll-arrow {
        bottom: 15px;
    }
    
    .arrow-down {
        width: 35px;
        height: 35px;
    }
    
    .arrow-down svg {
        width: 18px;
        height: 18px;
    }
    
    .scroll-text {
        font-size: 11px;
    }
}
