/**
 * ═══════════════════════════════════════════════════════════════════════════════
 * Conference Website - Ultra Professional CSS
 * Al-Ayen Iraqi University - 5th International NanoScience Conference 2025
 * 
 * نموذج احترافي عالمي المستوى / World-Class Professional Template
 * 
 * @version 2.0.0
 * @author Elite Developer Team
 * @description Comprehensive stylesheet with modern design patterns and animations
 * ═══════════════════════════════════════════════════════════════════════════════
 */

/* ================== CSS VARIABLES - متغيرات التصميم ================== */
:root {
  /* Primary Colors - الألوان الأساسية */
  --primary-color: #47b2e4;
  --primary-light: #6ec5f0;
  --primary-dark: #2196d3;
  
  /* Secondary Colors - الألوان الثانوية */
  --secondary-color: #254e61;
  --secondary-dark: #1a3845;
  
  /* Accent Colors - ألوان التأكيد */
  --accent-color: #236699;
  
  /* Gradients - التدرجات اللونية */
  --gradient-primary: linear-gradient(135deg, #47b2e4 0%, #236699 100%);
  --gradient-secondary: linear-gradient(135deg, #254e61 0%, #1a3845 100%);
  --gradient-hero: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #47b2e4 100%);
  
  /* Shadows - الظلال */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.2);
  
  /* Border Radius - نصف قطر الحواف */
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 16px;
  --border-radius-xl: 20px;
  
  /* Transitions - الانتقالات */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Typography - الطباعة */
  --font-arabic: 'Tajawal', sans-serif;
  --font-english: 'Jost', sans-serif;
  
  /* Spacing - المسافات */
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 32px;
  --spacing-xl: 48px;
  
  /* Text Colors - ألوان النصوص */
  --text-dark: #2c3e50;
  --text-light: #6c757d;
  --text-white: #ffffff;
}

/* ================== RESET & BASE STYLES - إعادة التعيين والأنماط الأساسية ================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-arabic);
  background-color: #f8f9fa;
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

/* English Font - الخط الإنجليزي */
[lang="en"] body,
body[lang="en"] {
  font-family: var(--font-english);
}

/* ================== HEADER STYLES - تنسيقات الرأس ================== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  min-height: 110px;
  padding: 10px 0;
  background: linear-gradient(to right, rgba(30, 60, 114, 0.98), rgba(42, 82, 152, 0.98));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-slow);
  z-index: 1000;
}

#header.header-scrolled {
  min-height: 80px;
  background: rgba(30, 60, 114, 0.98);
  box-shadow: var(--shadow-xl);
}

/* Container - حاوية الرأس */
#header .container-fluid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
}

/* Logo Container - حاوية الشعار */
.logo-container {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.logo-img {
  max-height: 80px;
  width: auto;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  transition: all var(--transition-normal);
  animation: float 3s ease-in-out infinite;
}

#header.header-scrolled .logo-img {
  max-height: 60px;
}

/* Logo Text - نص الشعار */
.logo-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.sitename {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-white);
  margin: 0;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

.logo-subtitle {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  font-weight: 500;
}

/* ================== NAVIGATION MENU - قائمة التنقل ================== */
.navmenu ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
  gap: 5px;
  align-items: center;
}

.navmenu a {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
  transition: all var(--transition-normal);
  position: relative;
  text-decoration: none;
  border-radius: 8px;
}

.navmenu a:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.1);
}

.navmenu a.active {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.15);
}

.navmenu a.active:after,
.navmenu a:hover:after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 15px;
  right: 15px;
  height: 2px;
  background-color: var(--primary-light);
  border-radius: 2px;
}

/* ================== LANGUAGE SWITCH BUTTON - زر تبديل اللغة ================== */
.language-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  padding: 10px 22px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all var(--transition-normal);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.language-switch:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ================== MOBILE MENU TOGGLE - زر القائمة المحمولة ================== */
.mobile-nav-toggle {
  display: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mobile-nav-toggle:hover {
  color: var(--primary-light);
}

/* ================== HERO SECTION - القسم البطولي ================== */
.hero {
  padding: 200px 0 120px;
  background: #1e3c72; /* Fallback color */
  background: -webkit-linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #47b2e4 100%);
  background: -moz-linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #47b2e4 100%);
  background: -o-linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #47b2e4 100%);
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #47b2e4 100%);
  color: white;
  text-align: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Add mesh gradient overlay for depth */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(71, 178, 228, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(42, 82, 152, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(30, 60, 114, 0.1) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.08' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.6;
  animation: pulse 8s ease-in-out infinite;
  z-index: 0;
}

/* Hero Animated Circles - دوائر متحركة */
.hero:after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(71, 178, 228, 0.2) 0%, transparent 70%);
  top: -200px;
  right: -200px;
  animation: floatRotate 20s linear infinite;
  pointer-events: none;
  z-index: 0;
}

/* Ensure content is above background effects */
.hero .container {
  position: relative;
  z-index: 2;
}

/* Hero Icon - أيقونة البطل */
.hero-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 30px;
  background: rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 10px 40px rgba(71, 178, 228, 0.4),
              0 0 60px rgba(71, 178, 228, 0.3),
              inset 0 0 30px rgba(255, 255, 255, 0.1);
  animation: scaleRotate 5s ease-in-out infinite;
  position: relative;
  z-index: 1;
}

.hero-icon::before {
  content: '';
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 2px solid rgba(71, 178, 228, 0.3);
  animation: ripple 3s ease-out infinite;
}

.hero-icon::after {
  content: '';
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 2px solid rgba(71, 178, 228, 0.2);
  animation: ripple 3s ease-out 1.5s infinite;
}

.hero-icon svg {
  width: 60px;
  height: 60px;
  color: white;
}

/* Hero Typography - طباعة البطل */
.hero h1 {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
}

.hero h2 {
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 30px;
  opacity: 0.95;
  animation: fadeInUp 1.2s ease-out;
}

/* Hero Info - معلومات البطل */
.hero-info {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin: 40px 0;
  flex-wrap: wrap;
  animation: fadeInUp 1.4s ease-out;
}

.hero-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.1rem;
  font-weight: 500;
}

.hero-info-item svg {
  width: 28px;
  height: 28px;
}

/* Hero Buttons - أزرار البطل */
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  animation: fadeInUp 1.6s ease-out;
}

.btn-primary-custom,
.btn-secondary-custom {
  padding: 16px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: all var(--transition-normal);
  border: 2px solid white;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-md);
}

.btn-primary-custom {
  background: white;
  color: var(--secondary-color);
}

.btn-primary-custom:hover {
  background: transparent;
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary-custom {
  background: transparent;
  color: white;
}

.btn-secondary-custom:hover {
  background: white;
  color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* ================== SECTIONS - الأقسام ================== */
section {
  padding: 80px 0;
  position: relative;
}

section:nth-child(even) {
  background: white;
}

/* Section Title - عنوان القسم */
.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  padding-bottom: 25px;
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 5px;
  background: var(--gradient-primary);
  border-radius: 3px;
}

/* ================== ABOUT SECTION - قسم حول المؤتمر ================== */
.about-content {
  max-width: 1000px;
  margin: 0 auto;
}

.about-content p {
  background: white;
  padding: 35px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: 25px;
  font-size: 1.08rem;
  line-height: 1.9;
  border-left: 5px solid var(--primary-color);
  transition: all var(--transition-normal);
}

[dir="rtl"] .about-content p {
  border-left: none;
  border-right: 5px solid var(--primary-color);
}

.about-content p:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-lg);
}

[dir="rtl"] .about-content p:hover {
  transform: translateX(-10px);
}

/* ================== OBJECTIVES SECTION - قسم الأهداف ================== */
.objective-card {
  background: white;
  padding: 35px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  height: 100%;
  border-left: 4px solid var(--primary-color);
  position: relative;
  overflow: hidden;
}

[dir="rtl"] .objective-card {
  border-left: none;
  border-right: 4px solid var(--primary-color);
}

.objective-card:before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(71, 178, 228, 0.05) 0%, transparent 70%);
  transition: all var(--transition-slow);
}

.objective-card:hover {
  transform: translateY(-15px);
  box-shadow: var(--shadow-xl);
  border-left-width: 6px;
}

[dir="rtl"] .objective-card:hover {
  border-left-width: 0;
  border-right-width: 6px;
}

.objective-card:hover:before {
  transform: rotate(180deg);
}

.objective-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  color: white;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.objective-card:hover .objective-icon {
  transform: rotate(360deg);
  box-shadow: 0 8px 25px rgba(71, 178, 228, 0.4);
}

.objective-icon svg {
  width: 35px;
  height: 35px;
}

.objective-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.objective-card p {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0;
}

