/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
    color: white;
    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 100 100"><defs><pattern id="footerGrid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23footerGrid)"/></svg>');
    opacity: 0.5;
}

.footer-main {
    padding: 80px 0 40px;
    position: relative;
    z-index: 2;
}

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

.footer-section h4 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #fb9a0b;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(135deg, #fb9a0b, #ff6b35);
    border-radius: 2px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo {
    height: 50px;
    filter: brightness(1.2);
}

.footer-brand h3 {
    font-size: 2rem;
    font-weight: 900;
    color: white;
    margin: 0;
}

.footer-tagline {
    font-size: 0.9rem;
    color: #fb9a0b;
    font-weight: 600;
    margin: 0;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 30px;
    font-size: 1rem;
}

.footer-stats {
    display: flex;
    gap: 30px;
}

.footer-stat {
    text-align: center;
}

.footer-stat .stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 900;
    color: #fb9a0b;
    margin-bottom: 5px;
}

.footer-stat .stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    padding: 5px 0;
}

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

.footer-links a i {
    width: 16px;
    color: #fb9a0b;
}

.contact-info {
    margin-bottom: 25px;
}

.contact-item-f {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    border: 1px solid rgba(251, 154, 11, 0.15);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.contact-item-f:hover {
    background: rgba(251, 154, 11, 0.12);
    border-color: rgba(251, 154, 11, 0.3);
    transform: translateX(3px);
    box-shadow: 0 5px 15px rgba(251, 154, 11, 0.2);
}

.contact-item-f i {
    color: #fb9a0b;
    font-size: 1.1rem;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(251, 154, 11, 0.15);
    border-radius: 8px;
    flex-shrink: 0;
}

.contact-item-f div {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.contact-item-f span:first-child {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-item-f a,
.contact-item-f span:last-child {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: color 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.contact-item-f a:hover {
    color: #fb9a0b;
}

/* ألوان مميزة لكل نوع */
.contact-item-f:nth-child(2) {
    border-color: rgba(37, 211, 102, 0.2);
}

.contact-item-f:nth-child(2):hover {
    background: rgba(37, 211, 102, 0.1);
    border-color: rgba(37, 211, 102, 0.4);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.2);
}

.contact-item-f:nth-child(2) i {
    color: #25d366;
    background: rgba(37, 211, 102, 0.15);
}

.contact-item-f:nth-child(3) {
    border-color: rgba(52, 152, 219, 0.2);
}

.contact-item-f:nth-child(3):hover {
    background: rgba(52, 152, 219, 0.1);
    border-color: rgba(52, 152, 219, 0.4);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.2);
}

.contact-item-f:nth-child(3) i {
    color: #3498db;
    background: rgba(52, 152, 219, 0.15);
}

.contact-item-f:nth-child(4) {
    border-color: rgba(46, 204, 113, 0.2);
}

.contact-item-f:nth-child(4):hover {
    background: rgba(46, 204, 113, 0.1);
    border-color: rgba(46, 204, 113, 0.4);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.2);
}

.contact-item-f:nth-child(4) i {
    color: #2ecc71;
    background: rgba(46, 204, 113, 0.15);
}

/* تحسين النصوص */
.contact-item-f a[href^="tel:"] {
    direction: ltr;
    text-align: left;
}

.contact-item-f a[href^="mailto:"] {
    direction: ltr;
    text-align: left;
    font-size: 0.9rem;
}

.contact-item-f a[href^="https://wa.me/"] {
    direction: ltr;
    text-align: left;
}

.social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    transform: translateY(-3px);
    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, #e6683c, #dc2743, #cc2366, #bc1888);
    border-color: #e6683c;
}

.social-link.twitter:hover {
    background: #1da1f2;
    border-color: #1da1f2;
}

.social-link.youtube:hover {
    background: #ff0000;
    border-color: #ff0000;
}

.social-link.linkedin:hover {
    background: #0077b5;
    border-color: #0077b5;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-copyright .highlight {
    color: #fb9a0b;
    font-weight: 600;
}

.footer-badges {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: rgba(251, 154, 11, 0.1);
    border: 1px solid rgba(251, 154, 11, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
}

.badge i {
    color: #fb9a0b;
    font-size: 0.9rem;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-stats {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .footer-main {
        padding: 60px 0 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-brand {
        justify-content: center;
    }
    
    .footer-stats {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-badges {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-main {
        padding: 50px 0 25px;
    }
    
    .footer-content {
        gap: 30px;
    }
    
    .footer-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .social-links {
        gap: 10px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
    
    .footer-badges {
        flex-direction: column;
        align-items: center;
    }
}