.contact-buttons-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.5s ease;
}

.contact-buttons-container.show {
    opacity: 1;
    transform: translateY(0);
}

.contact-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    min-width: 60px;
    border: none;
    cursor: pointer;
    font-size: 15px;
    line-height: 1.4;
    position: relative;
    overflow: hidden;
}

.contact-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 50px;
}

.contact-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    color: white;
}

.contact-button:hover::before {
    background: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
}

.contact-button:active {
    transform: translateY(0);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.contact-button:active::before {
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.05));
}

.contact-button-text {
    font-size: 14px;
    font-weight: 600;
}

/* تحسينات للشاشات المتوسطة */
@media (max-width: 1024px) {
    .contact-buttons-container {
        padding: 12px;
        gap: 10px;
    }
    
    .contact-button {
        padding: 12px 18px;
        font-size: 14px;
    }
}

/* تحسينات للجوال */
@media (max-width: 768px) {
    .contact-buttons-container {
        flex-direction: row;
        padding: 10px;
        gap: 8px;
        flex-wrap: wrap;
    }
    
    .contact-button {
        padding: 10px 15px;
        /*flex: 1;*/
        min-width: 100px;
        max-width: 150px;
    }
}

@media (max-width: 480px) {
    .contact-buttons-container {
        gap: 8px;
        padding: 8px;
    }
    
    .contact-button {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .contact-button-text {
        font-size: 12px;
    }
}

/* دعم للمتصفحات القديمة */
@supports not (backdrop-filter: blur(5px)) {
    .contact-buttons-container {
        background-color: rgba(255, 255, 255, 0.98);
    }
}

/* تأثيرات إضافية للزر عند النشاط */
.contact-button.active {
    transform: scale(0.95) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
}

.contact-button.active::before {
    background: linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.1)) !important;
}

/* تحسين المظهر في وضع التمرير */
.scrolled .contact-buttons-container {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.15);
}