.footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 3rem 0;
    margin-top: 3rem;
}

.footer h5 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer h5:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.rtl .footer h5:after {
    right: 0;
    left: auto;
}

.footer p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer ul li {
    margin-bottom: 0.75rem;
}

.footer ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s;
}

.footer ul li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.rtl .footer ul li a:hover {
    transform: translateX(-5px);
}

.footer ul li i {
    color: var(--primary-color);
    width: 20px;
    margin-right: 10px;
}

.rtl .footer ul li i {
    margin-right: 0;
    margin-left: 10px;
}

.social-links {
    margin-top: 1.5rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s;
}

.rtl .social-link {
    margin-right: 0;
    margin-left: 10px;
}

.social-link:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.footer hr {
    margin: 2rem 0;
    border-color: rgba(255, 255, 255, 0.1);
}

.footer .text-center p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer {
        text-align: center;
    }
    
    .footer h5:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .rtl .footer h5:after {
        right: 50%;
        left: auto;
        transform: translateX(50%);
    }
    
    .footer .col-md-4 {
        margin-bottom: 2rem;
    }
    
    .footer ul li a:hover {
        transform: translateY(-3px);
    }
    
    .rtl .footer ul li a:hover {
        transform: translateY(-3px);
    }
    
    .social-links {
        justify-content: center;
    }
} 