/* ================== THEMES SECTION - قسم المحاور ================== */
.nav-tabs {
  border: none;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
}

.nav-tabs .nav-link {
  border: 2px solid #dee2e6;
  border-radius: 50px;
  padding: 14px 30px;
  color: var(--text-dark);
  font-weight: 700;
  font-size: 15px;
  transition: all var(--transition-normal);
  background: white;
  box-shadow: var(--shadow-sm);
}

.nav-tabs .nav-link:hover {
  border-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.nav-tabs .nav-link.active {
  background: var(--gradient-primary);
  border-color: var(--primary-color);
  color: white;
  box-shadow: var(--shadow-lg);
}

.tab-content {
  background: white;
  padding: 45px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  min-height: 300px;
}

.tab-content h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 3px solid var(--primary-color);
}

.tab-content ul {
  list-style: none;
  padding: 0;
}

.tab-content ul li {
  padding: 15px 0;
  padding-left: 35px;
  position: relative;
  color: var(--text-dark);
  font-size: 1.05rem;
  line-height: 1.7;
  border-bottom: 1px solid #f0f0f0;
  transition: all var(--transition-fast);
}

[dir="rtl"] .tab-content ul li {
  padding-left: 0;
  padding-right: 35px;
}

.tab-content ul li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 20px;
}

[dir="rtl"] .tab-content ul li:before {
  left: auto;
  right: 0;
}

.tab-content ul li:hover {
  padding-left: 45px;
  color: var(--primary-color);
  background: rgba(71, 178, 228, 0.05);
}

[dir="rtl"] .tab-content ul li:hover {
  padding-left: 0;
  padding-right: 45px;
}

/* ================== SCHEDULE SECTION - قسم الجدول الزمني ================== */
.schedule-day {
  background: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 35px;
  transition: all var(--transition-normal);
}

.schedule-day:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.schedule-day-header {
  background: var(--gradient-secondary);
  color: white;
  padding: 25px 35px;
  font-size: 1.6rem;
  font-weight: 800;
  position: relative;
  overflow: hidden;
}

.schedule-day-header:before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.schedule-table {
  width: 100%;
}

.schedule-table th {
  padding: 20px 30px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--secondary-color);
  background: #f8f9fa;
  border-bottom: 2px solid var(--primary-color);
}

.schedule-table td {
  padding: 22px 30px;
  border-bottom: 1px solid #dee2e6;
  transition: all var(--transition-fast);
}

.schedule-table tr:hover td {
  background: rgba(71, 178, 228, 0.05);
}

.time-cell {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary-color);
  white-space: nowrap;
}

/* ================== COMMITTEES SECTION (STAR SECTION) - قسم اللجان ⭐ ================== */
.committee-section {
  padding: 70px 0;
  background: #f8f9fa;
}

.committee-section:nth-child(even) {
  background: white;
}

.section-header {
  margin-bottom: 60px;
  text-align: center;
}

.section-badge {
  display: inline-block;
  background: var(--gradient-primary);
  color: white;
  padding: 10px 30px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: var(--shadow-md);
  animation: float 3s ease-in-out infinite;
}

.section-header h2 {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--secondary-color);
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  padding-bottom: 20px;
}

.section-header h2:after {
  content: '';
  position: absolute;
  display: block;
  width: 60px;
  height: 4px;
  background: var(--primary-color);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.section-header p {
  margin: 0 auto;
  max-width: 800px;
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.8;
}

/* ━━━━━━━━━━━━━ Committee Hierarchy - الهيكل الهرمي للجنة ━━━━━━━━━━━━━ */
.committee-hierarchy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  width: 100%;
  position: relative;
  padding: 20px 0;
}

/* Hierarchy Levels - المستويات الهرمية */
.hierarchy-level {
  display: flex;
  justify-content: center;
  gap: 40px;
  width: 100%;
  position: relative;
}

/* Level 1: Chairman - القمة (رئيس اللجنة) */
.level-chairman {
  max-width: 700px;
  margin: 0 auto;
}

.level-chairman::after {
  content: '';
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 25px;
  background: linear-gradient(180deg, var(--primary-color) 0%, rgba(71, 178, 228, 0.3) 100%);
  border-radius: 2px;
}

/* Level 2: Vice Presidents - الطبقة الثانية (النواب) */
.level-vice-presidents {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.level-vice-presidents::before {
  content: '';
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(71, 178, 228, 0.3) 20%,
    var(--primary-color) 50%, 
    rgba(71, 178, 228, 0.3) 80%,
    transparent 100%
  );
  border-radius: 2px;
}

.level-vice-presidents::after {
  content: '';
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 25px;
  background: linear-gradient(180deg, var(--primary-color) 0%, rgba(71, 178, 228, 0.3) 100%);
  border-radius: 2px;
}

/* Level 3: Members - القاعدة (الأعضاء) */
.level-members {
  max-width: 100%;
  flex-wrap: wrap;
  position: relative;
}

.level-members::before {
  content: '';
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 3px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(71, 178, 228, 0.2) 10%,
    rgba(71, 178, 228, 0.5) 30%,
    var(--primary-color) 50%, 
    rgba(71, 178, 228, 0.5) 70%,
    rgba(71, 178, 228, 0.2) 90%,
    transparent 100%
  );
  border-radius: 2px;
}

.level-members .committee-card {
  flex: 0 0 calc(25% - 30px);
  max-width: calc(25% - 30px);
}

/* Committee Cards Container - حاوية بطاقات اللجان */
.committee-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  padding: 25px 0;
}

/* Committee Card - بطاقة اللجنة */
.committee-card {
  background: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  position: relative;
  height: 100%;
  min-height: 160px;
  padding-top: 35px;
}

.committee-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: var(--shadow-xl);
}

.chairman-card {
  grid-column: 1 / -1;
  background: var(--gradient-primary);
  min-height: 200px;
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
  z-index: 1;
}

/* Card Badge Centered - شارة البطاقة المركزية */
.card-badge-centered {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: white;
  padding: 8px 25px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  z-index: 3;
  box-shadow: var(--shadow-lg);
  white-space: nowrap;
}

.chairman-card .card-badge-centered {
  background: white;
  color: var(--secondary-color);
  padding: 10px 35px;
  font-size: 17px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.member-badge {
  background: var(--gradient-secondary);
}

/* ━━━━━━━━━━━━━ Vice Presidents in Hierarchy ━━━━━━━━━━━━━ */
.level-vice-presidents .vice-president-card {
  background: linear-gradient(135deg, rgba(42, 82, 152, 0.95) 0%, rgba(30, 60, 114, 0.95) 100%);
  border: 4px solid rgba(71, 178, 228, 0.4);
  box-shadow: 0 20px 60px rgba(30, 60, 114, 0.5);
  min-height: 180px;
  position: relative;
  width: 100%;
  flex: 1;
  max-width: 550px;
}

.level-vice-presidents .vice-president-card::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: var(--border-radius-lg);
  background: linear-gradient(135deg, rgba(71, 178, 228, 0.3), rgba(255, 193, 7, 0.2));
  z-index: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.level-vice-presidents .vice-president-card:hover::after {
  opacity: 1;
}

.level-vice-presidents .vice-president-card:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 25px 70px rgba(30, 60, 114, 0.6);
  border-color: rgba(71, 178, 228, 0.7);
}

.level-vice-presidents .vice-president-card .card-overlay {
  z-index: 1;
}

.level-vice-presidents .vice-president-card .card-badge-centered {
  position: relative;
  z-index: 3;
}

.level-vice-presidents .vice-president-card .card-content {
  padding: 30px 35px;
  gap: 25px;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  width: 100%;
}

.level-vice-presidents .vice-president-card .member-photo {
  width: 110px;
  height: 110px;
  min-width: 110px;
  border: 5px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.3);
}

.level-vice-presidents .vice-president-card:hover .member-photo {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 45px rgba(71, 178, 228, 0.6);
  border-color: rgba(255, 255, 255, 0.7);
}

.level-vice-presidents .vice-president-card .photo-placeholder {
  font-size: 60px;
  color: rgba(255, 255, 255, 0.7);
}

.level-vice-presidents .vice-president-card .member-info {
  flex: 1;
  width: 100%;
}

.level-vice-presidents .vice-president-card .member-name {
  font-size: 1.4rem;
  color: white;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.3;
}

.level-vice-presidents .vice-president-card .member-title {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  line-height: 1.4;
}

.vice-badge {
  background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
  color: #1e3c72;
  font-size: 15px;
  font-weight: 800;
  padding: 11px 28px;
  box-shadow: 0 8px 25px rgba(255, 193, 7, 0.5);
  border-radius: 50px;
  position: relative;
  z-index: 3;
}

.vice-badge i {
  animation: icon-shine 2s ease-in-out infinite;
}

