/* إعداد عام */
body {
  margin: 0;
  font-family: 'Cairo', sans-serif;
  direction: rtl;
  background-color: #fff;
  color: #333;
 
}

/* ===== قسم الواجهة ===== */
.about-header {
  position: relative;
  background: url('../images/about.png') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 120px 20px;
  overflow: hidden;
}


.about-header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.25);
  z-index: 1;
}

.about-header .content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.about-header h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.about-header p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #f5f5f5;
}

.vision-section {
  background: #faf6ff;
  padding: 80px 0;
}

.vision-section .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: auto;
  gap: 40px;
}

.vision-text {
  flex: 1 1 50%;
  direction: var(--dir, rtl);
  text-align: var(--align, right);
}

.vision-text h2 {
  color: #8A2A8D;
  font-size: 2rem;
  margin-bottom: 20px;
}

.vision-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 20px;
}

.goals-list {
  list-style: none;
  padding: 0;
}

.goals-list li {
  background: #fff;
  border-left: 5px solid #F36E21;
  margin-bottom: 10px;
  padding: 10px 15px;
  border-radius: 10px;
  font-weight: 500;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.goals-list li:hover {
  background: linear-gradient(90deg, #F36E21, #8A2A8D);
  color: #fff;
}

.vision-image img {
  width: 100%;
  max-width: 450px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
/* قسم فريق العمل */
.team-section {
  background: linear-gradient(135deg, #f37b83, #ffb16f);
  color: #fff;
  text-align: center;
  padding: 80px 20px;
}

.team-section .section-title {
  font-size: 2.2em;
  margin-bottom: 10px;
  font-weight: 700;
}

.team-section .section-subtitle {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #fffdfd;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.team-card {
  background: #fff;
  color: #444;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* صورة العضو */
.team-image {
  position: relative;
  overflow: hidden;
}

.team-image img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
  transition: transform 0.4s ease;
}

/* عند المرور: تكبير الصورة قليلاً */
.team-card:hover img {
  transform: scale(1.1);
}

/* تأثير الأيقونات */
.social-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(243,123,131,0.8), rgba(255,177,111,0.8));
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.team-card:hover .social-overlay {
  opacity: 1;
}

.social-overlay a {
  color: #fff;
  background: rgba(255,255,255,0.2);
  padding: 10px;
  border-radius: 50%;
  font-size: 1.1em;
  transition: background 0.3s ease, transform 0.3s ease;
}

.social-overlay a:hover {
  background: #fff;
  color: #f37b83;
  transform: scale(1.2);
}

.team-card h3 {
  margin: 15px 0 5px;
  color: #f37b83;
}

.team-card p {
  color: #666;
  font-size: 0.95em;
}
/* قسم الشركاء */
/* قسم الشركاء */
.partners-section {
  background: #fff7f5;
  text-align: center;
  padding: 80px 20px;
}

.section-title {
  color: #f37b83;
  font-size: 2.2em;
  margin-bottom: 10px;
}

.section-subtitle {
  color: #666;
  font-size: 1.1em;
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.partner-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  padding: 25px;
  transition: all 0.3s ease;
}

.partner-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.partner-card img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.partner-card:hover img {
  transform: scale(1.1);
}

.partner-card h3 {
  color: #f37b83;
  margin-bottom: 8px;
}

.partner-card p {
  color: #555;
  font-size: 0.95em;
  line-height: 1.6;
}

.partner-btn {
  display: inline-block;
  background: linear-gradient(135deg, #f37b83, #ffb16f);
  color: #fff;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 600;
  transition: background 0.3s ease;
  text-decoration: none;
}

.partner-btn:hover {
  background: linear-gradient(135deg, #ffb16f, #f37b83);
}
/* قسم اتصل بنا */
/* قسم اتصل بنا - تصميم عصري */
.contact-modern {
  background: #f9fafc;
  padding: 100px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 60px;
  max-width: 1100px;
  width: 100%;
  background: #fff;
  border-radius: 25px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  overflow: hidden;
  padding: 50px;
}

.contact-text {
  color: #333;
}

.contact-modern .section-title {
  font-size: 2em;
  color: #f37b83;
  margin-bottom: 15px;
}

.contact-modern .section-subtitle {
  font-size: 1.05em;
  margin-bottom: 30px;
  color: #555;
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #666;
  font-size: 1em;
}

.contact-item i {
  color: #f37b83;
  font-size: 1.2em;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border-radius: 12px;
  border: 1px solid #ddd;
  font-size: 1em;
  outline: none;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #f37b83;
  box-shadow: 0 0 8px rgba(243,123,131,0.2);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.send-btn {
  background: linear-gradient(135deg, #f37b83, #ffb16f);
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
}

.send-btn:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #ffb16f, #f37b83);
}
    .hero-scroll {
    background: linear-gradient(rgba(82, 80, 80, 0.663), rgba(120, 2, 122, 0.708)), url('images/img1.jfif');
            background-size: cover;
            background-position: center;
            color: white;
            text-align: center;
            padding: 80px 20px;
            margin-bottom: 40px;
            border-radius: 0 0 20px 20px;
}

.hero-header h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.hero-header p {
  font-size: 1.1rem;
  opacity: 0.8;
  margin-bottom: 30px;
}

/* شريط الأخبار */
.news-marquee {
  display: flex;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.news-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100%;
  background: linear-gradient(to left, rgba(30, 60, 114, 1), transparent);
  z-index: 2;
}

.news-marquee-content {
  display: inline-flex;
  animation: scrollLeft 25s linear infinite;
}

.news-item {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 10px 40px;
  background: rgba(255, 255, 255, 0.1);
  margin-right: 30px;
  border-radius: 12px;
  min-width: 400px;
  transition: transform 0.3s ease;
}

.news-item:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.2);
}

.news-item img {
  width: 200px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
}

.news-item h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: #ffcc00;
}

.news-item p {
  font-size: 0.9rem;
  opacity: 0.9;
  max-width: 400px;
}

@keyframes scrollLeft {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* أزرار الترجمة */
.lang-switch {
  position: absolute;
  top: 30px;
  left: 30px;
}

.lang-switch button {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  margin-left: 5px;
  padding: 6px 10px;
  border-radius: 5px;
  cursor: pointer;
}

.lang-switch button:hover {
  background: rgba(255, 255, 255, 0.4);
}
.news-item small {
  font-size: 0.8rem;
  opacity: 0.7;
  display: block;
  margin-top: 5px;
}
/* footer*/
footer.modern-footer {
  background: linear-gradient(135deg, #2a5298, #ff7a00);
  color: #fff;
  padding-top: 50px;
  font-family: "Cairo", sans-serif;
  direction: rtl;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.footer-section {
  flex: 1 1 280px;
  min-width: 250px;
}

.footer-logo {
  width: 100px;
  margin-bottom: 15px;
  filter: drop-shadow(0 3px 5px rgba(0,0,0,0.3));
}

.footer-section h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  border-bottom: 2px solid #fff;
  display: inline-block;
  padding-bottom: 5px;
}

.footer-section p, 
.footer-section li, 
.footer-section a {
  color: #f0f0f0;
  font-size: 0.95rem;
  line-height: 1.7;
  text-decoration: none;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section a:hover {
  color: #ffe082;
  transition: 0.3s;
}

.social-icons {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  flex-wrap: wrap;
 
}

.social-icons a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.facebook { background: #1877f2; }
.instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.youtube { background: #ff0000; }
.tiktok { background: linear-gradient(45deg, #69C9D0, #EE1D52); }
.whatsapp { background: #25D366; }

.social-icons a:hover {
  transform: translateY(-4px) scale(1.1);
}

/* Support Section */
.footer-support {
  background: rgba(0,0,0,0.15);
  text-align: center;
  padding: 20px 10px;
  margin-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.3);
}

.footer-support p {
  margin-bottom: 10px;
  font-weight: 600;
}

.support-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.support-logo img {
 width: 100px;
  background: #ffffff00;
  border-radius: 8px;
  padding: 0px;
}

.support-logo span {
  font-size: 1rem;
  font-weight: 600;
}

/* Bottom Line */
.footer-bottom {
  text-align: center;
  background: rgba(0,0,0,0.25);
  padding: 15px 10px;
  font-size: 0.9rem;
  margin-top: 10px;
}
/* 🎯 تحسين التوافق مع الهاتف */
@media (max-width: 768px) {

  /* ✅ جعل الترويسة متجاوبة */


  /* ✅ أقسام المحتوى */
  .container {
    flex-direction: column;
    padding: 15px;
  }

  .about-content, 
  .vision-text {
    text-align: center;
  }

  .about-image img,
  .vision-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 15px;
  }

  /* ✅ قسم الفريق */
  .team-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .team-card {
    width: 100%;
  }

  /* ✅ قسم الشركاء */
  .partners-grid {
    grid-template-columns: 1fr ;
    gap: 20px;
  }

  .partner-card img {
    width: 100px;
    height: auto;
  }

  /* ✅ قسم التواصل */
  .contact-container {
    flex-direction: column;
    padding: 10px;
  }

  .contact-text, 
  .contact-form {
    width: 100%;
  }

  /* ✅ الفوتر */
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .support-logo {
    flex-direction: column;
    gap: 15px;
  }

  .support-logo img {
    width: 80px;
  }
}
