/* إعداد عام */
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;
}


/* About Section */
.about {
    padding: 80px 20px;
    background: #f5f5f5; /* خلفية فاتحة لتباين مع Hero */
}

.about .container {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.5rem;
    color: #7b3f7b; /* البنفسجي */
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 20px;
}

.about-text .btn {
    padding: 10px 25px;
    background: #ff9e40; /* برتقالي */
    color: white;
    border-radius: 25px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
}

.about-text .btn:hover {
    background: #7b3f7b;
    color: white;
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .about .container {
        flex-direction: column-reverse;
        text-align: center;
    }
    .about-text h2 {
        font-size: 2rem;
    }
    .about-text p {
        font-size: 1rem;
    }
}
/* قسم الأهداف */
.objectives {
  background-color: #fffafc;
  padding: 80px 0;
  text-align: center;
  direction: rtl;
}

.section-title {
  font-size: 2.2em;
  margin-bottom: 50px;
  color: #7b1fa2; /* بنفسجي من الشعار */
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background-color: #f57c00; /* برتقالي من الشعار */
  margin: 10px auto;
  border-radius: 5px;
}

.objectives-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.objective-box {
  background: #fff;
  border-radius: 15px;
  padding: 30px 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.objective-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.objective-box i {
  font-size: 2.5em;
  color: #f57c00;
  margin-bottom: 15px;
}

.objective-box h3 {
  color: #7b1fa2;
  font-size: 1.3em;
  margin-bottom: 10px;
}

.objective-box p {
  color: #555;
  font-size: 1em;
  line-height: 1.6;
}
/* قسم الأنشطة والمشاريع */
.projects {
  background-color: #fdf6ff;
  padding: 80px 0;
  text-align: center;
  direction: rtl;
}

.projects .section-title {
  color: #7b1fa2; /* بنفسجي */
}

.projects .section-title::after {
  background-color: #f57c00; /* برتقالي */
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.project-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.project-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.project-card h3 {
  color: #7b1fa2;
  margin: 15px 0 10px;
  font-size: 1.2em;
}

.project-card p {
  color: #555;
  font-size: 1em;
  padding: 0 15px 20px;
  line-height: 1.6;
}
.about-section {
  background-color: #fff;
  padding: 80px 0;
}

.about-section .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1100px;
  margin: auto;
}

.about-content {
  flex: 1 1 50%;
  color: #444;
  direction: var(--dir, rtl);
  text-align: var(--align, right);
}

.about-content h2 {
  color: #8A2A8D; /* بنفسجي */
  font-size: 2rem;
  margin-bottom: 20px;
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 15px;
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(90deg, #F36E21, #8A2A8D);
  color: #fff;
  padding: 10px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.btn-primary:hover {
  opacity: 0.9;
}

.about-image img {
  width: 100%;
  max-width: 450px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}


      

        /* WhatsApp Button */
        .whatsapp-btn {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: #25D366;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8rem;
            box-shadow: 0 4px 12px rgba(0,0,0,0.2);
            z-index: 100;
            transition: var(--transition);
        }

        .whatsapp-btn:hover {
            transform: scale(1.1);
        }

        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* RTL Support */
        html[dir="rtl"] {
            text-align: right;
        }

        html[dir="rtl"] .header-container {
            flex-direction: row-reverse;
        }

        html[dir="rtl"] nav ul li {
            margin-left: 0;
            margin-right: 30px;
        }

        html[dir="rtl"] .language-switcher {
            margin-left: 0;
            margin-right: 20px;
        }

        html[dir="rtl"] .hero-btns {
            flex-direction: row-reverse;
        }

        html[dir="rtl"] .about-text h2 {
            text-align: right;
        }

        html[dir="rtl"] .footer-column h3::after {
            left: auto;
            right: 0;
        }

        html[dir="rtl"] .footer-links a:hover {
            padding-left: 0;
            padding-right: 5px;
        }

        html[dir="rtl"] .whatsapp-btn {
            right: auto;
            left: 30px;
        }
        
.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;
  text-align: center
}

.card-overlay p {
  font-size: 0.9rem;
  margin: 30px;
  text-align: center;
}
/* 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;
  }
}
/* قسم الأنشطة والمشاريع */
.projects {
  background-color: #fdf6ff;
  padding: 80px 10PX;
  text-align: center;
  direction: rtl;
}

.projects .section-title {
  color: #7b1fa2; /* بنفسجي */
}

.projects .section-title::after {
  background-color: #f57c00; /* برتقالي */
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.project-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.project-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.project-card h3 {
  color: #7b1fa2;
  margin: 15px 0 10px;
  font-size: 1.2em;
}

.project-card p {
  color: #555;
  font-size: 1em;
  padding: 0 15px 20px;
  line-height: 1.6;
}
/* قسم الصور مع العناوين */
.gallery {
  background-color: #fff7f3;
  padding: 80px 10PX;
  text-align: center;
  direction: rtl;
}

.gallery .section-title {
  color: #7b1fa2; /* بنفسجي */
  font-size: 2em;
  margin-bottom: 40px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(123,31,162,0.85), rgba(0,0,0,0));
  color: #fff;
  text-align: center;
  padding: 20px 10px;
}

.gallery-item h3 {
  font-size: 1.2em;
  color: #fff;
}
/* قسم التواصل والانضمام */
.contact-section {
  background: linear-gradient(135deg, #fdf6ff, #fff4e5);
  padding: 80px 20px;
  text-align: center;
  direction: rtl;
}

.section-title {
  font-size: 2.2em;
  color: #7b1fa2;
  margin-bottom: 10px;
}

.section-subtitle {
  color: #666;
  margin-bottom: 40px;
  font-size: 1.1em;
}

.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 40px 30px;
}

/* معلومات التواصل */
.contact-info {
  flex: 1 1 300px;
  text-align: right;
}

.contact-info h3 {
  color: #f57c00;
  margin-bottom: 15px;
  font-size: 1.5em;
}

.contact-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info li {
  margin-bottom: 12px;
  color: #444;
  font-size: 1.1em;
}

.contact-info i {
  color: #7b1fa2;
  margin-left: 8px;
}

/* أيقونات التواصل الاجتماعي */
.social-links {
  margin-top: 20px;
}

.social-links a {
  display: inline-block;
  margin: 0 8px;
  background-color: #7b1fa2;
  color: #fff;
  width: 38px;
  height: 38px;
  line-height: 38px;
  border-radius: 50%;
  transition: background 0.3s, transform 0.2s;
}

.social-links a:hover {
  background-color: #f57c00;
  transform: scale(1.1);
}

/* نموذج التواصل */
.contact-form {
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-align: right;
}

.contact-form h3 {
  color: #7b1fa2;
  margin-bottom: 10px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1em;
  outline: none;
  transition: border 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #f57c00;
}

.contact-form textarea {
  height: 120px;
  resize: none;
}

.contact-form button {
  background: linear-gradient(90deg, #7b1fa2, #f57c00);
  color: #fff;
  font-weight: bold;
  padding: 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s, opacity 0.3s;
}

.contact-form button:hover {
  opacity: 0.9;
  transform: scale(1.05);
}

/* استجابة الهواتف */
@media (max-width: 768px) {
  .contact-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .contact-info, .contact-form {
    text-align: center;
  }
}










section {
  padding: 60px 10%;
  text-align: center;
}

h2 {
  color: #9b5de5;
  margin-bottom: 20px;
  font-size: 26px;
}

p {
  font-size: 18px;
  line-height: 1.8;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 20px;
  width: 280px;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

footer {
  background: #9b5de5;
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 50px;
}
.team-section {
  background-color: #fff;
  padding: 80px 20px;
  text-align: center;
}

.team-section h2 {
  color: #8A2A8D;
  font-size: 2rem;
  margin-bottom: 10px;
}

.team-section .intro {
  color: #555;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 50px;
  direction: var(--dir, rtl);
  text-align: var(--align, center);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  justify-items: center;
}

.member {
  background: linear-gradient(135deg, #F36E21, #8A2A8D);
  color: #fff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: 0.3s;
}

.member:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.member img {
  width: 100%;
  max-width: 180px;
  height: 180px;
  border-radius: 50%;
  margin-bottom: 15px;
  object-fit: cover;
  border: 4px solid #fff;
}

.member h3 {
  margin: 10px 0 5px;
  font-size: 1.2rem;
}

.member p {
  font-size: 0.95rem;
  opacity: 0.9;
}
.hero-activities {
  position: relative;
  background: linear-gradient(135deg, #ff7b00, #7f00ff);
  color: white;
  text-align: center;
  padding: 140px 20px;
  overflow: hidden;
}

.hero-activities .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('images/activities-bg.jpg') center/cover no-repeat;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: auto;
}

.hero-content .title {
  font-size: 2.5rem;
  margin-bottom: 15px;
  display: none;
}

.hero-content .title.active {
  display: block;
}

.hero-content .description {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 25px;
  display: none;
}

.hero-content .description.active {
  display: block;
}

.buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
  border: none;
  padding: 12px 28px;
  font-size: 1rem;
  border-radius: 30px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.btn-primary {
  background-color: #ff7b00;
  color: white;
}

.btn-secondary {
  background-color: white;
  color: #7f00ff;
}

.btn-primary:hover, .btn-secondary:hover {
  transform: scale(1.05);
}

.language-toggle {
  margin-top: 30px;
}

.language-toggle button {
  background: transparent;
  border: 2px solid white;
  color: white;
  margin: 0 5px;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
}

.language-toggle button.active, 
.language-toggle button:hover {
  background: white;
  color: #7f00ff;
}
/* footer */

/* ==== جعل الهيدر متجاوب مع الهاتف ==== */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  color: white;
  cursor: pointer;
}

@media (max-width: 900px) {
  nav ul {
    display: none;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.15);
    position: absolute;
    top: 60px; /* حسب ارتفاع الهيدر */
    right: 0;
    width: 100%;
    text-align: center;
    padding: 15px 0;
    backdrop-filter: blur(10px);
  }

  nav ul.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  header .container {
    flex-wrap: wrap;
  }
}
        /* ==== جعل الهيدر متجاوب مع الهاتف ==== */
/* === إعدادات عامة للقائمة === */
header nav ul {
  list-style: none;
  display: flex;
  gap: 10px;
  transition: all 0.4s ease;
}

/* 🎯 تحسين التوافق مع الهاتف */
@media (max-width: 768px) {

  /* ✅ جعل الترويسة متجاوبة */
 header nav ul {
  list-style: none;
  display: flex;
  gap: 10px;
  transition: all 0.4s ease;
}

  .navbar ul {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #f77b37fe;
    text-align: center;
    border-radius: 8px;
    padding: 10px 0;
  }

  .navbar ul.active {
    display: flex;
  }

  .navbar ul li {
    margin: 10px 0;
  }

  .menu-toggle {
    display: block;
    cursor: pointer;
    color: white;
    font-size: 1.5em;
  }

  .language-switch {
    margin-top: 10px;
    align-self: center;
  }}