/* === الفوتر المهني الجديد === */

.professional-footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #cbd5e1;
    position: relative;
    overflow: hidden;
    margin-top: 0;
    font-family: 'Cairo', sans-serif;
}

/* موجة الفوتر */
.footer-wave {
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: 120px;
    fill: #0f172a;
    z-index: 1;
}

.footer-content {
    padding: 100px 0 40px;
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

/* أعمدة الفوتر */
.footer-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #428957, #0ea5e9);
    border-radius: 3px;
}

/* العلامة التجارية */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.footer-logo img {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.footer-logo:hover img {
    transform: scale(1.05);
}

.footer-logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(90deg, #428957, #0ea5e9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #94a3b8;
    margin: 0;
}

/* وسائط التواصل الاجتماعي */
.footer-social h4 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 600;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link:hover {
    background: linear-gradient(135deg, #428957, #0ea5e9);
    color: #fff;
    transform: translateY(-3px);
}

/* روابط الفوتر */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-radius: 6px;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(-5px);
    background: rgba(255, 255, 255, 0.05);
}

.footer-links a i {
    color: #428957;
    font-size: 0.7rem;
    transition: all 0.3s ease;
}

.footer-links a:hover i {
    transform: translateX(2px);
}

/* معلومات الاتصال */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-3px);
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #428957, #0ea5e9);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 5px;
}

.contact-details p {
    font-size: 0.95rem;
    color: #94a3b8;
    margin: 0;
}

.contact-details a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-details a:hover {
    color: #428957;
}

/* المقسم */
.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    margin: 30px 0;
}

/* الجزء السفلي */
.footer-bottom {
    padding: 20px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright,
.developer {
    color: #94a3b8;
    margin: 0;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.copyright .highlight,
.developer .highlight {
    color: #fff;
    font-weight: 600;
}

.developer .fas.fa-heart {
    color: #ef4444;
}

/* الأزرار العائمة */
.floating-actions {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1030;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.floating-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    opacity: 0.9;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.floating-btn:hover::before {
    opacity: 1;
}

.floating-btn:hover {
    transform: translateY(-5px) scale(1.1);
    color: #fff;
}

.floating-btn i {
    position: relative;
    z-index: 1;
    animation: pulse 2s infinite;
}

.floating-whatsapp {
    background: linear-gradient(135deg, #064e3b, #10b981);
}

.floating-phone {
    background: linear-gradient(135deg, #0f172a, #0ea5e9);
}

.floating-top {
    background: linear-gradient(135deg, #428957, #0ea5e9);
    display: none;
}

.floating-top.show {
    display: flex;
}

/* الاستجابة للأجهزة */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .footer-content {
        padding: 80px 0 30px;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        padding: 70px 0 25px;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-brand {
        text-align: center;
        align-items: center;
    }
    
    .footer-social {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .floating-actions {
        left: 20px;
        bottom: 20px;
    }
    
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }
}

@media (max-width: 640px) {
    .footer-content {
        padding: 60px 0 20px;
    }
    
    .footer-grid {
        gap: 30px;
    }
    
    .footer-column {
        gap: 25px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .footer-heading {
        font-size: 1.3rem;
    }
    
    .footer-logo-text {
        font-size: 1.5rem;
    }
}