/* استيراد خط القاهرة المفضّل للمواقع العربية الفخمة */
@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;900&display=swap");

:root {
  /* لوحة الألوان الرسمية بناءً على الصورة المرفقة */
  --primary-color: #3f0d43; /* Dark Purple - 60% */
  --secondary-color: #cf0164; /* Magenta - 30% */
  --light-bg: #ffffff; /* White - 10% */
  --dark-text: #212529;
  --gray-muted: #f8f9fa;
  --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

body {
  font-family: "Cairo", sans-serif;
  background-color: var(--light-bg);
  color: var(--dark-text);
  overflow-x: hidden;
}

/* التنسيقات العامة واللمسات الراقية */
.text-primary-custom {
  color: var(--primary-color);
}
.text-secondary-custom {
  color: var(--secondary-color);
}
.bg-primary-custom {
  background-color: var(--primary-color);
}
.bg-secondary-custom {
  background-color: var(--secondary-color);
}

/* تأثيرات الهيدر والنايجيتور */
.navbar {
  background-color: rgba(63, 13, 67, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  transition: var(--transition-smooth);
}

.navbar-brand img {
  filter: drop-shadow(0px 2px 5px rgba(0, 0, 0, 0.2));
}

.nav-link {
  color: #ffffff !important;
  margin: 0 5px;
  position: relative;
  transition: var(--transition-smooth);
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  right: 50%;
  background-color: var(--secondary-color);
  transition: var(--transition-smooth);
}

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

/* واجهة البطل (Hero Section) */
.hero-section , .hero-section-event {
  background-image: url(../image/home.jpg);
  background-position: center;
  color: white;
  padding: 160px 0 100px 0;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0% 100%);
}

.hero-section-event{
  background-image: none;
  background-color: #1a031c;
}
.hero-section::before{
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #3f0d43ba;
  z-index: -2;
}


/* leadership */
.leader-card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.107);
  overflow: hidden;
  cursor: pointer;
  transition: all .6s ease
}
.leader-card:hover{
  transform: scale(1.02);
  background-color: var(--primary-color);
  color: white !important;
}
.leader-card h5{
  transition: .5s;
}
.leader-card:hover h5{
  color: white !important;
}

.leader-img-placeholder{
  width: 100%;
  height: 250px;
  overflow:hidden ;
}

.leader-img-placeholder img{
  width: 100%;
  height: 100%;
}

/* تحسينات إضافية متوافقة مع ألوان الصورة الأولى */
.timeline-content {
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

.timeline-content:hover {
    background-color: rgba(207, 1, 100, 0.15) !important;
    transform: translateX(5px);
}


/* بطاقات اللجان والمكاتب الفخمة */
.custom-card {
  border: none;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.custom-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 16px;
  z-index: -1;
  opacity: 0;
  transition: var(--transition-smooth);
}

.custom-card:hover {
  transform: translateY(-10px);
  color: #ffffff !important;
}

.custom-card:hover p,
.custom-card:hover li {
  color: #fff !important;
}

.custom-card:hover::before {
  opacity: 1;
}

.custom-card:hover .text-primary-custom,
.custom-card:hover .text-secondary-custom,
.custom-card:hover .card-title {
  color: #ffffff !important;
}

.custom-card:hover .icon-box {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.icon-box {
  width: 65px;
  height: 65px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  background-color: rgba(63, 13, 67, 0.1);
  color: var(--primary-color);
  transition: var(--transition-smooth);
}
/* العدادات  */
.stat-section {
  font-family: "Cairo", sans-serif; /* أو أي خط عربي تستخدمه */
  cursor: pointer;
}
.stat-card {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  border-bottom: 4px solid var(--secondary-color); /* لمسة باللون الأخضر في الأسفل */
}
.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}
.stat-icon svg {
  color: var(--secondary-color) !important;
}

/* بطاقات الفعاليات السابقة */
.event-card {
  border: none;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(63, 13, 67, 0.15);
}

.event-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 200px;
  background-color: #eaeaea;
}

.event-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(45deg, #e9ecef, #f8f9fa);
  color: #6c757d;
}

.event-img-placeholder img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.event-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--secondary-color);
  color: white;
  padding: 5px 15px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
}

