
        /* ==========================================
           1. إعداد الخط المخصص (Custom Font)
           ========================================== */
        @font-face {
            font-family: 'b';
            /* ضع مسار ملف الخط الخاص بك هنا */
            src: url('./b.ttf') format('truetype');
            font-weight: normal;
            font-style: normal;
        }

        /* ==========================================
           2. ألوان الهوية البصرية (Branding Colors)
           ========================================== */
        :root {
            /* الألوان المستخرجة من الشعار */
            --brand-green: #5a9c55;      /* الأخضر الخاص بالسنبلة */
            --brand-green-dark: #467a42; /* درجة أغمق لتأثيرات المرور Hover */
            --brand-grey: #58595b;       /* الرمادي الداكن الخاص بنصوص الشعار */
            --text-light: #707173;       /* رمادي فاتح للنصوص الفرعية */
            
            /* ألوان الخلفيات */
            --bg-main: #f8fafc;
            --white: #ffffff;
            
            /* الظلال */
            --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
            --shadow-card: 0 10px 25px -5px rgba(90, 156, 85, 0.1);
            --shadow-hover: 0 20px 25px -5px rgba(90, 156, 85, 0.2);
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: 'b';
            scroll-behavior: smooth;
        }

        body {
            background-color: var(--bg-main);
            color: var(--brand-grey);
            line-height: 1.8;
            overflow-x: hidden;
        }
        textarea {
                font-family: 'b';

        }
/* ==========================================
   تنسيقات زر الهمبرغر (مخفي في الشاشات الكبيرة)
   ========================================== */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001; /* ليبقى فوق القائمة عند فتحها */
}

.hamburger span {
    width: 30px;
    height: 4px;
    background-color: var(--brand-grey);
    border-radius: 4px;
    transition: all 0.3s ease-in-out;
}

/* ==========================================
   التوافق مع الهواتف (تعديل الـ media query الخاص بك)
   ========================================== */
