
/* --- إعدادات الفوتر الأساسية --- */
    .site-footer {
        background-color: #000000;
        color: #ffffff;
        padding: 80px 0 24px;
        font-family: sans-serif;
        /* غير الخط حسب المستخدم في موقعك */
        font-size: 16px;
        line-height: 1.5;
        direction: ltr;
        /* الوضع الافتراضي إنجليزي */
    }

    /* في حال كانت الصفحة عربية */
    html[dir="rtl"] .site-footer {
        direction: rtl;
        text-align: right;
    }

    .gray-color {
        color: #99A1AF !important
    }

    .footer-container {
        margin: 0 auto;
        padding: 0 15px;
        display: grid;
        /* تقسيم الأعمدة: 4 أعمدة للشاشات الكبيرة */
        grid-template-columns: repeat(5, 1fr);
        gap: 30px;
    }

    /* العناوين والنصوص */
    .footer-logo {
        font-size: 24px;
        font-weight: 700;
        margin-bottom: 24px;
        letter-spacing: 0.03em;
    }

    .footer-heading {
        font-size: 20px;
        font-weight: 500;
        margin-bottom: 24px;
    }

    .footer-col p {
        margin-bottom: 16px;
        color: #FAFAFA;
    }

    /* الروابط والقوائم */
    .footer-col ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .footer-col ul li {
        margin-bottom: 16px;
    }

    .footer-col ul li a {
        color: #FAFAFA;
        text-decoration: none;
        transition: opacity 0.3s;
    }

    .footer-col ul li a:hover {
        opacity: 0.8;
    }

    /* حقل الإدخال (Subscribe) */
    .input-wrapper {
        position: relative;
        border: 1.5px solid #fff;
        border-radius: 4px;
        padding: 0;
        display: flex;
        align-items: center;
        max-width: 313px;
        margin-top: 16px;
    }

    .input-wrapper input {
        background: transparent;
        border: none;
        color: #fff;
        padding: 12px 16px;
        width: 100%;
        outline: none;
        font-size: 16px;
    }

    .input-wrapper input::placeholder {
        color: #585858;
    }

    .input-wrapper button {
        background: transparent;
        border: none;
        color: #fff;
        padding: 0 15px;
        cursor: pointer;
        font-size: 20px;
    }

    /* عكس أيقونة الإرسال في العربي */
    html[dir="rtl"] .input-wrapper button {
        transform: scaleX(-1);
    }

    /* الجزء السفلي (Copyright) */
    .footer-bottom {
        margin-top: 60px;
        padding-top: 16px;
        border-top: 1px solid #1c1c1c;
        /* لون الخط الفاصل الغامق */
        color: #3d3d3d;
    }

    .bottom-flex {
        display: flex !important;
        /* Override grid behavior */
        justify-content: space-between;
        align-items: center;
        color: #565656;
    }

    .social-icons a {
        color: #fff;
        margin-left: 24px;
        font-size: 20px;
        transition: transform 0.3s;
    }

    html[dir="rtl"] .social-icons a {
        margin-left: 0;
        margin-right: 24px;
    }

    .social-icons a:hover {
        transform: translateY(-3px);
    }

    /* --- Responsive Media Queries --- */

    /* تابلت (Tablet) - عمودين في كل صف */
    @media (max-width: 991px) {
        .footer-container {
            grid-template-columns: repeat(2, 1fr);
            gap: 40px;
        }
    }

    /* موبايل (Mobile) - عمود واحد */
    @media (max-width: 767px) {
        .site-footer {
            padding-top: 50px;
            text-align: center;
        }

        html[dir="rtl"] .site-footer {
            text-align: center;
        }

        .footer-container {
            grid-template-columns: 1fr;
            gap: 30px;
        }

        .input-wrapper {
            margin: 16px auto 0;
            /* توسيط الحقل في الموبايل */
        }

        .bottom-flex {
            flex-direction: column-reverse;
            gap: 20px;
        }

        .social-icons a {
            margin: 0 12px;
        }
    }


    