.main-footer {
    background: #1a1a1a !important;
    color: #fff !important;
    padding: 60px 20px 20px !important;
    direction: rtl !important;
    font-family: 'Cairo', sans-serif !important;
    margin-top: 50px;
    clear: both;
}

.main-footer .footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
    text-align: right;
}

.main-footer .footer-column {
    flex: 1;
    min-width: 250px;
    /* تم تعديله قليلاً ليناسب الأعمدة الثلاثة */
}

.main-footer .footer-column h3 {
    color: #00d4ff !important;
    font-size: 20px !important;
    margin-bottom: 20px !important;
    border-bottom: 2px solid #00d4ff !important;
    display: inline-block;
    padding-bottom: 5px;
    background: transparent !important;
}

.main-footer .footer-column p {
    line-height: 1.8 !important;
    color: #d1d1d1 !important;
    font-size: 15px !important;
    margin: 10px 0 !important;
}

/* تنسيق الروابط الجديدة */
.main-footer .quick-links {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

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

.main-footer .quick-links a {
    color: #d1d1d1 !important;
    text-decoration: none !important;
    font-size: 15px !important;
    transition: color 0.3s ease;
}

.main-footer .quick-links a:hover {
    color: #00d4ff !important;
}

/* تنسيق روابط التواصل */
.main-footer .contact-links {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.main-footer .contact-links li {
    margin-bottom: 15px !important;
}

.main-footer .contact-links a {
    color: #fff !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.main-footer .contact-links a i {
    color: #00d4ff;
}

.main-footer .footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 13px;
    color: #888;
}

@media (max-width: 768px) {
    .main-footer .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .main-footer .footer-column h3 {
        margin: 0 auto 20px;
    }

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