/* استيراد الخطوط العربية الحديثة من جوجل */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;800&family=Tajawal:wght@300;400;500;700;900&display=swap');

:root {
    /* ألوان برنامج أداء (الشؤون التعليمية) */
    --color-perf-primary: #5c258d;
    --color-perf-secondary: #7e3d93;
    --color-perf-accent: #d99b26;
    --color-perf-accent-light: #fef9e7;
    --color-perf-bg-gradient: linear-gradient(135deg, #5c258d 0%, #4389a2 100%);
    
    /* ألوان نظام سمو لشؤون الطلاب */
    --color-stud-primary: #1a6b5c;
    --color-stud-secondary: #2a9484;
    --color-stud-accent: #e6a125;
    --color-stud-accent-light: #fdf6e2;
    --color-stud-bg-gradient: linear-gradient(135deg, #1a6b5c 0%, #208070 100%);

    /* ألوان عامة ومحايدة */
    --color-text-dark: #2d3748;
    --color-text-light: #f7fafc;
    --color-text-gray: #718096;
    --color-border: #e2e8f0;
    --color-bg-white: #ffffff;
    --color-bg-light: #f8fafc;
    --color-glass-bg: rgba(255, 255, 255, 0.85);
    --color-glass-border: rgba(255, 255, 255, 0.4);
    --color-dark-theme-bg: #0f172a;
    
    /* هوية بصرية مدمجة للموقع الرئيسي */
    --color-main-primary: #2d3e50;
    --color-main-secondary: #3b5066;
    --color-main-gradient: linear-gradient(135deg, #5c258d 0%, #1a6b5c 100%);
    
    /* تأثيرات عامة */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.08);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* حدود حواف */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
}

/* إعادة تهيئة وتصفير */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Cairo', 'Tajawal', sans-serif;
    color: var(--color-text-dark);
    background-color: var(--color-bg-light);
    direction: rtl;
    text-align: right;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

button, input, select, textarea {
    font-family: 'Cairo', 'Tajawal', sans-serif;
}

/* شريط التمرير */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

/* الهيدر المشترك (شريط التنقل) */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    transition: var(--transition-smooth);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border-bottom:1px  dashed var(--color-border);
    box-shadow: var(--shadow-sm);
}

.main-header.scrolled {
    padding: 0.7rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: var(--color-main-gradient);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.4rem;
    box-shadow: var(--shadow-sm);
}

.logo-text h1 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-perf-primary);
    line-height: 1;
    margin-bottom: 2px;
}

.logo-text p {
    font-size: 0.75rem;
    color: var(--color-stud-primary);
    font-weight: 600;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.8rem;
    list-style: none;
}

.nav-link {
    font-weight: 600;
    color: var(--color-text-dark);
    position: relative;
    padding: 0.4rem 0;
    font-size: 0.95rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 3px;
    background: var(--color-main-gradient);
    transition: var(--transition-smooth);
    border-radius: var(--radius-full);
}

.nav-link:hover {
    color: var(--color-perf-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--color-perf-primary);
}

.nav-link.active::after {
    width: 100%;
}

/* القائمة المتجاوبة للجوال */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    border: none;
    background: transparent;
    padding: 10px;
    width: 44px;
    height: 44px;
    justify-content: center;
    align-items: center;
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
}

.menu-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
}

.menu-toggle span {
    width: 24px;
    height: 3px;
    background-color: var(--color-text-dark);
    transition: var(--transition-smooth);
    border-radius: var(--radius-full);
}

/* الفوتر المشترك */
.main-footer {
    background: #0f172a;
    color: var(--color-text-light);
    padding: 4rem 2rem 2rem;
    border-top: 5px solid var(--color-perf-primary);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-info h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(to left, #fff, #cbd5e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-info p {
    color: #a0aec0;
    margin-bottom: 1.5rem;
    max-width: 450px;
    font-size: 0.95rem;
}

.footer-links h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: white;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 35px;
    height: 3px;
    background: var(--color-perf-primary);
    border-radius: var(--radius-full);
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: #a0aec0;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: white;
    padding-right: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 1rem;
}

