.floating-icons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    z-index: 1000;
    opacity: 0;
    /* مخفي في البداية */
    animation: popIn 0.6s cubic-bezier(0.17, 0.67, 0.83, 0.67) forwards;
    animation-delay: 0.2s;
    /* يظهر أولاً بعد جزء من الثانية */
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }

    70% {
        transform: scale(1.05);
        /* تأثير ارتداد خفيف لجعلها حيوية */
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.floating-icons a {
    width: 4rem;
    height: 4rem;
    padding: var(--space-xs);

    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    color: #fff;
    font-size: var(--text-xl);
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.floating-icons .fa-whatsapp {
    font-size: 35px;
}

.floating-icons .fa-phone {
    font-size: 25px;
}

.floating-icons .phone-icon {
    background-color: var(--clr-primary);
}

.floating-icons .whatsapp-icon {
    background-color: var(--whatsappColor);
}

.floating-icons a:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {

    .floating-icons {
        left: 10px;
        bottom: 10px;
    }


}