/* ===========================================
   FOOTER STYLES - FUAD
   =========================================== */

.footer {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="islamic-footer" patternUnits="userSpaceOnUse" width="100" height="100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23islamic-footer)"/></svg>');
    pointer-events: none;
}

.footer .container {
    position: relative;
    z-index: 2;
}

.footer h5 {
    font-weight: 600;
    margin-bottom: 25px;
    color: white;
    font-size: 1.2rem;
    position: relative;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    font-size: 0.95rem;
    position: relative;
    padding-left: 15px;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--secondary-teal);
    border-radius: 50%;
    transition: all 0.3s ease;
    opacity: 0;
}

.footer-links a:hover {
    color: white;
    transform: translateX(10px);
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateY(-50%) scale(1.2);
}

/* Social Links */
.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    color: white;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.social-link.facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    border-color: #e6683c;
}

.social-link.youtube:hover {
    background: #ff0000;
    border-color: #ff0000;
}

.social-link.whatsapp:hover {
    background: #25d366;
    border-color: #25d366;
}

.social-link.tiktok:hover {
    background: #000000;
    border-color: #000000;
}

/* Footer Divider */
.footer-divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
    margin: 50px 0 30px;
}

/* Footer Contact */
.footer-contact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
}

.contact-item i {
    width: 20px;
    color: var(--secondary-teal);
    font-size: 1rem;
    flex-shrink: 0;
}

/* Footer Logo */
.footer-logo-img {
    max-height: 60px;
    /* filter: brightness(0) invert(1); */
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-logo-img:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0,0,0,0.3);
    padding: 25px 0;
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    margin: 0;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-bottom-links a:hover {
    color: white;
}

.footer-bottom-links .separator {
    color: rgba(255,255,255,0.3);
}

/* Arabic Text in Footer */
.footer .arabic-text {
    font-size: 1.1rem;
    color: var(--secondary-teal);
    margin-top: 15px;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer {
        padding: 60px 0 0;
    }
    
    .footer h5 {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }
    
    .footer-contact {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .footer-social {
        justify-content: center;
        margin-top: 20px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .footer-bottom {
        padding: 20px 0;
        text-align: center;
    }
    
    .footer-bottom-links {
        margin-top: 15px;
        justify-content: center;
    }
    
    .contact-item {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .footer {
        padding: 40px 0 0;
    }
    
    .footer-links a {
        font-size: 0.9rem;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        text-align: left;
    }
    
    .contact-item i {
        width: auto;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-bottom-links .separator {
        display: none;
    }
}

/* Animation on scroll */
.footer.animate-in {
    animation: slideInFromBottom 0.8s ease-out;
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover effects for footer sections */
.footer .col-lg-4:hover,
.footer .col-lg-2:hover,
.footer .col-md-6:hover {
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

/* Newsletter signup (if added later) */
.newsletter-signup {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 15px;
    margin-top: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.newsletter-signup h6 {
    color: white;
    margin-bottom: 15px;
    font-weight: 600;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 25px;
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 0.9rem;
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.6);
}

.newsletter-form button {
    padding: 12px 25px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 25px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.4);
}