/* 1. ضبط الحاوية والعناوين لتظل في سطر واحد متناسق (الأكثر طلباً + وصل حديثاً) */
.home_section_top_container {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    padding: 10px 5px !important;
    box-sizing: border-box !important;
}

.home_section_top_container h3.text-heading {
    margin: 0 !important;
    text-align: right !important;
}

/* 2. تنسيق الأزرار الأساسي وتفعيل اللمعة النبضية للإطار */
.home_section_top_container a {
    display: inline-block !important;
    margin: 0 !important;
    padding: 6px 20px !important;
    border: 1px solid #0A4D26 !important; /* لون الهوية الأخضر الداكن */
    border-radius: 4px !important;
    color: #0A4D26 !important;
    background-color: transparent !important;
    font-weight: bold !important;
    font-size: 13px !important;
    text-align: center !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    
    /* تفعيل حركة اللمعة النبضية على الإطار باستمرار */
    animation: borderShine 2s infinite !important;
}

/* 3. صناعة تأثير اللمعة والبريق للإطار */
@keyframes borderShine {
    0% {
        box-shadow: 0 0 0 0 rgba(10, 77, 38, 0.4);
    }
    70% {
        /* خروج هالة بريق ولمعان ناعمة حول الزر لمدى 8 بكسل */
        box-shadow: 0 0 0 8px rgba(10, 77, 38, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(10, 77, 38, 0);
    }
}

/* 4. تأثير حرك الماوس فوق الأزرار (Hover) */
.home_section_top_container a:hover {
    background-color: #0A4D26 !important;
    color: #ffffff !important;
    box-shadow: none !important; /* إيقاف اللمعة عند الوقوف بالماوس */
}