.social-icons a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e0;
    transition: var(--transition-smooth);
}

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

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid #1e293b;
    text-align: center;
    color: #718096;
    font-size: 0.85rem;
}

/* تأثيرات عامة للظهور عند التمرير Scroll Fade In */
.reveal {
    position: relative;
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* تجاوب التصاميم لشاشات الهواتف والأجهزة اللوحية */
@media (max-width: 992px) {
    .main-header {
        padding: 0.8rem 1.5rem;
    }

    .menu-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        bottom: 0;
        width: 290px;
        background: rgba(15, 23, 42, 0.93);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 5.5rem 1.8rem 2rem;
        gap: 0.8rem;
        box-shadow: -10px 0 45px rgba(0, 0, 0, 0.45);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        height: 100vh;
        border-left: 1px solid rgba(255, 255, 255, 0.08);
        overflow-y: auto;
    }

    .nav-menu::before {
        content: 'منصة سمو الرقمية';
        display: block;
        font-size: 1rem;
        font-weight: 800;
        color: var(--color-perf-accent);
        margin-bottom: 1.5rem;
        padding-bottom: 0.8rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        text-align: right;
        opacity: 0.6;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        width: 100%;
        opacity: 0;
        transform: translateX(25px);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-menu.active li {
        opacity: 1;
        transform: translateX(0);
    }

    /* تأثير الظهور المتتابع للأعضاء */
    .nav-menu.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { transition-delay: 0.15s; }
    .nav-menu.active li:nth-child(3) { transition-delay: 0.2s; }
    .nav-menu.active li:nth-child(4) { transition-delay: 0.25s; }
    .nav-menu.active li:nth-child(5) { transition-delay: 0.3s; }
    .nav-menu.active li:nth-child(6) { transition-delay: 0.35s; }

    .nav-link {
        color: rgba(255, 255, 255, 0.8) !important;
        font-size: 1.05rem !important;
        font-weight: 700 !important;
        padding: 0.8rem 1.2rem !important;
        border-bottom: none !important;
        border-radius: var(--radius-sm);
        width: 100%;
        display: flex !important;
        align-items: center;
        justify-content: flex-start;
        gap: 12px;
        transition: var(--transition-smooth);
        background: rgba(255, 255, 255, 0.02);
    }

    /* إضافة الأيقونات بقائمة الجوال عبر CSS باللون الأبيض */
    .nav-link::before {
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 1.1rem;
        width: 24px;
        text-align: center;
        transition: var(--transition-smooth);
        color: rgba(255, 255, 255, 0.75);
    }

    .nav-link[href*="index"]::before,
    .nav-link[href="#"]::before {
        content: "\f015"; /* fa-house */
    }
    .nav-link[href*="performance"]::before {
        content: "\f19d"; /* fa-graduation-cap */
    }
    .nav-link[href*="students"]::before {
        content: "\f500"; /* fa-users-gear */
    }
    .nav-link[href*="tutorials"]::before {
        content: "\f02d"; /* fa-book */
    }
    .nav-link[href*="gallery"]::before {
        content: "\f302"; /* fa-images */
    }
    .nav-link[href*="contact"]::before {
        content: "\f0e0"; /* fa-envelope */
    }

    .nav-link:hover, .nav-link.active {
        color: #ffffff !important;
        background: rgba(255, 255, 255, 0.08) !important;
        padding-right: 1.5rem !important; /* انزلاق ناعم لليمين عند التحويم */
    }

    .nav-link:hover::before, .nav-link.active::before {
        color: #ffffff !important;
        transform: scale(1.15);
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-links h4::after {
        right: 50%;
        transform: translateX(50%);
    }

    .social-icons {
        justify-content: center;
    }
}

/* شريط الأيقونات الثابت أسفل الجوال */
.mobile-bottom-nav {
    display: none;
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 65px;
        background: var(--color-bg-white);
        box-shadow: 0 -8px 30px rgba(15, 23, 42, 0.12);
        z-index: 1999;
        justify-content: space-around;
        align-items: center;
        border-radius: 25px 25px 0 0;
        border-top: 1px solid var(--color-border);
    }

    .bottom-nav-item {
        position: relative;
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .bottom-nav-link {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        width: 100%;
        height: 100%;
    }

    .bottom-nav-icon {
        width: 52px;
        height: 52px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.3rem;
        margin-top: -36px;
        border: 5px solid var(--color-bg-light);
        background: #718096;
        color: white;
        transition: var(--transition-smooth);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .bottom-nav-item.active .bottom-nav-icon {
        transform: translateY(-8px);
        box-shadow: 0 10px 20px rgba(92, 37, 141, 0.25);
    }

    .bottom-nav-item.active .bottom-nav-icon.icon-home {
        box-shadow: 0 10px 20px rgba(92, 37, 141, 0.25);
    }

    .bottom-nav-item.active .bottom-nav-icon.icon-perf {
        box-shadow: 0 10px 20px rgba(92, 37, 141, 0.25);
    }

    .bottom-nav-item.active .bottom-nav-icon.icon-stud {
        box-shadow: 0 10px 20px rgba(26, 107, 92, 0.25);
    }

    .bottom-nav-item.active .bottom-nav-icon.icon-gallery,
    .bottom-nav-item.active .bottom-nav-icon.icon-tutorials {
        box-shadow: 0 10px 20px rgba(126, 61, 147, 0.25);
    }

    .bottom-nav-item.active .bottom-nav-icon.icon-contact {
        box-shadow: 0 10px 20px rgba(26, 107, 92, 0.25);
    }

    .icon-home {
        background: var(--color-main-gradient);
        animation: floatHome 4s infinite ease-in-out;
    }
    
    .icon-perf {
        background: var(--color-perf-bg-gradient);
        animation: floatPerf 4s infinite ease-in-out;
        animation-delay: 0.5s;
    }

    .icon-stud {
        background: var(--color-stud-bg-gradient);
        animation: floatStud 4s infinite ease-in-out;
        animation-delay: 1s;
    }

    .icon-gallery,
    .icon-tutorials {
        background: linear-gradient(135deg, var(--color-perf-secondary) 0%, #4389a2 100%);
        animation: floatGallery 4s infinite ease-in-out;
        animation-delay: 1.5s;
    }

    .icon-contact {
        background: linear-gradient(135deg, var(--color-perf-primary) 0%, var(--color-stud-primary) 100%);
        animation: floatContact 4s infinite ease-in-out;
        animation-delay: 2s;
    }

    .bottom-nav-label {
        font-size: 0.72rem;
        font-weight: 800;
        color: var(--color-text-gray);
        margin-top: 4px;
        transition: var(--transition-smooth);
    }

    .bottom-nav-item.active .bottom-nav-label {
        color: var(--color-text-dark);
        font-weight: 900;
    }

    @keyframes floatHome {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-5px); }
    }
    @keyframes floatPerf {
        0%, 100% { transform: translateY(-4px); }
        50% { transform: translateY(0); }
    }
    @keyframes floatStud {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-5px); }
    }
    @keyframes floatGallery {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-5px); }
    }
    @keyframes floatContact {
        0%, 100% { transform: translateY(-4px); }
        50% { transform: translateY(0); }
    }

    body {
        padding-bottom: 80px !important;
    }
}

