  :root {
            --primary: #1a56db;
            --secondary: #0e2b5c;
            --accent: #ff6b35;
            --light: #f8f9fc;
            --dark: #1e293b;
            --success: #10b981;
            --gray: #64748b;
            --light-gray: #e2e8f0;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Tajawal', sans-serif;
            background-color: #f1f5f9;
            color: var(--dark);
            line-height: 1.6;
            direction: rtl;
        }
        
        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        /* الترويسة */
        header {
            background: linear-gradient(120deg, var(--secondary), var(--primary));
            color: white;
            padding: 20px 0;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        
        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .logo {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .logo img {
            height: 60px;
        }
        
        .logo h1 {
            font-size: 1.8rem;
            font-weight: 700;
        }
        
        .language-switcher {
            display: flex;
            gap: 10px;
        }
        
        .lang-btn {
            background: rgba(255, 255, 255, 0.15);
            color: white;
            border: none;
            padding: 8px 16px;
            border-radius: 30px;
            cursor: pointer;
            font-weight: 500;
            transition: all 0.3s ease;
        }
        
        .lang-btn:hover {
            background: rgba(255, 255, 255, 0.25);
        }
        
        .lang-btn.active {
            background: white;
            color: var(--primary);
        }
        
        /* منطقة البحث والتصفية */
        .search-section {
            background: white;
            padding: 30px;
            border-radius: 16px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            margin: 30px 0;
        }
        
        .search-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 25px;
        }
        
        .section-title {
            font-size: 1.8rem;
            color: var(--secondary);
            font-weight: 700;
        }
        
        .search-box {
            position: relative;
            max-width: 500px;
            width: 100%;
        }
        
        .search-box input {
            width: 100%;
            padding: 14px 20px 14px 50px;
            border: 2px solid var(--light-gray);
            border-radius: 50px;
            font-size: 1rem;
            transition: all 0.3s ease;
        }
        
        .search-box input:focus {
            border-color: var(--primary);
            outline: none;
            box-shadow: 0 0 0 4px rgba(26, 86, 219, 0.15);
        }
        
        .search-box i {
            position: absolute;
            left: 20px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--gray);
            font-size: 1.2rem;
        }
        
        .filters {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 20px;
            margin-top: 25px;
        }
        
        .filter-group {
            display: flex;
            flex-direction: column;
        }
        
        .filter-group label {
            margin-bottom: 8px;
            font-weight: 500;
            color: var(--dark);
        }
        
        .filter-group select {
            padding: 12px 16px;
            border: 2px solid var(--light-gray);
            border-radius: 10px;
            background: white;
            font-size: 1rem;
            cursor: pointer;
        }
        
        /* محتوى الصفحة */
        .content-container {
            display: grid;
            grid-template-columns: 1fr 350px;
            gap: 30px;
        }
        
        /* خريطة العالم */
        .world-map-container {
            background: white;
            border-radius: 16px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            padding: 25px;
            height: fit-content;
            position: sticky;
            top: 100px;
        }
        
        .map-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }
        
        .map-title {
            font-size: 1.4rem;
            font-weight: 700;
            color: var(--secondary);
        }
        
        .alumni-count {
            background: var(--light);
            padding: 5px 12px;
            border-radius: 20px;
            font-weight: 500;
            color: var(--gray);
        }
        
        #world-map {
            height: 500px;
            border-radius: 12px;
            overflow: hidden;
            margin-top: 15px;
        }
        
        /* قائمة الخريجين */
        .alumni-list {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 25px;
            margin-bottom: 40px;
            color:#007bff ;
        }
        
       .alumni-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  transition: 0.3s;
}
.alumni-card:hover {
  transform: translateY(-5px);
}
.card-header {
  position: relative;
  text-align: center;
  background: #f4f4f4;
}
.alumni-photo {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
}
.graduation-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: #3498db;
  color: #fff;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 14px;
}
.card-body {
  padding: 15px;
}
.alumni-name {
  font-size: 20px;
  margin-bottom: 10px;
  color: #333;
}
.alumni-detail {
  margin: 5px 0;
  color: #555;
}
.alumni-detail i {
  margin-right: 8px;
  color: #888;
}
.alumni-skills {
  margin-top: 10px;
}
.skills-list {
  margin-top: 5px;
}
.skill-badge {
  display: inline-block;
  background: #eee;
  color: #333;
  padding: 5px 10px;
  margin: 3px;
  border-radius: 20px;
  font-size: 12px;
}
.card-footer {
  padding: 10px 15px;
  background: #fafafa;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #eee;
}
.social-links a {
  color: #555;
  margin-right: 10px;
  font-size: 16px;
  transition: 0.2s;
}
.social-links a:hover {
  color: #007bff;
}
.view-profile {
  background: #007bff;
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
}
.view-profile:hover {
  background: #0056b3;
}

        
        /* التذييل */
        footer {
            background: var(--secondary);
            color: white;
            padding: 40px 0 20px;
            margin-top: 50px;
        }
        
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
        }
        
        .footer-column h3 {
            font-size: 1.3rem;
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 10px;
        }
        
        .footer-column h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 50px;
            height: 3px;
            background: var(--accent);
        }
        
        .footer-links {
            list-style: none;
        }
        
        .footer-links li {
            margin-bottom: 12px;
        }
        
        .footer-links a {
            color: #cbd5e1;
            text-decoration: none;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .footer-links a:hover {
            color: white;
            transform: translateX(5px);
        }
        
        .copyright {
            text-align: center;
            padding-top: 30px;
            margin-top: 30px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: #94a3b8;
            font-size: 0.9rem;
        }
        
        /* التكيف مع الشاشات الصغيرة */
        @media (max-width: 992px) {
            .content-container {
                grid-template-columns: 1fr;
            }
            
            .world-map-container {
                position: static;
                margin-bottom: 30px;
            }
            
            .header-content {
                flex-direction: column;
                gap: 20px;
            }
            
            .search-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 20px;
            }
            
            .search-box {
                max-width: 100%;
            }
        }
        
        @media (max-width: 576px) {
            .alumni-list {
                grid-template-columns: 1fr;
            }
            
            .filters {
                grid-template-columns: 1fr;
            }
            
            .section-title {
                font-size: 1.5rem;
            }
        }
        
        /* مؤشر التحميل */