@keyframes icon-shine {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.15);
  }
}

/* Responsive for Vice Presidents Row */
@media (max-width: 1200px) {
  .vice-presidents-row {
    gap: 35px;
  }
  
  .vice-president-card {
    min-height: 170px;
  }
  
  .vice-president-card .card-content {
    padding: 28px 32px;
    gap: 22px;
  }
  
  .vice-president-card .member-photo {
    width: 105px;
    height: 105px;
    min-width: 105px;
  }
  
  .vice-president-card .member-name {
    font-size: 1.35rem;
  }
  
  .vice-president-card .member-title {
    font-size: 1.05rem;
  }
}

@media (max-width: 991px) {
  .vice-presidents-row {
    gap: 30px;
  }
  
  .vice-president-card {
    min-height: 160px;
  }
  
  .vice-president-card .card-content {
    padding: 25px 28px;
    gap: 20px;
  }
  
  .vice-president-card .member-photo {
    width: 100px;
    height: 100px;
    min-width: 100px;
  }
  
  .vice-president-card .photo-placeholder {
    font-size: 55px;
  }
  
  .vice-president-card .member-name {
    font-size: 1.3rem;
  }
  
  .vice-president-card .member-title {
    font-size: 1rem;
  }
  
  .vice-badge {
    font-size: 14px;
    padding: 10px 25px;
  }
}

@media (max-width: 767px) {
  .vice-presidents-row {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .vice-president-card {
    min-height: 150px;
  }
  
  .vice-president-card .card-content {
    padding: 25px;
    gap: 18px;
  }
  
  .vice-president-card .member-photo {
    width: 95px;
    height: 95px;
    min-width: 95px;
  }
  
  .vice-president-card .photo-placeholder {
    font-size: 50px;
  }
  
  .vice-president-card .member-name {
    font-size: 1.25rem;
  }
  
  .vice-president-card .member-title {
    font-size: 0.95rem;
  }
  
  .vice-badge {
    font-size: 13px;
    padding: 9px 22px;
  }
}

.card-content {
  display: flex;
  align-items: center;
  padding: 25px;
  position: relative;
  z-index: 2;
  gap: 20px;
}

.chairman-card .card-content {
  padding: 35px;
}

/* Member Photo - صورة العضو */
.member-photo {
  width: 90px;
  height: 90px;
  min-width: 90px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border: 4px solid white;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.chairman-card .member-photo {
  width: 130px;
  height: 130px;
  min-width: 130px;
  border: 6px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 45px;
  color: #ccc;
}

.chairman-card .photo-placeholder {
  font-size: 70px;
  color: rgba(255, 255, 255, 0.7);
}

.committee-card:hover .member-photo {
  transform: scale(1.08) rotate(5deg);
  box-shadow: 0 10px 30px rgba(71, 178, 228, 0.4);
}

/* Member Info - معلومات العضو */
.member-info {
  flex: 1;
}

.member-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--secondary-color);
  margin-bottom: 8px;
  line-height: 1.4;
}