@media (max-width: 576px) {
    .main-header {
        padding: 0.6rem 1rem;
    }
    
    .logo-icon {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }

    .logo-text h1 {
        font-size: 1.2rem;
    }

    .logo-text p {
        font-size: 0.65rem;
    }
}

/* حاوية الصفحات بحد أقصى 1400 بكسل */
.page-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    background: var(--color-bg-white);
    box-shadow: 0 15px 50px rgba(15, 23, 42, 0.05);
    border-left: 1px solid var(--color-border);
    border-right: 1px solid var(--color-border);
    position: relative;
    z-index: 10;
}

@media (max-width: 1400px) {
    .page-container {
        border-left: none;
        border-right: none;
        box-shadow: none;
    }
}

/* تنسيق شعار الهيدر والفوتر الجديد */
.main-logo-img {
    height: 75px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: var(--transition-smooth);
}

.footer-logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
    display: block;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1); /* يجعل الشعار باللون الأبيض في الفوتر الداكن */
}

/* زر الواتساب العائم */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    z-index: 1998; /* يظهر تحت شريط أيقونات الجوال (1999) ولكنه فوق كل محتوى آخر */
    transition: var(--transition-smooth);
}

.floating-whatsapp:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
    background-color: #20ba5a;
    color: white;
}

@media (max-width: 768px) {
    .floating-whatsapp {
        bottom: 150px; /* يرتفع تلقائياً فوق شريط الأيقونات السفلي للجوال */
        left: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }
    .main-logo-img {
        height: 45px;
    }
}

