/* تصميم الفوتر الحديث بالخلفية الخضراء */
.modern-footer {
    background: linear-gradient(135deg, #074D31 0%, #074D31 100%);
    color: white;
    padding: 60px 0 30px;
    font-family: 'Cairo', sans-serif;
}

.footer-section {
    margin-bottom: 40px;
}

.footer-title {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    display: inline-block;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: block;
    padding: 5px 0;
}

.footer-links a:hover {
    color: #ffffff;
    padding-right: 10px;
    transform: translateX(-5px);
}

/* أيقونات وسائل التواصل الاجتماعي */
.footer-icons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.icon-item {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.icon-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.icon-item a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-item i {
    font-size: 16px;
}

/* أدوات الإتاحة والوصول */
.accessibility-tools {
    margin-top: 30px;
}

.accessibility-tools .footer-icons .icon-item {
    background: rgba(255, 255, 255, 0.15);
}

/* قسم التطبيقات */
.apps-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.apps-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.app-store-links {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.app-store-links span {
    color: white;
    font-weight: 500;
}

.btn-dark {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 15px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-dark:hover {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    transform: translateY(-2px);
}

/* الشعارات */
.logo-associations, .logo-partners {
    margin-top: 20px;
}

.logo-associations .swiper-slide,
.logo-partners .swiper-slide {
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-item {
    padding: 10px;
    text-align: center;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.logo-item img {
    max-height: 60px;
    width: auto;
    opacity: 1;
    transition: all 0.3s ease;
    background: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.logo-item:hover img {
    opacity: 1;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* حقوق الطبع */
.copyrights {
    background: #074D31;
    color: white;
    padding: 20px 0;
    font-size: 14px;
}

.rights-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logos-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo-white {
    height: 55px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.1);
}

.site-rights p, .powered-rights p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

.powered-rights {
    text-align: left;
}

.powered-rights a {
    color: #4ade80;
    text-decoration: none;
}

.powered-rights a:hover {
    color: #86efac;
}

/* تحسينات الاستجابة */
@media (max-width: 768px) {
    .modern-footer {
        padding: 40px 0 20px;
    }
    
    .footer-icons {
        justify-content: center;
    }
    
    .apps-links {
        justify-content: center;
        text-align: center;
    }
    
    .rights-wrapper {
        text-align: center;
        flex-direction: column;
        gap: 15px;
    }
    
    .logos-section {
        justify-content: center;
        order: 1;
    }
    
    .site-rights {
        order: 2;
        text-align: center;
    }
    
    .powered-rights {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .footer-title {
        font-size: 16px;
    }
    
    .footer-links a {
        font-size: 13px;
    }
    
    .icon-item {
        width: 35px;
        height: 35px;
    }
    
    .icon-item i {
        font-size: 14px;
    }
}