* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Cairo', sans-serif;
  background: linear-gradient(135deg, #4c3c8f 5%, #1b1336 25%);
  color: #fff;
  line-height: 1.6;
  padding-top: 90px;
}

/* هيدر ثابت في الأعلى */
header {
  background: linear-gradient(135deg, #1e1e2f 0%, #4c3c8f 100%);
  padding: 15px 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 25px;
}

header img {
  width: 120px;
  height: auto;
  filter: drop-shadow(0 0 8px #62e0e4b0);
  transition: all 0.3s ease;
}

header h1 {
  color: #ffff;
  font-size: 1.8rem;
  text-shadow: 0 0 10px #62e0e4b7;
  transition: all 0.3s ease;
}

nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

nav a {
  color: #fff;
  margin: 0 8px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 8px 15px;
  border-radius: 30px;
  transition: all 0.3s ease;
  position: relative;
}

nav a:hover {
  background: rgba(98, 224, 228, 0.2);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: #62e0e4;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 70%;
}

/* زر القائمة للأجهزة الصغيرة */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #62e0e4;
  font-size: 1.8rem;
  cursor: pointer;
}

.hero {
  padding: 100px 20px 80px;
  text-align: center;
  background: linear-gradient(135deg, #4c3c8f 0%, #62e0e4 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #62e0e4cc 0%, #4c3c8f 66%);
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 25px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease;
}

.hero p {
  font-size: 1.4rem;
  max-width: 700px;
  margin: 0 auto 30px;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}





.hero-btn {
  display: inline-block;
  background: linear-gradient(135deg, #25d366, #128C7E);
  color: #ffffff;
  padding: 14px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(14, 236, 252, 0.26);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.hero-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  background: #1bafaf;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 25px rgba(98, 37, 211, 0.6);
}

.features, .departments, .testimonials, .contact, .faq {
  padding: 80px 20px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  transition: all 0.3s ease;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: #ffffff;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: #62e0e4;
  border-radius: 2px;
}

.features-grid, .departments-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  transition: all 0.3s ease;
}

.feature, .department {
  background: linear-gradient(135deg, #36266e 0%, #7190f5 100%);
  padding: 30px 20px;
  border-radius: 15px;
  width: 270px;
  box-shadow: 0 8px 20px #62e0e442;
  transition: all 0.4s ease;
  border: 1px solid rgba(98, 224, 228, 0.2);
}
.feature:hover {
  background: #1bafaf;
  color: #eae8ee;
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(98, 224, 228, 0.4);
}

.feature:hover, .department:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(98, 224, 228, 0.2);
  border-color: rgba(98, 224, 228, 0.4);
  background: #1bafaf;
}

.feature {
  font-size: 1.2rem;
  font-weight: 600;
}

.department {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  transition: all 0.3s ease;
}

.testimonials {
  background: linear-gradient(135deg, #4c3c8f 0%, #1bafaf 70%);
  border-radius: 20px;
  margin: 40px auto;
  max-width: 1100px;
}

.testimonial-card {
  background: rgba(61, 11, 85, 0.068);
  border-radius: 15px;
  padding: 30px;
  margin: 20px auto;
  max-width: 800px;
  border: 1px solid rgba(98, 224, 228, 0.2);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.testimonial-card p {
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  color: #62e0e4;
  font-weight: 700;
}

.faq {
  background: linear-gradient(135deg, #4c3c8f 0%, #1bafaf 70%);
  border-radius: 20px;
  margin: 40px auto;
  max-width: 1100px;
}

.faq-item {
  background: rgba(57, 20, 117, 0.281);
  border-radius: 12px;
  padding: 20px;
  margin: 20px auto;
  max-width: 800px;
  text-align: right;
  border-left: 4px solid #62e0e4;
}

.faq-item p {
  font-size: 1.1rem;
  margin: 10px 0;
}

.contact {
    background: linear-gradient(135deg, #62e0e4 0%, #4c3c8f 50%);
    border-radius: 20px;
  border-radius: 20px;
  margin: 40px auto;
  max-width: 900px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.cta {
  margin-top: 40px;
  max-width: 600px;
  margin: 40px auto;
}

.cta form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cta input {
  padding: 16px 20px;
  border-radius: 50px;
  border: none;
  background: rgba(212, 208, 208, 0.1);
  color: #fff;
  font-size: 1rem;
  font-family: 'Cairo', sans-serif;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.cta input:focus {
  outline: none;
  border-color: #62e0e4;
  background: rgba(98, 224, 228, 0.1);
}

.cta input::placeholder {
  color: #ffffff;
}

.cta button {
  padding: 16px;
  border-radius: 50px;
  border: none;
  background: #62e0e4;
  color: #000;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Cairo', sans-serif;
  margin-top: 10px;
  box-shadow: 0 4px 15px rgba(98, 224, 228, 0.3);
}

.cta button:hover {
  background: #4c3c8f;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(98, 224, 228, 0.4);
}

.map-container {
  margin: 40px auto 20px;
  max-width: 800px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  border: 3px solid #62e0e4;
}

iframe {
  width: 100%;
  height: 350px;
  display: block;
}

.floating-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, #62e0e4, #4c3c8f);
  color: #ffffff;
  padding: 16px 28px;
  border-radius: 50px;
  text-decoration: none;
  z-index: 999;
  font-weight: 700;
  box-shadow: 0 5px 20px rgba(98, 224, 228, 0.4);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.floating-button:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 25px rgba(98, 224, 228, 0.6);
}

.whatsapp {
  position: fixed;
  bottom: 100px;
  right: 30px;
  background: linear-gradient(135deg, #25d366, #128C7E);
  color: white;
  padding: 14px 24px;
  border-radius: 50px;
  text-decoration: none;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
}

.whatsapp:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

/* تذييل الصفحة */
footer {
  text-align: center;
  background: linear-gradient(135deg, #0c0c15 0%, #1e1e2f 100%);
  padding: 60px 20px 30px;
  margin-top: 60px;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #4c3c8f, #62e0e4);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* قسم وسائل التواصل الاجتماعي */
.social-links {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #62e0e4;
  font-size: 26px;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: 2px solid transparent;
}

.social-links a:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(98, 224, 228, 0.3);
}

.social-links a.whatsapp:hover {
  background: #25d366;
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}

.social-links a.facebook:hover {
  background: #1877f2;
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}

.social-links a.instagram:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}

.social-links a.tiktok:hover {
  background: #000;
  color: #69c9d0;
  border-color: rgba(105, 201, 208, 0.5);
}

.social-links a.youtube:hover {
  background: #ff0000;
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}

/* معلومات الاتصال */
.contact-info {
  color: #aaa;
  font-size: 18px;
  line-height: 1.8;
  margin: 20px 0;
  max-width: 700px;
}

.contact-info p {
  margin: 8px 0;
}

.copyright {
  color: #777;
  font-size: 16px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgb(255, 255, 255);
  width: 100%;
}

@media (max-width: 992px) {
  .header-content {
    flex-direction: column;
    gap: 15px;
  }
  
  nav {
    margin-top: 15px;
  }
  
  header h1 {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 200px;
  }
  
  .hero {
    padding: 60px 20px;
  }
  
  .hero h2 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  header img {
    width: 100px;
  }
  
  .feature, .department {
    width: 100%;
    max-width: 350px;
  }
  
  .social-links {
    gap: 15px;
  }
  
  .social-links a {
    width: 50px;
    height: 50px;
    font-size: 22px;
  }
  
  nav a {
    margin: 5px 8px;
    padding: 6px 12px;
    font-size: 0.9rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .menu-toggle {
    display: block;
    position: absolute;
    top: 20px;
    left: 20px;
  }
  
  nav {
    display: none;
    width: 100%;
    flex-direction: column;
    margin-top: 20px;
  }
  
  nav.active {
    display: flex;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(98, 224, 228, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(98, 224, 228, 0);
  }
  100% {
    box-shadow: 0 0 0 0 #218a40;
  }
}

/* تأثير الهيدر عند التمرير */
header.scrolled {
  padding: 15px 20px;
  box-shadow: 0 5px 20px #4c3c8f;
}

header.scrolled img {
  width: 200px;
}

header.scrolled h1 {
  font-size: 1.8rem;
}

.animated-gradient-text {
  position: relative;
  margin: 0 auto;
  display: flex;
  max-width: fit-content;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  border-radius: 1.25rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
  transition: box-shadow 0.5s ease-out;
  overflow: hidden;
  cursor: pointer;
}

.gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: 300% 100%;
  animation: gradient linear infinite;
  border-radius: inherit;
  z-index: 0;
  pointer-events: none;
}

.gradient-overlay::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  border-radius: inherit;
  width: calc(100% - 2px);
  height: calc(100% - 2px);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-color: #060010;
  z-index: -1;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.text-content {
  display: inline-block;
  position: relative;
  z-index: 2;
  background-size: 300% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  animation: gradient linear infinite;
}

.aurora-container {
  width: 100%;
  height: 100%;
}

 /* تصميم قسم المنشورات المتحرك */
 .posts-container {
  position: relative;
  height: 600px;
  margin: 80px 0;
  overflow: hidden;
}

.post-track {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 1s ease-out;
  height: 100%;
}

.post {
  position: relative;
  width: 400px;
  height: 500px;
  margin: 0 20px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  transition: all 0.5s ease;
  cursor: pointer;
  background-size: cover;
  background-position: center;
}

.post-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  transform: translateY(100px);
  transition: transform 0.5s ease;
}

.post:hover .post-content {
  transform: translateY(0);
}

.post-title {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #fff;
}

.post-meta {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 0.9rem;
  color: #62e0e4;
}

.post-meta i {
  margin-left: 8px;
}

.post-excerpt {
  color: #ddd;
  margin-bottom: 20px;
  line-height: 1.7;
}

.read-more {
  color: #62e0e4;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.read-more i {
  margin-right: 5px;
  transition: transform 0.3s ease;
}

.read-more:hover {
  color: #fff;
}

.read-more:hover i {
  transform: translateX(5px);
}

.nav-dots {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  gap: 15px;
}

.dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: #62e0e4;
  transform: scale(1.2);
}

.whatsapp-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, #25d366, #128C7E);
  color: white;
  padding: 15px 20px;
  border-radius: 50px;
  text-decoration: none;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
}

.whatsapp-btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

footer {
  text-align: center;
  padding: 40px 20px;
  margin-top: 60px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 20px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 25px;
}

.social-links a {
  color: #62e0e4;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  color: #fff;
  transform: translateY(-5px);
}

.copyright {
  color: #aaa;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .post {
      width: 300px;
      height: 400px;
  }
  
  h1 {
      font-size: 2.2rem;
  }
  
  .section-title {
      font-size: 2rem;
  }
}

.slider {
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
  background: #f5f5f5;
}

.logos {
  display: flex;
  align-items: center;
  animation: slide 15s linear infinite;
  width: max-content;
}

.logos img {
  width: 120px;
  margin: 0 40px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}
/* ===== سلايدر لوغو بلا فراغ وب Loop ناعم ===== */
.slider {
  direction: ltr;                 /* نتجنب انعكاس RTL */
  width: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, #e2e2e2, #ffffff);
  padding: 30px 0;
  border-top: 3px solid ;

  /* تلاشي جانبي لطيف (اختياري) */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
}

/* مسار الشعارات: اجعل نفس المجموعة مكرّرة مرتين في الـHTML */
.logos {
  display: flex;
  align-items: center;
  gap: 40px;                      /* نفس المسافة بين كل الشعارات */
  width: max-content;             /* يتمدّد على قدّ المحتوى */
  will-change: transform;
  animation: logoMarquee var(--logo-speed, 90s) linear infinite;
}

/* إيقاف الحركة عند المرور (اختياري) */
.slider:hover .logos {
  animation-play-state: paused;
}

/* تنسيق الشعارات */
.logos img {
  width: 140px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 6px a(98,224,228,0.6));
  transition: transform .3s ease, filter .3s ease;
  cursor: pointer;
}
.logos img:hover {
  transform: scale(1.08);
  filter: drop-shadow(0 0 12px );
}

/* الحركة: من 0 إلى -50% لأن المجموعة مكرّرة مرّتين */
@keyframes logoMarquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-30%); }
}

/* احترام تفضيل تقليل الحركة */
@media (prefers-reduced-motion: reduce) {
  .logos { animation: none; }
}

/* ===== تنظيف تعارضات قديمة كانت تسبب “قفزة” ===== */
/* لا تعمّم تنسيقات على كل img في الصفحة */
img { max-width: 100%; height: auto; display: block; }
/* لو كان عندك في ملفك سطر يعمّم Gray على كل الصور مثل:
   img{ width:150px; margin:0 20px; transition:.5s; cursor:pointer }
   img:not(:hover){ filter:grayscale(100%); }
   احذفه أو قيّده إلى نطاق آخر غير سلايدر اللوغو. */