.loading {
  text-align: center;
  padding: 40px;
  font-size: 1.2rem;
  color: var(--primary);
}

/* رسالة عدم وجود نتائج */
.no-results {
  text-align: center;
  padding: 40px;
  font-size: 1.2rem;
  color: var(--gray);
}

/* رسالة الخطأ */
.error {
  text-align: center;
  padding: 40px;
  font-size: 1.2rem;
  color: #e53e3e;
}

/* أزرار التقسيم الصفحي */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 30px 0;
}

.pagination-btn {
  padding: 8px 16px;
  background: white;
  border: 1px solid var(--light-gray);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pagination-btn:hover {
  background: var(--light);
}

.pagination-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}


  .site-header, 

#masthead, 
header {
    display: none !important;
}

/* تصميم المهارات */
.skills-container {
  margin-top: 10px;
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 5px;
}

.skill-pill {
  background: #f0f9ff;
  color: #4361ee;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  border: 1px solid #dbeafe;
  transition: all 0.2s ease;
  cursor: default;
}

.skill-pill:hover {
  background: #4361ee;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 3px 8px rgba(67, 97, 238, 0.2);
}

.no-skills {
  color: #a0aec0;
  font-style: italic;
  padding: 5px 0;
  font-size: 0.9rem;
}

.skills-more {
  position: relative;
  display: inline-block;
}

.more-btn {
  background: #e2e8f0;
  color: #2d3748;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.more-btn:hover {
  background: #cbd5e0;
}

.more-skills {
  position: absolute;
  bottom: 100%;
  left: 0;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 200px;
  max-width: 300px;
  margin-bottom: 10px;
}

.more-skills.hidden {
  display: none;
}

.skills-more:hover .more-skills {
  display: flex;
}

/* تحسينات عامة للكروت */
.alumni-card {
  overflow: visible; /* للتأكد من ظهور قائمة المهارات الإضافية */
}

.card-body {
  position: relative; /* لتحديد سياق التموضع للعناصر المطلقة */
}