:root {
            --primary: #8A2BE2;
            --primary-light: #9d45e5;
            --secondary: #FF69B4;
            --secondary-light: #ff85c2;
            --accent: #9370DB;
            --light: #f8f4ff;
            --dark: #4B0082;
            --text: #333333;
            --text-light: #666666;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            background-color: #f9f9f9;
            color: var(--text);
            line-height: 1.6;
        }
        
        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }
        
        /* الترويسة */
       /* إعداد عام */
body {
  font-family: "Cairo", sans-serif;
  margin: 0;
  background: #fff9f8;
  color: #333;
}
header {
  background: linear-gradient(90deg, #ee6c4d, #9b5de5);
  color: white;
  padding: 20px 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 150px;
  height: 50px;
  border-radius: 10%;
   align-items: left;

}

.navbar ul {
  display: flex;
  list-style: none;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.navbar a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}
.navbar a {
  color: white;
  text-decoration: none;
  padding: 8px 15px;
  transition: 0.3s;
}

.navbar a:hover {
  color: #ffb366;
}

.navbar a.active-link {
  background-color: #ff8b42; /* اللون البرتقالي */
  color: white;
  border-radius: 8px;
}


.language-switch button {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  margin-left: 5px;
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
}

.language-switch button.active {
  background-color: #fa892c;
  border-color: #fa892c;
}

        
        /* قسم الهيرو */
        .hero {
            background: linear-gradient(rgba(138, 43, 226, 0.8), rgba(75, 0, 130, 0.9)), url('https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80');
            background-size: cover;
            background-position: center;
            color: white;
            text-align: center;
            padding: 80px 20px;
            margin-bottom: 40px;
            border-radius: 0 0 20px 20px;
        }
        
        .hero h2 {
            font-size: 2.5rem;
            margin-bottom: 20px;
        }
        
        .hero p {
            font-size: 1.2rem;
            max-width: 800px;
            margin: 0 auto 30px;
        }
        
        /* الأقسام */
        .section-title {
            text-align: center;
            margin: 40px 0 30px;
            position: relative;
        }
        
        .section-title h2 {
           
            font-size: 2rem;
            color: var(--dark);
            padding-bottom: 0px;
            position: relative;
        }
        
        
        
        .activities-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 25px;
            margin-bottom: 50px;
        }
        
        .activity-card {
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            transition: transform 0.3s, box-shadow 0.3s;
        }
        
        .activity-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
        }
        
        .card-icon {
            background: linear-gradient(135deg, var(--primary), var(--accent));
            color: white;
            font-size: 2.5rem;
            padding: 25px;
            text-align: center;
        }
        
        .card-content {
            padding: 25px;
        }
        
        .card-content h3 {
            color: var(--dark);
            margin-bottom: 15px;
            font-size: 1.4rem;
        }
        
        .card-content ul {
            list-style: none;
            margin-top: 15px;
        }
        
        .card-content ul li {
            margin-bottom: 10px;
            padding-right: 20px;
            position: relative;
        }
        
        .card-content ul li::before {
            content: '•';
            color: var(--secondary);
            font-weight: bold;
            position: absolute;
            right: 0;
        }
        
        .btn {
            display: inline-block;
            background: linear-gradient(to right, var(--primary), var(--secondary));
            color: white;
            padding: 12px 25px;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s;
            border: none;
            cursor: pointer;
            margin-top: 15px;
        }
        
        .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 7px 15px rgba(138, 43, 226, 0.4);
        }
        
        .btn-outline {
            background: transparent;
            border: 2px solid var(--primary);
            color: var(--primary);
        }
        
        .btn-outline:hover {
            background: var(--primary);
            color: white;
        }
        
        /* صفحات التفاصيل */
        .detail-page {
            display: none;
            animation: fadeIn 0.5s ease;
        }
        
        .detail-header {
            background: linear-gradient(135deg, var(--primary), var(--dark));
            color: white;
            padding: 40px 0;
            margin-bottom: 40px;
            border-radius: 0 0 20px 20px;
        }
        
        .detail-content {
            background: white;
            border-radius: 12px;
            padding: 30px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            margin-bottom: 30px;
        }
        
        .detail-content h3 {
            color: var(--dark);
            margin: 25px 0 15px;
            padding-bottom: 10px;
            border-bottom: 2px solid var(--light);
        }
        
        .detail-content h3:first-child {
            margin-top: 0;
        }
        
        .program-list {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 15px;
            margin: 20px 0;
        }
        
        .program-item {
            background: var(--light);
            padding: 15px;
            border-radius: 8px;
            border-right: 4px solid var(--secondary);
        }
        
        .back-btn {
            display: inline-flex;
            align-items: center;
            background: var(--light);
            color: var(--dark);
            padding: 10px 20px;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s;
            margin-bottom: 20px;
        }
        
        .back-btn i {
            margin-right: 8px;
        }
        
        .back-btn:hover {
            background: var(--primary);
            color: white;
        }
        
     
        /* التجاوب مع الشاشات المختلفة */
        @media (max-width: 768px) {
            .logo-container {
                flex-direction: column;
                text-align: center;
            }
            
            nav ul {
                margin-top: 20px;
                flex-wrap: wrap;
                justify-content: center;
            }
            
            nav ul li {
                margin: 5px 10px;
            }
            
            .hero h2 {
                font-size: 2rem;
            }
            
            .hero p {
                font-size: 1rem;
            }
            
            .program-list {
                grid-template-columns: 1fr;
            }
        }
        
        /* Animations */
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        /* قسم الانشطة- */

