
/* تصميم عام للصفحة */
body {
  font-family: 'Droid Arabic Kufi', sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background-attachment: fixed;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

/* تحسين شريط التنقل */
.navbar {
  background: linear-gradient(45deg, #1e3c72, #2a5298) !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.navbar-brand {
  font-weight: bold;
  font-size: 1.3rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.nav-link {
  position: relative;
  transition: all 0.3s ease;
  margin: 0 5px;
  border-radius: 20px;
  padding: 8px 15px !important;
}

.nav-link:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
  color: #fff !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background: #ffd700;
  transition: all 0.3s ease;
}

.nav-link:hover::after {
  width: 80%;
  left: 10%;
}

/* تحسين الكاروسيل */
.carousel {
  max-width: 900px;
  margin: 30px auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
  position: relative;
}

.carousel-item img {
  height: 400px;
  object-fit: cover;
  filter: brightness(0.8);
  transition: all 0.5s ease;
}

.carousel-item:hover img {
  filter: brightness(1);
  transform: scale(1.05);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0,0,0,0.7) !important;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  transition: all 0.3s ease;
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
  background-color: rgba(0,0,0,0.9) !important;
  transform: scale(1.1);
}

/* أقسام المحتوى */
.content-section {
  background: rgba(255,255,255,0.95);
  margin: 30px auto;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  max-width: 1000px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
}

.section-title {
  color: #2c3e50;
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(45deg, #667eea, #764ba2);
  border-radius: 2px;
}

/* بطاقات الخدمات */
.service-card {
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
  border: none;
  border-radius: 15px;
  padding: 30px;
  margin: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: all 0.5s ease;
}

.service-card:hover::before {
  left: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.service-icon {
  font-size: 3rem;
  color: #667eea;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.2) rotate(5deg);
  color: #764ba2;
}

/* إحصائيات */
.stats-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 60px 0;
  margin: 40px 0;
}

.stat-item {
  text-align: center;
  padding: 20px;
}

.stat-number {
  font-size: 3rem;
  font-weight: bold;
  display: block;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.stat-label {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* تحسين الفوتر */
.footer {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%) !important;
  color: #fff;
  padding: 40px 20px;
  text-align: center;
  font-size: 16px;
  margin-top: 50px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #667eea, #764ba2, #667eea);
}

.footer a {
  color: #ffd700 !important;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer a:hover {
  color: #fff !important;
  text-shadow: 0 0 10px #ffd700;
}

/* تأثيرات الحركة */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

/* تحسين الاستجابة */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
  
  .service-card {
    margin: 10px 0;
  }
  
  .carousel {
    margin: 20px 10px;
  }
  
  .content-section {
    margin: 20px 10px;
    padding: 20px;
  }
  
  .stat-number {
    font-size: 2rem;
  }
}

/* تأثيرات إضافية */
.btn-custom {
  background: linear-gradient(45deg, #667eea, #764ba2);
  border: none;
  color: white;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: bold;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
  color: white;
}

.logo {
  max-width: 180px;
  border-radius: 20px;
}

.section {
  padding: 60px 20px;
}

.icon {
  font-size: 40px;
  color: #007bff;
  margin-bottom: 15px;
}
