/* ========================================
   Footer Professional Styles
   تصميم احترافي للفوتر
   ======================================== */

/* Main Footer Section */
.footer-section {
    background: linear-gradient(135deg, #1a237e 0%, #283593 50%, #303f9f 100%) !important;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #FF5722, #FF9800, #FFC107, #4CAF50, #2196F3);
}

/* Footer Top */
.footer-top {
    background: transparent !important;
    padding: 60px 0 40px !important;
    position: relative;
}

/* Footer Logo */
.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    max-height: 80px;
    width: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.footer-logo img:hover {
    transform: scale(1.05);
}

/* Footer Headings */
.footer-heading {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 1.2rem;
    margin-bottom: 1.5rem !important;
    padding-bottom: 12px;
    position: relative;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.footer-heading::before {
    content: '' !important;
    position: absolute !important;
    bottom: -2px !important;
    right: 0 !important;
    width: 50px !important;
    height: 2px !important;
    background: linear-gradient(90deg, #42A5F5, #64B5F6) !important;
    border-radius: 2px !important;
    top: auto !important;
    transform: none !important;
}

/* Footer Text */
.footer-text {
    color: rgba(255, 255, 255, 0.8) !important;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Footer About Section */
.footer-about {
    padding-left: 20px;
}

/* Footer Partners Logos */
.footer-partners {
    margin-top: 1.5rem;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-partner-logo {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    overflow: hidden;
}

.footer-partner-logo:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.footer-partner-logo img {
    width: 40px !important;
    height: 40px !important;
    object-fit: contain;
    border-radius: 8px;
}

/* Footer Links */
.footer-links {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center;
    padding: 8px 12px;
    border-radius: 8px;
    background: transparent;
}

.footer-links a:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-5px) !important;
}

.footer-links .icon,
.footer-links i {
    width: 18px;
    height: 18px;
    margin-left: 10px;
    color: #64B5F6;
}

/* Contact Info Section - FIXED */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-info .contact-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 15px;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 0 !important;
}

.contact-info .contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-3px);
}

.contact-info .icon-box {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px;
    background: linear-gradient(135deg, rgba(66, 165, 245, 0.2), rgba(100, 181, 246, 0.2)) !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: 0 !important;
    flex-shrink: 0;
}

.contact-info .icon-box .icon {
    width: 20px !important;
    height: 20px !important;
    color: #42A5F5;
}

.contact-info .contact-text {
    flex: 1;
}

.contact-info .contact-text p {
    margin-bottom: 5px !important;
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-info .map-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #64B5F6 !important;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.contact-info .map-link:hover {
    color: #90CAF9 !important;
}

/* Social Icons */
.social-icons {
    display: flex !important;
    gap: 12px !important;
    flex-wrap: wrap;
    margin-top: 10px;
}

.social-icon {
    width: 45px !important;
    height: 45px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    background: linear-gradient(135deg, #42A5F5, #1976D2) !important;
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 20px rgba(25, 118, 210, 0.3);
}

.social-icon .icon,
.social-icon i {
    width: 22px;
    height: 22px;
    color: #ffffff;
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.2) !important;
    padding: 20px 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.9rem !important;
}

.developer {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.9rem !important;
}

.developer-link {
    color: #64B5F6 !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.developer-link:hover {
    color: #90CAF9 !important;
}

/* Responsive */
@media (max-width: 991.98px) {
    .footer-top {
        padding: 40px 0 30px !important;
    }

    .footer-about {
        padding-left: 0;
        text-align: center;
        margin-bottom: 30px;
    }

    .footer-partners {
        justify-content: center;
    }

    .footer-partners .d-flex {
        justify-content: center;
    }
}

@media (max-width: 767.98px) {
    .footer-heading {
        text-align: center;
    }

    .footer-heading::before {
        right: 50% !important;
        transform: translateX(50%) !important;
    }

    .footer-links a {
        justify-content: center;
    }

    .social-icons {
        justify-content: center;
    }

    .contact-info .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-bottom .row {
        text-align: center;
    }

    .footer-bottom .col-md-6 {
        margin-bottom: 10px;
    }

    .footer-bottom .text-md-end {
        text-align: center !important;
    }
}

/* Icon Fixes for Footer */
.footer-section .icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}