@media (max-width: 768px) {
    header { 
        height: 80px; 
        padding: 10px 20px;
    }
    
    .logo-img { max-height: 50px; }

    /* إظهار زر الهمبرغر */
    .hamburger {
        display: flex;
    }

    /* إخفاء زر اللغة في الهيدر الأساسي لترتيب الشكل (اختياري، يمكنك إبقاؤه) */
    .lang-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    /* تحويل القائمة العادية إلى قائمة منسدلة جانبية أو سفلية */
    .main-menu {
        position: absolute;
        top: 80px; /* نفس ارتفاع الهيدر */
        right: -100%; /* إخفاء القائمة خارج الشاشة يميناً */
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 30px 0;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        transition: right 0.4s ease-in-out;
        border-top: 2px solid var(--brand-green);
    }

    /* الكلاس الذي سيضيفه الجافاسكربت لإظهار القائمة */
    .main-menu.active-menu {
        right: 0;
    }

    .main-menu a {
        font-size: 1.2rem;
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }

    /* حركة زر الهمبرغر ليتحول إلى علامة (X) */
    .hamburger.toggle span:nth-child(1) {
        transform: translateY(10px) rotate(45deg);
        background-color: var(--brand-green);
    }
    .hamburger.toggle span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.toggle span:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg);
        background-color: var(--brand-green);
    }
    
    /* بقية تنسيقات الموبايل التي كانت موجودة لديك مسبقاً */
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1.1rem; }
    section { padding: 60px 5%; }
    .section-title { font-size: 2rem; }
    .card { padding: 30px 20px; }
}
        /* ==========================================
           3. الأنيميشن والتأثيرات (Animations)
           ========================================== */
        .fade-up {
            opacity: 0;
            transform: translateY(40px);
            transition: opacity 0.8s ease-out, transform 0.8s ease-out;
        }

        .fade-up.visible {
            opacity: 1;
            transform: translateY(0);
        }

        @keyframes softPulse {
            0% { box-shadow: 0 0 0 0 rgba(90, 156, 85, 0.4); }
            70% { box-shadow: 0 0 0 12px rgba(90, 156, 85, 0); }
            100% { box-shadow: 0 0 0 0 rgba(90, 156, 85, 0); }
        }

        /* ==========================================
           4. الهيكل والتصميم (Layout)
           ========================================== */
        /* الشريط العلوي */
        header {
            background-color: var(--white);
            box-shadow: var(--shadow-sm);
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 5%;
            height: 90px;
            transition: all 0.3s ease;
        }

        .logo-img {
            max-height: 75px; /* حجم متناسب مع الهيدر */
            object-fit: contain;
            transition: transform 0.3s ease;
        }
        
        .logo-img:hover {
            transform: scale(1.05);
        }

        .lang-btn {
            background-color: var(--brand-green);
            color: var(--white);
            border: none;
            padding: 10px 25px;
            border-radius: 50px;
            cursor: pointer;
            font-weight: 700;
            font-size: 1rem;
            transition: all 0.3s ease;
            animation: softPulse 2.5s infinite;
            box-shadow: 0 4px 6px rgba(90, 156, 85, 0.3);
        }

        .lang-btn:hover {
            background-color: var(--brand-green-dark);
            transform: translateY(-2px);
            animation: none;
        }

        /* قسم الواجهة (Hero) */
        .hero {
            /* دمجنا اللون الأخضر والرمادي للهوية في الخلفية الشفافة */
            background: linear-gradient(rgba(88, 89, 91, 0.85), rgba(90, 156, 85, 0.85)), url('https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover fixed;
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            color: var(--white);
            padding: 0 20px;
        }

        .hero h1 {
            font-size: 3.5rem;
            margin-bottom: 20px;
            font-weight: 800;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
        }

        .hero p {
            font-size: 1.3rem;
            max-width: 800px;
            margin: 0 auto;
            opacity: 0.95;
            font-weight: 600;
        }

        /* الأقسام الأساسية */
        section {
            padding: 100px 5%;
            max-width: 1200px;
            margin: 0 auto;
        }

        .section-title {
            text-align: center;
            font-size: 2.5rem;
            color: var(--brand-grey);
            margin-bottom: 50px;
            font-weight: 800;
            position: relative;
        }

        .section-title::after {
            content: '';
            display: block;
            width: 80px;
            height: 4px;
            background-color: var(--brand-green);
            margin: 15px auto 0;
            border-radius: 2px;
        }

        /* شبكة البطاقات */
        .grid-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 40px;
        }

        .card {
            background-color: var(--white);
            padding: 40px 30px;
            border-radius: 20px;
            box-shadow: var(--shadow-card);
            transition: all 0.4s ease;
            border-bottom: 5px solid var(--brand-green); /* لمسة جمالية سفلية */
            position: relative;
            overflow: hidden;
            text-align: right;
        }

        /* تعديل اتجاه النص للكردية ليكون من اليمين لليسار أيضاً */
        html[dir="rtl"] .card {
            text-align: right;
        }

        .card::before {
            content: '';
            position: absolute;
            top: 0; right: 0; width: 50px; height: 50px;
            background: radial-gradient(circle, rgba(90,156,85,0.1) 0%, rgba(255,255,255,0) 70%);
            border-radius: 50%;
            transform: translate(20px, -20px);
        }

        .card:hover {
            transform: translateY(-10px);
            box-shadow: var(--shadow-hover);
            border-bottom-color: var(--brand-green-dark);
        }

        .card h3 {
            color: var(--brand-green);
            margin-bottom: 20px;
            font-size: 1.5rem;
            font-weight: 800;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .card p {
            font-size: 1.05rem;
            color: var(--text-light);
            font-weight: 600;
        }

        ul {
            list-style-type: none;
        }

        ul li {
            margin-bottom: 15px;
            position: relative;
            padding-inline-start: 30px;
            color: var(--text-light);
            font-weight: 600;
        }

        ul li::before {
            content: "✦"; /* رمز متوافق مع الطابع المؤسسي */
            color: var(--brand-green);
            font-size: 1.2rem;
            position: absolute;
            right: 0; 
            top: -2px;
        }

        #ku-version { display: none; }

        /* التذييل */
        footer {
            background-color: var(--brand-grey);
            color: var(--white);
            text-align: center;
            padding: 40px 20px;
            font-size: 1rem;
            border-top: 5px solid var(--brand-green);
        }

        /* التوافق مع الهواتف */
        @media (max-width: 768px) {
            header { height: 80px; }
            .logo-img { max-height: 60px; }
            .hero h1 { font-size: 2.2rem; }
            .hero p { font-size: 1.1rem; }
            section { padding: 60px 5%; }
            .section-title { font-size: 2rem; }
            .card { padding: 30px 20px; }
        }

        .main-menu{
display:flex;
gap:25px;
align-items:center;
}

.main-menu a{
text-decoration:none;
color:var(--brand-grey);
font-weight:700;
font-size:1rem;
transition:all .3s;
}
.main-menu a.active{
color: #5a9c55;  
border-bottom:3px solid  #5a9c55;  ;
padding-bottom:4px;
}
.main-menu a:hover{
color:var(--brand-green);
}
   