/* الزر العائم للواتساب */
.email-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: var(--secondary-color);
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.email-float:hover {
  transform: scale(1.1) rotate(15deg);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* تخصيص الفوتر */
footer {
  background-color: #1a031c;
  color: #e0e0e0;
  padding: 40px 0;
  border-top: 4px solid var(--secondary-color);
}

/* الموبايل أولاً وتجاوب التصميم */
@media (max-width: 768px) {
  .hero-section {
    padding: 120px 0 70px 0;
    text-align: center;
  }
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    font-size: 24px;
  }
}
/* تنسيق زر عرض جميع الفعاليات المطور */
.btn-view-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 35px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #200522 100%);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 16px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(63, 13, 67, 0.2);
  transition: var(--transition-smooth);
  border: 2px solid transparent;
}

.btn-view-all i {
  transition: var(--transition-smooth);
}

.btn-view-all:hover {
  background: transparent;
  color: var(--primary-color) !important;
  border-color: var(--primary-color);
  box-shadow: 0 15px 30px rgba(63, 13, 67, 0.1);
  transform: translateY(-3px);
}

.btn-view-all:hover i {
  transform: translateX(-5px);
}


/* founding */
/* Founding Section Styles */
:root {
  --founding-bg: #ffffff;           /* خلفية القسم */
  --founding-card-bg: #ffffff;      /* خلفية الكرت */
  --founding-primary: #3f0d43;      /* اللون الأساسي */
  --founding-text: #05080b;         /* لون النص الأساسي */
  --founding-text-light: #6b7280;   /* لون النص الثانوي */
  --founding-accent: #cf0164;       /* لون التمييز */
}

.founding-section {
  padding: 40px 20px 20px;
  background-color: var(--founding-bg);
  direction: rtl;
}

.founding-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 90px;
}

/* صورة المؤسس */
.founding-image {
  flex: 1;
  position: relative;
}

.founding-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.1));
  /* عشان الصورة بدون خلفية تظهر نظيفة */
}

/* تأثير خلف الصورة */
.founding-image::before {
  content: '';
  position: absolute;
  width: 90%;
  height: 90%;
  background: var(--founding-primary);
  opacity: 0.4;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  top: -20px;
  right: -20px;
  z-index: -1;
  animation: morph 8s ease-in-out infinite;
}

@keyframes morph {
  0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
  50% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
  100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}

/* محتوى النص */
.founding-content {
  flex: 1.2; 
}

.founding-label {
  display: inline-block;
  color: var(--founding-primary);
  font-size: 28px;
  font-weight: 700;
  font-weight: 600;
  margin-bottom: 6px;
  background: var(--founding-primary);
  background: linear-gradient(90deg, var(--founding-primary), var(--founding-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.founding-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--founding-text);
  margin-bottom: 14px;
  line-height: 1.2;
}

.founding-text {
  font-size: 18px;
  line-height: 1.8;
  color: var(--founding-text-light);
  margin-bottom: 10px;
}



/* Responsive للموبايل */
@media (max-width: 768px) {
  .founding-container {
    flex-direction: column;
    gap: 40px;
  }
  
  .founding-content {
    margin-top: 0;
    text-align: center;
  }

  .founding-text{
    text-align: start;
  }
  
  .founding-title {
    font-size: 32px;
  }
  
}

/* member */
/* Membership Section Styles */
.membership-section {
  padding: 40px 20px;
  background-color: #f9fafb;
  direction: ltr;
}

.membership-container {
  max-width: 900px;
  margin: 0 auto;
}

.membership-header {
  text-align: center;
  margin-bottom: 60px;
}

.membership-title {
  font-size: 42px;
  font-weight: 800;
  color: var(--secondary-color);
  margin: 0 0 12px 0;
}

.membership-subtitle {
  font-size: 18px;
  color: #4b5563;
  margin: 0;
}

.membership-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.membership-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.membership-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.card-text {
  font-size: 16px;
  line-height: 1.7;
  color: #4b5563;
  margin: 0;
}

.card-list {
  margin: 0;
  padding-left: 20px;
  list-style-type: disc;
}

.card-list li {
  font-size: 16px;
  line-height: 1.8;
  color: #4b5563;
  margin-bottom: 10px;
}

.card-list li:last-child {
  margin-bottom: 0;
}

.card-label {
  font-weight: 600;
  color: #111827;
  margin: 16px 0 8px 0;
}

.card-note {
  font-size: 14px;
  color: #4b5563;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed #e5e7eb;
  font-style: italic;
}

/* كروت التحذير للتعليق والسحب */
.danger-card {
  background: #fef2f2;
  border-color: #cf0164;
}

.danger-card .card-title {
  color: #cf0164;
}

/* Responsive */
@media (max-width: 768px) {
  .membership-grid {
    grid-template-columns: 1fr;
  }
  
  .membership-title {
    font-size: 32px;
  }
  
  .membership-card {
    padding: 24px;
  }
}