.chairman-card .member-name {
  font-size: 1.6rem;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.member-title {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 0;
  line-height: 1.5;
}

.chairman-card .member-title {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  font-weight: 500;
}

/* Responsibilities Section - قسم المسؤوليات */
.responsibilities-section {
  background: white;
  padding: 40px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  margin-top: 50px;
}

.responsibilities-section h4 {
  color: var(--secondary-color);
  font-weight: 800;
  margin-bottom: 30px;
  font-size: 1.8rem;
  padding-bottom: 15px;
  border-bottom: 3px solid var(--primary-color);
}

.responsibilities-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.responsibilities-section ul li {
  background: white;
  padding: 18px 25px;
  padding-right: 45px;
  margin-bottom: 15px;
  position: relative;
  color: var(--text-dark);
  font-size: 1.05rem;
  line-height: 1.7;
  border-radius: var(--border-radius-md);
  border-left: 4px solid var(--primary-color);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

[dir="rtl"] .responsibilities-section ul li {
  padding-right: 25px;
  padding-left: 45px;
  border-left: none;
  border-right: 4px solid var(--primary-color);
}

.responsibilities-section ul li:before {
  content: '▸';
  position: absolute;
  right: 15px;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 22px;
}

[dir="rtl"] .responsibilities-section ul li:before {
  right: auto;
  left: 15px;
  content: '◂';
}

.responsibilities-section ul li:hover {
  transform: translateX(12px);
  background: rgba(71, 178, 228, 0.05);
  box-shadow: var(--shadow-md);
  border-left-width: 6px;
}

[dir="rtl"] .responsibilities-section ul li:hover {
  transform: translateX(-12px);
  border-left-width: 0;
  border-right-width: 6px;
}

/* Composition Section - قسم التشكيل */
.composition-section {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  padding: 25px;
  border-radius: var(--border-radius-md);
  margin-top: 25px;
  border-top: 4px solid var(--primary-color);
  box-shadow: var(--shadow-sm);
}

.composition-section p {
  margin: 0;
  color: var(--text-dark);
  font-size: 1.05rem;
  line-height: 2;
}

.composition-section strong {
  color: var(--secondary-color);
  font-size: 1.1rem;
}

/* ================== ACCORDION STYLES - تنسيقات الأكورديون ================== */
.accordion-item {
  border: none;
  margin-bottom: 20px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.accordion-item:hover {
  box-shadow: var(--shadow-lg);
}

.accordion-button {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  color: var(--secondary-color);
  font-weight: 800;
  font-size: 1.3rem;
  padding: 25px 30px;
  border: none;
  transition: all var(--transition-normal);
  min-height: 80px;
  display: flex;
  align-items: center;
}

.accordion-button:hover {
  background: linear-gradient(135deg, #e9ecef, #dee2e6);
}

.accordion-button:not(.collapsed) {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 5px 20px rgba(71, 178, 228, 0.3);
}

.accordion-button::after {
  transition: transform var(--transition-normal);
}

.accordion-button:not(.collapsed)::after {
  transform: rotate(180deg);
}

.accordion-body {
  padding: 30px;
  background: white;
}

.committee-section h5 {
  color: var(--secondary-color);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-color);
}

.committee-members p {
  line-height: 2;
  color: var(--text-dark);
  font-size: 1.05rem;
  white-space: pre-line;
}

/* ═══════════════════════════════════════════════════════════════════════════
 * 🎤 KEYNOTE SPEAKERS SECTION - قسم المتحدثون الرئيسيون
 * ═══════════════════════════════════════════════════════════════════════════ */

.keynote-speakers-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #e9ecef 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.keynote-speakers-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #1e3c72 0%, #2a5298 50%, #47b2e4 100%);
}

/* ━━━━━━━━━━━━━ Conference Day Section ━━━━━━━━━━━━━ */
.conference-day-section {
  margin-top: 50px;
}

.day-header-modern {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.day-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  color: white;
  padding: 15px 35px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 10px 30px rgba(30, 60, 114, 0.3);
  animation: badge-float 3s ease-in-out infinite;
}

@keyframes badge-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.day-badge i {
  font-size: 20px;
}

.day-header-modern h3 {
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(135deg, #1e3c72 0%, #47b2e4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
}

/* ━━━━━━━━━━━━━ Speakers Grid ━━━━━━━━━━━━━ */
.speakers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

@media (max-width: 767px) {
  .speakers-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ━━━━━━━━━━━━━ Keynote Speaker Card ━━━━━━━━━━━━━ */
.keynote-speaker-card {
  background: white;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
}

.keynote-speaker-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #1e3c72 0%, #2a5298 50%, #47b2e4 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.keynote-speaker-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 70px rgba(30, 60, 114, 0.2);
  border-color: #47b2e4;
}

.keynote-speaker-card:hover::before {
  transform: scaleX(1);
}

/* ━━━━━━━━━━━━━ Speaker Card Ribbon ━━━━━━━━━━━━━ */
.speaker-card-ribbon {
  position: absolute;
  top: 20px;
  right: -10px;
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
  color: #1e3c72;
  padding: 8px 25px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
  clip-path: polygon(0 0, 100% 0, 90% 100%, 0% 100%);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.speaker-card-ribbon i {
  font-size: 14px;
}

.speaker-card-ribbon.featured {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
  color: white;
}

/* ━━━━━━━━━━━━━ Speaker Card Header ━━━━━━━━━━━━━ */
.speaker-card-header {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  padding: 40px 30px 30px;
  text-align: center;
  position: relative;
}

.speaker-avatar-modern {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  position: relative;
  transition: all 0.4s ease;
}

.speaker-avatar-modern i {
  font-size: 60px;
  color: #2a5298;
}

.avatar-glow {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: linear-gradient(135deg, #47b2e4 0%, #1e3c72 100%);
  opacity: 0;
  z-index: -1;
  animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% {
    opacity: 0;
    transform: scale(1);
  }
  50% {
    opacity: 0.3;
    transform: scale(1.1);
  }
}

.keynote-speaker-card:hover .speaker-avatar-modern {
  transform: scale(1.1) rotate(5deg);
}

.speaker-avatar-modern.featured {
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
}

.speaker-avatar-modern.featured i {
  color: #1e3c72;
}

.speaker-name-modern {
  font-size: 24px;
  font-weight: 800;
  color: white;
  margin-bottom: 15px;
  line-height: 1.3;
}

.speaker-title-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.speaker-title-badge i {
  font-size: 16px;
}

/* ━━━━━━━━━━━━━ Speaker Card Body ━━━━━━━━━━━━━ */
.speaker-card-body {
  padding: 35px 30px;
}

/* Affiliation Section */
.affiliation-section {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  padding: 25px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 15px;
  border-left: 4px solid #2a5298;
}

.affiliation-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(30, 60, 114, 0.2);
}

.affiliation-icon i {
  font-size: 24px;
  color: white;
}

.affiliation-text h4 {
  font-size: 16px;
  font-weight: 700;
  color: #1e3c72;
  margin-bottom: 10px;
}

.affiliation-text p {
  font-size: 14px;
  line-height: 1.7;
  color: #6c757d;
  margin: 0;
}

/* Keynote Session */
.keynote-session {
  margin-bottom: 25px;
  padding: 25px;
  background: linear-gradient(135deg, #fff3cd 0%, #fffaeb 100%);
  border-radius: 15px;
  border-left: 4px solid #ffc107;
}

.session-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.session-header i {
  font-size: 22px;
  color: #ffc107;
}

.session-header h4 {
  font-size: 16px;
  font-weight: 700;
  color: #1e3c72;
  margin: 0;
}

.session-title-box {
  padding: 15px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.session-title-box p {
  font-size: 15px;
  line-height: 1.7;
  color: #495057;
  margin: 0;
  font-weight: 600;
}

/* Research Interests */
.research-interests h4 {
  font-size: 16px;
  font-weight: 700;
  color: #1e3c72;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.research-interests h4 i {
  color: #47b2e4;
  font-size: 18px;
}

.interest-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.interest-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: linear-gradient(135deg, #e3f2fd 0%, #f8f9fa 100%);
  border: 1px solid #47b2e4;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 600;
  color: #1e3c72;
  transition: all 0.3s ease;
}

.interest-tag:hover {
  background: linear-gradient(135deg, #47b2e4 0%, #2a5298 100%);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(71, 178, 228, 0.3);
}

.interest-tag i {
  font-size: 14px;
  color: #47b2e4;
  transition: color 0.3s ease;
}

.interest-tag:hover i {
  color: white;
}

/* ━━━━━━━━━━━━━ Responsive Design ━━━━━━━━━━━━━ */
@media (max-width: 991px) {
  .day-header-modern h3 {
    font-size: 26px;
  }
  
  .speaker-name-modern {
    font-size: 20px;
  }
  
  .affiliation-section {
    flex-direction: column;
    text-align: center;
  }
  
  .affiliation-icon {
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  .keynote-speakers-section {
    padding: 60px 0;
  }
  
  .day-badge {
    font-size: 14px;
    padding: 12px 25px;
  }
  
  .day-header-modern h3 {
    font-size: 22px;
  }
  
  .speaker-card-ribbon {
    font-size: 11px;
    padding: 6px 20px;
    right: -5px;
  }
  
  .speaker-avatar-modern {
    width: 100px;
    height: 100px;
  }
  
  .speaker-avatar-modern i {
    font-size: 50px;
  }
  
  .speaker-name-modern {
    font-size: 18px;
  }
  
  .speaker-card-body {
    padding: 25px 20px;
  }
  
  .interest-tags {
    justify-content: center;
  }
}

/* ══════════════════════════════════════════════════════════════════════════════ */

/* Animation for floating effect */
@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

/* ================== CONTACT SECTION - قسم الاتصال ================== */
.contact-form,
.contact-info-card {
  background: white;
  padding: 45px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  height: 100%;
}

.contact-form h3,
.contact-info-card h3 {
  color: var(--secondary-color);
  font-weight: 800;
  font-size: 1.8rem;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 3px solid var(--primary-color);
}

.form-control {
  border: 2px solid #dee2e6;
  border-radius: var(--border-radius-md);
  padding: 14px 22px;
  font-size: 1rem;
  transition: all var(--transition-normal);
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(71, 178, 228, 0.15);
  outline: none;
}

.form-label {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.btn-submit {
  background: var(--gradient-primary);
  color: white;
  padding: 16px 45px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  border: none;
  width: 100%;
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-md);
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Contact Items - عناصر الاتصال */
.contact-item {
  display: flex;
  gap: 25px;
  margin-bottom: 30px;
  padding: 20px;
  border-radius: var(--border-radius-md);
  transition: all var(--transition-normal);
}

.contact-item:hover {
  background: rgba(71, 178, 228, 0.05);
  transform: translateX(10px);
}

[dir="rtl"] .contact-item:hover {
  transform: translateX(-10px);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
  font-size: 24px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.contact-item:hover .contact-icon {
  transform: rotate(360deg) scale(1.1);
  box-shadow: 0 8px 25px rgba(71, 178, 228, 0.4);
}

.contact-details {
  flex: 1;
}

.contact-details h5 {
  color: var(--secondary-color);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.contact-details p {
  color: var(--text-light);
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* ================== FOOTER - التذييل ================== */
.footer {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #47b2e4 100%);
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  overflow: hidden;
  box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.15);
}

.footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  animation: footer-shine 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes footer-shine {
  0% {
    left: -100%;
  }
  50% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}

.footer:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #47b2e4 0%, #2a5298 50%, #1e3c72 100%);
  box-shadow: 0 2px 10px rgba(71, 178, 228, 0.5);
  z-index: 1;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.footer-logo-img {
  max-height: 65px;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease;
}

.footer-logo-img:hover {
  transform: scale(1.05);
}

.footer-logo-text .sitename {
  font-size: 20px;
  font-weight: 700;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.footer-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.6;
  margin-top: 15px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 2;
}

.footer h4 {
  color: white;
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 2;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
  position: relative;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #47b2e4, #2a5298);
  transition: width 0.3s ease;
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-links a:hover {
  color: white;
  transform: translateX(8px);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

[dir="rtl"] .footer-links a:hover {
  transform: translateX(-8px);
}

.footer-links a:before {
  content: '→';
  color: var(--primary-light);
}

[dir="rtl"] .footer-links a:before {
  content: '←';
}

/* Social Media Links - روابط وسائل التواصل */
.social-media-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.social-link {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  font-size: 20px;
  transition: all var(--transition-normal);
  border: 2px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #47b2e4, #2a5298);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.social-link i {
  position: relative;
  z-index: 1;
}

.social-link:hover::before {
  opacity: 1;
}

.social-link:hover {
  transform: translateY(-5px) scale(1.1);
  border-color: rgba(71, 178, 228, 0.8);
  box-shadow: 0 8px 20px rgba(71, 178, 228, 0.4);
}

.social-link:hover {
  background: var(--gradient-primary);
  border-color: var(--primary-light);
  transform: translateY(-5px) rotate(360deg);
  box-shadow: 0 8px 20px rgba(71, 178, 228, 0.4);
}

.footer-divider {
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(71, 178, 228, 0.3) 20%,
    rgba(71, 178, 228, 0.6) 50%,
    rgba(71, 178, 228, 0.3) 80%,
    transparent 100%
  );
  margin: 30px 0;
  position: relative;
  box-shadow: 0 0 10px rgba(71, 178, 228, 0.3);
}

.footer-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, rgba(71, 178, 228, 0.3), transparent 70%);
  filter: blur(15px);
  animation: pulse-glow 3s ease-in-out infinite;
}

.copyright-section {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

/* ================== SCROLL TO TOP BUTTON - زر العودة للأعلى ================== */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #47b2e4 100%);
  color: white;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  font-size: 24px;
  box-shadow: 0 10px 30px rgba(71, 178, 228, 0.4);
  transition: all var(--transition-normal);
  border: 2px solid rgba(255, 255, 255, 0.2);
  animation: float 3s ease-in-out infinite;
}

.scroll-top::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(71, 178, 228, 0.3), transparent 70%);
  border-radius: 50%;
  filter: blur(15px);
  z-index: -1;
}

.scroll-top:hover {
  transform: translateY(-10px) scale(1.1);
  box-shadow: 0 15px 40px rgba(71, 178, 228, 0.6);
  border-color: rgba(71, 178, 228, 0.8);
}

.scroll-top.show {
  display: flex;
  animation: fadeInUp 0.5s ease, float 3s ease-in-out 0.5s infinite;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

[dir="rtl"] .scroll-top {
  right: auto;
  left: 30px;
}

.scroll-top.active {
  display: flex;
  animation: bounceIn 0.5s ease;
}

.scroll-top:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

/* ================== ANIMATIONS - الرسوم المتحركة ================== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleRotate {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.1) rotate(180deg);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

@keyframes slideDown {
  to {
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes bounceIn {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

@keyframes floatRotate {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(30px, -30px) rotate(120deg);
  }
  66% {
    transform: translate(-20px, 20px) rotate(240deg);
  }
}

/* ================== RESPONSIVE DESIGN - التصميم المتجاوب ================== */

/* Hierarchy Responsive Design */
@media (max-width: 1200px) {
  .level-members .committee-card {
    flex: 0 0 calc(33.333% - 30px);
    max-width: calc(33.333% - 30px);
  }
}

@media (max-width: 991px) {
  .committee-hierarchy {
    gap: 40px;
  }
  
  .hierarchy-level {
    gap: 30px;
  }
  
  .level-chairman {
    max-width: 600px;
  }
  
  .level-vice-presidents {
    max-width: 100%;
  }
  
  .level-members .committee-card {
    flex: 0 0 calc(50% - 25px);
    max-width: calc(50% - 25px);
  }
}

@media (max-width: 767px) {
  .committee-hierarchy {
    gap: 30px;
  }
  
  .hierarchy-level {
    gap: 20px;
  }
  
  .level-chairman {
    max-width: 100%;
  }
  
  .level-chairman::after,
  .level-vice-presidents::before,
  .level-vice-presidents::after,
  .level-members::before {
    display: none;
  }
  
  .level-vice-presidents {
    flex-direction: column;
  }
  
  .level-members {
    flex-direction: column;
  }
  
  .level-members .committee-card {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Extra Large Devices - الأجهزة الكبيرة جداً */
@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
  }
}

/* Large Devices - الأجهزة الكبيرة */
@media (max-width: 1199px) {
  .navmenu {
    display: none;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .navmenu.mobile-nav-active {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    max-width: 85%;
    height: 100vh;
    background: rgba(37, 78, 97, 0.98);
    padding: 100px 25px 40px;
    overflow-y: auto;
    z-index: 999;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
    animation: slideInRight 0.3s ease;
  }

  [dir="rtl"] .navmenu.mobile-nav-active {
    right: auto;
    left: 0;
    animation: slideInLeft 0.3s ease;
  }

  .navmenu.mobile-nav-active ul {
    flex-direction: column;
    gap: 0;
  }

  .navmenu.mobile-nav-active a {
    padding: 15px 20px;
    border-radius: var(--border-radius-md);
    margin-bottom: 8px;
  }

  @keyframes slideInRight {
    from {
      transform: translateX(100%);
    }
    to {
      transform: translateX(0);
    }
  }

  @keyframes slideInLeft {
    from {
      transform: translateX(-100%);
    }
    to {
      transform: translateX(0);
    }
  }
}

/* Medium Devices - الأجهزة المتوسطة */
@media (max-width: 992px) {
  .section-title {
    font-size: 2rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero h2 {
    font-size: 1.8rem;
  }

  .committee-cards-container {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
  }

  .chairman-card .card-content {
    flex-direction: column;
    text-align: center;
  }

  .chairman-card .member-photo {
    margin-bottom: 20px;
  }
}

/* Small Devices - الأجهزة الصغيرة */
@media (max-width: 768px) {
  .hero {
    padding: 160px 0 80px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero h2 {
    font-size: 1.5rem;
  }

  .hero-info {
    gap: 30px;
  }

  .logo-img {
    max-height: 60px;
  }

  .sitename {
    font-size: 16px;
  }

  .logo-subtitle {
    font-size: 11px;
  }

  section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.8rem;
    margin-bottom: 40px;
  }

  .card-content {
    flex-direction: column;
    text-align: center;
  }

  .member-photo {
    margin-bottom: 15px;
  }

  .contact-form,
  .contact-info-card {
    padding: 30px;
  }

  .tab-content {
    padding: 30px;
  }

  .responsibilities-section {
    padding: 30px;
  }
}

/* Extra Small Devices - الأجهزة الصغيرة جداً */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.6rem;
  }

  .hero h2 {
    font-size: 1.2rem;
  }

  .hero-icon {
    width: 90px;
    height: 90px;
  }

  .hero-icon svg {
    width: 45px;
    height: 45px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .btn-primary-custom,
  .btn-secondary-custom {
    padding: 14px 30px;
    font-size: 14px;
  }

  .committee-cards-container {
    grid-template-columns: 1fr;
  }

  .language-switch {
    padding: 8px 16px;
    font-size: 13px;
  }

  .scroll-top {
    width: 45px;
    height: 45px;
    font-size: 20px;
    bottom: 20px;
    right: 20px;
  }

  [dir="rtl"] .scroll-top {
    right: auto;
    left: 20px;
  }
}

/* ================== PRINT STYLES - أنماط الطباعة ================== */
@media print {
  .header,
  .language-switch,
  .scroll-top,
  .mobile-nav-toggle,
  .hero-buttons {
    display: none !important;
  }

  body {
    background: white;
  }

  section {
    page-break-inside: avoid;
  }
}

/* ================== UTILITY CLASSES - فئات الأدوات ================== */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mt-1 {
  margin-top: var(--spacing-xs);
}
.mt-2 {
  margin-top: var(--spacing-sm);
}
.mt-3 {
  margin-top: var(--spacing-md);
}
.mt-4 {
  margin-top: var(--spacing-lg);
}
.mt-5 {
  margin-top: var(--spacing-xl);
}

.mb-1 {
  margin-bottom: var(--spacing-xs);
}
.mb-2 {
  margin-bottom: var(--spacing-sm);
}
.mb-3 {
  margin-bottom: var(--spacing-md);
}
.mb-4 {
  margin-bottom: var(--spacing-lg);
}
.mb-5 {
  margin-bottom: var(--spacing-xl);
}

/* ================== LANGUAGE CONTENT CONTROL - التحكم في محتوى اللغة ================== */
/**
 * نظام احترافي لإخفاء/إظهار المحتوى حسب اللغة المختارة
 * Professional system to show/hide content based on selected language
 */

/* إخفاء المحتوى الإنجليزي عندما تكون اللغة العربية مفعّلة */
/* Hide English content when Arabic language is active */
[lang="ar"] .en-content,
html[lang="ar"] .en-content,
body[lang="ar"] .en-content {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  position: absolute !important;
  left: -9999px !important;
}

/* إخفاء المحتوى العربي عندما تكون اللغة الإنجليزية مفعّلة */
/* Hide Arabic content when English language is active */
[lang="en"] .ar-content,
html[lang="en"] .ar-content,
body[lang="en"] .ar-content {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  position: absolute !important;
  left: -9999px !important;
}

/* إظهار المحتوى العربي عندما تكون اللغة العربية مفعّلة */
/* Show Arabic content when Arabic language is active */
[lang="ar"] .ar-content,
html[lang="ar"] .ar-content,
body[lang="ar"] .ar-content {
  display: inline !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: static !important;
  left: auto !important;
}

/* إظهار المحتوى الإنجليزي عندما تكون اللغة الإنجليزية مفعّلة */
/* Show English content when English language is active */
[lang="en"] .en-content,
html[lang="en"] .en-content,
body[lang="en"] .en-content {
  display: inline !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: static !important;
  left: auto !important;
}

/* للعناصر التي يجب أن تكون block بدلاً من inline */
/* For elements that should be block instead of inline */
[lang="ar"] .ar-content.d-block,
html[lang="ar"] .ar-content.d-block,
[lang="en"] .en-content.d-block,
html[lang="en"] .en-content.d-block {
  display: block !important;
}

/* تحسين الانتقال بين اللغات مع تأثير سلس */
/* Smooth transition between languages */
.ar-content,
.en-content {
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

/* ================== ACCESSIBILITY IMPROVEMENTS - تحسينات الوصول ================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

*:focus-visible {
  outline: 3px solid var(--primary-color);
  outline-offset: 3px;
}

/* ================== DARK MODE SUPPORT (Optional) - دعم الوضع الداكن ================== */
@media (prefers-color-scheme: dark) {
  /* يمكن إضافة أنماط الوضع الداكن هنا إذا لزم الأمر */
}

/* ══════════════════════════════════════════════════════════════════════════════
 * تصميم قسم حقوق النشر المحترف مع بطاقة المطور المتقدمة
 * Professional Copyright & Developer Showcase Section
 * ══════════════════════════════════════════════════════════════════════════════ */

.copyright-section {
  position: relative;
  padding: 60px 0;
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #47b2e4 100%);
  overflow: hidden;
  border-top: 3px solid rgba(71, 178, 228, 0.5);
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
}

.copyright-wrapper {
  position: relative;
  z-index: 2;
}

/* ━━━━━━━━━━━━━ نص حقوق النشر ━━━━━━━━━━━━━ */
.copyright-text {
  display: flex;
  align-items: center;
  gap: 15px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  font-weight: 400;
  flex-wrap: wrap;
}

.copyright-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(71, 178, 228, 0.15);
  border: 1px solid rgba(71, 178, 228, 0.3);
  border-radius: 50px;
  color: #47b2e4;
  font-weight: 600;
  font-size: 14px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 10px rgba(71, 178, 228, 0.2);
  }
  50% {
    box-shadow: 0 0 20px rgba(71, 178, 228, 0.4);
  }
}

/* ━━━━━━━━━━━━━ بطاقة المطور الاحترافية ━━━━━━━━━━━━━ */
.developer-showcase {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

[lang="ar"] .developer-showcase {
  align-items: flex-end;
}

[lang="en"] .developer-showcase {
  align-items: flex-end;
}

.developer-intro {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.developer-profile {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 25px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(71, 178, 228, 0.2);
  border-radius: 20px;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.developer-profile::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(71, 178, 228, 0.1), transparent);
  transition: left 0.6s ease;
}

.developer-profile:hover::before {
  left: 100%;
}

.developer-profile:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(71, 178, 228, 0.5);
  box-shadow: 
    0 10px 40px rgba(71, 178, 228, 0.3),
    0 0 60px rgba(71, 178, 228, 0.2) inset;
}

/* ━━━━━━━━━━━━━ صورة المطور مع تأثيرات متقدمة ━━━━━━━━━━━━━ */
.dev-avatar-container {
  position: relative;
  flex-shrink: 0;
}

.dev-avatar-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(71, 178, 228, 0.4), transparent 70%);
  border-radius: 50%;
  animation: glow-pulse 2s ease-in-out infinite;
  filter: blur(15px);
}

@keyframes glow-pulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.8;
  }
}

.dev-avatar-outer {
  position: relative;
  width: 70px;
  height: 70px;
  background: conic-gradient(
    from 0deg,
    #47b2e4 0deg,
    #2a5298 90deg,
    #1e3c72 180deg,
    #2a5298 270deg,
    #47b2e4 360deg
  );
  border-radius: 50%;
  padding: 3px;
  animation: rotate-conic 4s linear infinite;
}

@keyframes rotate-conic {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.dev-avatar-inner {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #47b2e4;
  position: relative;
  overflow: hidden;
}

.dev-avatar-inner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(71, 178, 228, 0.2) 50%,
    transparent 70%
  );
  animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.dev-avatar-inner i {
  position: relative;
  z-index: 1;
  animation: code-bounce 2s ease-in-out infinite;
}

@keyframes code-bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* ━━━━━━━━━━━━━ معلومات المطور ━━━━━━━━━━━━━ */
.dev-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

[lang="ar"] .dev-info {
  text-align: right;
}

[lang="en"] .dev-info {
  text-align: left;
}

.dev-name {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
  line-height: 1.3;
}

.dev-title {
  font-size: 13px;
  font-weight: 400;
  color: rgba(71, 178, 228, 0.9);
  letter-spacing: 0.3px;
}

/* ━━━━━━━━━━━━━ شارات الخبرة ━━━━━━━━━━━━━ */
.dev-expertise {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

[lang="ar"] .dev-expertise {
  justify-content: flex-end;
}

[lang="en"] .dev-expertise {
  justify-content: flex-start;
}

.expertise-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 30px;
  transition: all 0.3s ease;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.expertise-badge.web {
  background: rgba(34, 193, 195, 0.15);
  color: #22c1c3;
  border: 1px solid rgba(34, 193, 195, 0.3);
}

.expertise-badge.ai {
  background: rgba(253, 187, 45, 0.15);
  color: #fdbb2d;
  border: 1px solid rgba(253, 187, 45, 0.3);
}

.expertise-badge.desktop {
  background: rgba(142, 45, 226, 0.15);
  color: #8e2de2;
  border: 1px solid rgba(142, 45, 226, 0.3);
}

.developer-profile:hover .expertise-badge.web {
  background: rgba(34, 193, 195, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(34, 193, 195, 0.3);
}

.developer-profile:hover .expertise-badge.ai {
  background: rgba(253, 187, 45, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(253, 187, 45, 0.3);
}

.developer-profile:hover .expertise-badge.desktop {
  background: rgba(142, 45, 226, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(142, 45, 226, 0.3);
}

/* ━━━━━━━━━━━━━ زر الانتقال ━━━━━━━━━━━━━ */
.dev-cta {
  flex-shrink: 0;
  font-size: 24px;
  color: #47b2e4;
  transition: all 0.3s ease;
}

.developer-profile:hover .dev-cta {
  transform: translateX(-5px);
  color: #ffffff;
}

[lang="ar"] .developer-profile:hover .dev-cta {
  transform: translateX(5px);
}

/* ━━━━━━━━━━━━━ الزخارف الخلفية ━━━━━━━━━━━━━ */
.copyright-bg-decoration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.code-effect {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150%;
  height: 150%;
  background: 
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(71, 178, 228, 0.03) 2px,
      rgba(71, 178, 228, 0.03) 4px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 2px,
      rgba(71, 178, 228, 0.03) 2px,
      rgba(71, 178, 228, 0.03) 4px
    );
  animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* ━━━━━━━━━━━━━ التصميم المتجاوب ━━━━━━━━━━━━━ */
@media (max-width: 767px) {
  .copyright-section {
    padding: 40px 0;
  }

  .copyright-text {
    justify-content: center;
    font-size: 13px;
    margin-bottom: 20px;
  }

  .developer-showcase {
    align-items: center !important;
  }

  .developer-profile {
    flex-direction: column;
    text-align: center;
    gap: 15px;
    padding: 25px 20px;
  }

  .dev-info {
    text-align: center !important;
  }

  .dev-expertise {
    justify-content: center !important;
  }

  .dev-cta {
    display: none;
  }

  .dev-avatar-outer {
    width: 80px;
    height: 80px;
  }

  .dev-avatar-glow {
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 400px) {
  .copyright-badge {
    padding: 6px 12px;
    font-size: 12px;
  }

  .dev-name {
    font-size: 16px;
  }

  .dev-title {
    font-size: 12px;
  }

  .expertise-badge {
    font-size: 10px;
    padding: 3px 10px;
  }
}

/* ══════════════════════════════════════════════════════════════════════════════
 * Submission Timeline Section - قسم الجدول الزمني للتقديم
 * ══════════════════════════════════════════════════════════════════════════════ */

.submission-timeline-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
  overflow: hidden;
}

.submission-timeline-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 20%, rgba(71, 178, 228, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(42, 82, 152, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.submission-timeline-section .section-title h2 {
  font-size: 42px;
  font-weight: 800;
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #47b2e4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 15px;
}

.timeline-subtitle {
  font-size: 18px;
  color: #6c757d;
  max-width: 600px;
  margin: 0 auto;
}

/* ━━━━━━━━━━━━━ Submission Timeline Container ━━━━━━━━━━━━━ */
.submission-timeline-container {
  position: relative;
  padding: 40px 0;
}

/* ━━━━━━━━━━━━━ Timeline Item ━━━━━━━━━━━━━ */
.submission-timeline-item {
  display: flex;
  gap: 40px;
  margin-bottom: 60px;
  position: relative;
}

.submission-timeline-item:last-child {
  margin-bottom: 0;
}

.submission-timeline-item:last-child .timeline-connector {
  display: none;
}

/* ━━━━━━━━━━━━━ Timeline Marker ━━━━━━━━━━━━━ */
.timeline-marker {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.timeline-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #47b2e4 0%, #2a5298 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 28px;
  box-shadow: 0 10px 30px rgba(71, 178, 228, 0.4);
  position: relative;
  z-index: 2;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-icon::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #47b2e4, #2a5298);
  opacity: 0;
  animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.3);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

.highlight-icon {
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #ffd700 100%);
  box-shadow: 0 15px 40px rgba(255, 215, 0, 0.5);
  animation: icon-glow 2s ease-in-out infinite;
}

@keyframes icon-glow {
  0%, 100% {
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.5);
  }
  50% {
    box-shadow: 0 15px 50px rgba(255, 215, 0, 0.8);
  }
}

.timeline-connector {
  width: 3px;
  flex-grow: 1;
  background: linear-gradient(180deg, #47b2e4 0%, #2a5298 100%);
  margin: 10px 0;
  position: relative;
}

.timeline-connector::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background: #47b2e4;
  border-radius: 50%;
  animation: move-down 2s linear infinite;
}

@keyframes move-down {
  0% {
    top: 0;
    opacity: 1;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}

/* ━━━━━━━━━━━━━ Timeline Card ━━━━━━━━━━━━━ */
.timeline-card {
  flex: 1;
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
}

.timeline-card::before {
  content: '';
  position: absolute;
  top: 35px;
  left: -20px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 15px 20px 15px 0;
  border-color: transparent white transparent transparent;
  filter: drop-shadow(-2px 0 3px rgba(0, 0, 0, 0.05));
}

[lang="ar"] .timeline-card::before {
  left: auto;
  right: -20px;
  border-width: 15px 0 15px 20px;
  border-color: transparent transparent transparent white;
  filter: drop-shadow(2px 0 3px rgba(0, 0, 0, 0.05));
}

.timeline-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(71, 178, 228, 0.2);
  border-color: rgba(71, 178, 228, 0.3);
}

.highlight-card {
  background: linear-gradient(135deg, #fffbea 0%, #fff9db 100%);
  border-color: rgba(255, 215, 0, 0.3);
}

.highlight-card::before {
  border-color: transparent #fffbea transparent transparent;
}

[lang="ar"] .highlight-card::before {
  border-color: transparent transparent transparent #fffbea;
}

/* ━━━━━━━━━━━━━ Timeline Badge ━━━━━━━━━━━━━ */
.timeline-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
}

.badge-start {
  background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
  color: #155724;
}

.badge-deadline {
  background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
  color: #856404;
}

.badge-final {
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
  color: #7d5d00;
  animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* ━━━━━━━━━━━━━ Date Box ━━━━━━━━━━━━━ */
.timeline-date-box {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 15px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 15px;
  margin-bottom: 20px;
  border: 2px solid #dee2e6;
  min-width: 120px;
}

.date-number {
  font-size: 40px;
  font-weight: 800;
  color: #47b2e4;
  line-height: 1;
}

.date-month {
  font-size: 16px;
  font-weight: 600;
  color: #2a5298;
  margin-top: 5px;
}

.date-year {
  font-size: 14px;
  color: #6c757d;
  margin-top: 3px;
}

.deadline-date {
  background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
  border-color: #ffc107;
}

.deadline-date .date-number {
  color: #856404;
}

.final-date {
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
  border-color: #ffd700;
  animation: date-glow 2s ease-in-out infinite;
}

@keyframes date-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
  }
}

.final-date .date-number {
  color: #7d5d00;
}

/* ━━━━━━━━━━━━━ Card Content ━━━━━━━━━━━━━ */
.timeline-card-content h4 {
  font-size: 22px;
  font-weight: 700;
  color: #1e3c72;
  margin-bottom: 12px;
}

.timeline-card-content p {
  font-size: 15px;
  color: #6c757d;
  line-height: 1.7;
  margin-bottom: 15px;
}

/* ━━━━━━━━━━━━━ Timeline Status ━━━━━━━━━━━━━ */
.timeline-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 600;
}

.status-active {
  background: rgba(40, 167, 69, 0.1);
  color: #28a745;
}

.status-active i {
  animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

.status-warning {
  background: rgba(255, 193, 7, 0.1);
  color: #ffc107;
}

.status-upcoming {
  background: rgba(0, 123, 255, 0.1);
  color: #007bff;
}

.status-final {
  background: rgba(255, 215, 0, 0.2);
  color: #7d5d00;
}

/* ━━━━━━━━━━━━━ Important Notes ━━━━━━━━━━━━━ */
.important-notes {
  background: white;
  border-radius: 20px;
  padding: 35px;
  margin-top: 60px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border-left: 5px solid #47b2e4;
}

[lang="ar"] .important-notes {
  border-left: none;
  border-right: 5px solid #47b2e4;
}

.notes-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.notes-header i {
  font-size: 32px;
  color: #47b2e4;
}

.notes-header h4 {
  font-size: 24px;
  font-weight: 700;
  color: #1e3c72;
  margin: 0;
}

.notes-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.notes-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid #e9ecef;
  font-size: 15px;
  color: #495057;
}

.notes-list li:last-child {
  border-bottom: none;
}

.notes-list li i {
  color: #28a745;
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ━━━━━━━━━━━━━ Responsive Design ━━━━━━━━━━━━━ */
@media (max-width: 991px) {
  .submission-timeline-item {
    gap: 25px;
  }

  .timeline-icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }

  .timeline-card {
    padding: 25px;
  }

  .timeline-card-content h4 {
    font-size: 20px;
  }

  .date-number {
    font-size: 36px;
  }
}

@media (max-width: 767px) {
  .submission-timeline-section {
    padding: 60px 0;
  }

  .submission-timeline-section .section-title h2 {
    font-size: 32px;
  }

  .timeline-subtitle {
    font-size: 16px;
  }

  .submission-timeline-item {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 50px;
  }

  .timeline-marker {
    flex-direction: row;
    align-items: flex-start;
    width: 100%;
  }

  .timeline-icon {
    width: 55px;
    height: 55px;
    font-size: 22px;
  }

  .timeline-connector {
    width: 100%;
    height: 3px;
    margin: 0 15px;
    background: linear-gradient(90deg, #47b2e4 0%, #2a5298 100%);
  }

  .timeline-connector::before {
    width: 10px;
    height: 10px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    animation: move-right 2s linear infinite;
  }

  @keyframes move-right {
    0% {
      left: 0;
      opacity: 1;
    }
    100% {
      left: 100%;
      opacity: 0;
    }
  }

  .timeline-card {
    padding: 20px;
  }

  .timeline-card::before {
    top: -15px;
    left: 30px;
    border-width: 0 15px 15px 15px;
    border-color: transparent transparent white transparent;
  }

  [lang="ar"] .timeline-card::before {
    left: auto;
    right: 30px;
  }

  .timeline-date-box {
    padding: 12px 18px;
    min-width: 100px;
  }

  .date-number {
    font-size: 32px;
  }

  .date-month {
    font-size: 14px;
  }

  .timeline-card-content h4 {
    font-size: 18px;
  }

  .timeline-card-content p {
    font-size: 14px;
  }

  .important-notes {
    padding: 25px;
  }

  .notes-header h4 {
    font-size: 20px;
  }

  .notes-list li {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .timeline-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .timeline-card {
    padding: 18px;
  }

  .timeline-badge {
    font-size: 11px;
    padding: 5px 12px;
  }

  .date-number {
    font-size: 28px;
  }

  .timeline-card-content h4 {
    font-size: 16px;
  }

  .timeline-status {
    font-size: 12px;
    padding: 6px 12px;
  }
}

/* ━━━━━━━━━━━━━ Current Phase Indicator ━━━━━━━━━━━━━ */
.current-phase-indicator {
  margin: 25px 0;
}

.phase-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  animation: phase-pulse 2s ease-in-out infinite;
}

@keyframes phase-pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

.phase-badge i {
  font-size: 22px;
}

.phase-future {
  background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
  color: #6c757d;
}

.phase-active {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
  box-shadow: 0 5px 20px rgba(40, 167, 69, 0.4);
}

.phase-active i {
  animation: blink 1.5s ease-in-out infinite;
}

.phase-waiting {
  background: linear-gradient(135deg, #ffc107 0%, #ffb300 100%);
  color: #856404;
  box-shadow: 0 5px 20px rgba(255, 193, 7, 0.4);
}

.phase-closed {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
  color: white;
  box-shadow: 0 5px 20px rgba(220, 53, 69, 0.4);
}

/* ━━━━━━━━━━━━━ Dynamic Timeline States ━━━━━━━━━━━━━ */
/* Passed Items */
.item-passed {
  opacity: 0.6;
}

.item-passed .timeline-icon {
  background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
  box-shadow: 0 5px 15px rgba(108, 117, 125, 0.3);
}

.icon-passed {
  background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%) !important;
  box-shadow: 0 5px 15px rgba(108, 117, 125, 0.3) !important;
}

.card-passed {
  background: #f8f9fa;
  border-color: #dee2e6;
}

.card-passed .timeline-card-content h4 {
  color: #6c757d;
}

.card-passed .timeline-card-content p {
  color: #adb5bd;
}

/* Current/Active Items */
.item-current {
  animation: current-glow 2s ease-in-out infinite;
}

@keyframes current-glow {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

.icon-active {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
  box-shadow: 0 15px 40px rgba(40, 167, 69, 0.5) !important;
  animation: icon-active-glow 2s ease-in-out infinite;
}

@keyframes icon-active-glow {
  0%, 100% {
    box-shadow: 0 15px 40px rgba(40, 167, 69, 0.5);
  }
  50% {
    box-shadow: 0 15px 50px rgba(40, 167, 69, 0.8);
  }
}

/* Critical Items */
.item-critical {
  animation: critical-shake 3s ease-in-out infinite;
}

@keyframes critical-shake {
  0%, 100% {
    transform: translateX(0);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: translateX(-2px);
  }
  20%, 40%, 60%, 80% {
    transform: translateX(2px);
  }
}

.icon-critical {
  background: linear-gradient(135deg, #ffc107 0%, #ff6b6b 100%) !important;
  box-shadow: 0 15px 40px rgba(255, 193, 7, 0.6) !important;
  animation: icon-critical-pulse 1.5s ease-in-out infinite;
}

@keyframes icon-critical-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 15px 40px rgba(255, 193, 7, 0.6);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 20px 50px rgba(255, 193, 7, 0.9);
  }
}

.icon-critical-final {
  background: linear-gradient(135deg, #ff6b6b 0%, #dc3545 100%) !important;
  box-shadow: 0 15px 40px rgba(220, 53, 69, 0.7) !important;
  animation: icon-final-alert 1s ease-in-out infinite;
}

@keyframes icon-final-alert {
  0%, 100% {
    transform: scale(1) rotate(0deg);
  }
  25% {
    transform: scale(1.1) rotate(-5deg);
  }
  75% {
    transform: scale(1.1) rotate(5deg);
  }
}

.card-critical {
  border: 2px solid #ffc107;
  box-shadow: 0 10px 40px rgba(255, 193, 7, 0.3);
  animation: card-critical-glow 2s ease-in-out infinite;
}

@keyframes card-critical-glow {
  0%, 100% {
    box-shadow: 0 10px 40px rgba(255, 193, 7, 0.3);
  }
  50% {
    box-shadow: 0 15px 50px rgba(255, 193, 7, 0.5);
  }
}

/* Additional Badge Colors */
.badge-secondary {
  background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
  color: #6c757d;
}

.badge-info {
  background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
  color: white;
}

.badge-success {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
}

.badge-warning {
  background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
  color: #856404;
}

.badge-danger {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
  color: white;
}

.badge-muted {
  background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
  color: white;
}

/* Status Colors */
.status-secondary {
  background: rgba(108, 117, 125, 0.1);
  color: #6c757d;
}

.status-info {
  background: rgba(23, 162, 184, 0.1);
  color: #17a2b8;
}

.status-success {
  background: rgba(40, 167, 69, 0.1);
  color: #28a745;
}

.status-danger {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
}

.status-muted {
  background: rgba(108, 117, 125, 0.1);
  color: #6c757d;
}

/* ═══════════════════════════════════════════════════════════════════════════
 * 📚 JOURNALS SECTION - قسم المجلات العلمية
 * ═══════════════════════════════════════════════════════════════════════════ */

.journals-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.journals-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1e3c72 0%, #2a5298 50%, #47b2e4 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-subtitle {
  font-size: 18px;
  color: #6c757d;
  margin-top: 15px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ━━━━━━━━━━━━━ Journals Grid ━━━━━━━━━━━━━ */
.journals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

@media (max-width: 767px) {
  .journals-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ━━━━━━━━━━━━━ Journal Card ━━━━━━━━━━━━━ */
.journal-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: flex;
  flex-direction: column;
}

.journal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #1e3c72 0%, #2a5298 50%, #47b2e4 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.journal-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(30, 60, 114, 0.15);
}

.journal-card:hover::before {
  transform: scaleX(1);
}

/* ━━━━━━━━━━━━━ Card Header ━━━━━━━━━━━━━ */
.journal-card-header {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  padding: 30px;
  text-align: center;
  position: relative;
}

.journal-logo {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  padding: 15px;
  transition: all 0.3s ease;
}

.journal-card:hover .journal-logo {
  transform: scale(1.1) rotate(5deg);
}

.journal-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.journal-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: 30px;
  color: white;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.journal-badge i {
  font-size: 16px;
  color: #ffd700;
}

/* ━━━━━━━━━━━━━ Card Body ━━━━━━━━━━━━━ */
.journal-card-body {
  padding: 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.journal-title {
  font-size: 22px;
  font-weight: 700;
  color: #1e3c72;
  margin-bottom: 15px;
  line-height: 1.4;
  min-height: 60px;
}

.journal-issn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  background: linear-gradient(135deg, #e9ecef 0%, #f8f9fa 100%);
  border-radius: 10px;
  margin-bottom: 20px;
  font-weight: 600;
  color: #495057;
  border-left: 4px solid #2a5298;
}

.journal-issn i {
  color: #2a5298;
  font-size: 18px;
}

.journal-description {
  font-size: 15px;
  line-height: 1.7;
  color: #6c757d;
  margin-bottom: 25px;
  text-align: justify;
}

/* ━━━━━━━━━━━━━ Journal Scope ━━━━━━━━━━━━━ */
.journal-scope {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
  border: 1px solid #dee2e6;
}

.journal-scope h4 {
  font-size: 16px;
  font-weight: 700;
  color: #1e3c72;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.journal-scope h4 i {
  color: #47b2e4;
}

.journal-scope ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.journal-scope ul li {
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
  color: #495057;
  font-size: 14px;
  line-height: 1.5;
}

.journal-scope ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #2a5298;
  font-weight: bold;
}

/* ━━━━━━━━━━━━━ Journal Features ━━━━━━━━━━━━━ */
.journal-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: auto;
}

.feature-item {
  text-align: center;
  padding: 12px 8px;
  background: linear-gradient(135deg, #e3f2fd 0%, #f8f9fa 100%);
  border-radius: 10px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.feature-item:hover {
  background: linear-gradient(135deg, #47b2e4 0%, #2a5298 100%);
  color: white;
  border-color: #1e3c72;
  transform: translateY(-3px);
}

.feature-item i {
  display: block;
  font-size: 24px;
  color: #2a5298;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.feature-item:hover i {
  color: white;
  transform: scale(1.1);
}

.feature-item span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #495057;
  transition: color 0.3s ease;
}

.feature-item:hover span {
  color: white;
}

/* ━━━━━━━━━━━━━ Card Footer ━━━━━━━━━━━━━ */
.journal-card-footer {
  padding: 25px 30px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-top: 1px solid #dee2e6;
  display: flex;
  gap: 15px;
}

.btn-journal-view,
.btn-journal-submit {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  text-align: center;
}

.btn-journal-view {
  background: white;
  color: #2a5298;
  border-color: #2a5298;
}

.btn-journal-view:hover {
  background: #2a5298;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(42, 82, 152, 0.3);
}

.btn-journal-submit {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
  box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.btn-journal-submit:hover {
  background: linear-gradient(135deg, #20c997 0%, #28a745 100%);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(40, 167, 69, 0.4);
}

.btn-journal-view i,
.btn-journal-submit i {
  font-size: 16px;
}

@media (max-width: 480px) {
  .journal-card-footer {
    flex-direction: column;
    gap: 10px;
  }
}

/* ━━━━━━━━━━━━━ Submission Guide ━━━━━━━━━━━━━ */
.submission-guide {
  margin-top: 40px;
}

.guide-card {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  display: flex;
  gap: 30px;
  align-items: flex-start;
  border-left: 5px solid #2a5298;
}

.guide-icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(30, 60, 114, 0.3);
}

.guide-icon i {
  font-size: 36px;
  color: white;
}

.guide-content {
  flex: 1;
}

.guide-content h3 {
  font-size: 24px;
  font-weight: 700;
  color: #1e3c72;
  margin-bottom: 20px;
}

.guide-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 15px;
}

.guide-content ul li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 15px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 10px;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.guide-content ul li:hover {
  background: linear-gradient(135deg, #e3f2fd 0%, #f8f9fa 100%);
  border-left-color: #47b2e4;
  transform: translateX(5px);
}

.guide-content ul li i {
  flex-shrink: 0;
  font-size: 20px;
  color: #28a745;
  margin-top: 2px;
}

.guide-content ul li span {
  font-size: 15px;
  line-height: 1.6;
  color: #495057;
}

@media (max-width: 767px) {
  .guide-card {
    flex-direction: column;
    padding: 30px 20px;
    text-align: center;
  }

  .guide-icon {
    margin: 0 auto;
  }

  .guide-content ul li {
    flex-direction: column;
    text-align: center;
  }
}

/* ══════════════════════════════════════════════════════════════════════════════
 * END OF STYLESHEET
 * © 2025 Al-Ayen Iraqi University
 * Made with ❤️ for Excellence by MSc. Karrar Musawi
 * ══════════════════════════════════════════════════════════════════════════════ */
