/* ========================================================== */
/* ===== FOOTER - ARABIC (RTL) ===== */
/* ========================================================== */
.footer {
    position: relative;
    background: #4E684C;
    padding: 30px 40px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
    margin-top: auto;
    transition: all 0.8s ease;
}
.footer.visible { opacity: 1; transform: translateY(0); }

.footer-content {
    position: relative; 
    z-index: 1; 
    max-width: 1200px; 
    margin: 0 auto;
    display: flex; 
    flex-direction: column; 
    gap: 15px; 
    color: #F5F0E3;
}

.footer-row { 
    display: flex; 
    flex-wrap: wrap; 
    align-items: center; 
    justify-content: center; 
    gap: 15px; 
}

.info-box {
    border: 1px solid rgba(245, 240, 227, 0.2);
    padding: 8px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    white-space: nowrap;
}
.info-box i { font-size: 1.3rem; }

.social-icons-box {
    border: 1px solid rgba(245, 240, 227, 0.2); 
    padding: 5px 15px;
    display: flex; 
    align-items: center; 
    gap: 10px;
}
.social-icons-box a { 
    color: #F5F0E3; 
    font-size: 1.3rem; 
    transition: 0.3s; 
    display: inline-block; 
}
.social-icons-box a:hover { 
    transform: scale(1.2); 
    color: #fff; 
}
.social-icons-box .social-text { 
    font-size: 0.95rem; 
    margin-right: 5px; 
}


/* ========================================================== */
/* ===== SOCIAL FLOATING BUTTONS - على اليسار (RTL) ===== */
/* ========================================================== */

