/* أنماط الفوتر */
.main-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ecf0f1;
    padding: 60px 0 20px;
    position: relative;
    margin-top: auto;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4ecdc4, #ff6b6b, #45b7d1);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: #4ecdc4;
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 600;
    position: relative;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 40px;
    height: 3px;
    background: #ff6b6b;
    border-radius: 2px;
}

.footer-column p {
    line-height: 1.7;
    color: #bdc3c7;
    margin-bottom: 20px;
}

/* روابط وسائل التواصل الاجتماعي */
.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ecf0f1;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: #4ecdc4;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(78, 205, 196, 0.4);
}

.social-link i {
    font-size: 1.2rem;
}

/* روابط الفوتر */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 5px 0;
    position: relative;
    padding-right: 15px;
}

.footer-links a::before {
    content: '◀';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #4ecdc4;
    transform: translateX(-5px);
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateY(-50%) translateX(-3px);
}

/* معلومات التواصل */
.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    line-height: 1.6;
    padding: 12px 15px;
    background: rgba(78, 205, 196, 0.08);
    border-radius: 8px;
    border: 1px solid rgba(78, 205, 196, 0.15);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-info li::before {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(78, 205, 196, 0.1), rgba(78, 205, 196, 0.05));
    transition: width 0.3s ease;
    z-index: -1;
}

.contact-info li:hover::before {
    width: 100%;
}

.contact-info li:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-color: rgba(78, 205, 196, 0.3);
}

.contact-info i {
    color: #4ecdc4;
    margin-left: 15px;
    font-size: 1.2rem;
    min-width: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-info li:hover i {
    color: #ff6b6b;
    transform: scale(1.1);
}

.contact-info span {
    color: #bdc3c7;
    flex: 1;
    transition: color 0.3s ease;
}

.contact-info li:hover span {
    color: #ecf0f1;
}

.contact-info a {
    color: #bdc3c7;
    text-decoration: none;
    flex: 1;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #4ecdc4;
}

/* قسم حقوق النشر */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #95a5a6;
    margin: 0;
    font-size: 0.95rem;
}

/* زر الواتساب العائم */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    left: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(37, 211, 102, 0.8);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* التكيف مع الشاشات المتوسطة */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .main-footer {
        padding: 50px 0 20px;
    }
}

/* التكيف مع الشاشات الصغيرة */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-column h3::after {
        right: 50%;
        transform: translateX(50%);
    }
    
    .social-links {
        justify-content: center;
    }
    
    .contact-info li {
        justify-content: center;
        text-align: center;
    }
    
    .contact-info i {
        margin-left: 0;
        margin-right: 10px;
    }
    
    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
        bottom: 20px;
        left: 20px;
    }
}

/* التكيف مع الشاشات الصغيرة جداً */
@media (max-width: 480px) {
    .main-footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        gap: 25px;
    }
    
    .footer-column h3 {
        font-size: 1.2rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
    
    .social-link i {
        font-size: 1.1rem;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 15px;
        left: 15px;
    }
}