/* ============================================
   SHARE - FOOTER
   ============================================ */

.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer .logo-text {
    color: var(--white);
}

.footer .logo-text span {
    color: var(--charity-secondary);
}

.footer-description {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    line-height: 1.8;
    max-width: 300px;
    margin: 16px 0 20px;
}

.footer h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--charity-secondary-light);
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.footer ul li a:hover {
    color: var(--white);
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    margin-bottom: 12px;
}

.footer-contact ul li i {
    margin-top: 4px;
    color: var(--charity-secondary);
}

[dir="rtl"] .footer-contact ul li i {
    margin-top: 4px;
}

.footer-bottom {
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    opacity: 0.6;
}

/* ============================================
   RESPONSIVE - FOOTER
   ============================================ */

@media (max-width: 992px) {
    .footer-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}

/* ============================================
   FOOTER - CATEGORIES
   ============================================ */

.footer-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
}

.footer-categories a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.footer-categories a:hover {
    color: var(--white);
}

/* ============================================
   RESPONSIVE - FOOTER
   ============================================ */

@media (max-width: 768px) {
    .footer-categories {
        gap: 6px 12px;
    }
    
    .footer-categories a {
        font-size: 13px;
    }
}

/* ============================================
   FOOTER LOGO
   ============================================ */

.logo-footer {
    display: inline-block;
    text-decoration: none;
    margin-bottom: 8px;
}

.footer-logo-img {
    height: 36px;
    width: auto;
    max-width: 200px;
    filter: brightness(0) invert(1);  /* ✅ يجعل الشعار أبيض في الفوتر الداكن */
    transition: opacity 0.3s ease;
}

.footer-logo-img:hover {
    opacity: 0.85;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .footer-logo-img {
        height: 30px;
        max-width: 160px;
    }
}

@media (max-width: 480px) {
    .footer-logo-img {
        height: 26px;
        max-width: 140px;
    }
}