.social-float-container {
    position: fixed;
    bottom: 30px;
    left: 30px;
    right: auto;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.social-float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 26px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    
    /* ✅ أنيميشن CSS فقط */
    opacity: 0;
    transform: translateY(30px) scale(0.8);
    animation: socialFadeIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* ✅ تأخير متزايد لكل زر */
.social-float-btn:nth-child(1) { animation-delay: 0.5s; }
.social-float-btn:nth-child(2) { animation-delay: 0.7s; }
.social-float-btn:nth-child(3) { animation-delay: 0.9s; }
.social-float-btn:nth-child(4) { animation-delay: 1.1s; }

@keyframes socialFadeIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ===== الألوان ===== */
.whatsapp-btn { background: #25D366; }
.whatsapp-btn:hover { background: #1da851; transform: scale(1.15) !important; }
.linkedin-btn { background: #0077B5; }
.linkedin-btn:hover { background: #005e8c; transform: scale(1.15) !important; }
.email-btn { background: #EA4335; }
.email-btn:hover { background: #c5221f; transform: scale(1.15) !important; }
.phone-btn { background: #34A853; }
.phone-btn:hover { background: #1e7e34; transform: scale(1.15) !important; }

/* ===== Tooltip ===== */
.social-float-btn .tooltip {
    position: absolute;
    left: 70px;
    right: auto;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    font-family: 'Poppins','DIN Next LT Arabic','Cairo', sans-serif;
}

.social-float-btn:hover .tooltip {
    opacity: 1;
    transform: translateX(5px);
}


/* ===== زر واتساب منفصل (إذا موجود) ===== */
.whatsapp-float {
    position: fixed;
    bottom: 80px;
    left: 30px;
    right: auto;
    z-index: 999;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    font-size: 32px;
    box-shadow: 0 5px 25px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    transition: all 0.3s ease;
}
.whatsapp-float:hover { transform: scale(1.1); background: #20b858; }
.whatsapp-float.pulse { animation: pulse 1.8s infinite; }
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}


/* ============================================================ */
/* ===== RESPONSIVE - FOOTER + SOCIAL (ARABIC / RTL) ===== */
/* ============================================================ */

/* ===== 1901px+ ===== */
@media (min-width: 1901px) {
    .footer { padding: 40px 60px !important; }
    .info-box { font-size: 1.1rem !important; padding: 10px 20px !important; }
    .info-box i { font-size: 1.6rem !important; }
    .social-icons-box { padding: 8px 20px !important; }
    .social-icons-box a { font-size: 1.6rem !important; }
    .social-icons-box .social-text { font-size: 1.1rem !important; }

    .social-float-container { bottom: 40px !important; left: 40px !important; gap: 15px !important; }
    .social-float-btn { width: 70px !important; height: 70px !important; font-size: 30px !important; }
    .whatsapp-float { width: 70px !important; height: 70px !important; font-size: 38px !important; bottom: 100px !important; left: 40px !important; }
}

/* ===== 1401px - 1900px ===== */
@media (min-width: 1401px) and (max-width: 1900px) {
    .footer { padding: 35px 50px !important; }
    .info-box { font-size: 1rem !important; padding: 9px 18px !important; }
    .info-box i { font-size: 1.5rem !important; }
    .social-icons-box { padding: 7px 18px !important; }
    .social-icons-box a { font-size: 1.5rem !important; }
    .social-icons-box .social-text { font-size: 1rem !important; }

    .social-float-container { bottom: 35px !important; left: 35px !important; gap: 14px !important; }
    .social-float-btn { width: 65px !important; height: 65px !important; font-size: 28px !important; }
    .whatsapp-float { width: 65px !important; height: 65px !important; font-size: 35px !important; bottom: 90px !important; left: 35px !important; }
}

/* ===== 1025px - 1400px ===== */
@media (min-width: 1025px) and (max-width: 1400px) {
    .footer { padding: 30px 40px !important; }
    .info-box { font-size: 0.95rem !important; padding: 8px 15px !important; }
    .info-box i { font-size: 1.3rem !important; }
    .social-icons-box { padding: 6px 15px !important; }
    .social-icons-box a { font-size: 1.3rem !important; }
    .social-icons-box .social-text { font-size: 0.95rem !important; }

    .social-float-container { bottom: 30px !important; left: 30px !important; gap: 12px !important; }
    .social-float-btn { width: 60px !important; height: 60px !important; font-size: 26px !important; }
    .whatsapp-float { width: 60px !important; height: 60px !important; font-size: 32px !important; bottom: 80px !important; left: 30px !important; }
}

/* ===== 801px - 1024px ===== */
@media (min-width: 801px) and (max-width: 1024px) {
    .footer { padding: 25px 35px !important; }
    .info-box { font-size: 0.9rem !important; padding: 7px 14px !important; }
    .info-box i { font-size: 1.2rem !important; }
    .social-icons-box { padding: 5px 14px !important; }
    .social-icons-box a { font-size: 1.2rem !important; }
    .social-icons-box .social-text { font-size: 0.9rem !important; }

    .social-float-container { bottom: 25px !important; left: 25px !important; gap: 11px !important; }
    .social-float-btn { width: 55px !important; height: 55px !important; font-size: 24px !important; }
    .whatsapp-float { width: 55px !important; height: 55px !important; font-size: 30px !important; bottom: 75px !important; left: 25px !important; }
}

/* ===== 481px - 800px ===== */
@media (min-width: 481px) and (max-width: 800px) {
    .footer { padding: 20px !important; }
    .footer-row { flex-direction: column !important; gap: 10px !important; }
    .info-box {
        white-space: normal !important;
        width: 100% !important;
        justify-content: center !important;
        font-size: 14px !important;
        padding: 8px 15px !important;
    }
    .info-box i { font-size: 1.2rem !important; }
    .social-icons-box {
        flex-wrap: wrap !important;
        justify-content: center !important;
        padding: 6px 12px !important;
        gap: 10px !important;
    }
    .social-icons-box a { font-size: 1.2rem !important; }
    .social-icons-box .social-text { font-size: 0.9rem !important; }

    .social-float-container {
        bottom: 20px !important;
        left: 20px !important;
        right: auto !important;
        gap: 10px !important;
    }
    .social-float-btn {
        width: 50px !important;
        height: 50px !important;
        font-size: 22px !important;
    }
    .social-float-btn .tooltip { display: none !important; }

    .whatsapp-float {
        width: 55px !important;
        height: 55px !important;
        font-size: 28px !important;
        bottom: 70px !important;
        left: 20px !important;
        right: auto !important;
    }
}

/* ===== 480px وتحت ===== */
@media (max-width: 480px) {
    .footer { padding: 15px !important; }
    .footer-row {
        flex-direction: column !important;
        gap: 8px !important;
    }
    .info-box {
        white-space: normal !important;
        width: 100% !important;
        justify-content: center !important;
        font-size: 12px !important;
        padding: 6px 12px !important;
        text-align: center !important;
    }
    .info-box i { font-size: 1rem !important; }
    .social-icons-box {
        flex-wrap: wrap !important;
        justify-content: center !important;
        padding: 6px 10px !important;
        gap: 8px !important;
    }
    .social-icons-box a { font-size: 16px !important; }
    .social-icons-box .social-text { font-size: 11px !important; }

    .social-float-container {
        bottom: 15px !important;
        left: 10px !important;
        right: auto !important;
        gap: 8px !important;
    }
    .social-float-btn {
        width: 42px !important;
        height: 42px !important;
        font-size: 18px !important;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2) !important;
    }
    .social-float-btn .tooltip { display: none !important; }

    .whatsapp-float {
        width: 48px !important;
        height: 48px !important;
        font-size: 24px !important;
        bottom: 60px !important;
        left: 12px !important;
        right: auto !important;
    }
}

/* ========================================================== */

/* ========================================================== */

.info-box .fa-phone,
.info-box .fa-phone-volume,
.info-box .fa-phone-alt {
    transform: scaleX(-1) !important; 
    display: inline-block !important; 
}