/* ==========================================================================
   تنسيقات معرض الصور العائم (Lightbox) والخصائص المحدثة
   ========================================================================== */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    padding-top: 80px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.lightbox-modal.active {
    display: block;
    opacity: 1;
}
.lightbox-content {
    margin: auto;
    display: block;
    max-width: 85%;
    max-height: 75vh;
    border-radius: var(--radius-md);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}
.lightbox-modal.active .lightbox-content {
    transform: scale(1);
}
.lightbox-close {
    position: absolute;
    top: 25px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.lightbox-close:hover {
    color: var(--color-perf-accent);
}
#lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #cbd5e1;
    padding: 15px 0;
    font-size: 1.15rem;
    font-weight: 700;
}

/* تنسيق دائرة الصورة المضافة داخل بطاقات الخصائص */
.char-img-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: var(--transition-smooth);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
}
.char-img-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}
.char-img-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* صورة البانر المنبثقة على اليسار والمندمجة بالخلفية */
.hero-left-image {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 45%;
    height: 100%;
    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;
    z-index: 1;
    opacity: 0.65;
    -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 15%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 15%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
}

@media (max-width: 768px) {
    .hero-left-image {
        width: 60% !important;
        opacity: 0.35 !important;
        -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 10%, rgba(0, 0, 0, 0) 100%) !important;
        mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 10%, rgba(0, 0, 0, 0) 100%) !important;
    }
}

/* توحيد ارتفاع وتوسيط محتوى بنرات جميع الصفحات الداخلية */
.performance-hero,
.students-hero,
.gallery-hero,
.contact-hero,
.tutorials-hero {
    min-height: 520px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    box-sizing: border-box;
    padding: 8rem 2rem 5rem !important; /* استرجاع الهوامش الكبيرة الفخمة لبنرات الأداء */
}

/* تنسيق قائمة الكلمات (المربعات/الأقراص) للبنرات */
.features-pill-list {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.features-pill-list span {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1.2rem;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
}

@media (max-width: 768px) {
    .performance-hero,
    .students-hero,
    .gallery-hero,
    .contact-hero,
    .tutorials-hero {
        min-height: 320px !important;
        padding: 5rem 1.2rem 2.5rem !important; /* تقليل الحجم الرأسي للبنرات في الجوال */
    }

    /* تصغير النصوص لعدم تضخيم ارتفاع البنرات في الجوال */
    .performance-hero h2,
    .students-hero h2,
    .gallery-hero h2,
    .contact-hero h2,
    .tutorials-hero h2 {
        font-size: 1.65rem !important;
        margin-bottom: 0.5rem !important;
    }

    .performance-hero p,
    .students-hero p,
    .gallery-hero p,
    .contact-hero p,
    .tutorials-hero p {
        font-size: 0.88rem !important;
        line-height: 1.5 !important;
        margin-bottom: 0.85rem !important;
    }

    .badge-perf, .badge-stud {
        padding: 0.25rem 0.6rem !important;
        font-size: 0.72rem !important;
        margin-bottom: 0.5rem !important;
    }

    /* تقليص حجم المربعات وقائمة الكلمات في الجوال لتصبح ملمومة وجميلة */
    .features-pill-list {
        gap: 0.5rem !important;
        margin-top: 0.5rem !important;
    }

    .features-pill-list span {
        padding: 0.35rem 0.8rem !important;
        font-size: 0.75rem !important;
    }
}