.activities-section {
  padding: 80px 0;
  background: #f9f9fb;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  color: #333;
  margin-bottom: 30px;
  position: relative;
}

.filter-buttons {
  margin-bottom: 40px;
}

.filter-btn {
  border: none;
  background: #ddd;
  color: #333;
  padding: 10px 20px;
  margin: 5px;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: bold;
}

.filter-btn.active, .filter-btn:hover {
  background: linear-gradient(90deg, #e87b36, #c7509f);
  color: white;
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  padding: 0 30px;
}

.activity-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.activity-card:hover {
  transform: scale(1.03);
}

.activity-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  filter: brightness(70%);
  transition: all 0.4s ease;
}

.activity-card:hover img {
  filter: brightness(50%);
}

.card-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  color: #fff;
  padding: 20px;
  background: linear-gradient(0deg, rgba(0,0,0,0.8), transparent);
  text-align: center;
}

.card-overlay h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.card-overlay p {
  font-size: 0.95rem;
}
/* photo section */
 .slider-section {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.slider-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.slides {
  display: flex;
  width: 400%;
  height: 100%;
  transition: transform 1s ease-in-out;
}

.slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

.slider-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0,0,0,0.2));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.slider-overlay h2 {
  color: #fff;
  font-size: 2rem;
  text-align: center;
  margin: 10px 0;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.title-ar {
  direction: rtl;
  font-family: "Cairo", sans-serif;
}

.title-fr {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  opacity: 0.9;
}
.activities-gallery {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 60px 5%;
  background: linear-gradient(135deg, #fef8f4, #faf3ff);
}

.text-content {
  flex: 1 1 350px;
  max-width: 400px;
}

.text-content h2 {
  font-size: 2rem;
  color: #4a148c;
  margin-bottom: 15px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.text-content p {
  color: #444;
  line-height: 1.7;
  margin-bottom: 10px;
  font-size: 1rem;
}

.image-grid {
  flex: 1 1 550px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  position: relative;
}

.img-box {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  transition: all 0.4s ease;
  cursor: pointer;
}

.img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s ease;
}

/* أحجام مختلفة */
.img-box.small { grid-row: span 1; height: 150px; }
.img-box.medium { grid-row: span 2; height: 250px; }
.img-box.large { grid-row: span 3; height: 350px; }

/* التأثير عند المرور */
.img-box:hover {
  transform: scale(1.3);
  z-index: 10;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.img-box:hover img {
  filter: brightness(1.1);
}

/* تحسين المظهر للهاتف */
@media (max-width: 768px) {
  .activities-gallery {
    flex-direction: column;
    gap: 30px;
  }

  .image-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .text-content {
    text-align: center;
  }
}
/* objectifs */
.goals-section {
  background: linear-gradient(to bottom right, #fff5f0, #ffe3ff);
  padding: 60px 20px;
  text-align: center;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin: 60px auto;
  max-width: 900px;
  transition: all 0.3s ease;
}

.goals-section:hover {
  transform: scale(1.02);
}

.title {
  font-size: 2rem;
  color: #9b2fae;
  margin-bottom: 40px;
  font-weight: bold;
}

.goals-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.goal {
  background: white;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  font-size: 1.1rem;
  color: #333;
}

.goal:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(155, 47, 174, 0.2);
}

.lang-switch {
  margin-top: 40px;
}

.lang-switch button {
  background: #9b2fae;
  color: white;
  border: none;
  border-radius: 25px;
  padding: 10px 20px;
  margin: 0 10px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.lang-switch button:hover {
  background: #bb4fcf;
}
/* section inviter*/
.participation-section {
  background: linear-gradient(to right, rgba(155, 47, 174, 0.9), rgba(255, 140, 0, 0.8)), 
              url('images/women-group.jpg') center/cover no-repeat;
  color: white;
  padding: 100px 20px;
  text-align: center;
  border-radius: 25px;
  position: relative;
  overflow: hidden;
}

.participation-section::before {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(6px);
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.cta-text {
  font-size: 1.2rem;
  margin-bottom: 40px;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-btn {
  background: white;
  color: #9b2fae;
  font-weight: bold;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  background: #f7f2ff;
  transform: translateY(-3px);
}

.cta-btn.secondary {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.cta-btn.secondary:hover {
  background: white;
  color: #9b2fae;
}

.lang-switch {
  margin-top: 40px;
}

.lang-switch button {
  background: white;
  color: #9b2fae;
  border: none;
  border-radius: 25px;
  padding: 10px 20px;
  margin: 0 10px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.lang-switch button:hover {
  background: #f7e0ff;
}
