/* Ensure footer has enough bottom padding */
#footer {
    padding-bottom: 80px; /* Adjust spacing for floating buttons */
}

/* WhatsApp Floating Button Animation */
@keyframes popUp {
    0% { transform: translateY(0) scale(1); opacity: 0.7; }
    50% { transform: translateY(-10px) scale(1.1); opacity: 1; }
    100% { transform: translateY(0) scale(1); opacity: 0.7; }
}

/* WhatsApp Floating Button */
.whatsapp-icon {
    position: fixed;
    bottom: 70px; /* Adjust for spacing */
    right: 20px;
    z-index: 1100; /* Higher than scroll-to-top */
    /*animation: popUp 1.5s infinite ease-in-out;*/
}

.whatsapp-icon img {
    width: 50px;
    height: 50px;
}

/* Scroll to Top Button */
#scroll-top {
    position: fixed;
    bottom: 140px; /* Adjusted so it doesn’t overlap */
    right: 20px;
    z-index: 1000; /* Lower than WhatsApp */
    width: 45px;
    height: 45px;
    background: #ffc451;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: opacity 0.3s ease-in-out, transform 0.3s;
    opacity: 0;
    visibility: hidden;
}

#scroll-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(-10px);
}

#scroll-top:hover {
    background: #e0a800;
}

/* Ensure floating buttons do not overlap on small screens */
@media (max-width: 576px) {
    .whatsapp-icon {
        bottom: 90px; /* Move higher on smaller screens */
    }

    #scroll-top {
        bottom: 160px; /* Move scroll-to-top button further up */
    }
}

