/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* Default Styles (for smaller screens, no padding) */
.main-page {
  padding: 20px; /* No padding by default */
}

/* Styles for larger screens (like laptops) */
@media (min-width: 1024px) {
  .main-page {
    padding: 80px;
  }
}
body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
background:#0E0822;
  backgroundd: rgb(14,8,34);
  backgroundd: linear-gradient(90deg, #0E0822 0%, rgba(14,8,34,1) 35%, rgba(30,15,69,1) 100%);
  color: #fff;
}

.container {
  width: 90%;
  max-width: 1432px;
  margin: 0 auto;
}

/* Header Section */
.header {
  text-align: center;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 70%, #0E0822), url('Assets/img/course-hero-sec.png') no-repeat center/cover;
  color: white;
  padding: 50px 0 20px;
  height: 600px;
}

/* إعداد النصوص */
.header-content {
  position: relative;
  z-index: 1; /* يجعل النص فوق الخلفية */
}

/* إعداد الشعار والقائمة */
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
}


.logo img {
  width: 100px;
  height: auto;
}

.navbar {
  display: flex;
  gap: 20px;
}

.navbar a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

.navbar a:hover {
  color: #8a24be;
  text-decoration: none;
  font-weight: 700;
}
.header-content h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.header-content p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.btn {
  background: linear-gradient( #69CFF9, #B430F3);
  padding: 12px 30px;
  border: none;
  border-radius: 30px;
  color: white;
  cursor: pointer;
  font-size: 1rem;
}
.toop img{
  margin-bottom: -54px !important;
} 

.btn:hover {
  background: linear-gradient(90deg, #9b5df7, #6a0dad);
  transition: 0.3s ease;
}

/* Cards Section */

.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* تنظيم الكروت */
  gap: 20px; /* مسافة بين الكروت */
}

.card {
  background: rgba(255, 255, 255, 0.1); /* لون خلفية شفاف */
  border-radius: 10px; /* الحواف */
  padding: 30px; /* المسافات الداخلية */
  text-align: center; /* محاذاة النصوص داخل الكارت */
  background: linear-gradient(180deg, rgba(217, 217, 217, 0.1) 0%, rgba(115, 115, 115, 0.1) 100%);
  transition: all 0.3s ease; /* حركة ناعمة عند التحريك */
}

.card:hover {
  transform: translateY(-10px); /* رفع الكارت عند الوقوف عليه */
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5); /* زيادة الظل */
}

.icon img {
  width: 80px; /* حجم الأيقونة */
  height: 80px;
  margin-bottom: 15px; /* مسافة أسفل الأيقونة */
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px; /* مسافة أسفل العنوان */
}

.card p {
  font-size: 1rem;
  color: #ccc; /* لون النص */
}

/* Overview Section */
.overview-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.text-content {
  flex: 1;
}

.text-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.text-content p {
  font-size: 1rem;
  color: #ccc;
}

.image-content {
  flex: 1;
}

.image-content img {
  max-width: 100%;
  border-radius: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    text-align: center;
  }

  .navbar {
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    width: 360px;
  }

  .cards-container {
    grid-template-columns: 1fr;
  }

  .overview-container {
    flex-direction: column;
  }
}



/* إعداد الكارد */

/* إعداد الحاوية الرئيسية */
.icon-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 194px;
  margin-top: -132px;
}

/* إعداد الدائرة */
.icon-circle1 {
  width: 80px;
  height: 80px;
  background:  #B430F3;
  ; /* ألوان التدرج */
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 10px 32px 37px rgb(104, 39, 100);  position: relative;

}

/* إعداد الصورة داخل الدائرة */
.icon-circle1 img {
  width: 76%;
  height: 101%;
  border-radius: 50%; /* لتبقى الصورة داخل إطار دائري */
  object-fit: cover; /* تناسب الصورة مع الإطار */
}
.icon-circle2 {
  width: 80px;
  height: 80px;
background: #69CFF9;

  ; /* ألوان التدرج */
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 10px 20px rgb(9, 122, 167); /* ظل خفيف ملون */
  position: relative;

}

/* إعداد الصورة داخل الدائرة */
.icon-circle2 img {
  width: auto;
  height: 83%;
  border-radius: 50%; /* لتبقى الصورة داخل إطار دائري */
  object-fit: cover; /* تناسب الصورة مع الإطار */
}




/* Section Header */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 40px;
  margin-bottom: 20px;
}

.section-title {
  font-size: 1.8rem;
  color: white;
  font-weight: bold;
}

.see-more-link {
  font-size: 1rem;
  color: #a64eee;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s;
}

.see-more-link:hover {
  color: #6e47ff;
}



/* Section Header */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 40px;
  margin-bottom: 20px;
}

.section-title {
  font-size: 1.8rem;
  color: white;
  font-weight: bold;
}

.see-more-link {
  font-size: 1rem;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s;
}

.see-more-link:hover {
  color:   linear-gradient(90deg, #6a0dad, #9b5df7);;
}















.xoxo-container {
  padding: 20px;
}

.yoyo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.yoyo-header h2 {
  margin: 0;
}

.yoyo-header a {
  text-decoration: none;
  color: #ffffff;
  font-weight: bold;
}
.yoyo-header a:hover {
  color: #a64eee;

}


.zaza-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.lala-card {
  background-color: #1c1c3a;
  border-radius: 10px;
  overflow: hidden;
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.lala-card img {
  width: auto;
  height: 334px;
  border-radius: 8px;
}

.lala-card h3 {
  margin: 15px 0 10px;
  font-size: 18px;
}

.lala-card p {
  font-size: 14px;
  color: #a1a1a1;
}

.lala-card a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  margin-top: 10px;
  display: inline-block;
}
.lala-card a:hover {

}

.lala-card a:hover {
  color: #6e47ff;

}













/* Container */
.container-weird {
  width: auto;
  max-width: auto;
  text-align: center;
}

/* Title */
.title-weird {
  font-size: 2em;
  margin-bottom: 20px;
}

/* Review Section */
.container-weird {
  padding: 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-title-weird {
  font-size: 28px;
  color: #fff;
}

.see-more-link-weird {
  font-size: 16px;
  color: #fff;
  text-decoration: none;
}
.see-more-link-weird:hover {

  color: #a14fff;

}
.review-section-weird {
  display: flex;
  justify-content: center; /* محاذاة الكروت في المنتصف */
  gap: 20px; /* المسافة بين الكروت */
  flex-wrap: wrap; /* السماح للكروت بالانتقال إلى سطر جديد إذا لم يكن هناك مساحة كافية */
}

.cards-container-weird {
  display: flex;
  gap: 20px; /* المسافة بين الكروت */
  justify-content: center; /* محاذاة الكروت في المنتصف */
  width: 100%; /* تأكيد أن الحاوية تأخذ العرض الكامل */
}

.review-card-weird {
  background: linear-gradient(to right, #9d9d9d6e, #31193c);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  position: relative;
  opacity: 85%;
  flex: 1 1 100%; /* الكروت تأخذ عرض 100% من الحاوية */
  max-width: none; /* إزالة الحد الأقصى للعرض */
  margin: 0 10px; /* إضافة هامش بين الكروت */
  box-sizing: border-box; /* التأكد من أن المسافات الداخلية تُحسب ضمن الحجم الكلي */
}

.card-header-weird {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.user-img-weird {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 10px;
}

.user-info-weird {
  color: #fff;
}

.user-name-weird {
  margin: 0;
  font-size: 16px;
}

.review-date-weird {
  margin: 0;
  color: #aaa;
  font-size: 14px;
  margin-right: 34px;
}

.review-text-weird {
  font-size: 15px;
  color: #ddd;
  margin: 10px 0;
}

.card-footer-weird {
  position: absolute;
  bottom: 15px;
  right: 15px;
}

.sms-icon-weird {
  width: 39px;
  height: 28px;
}

.mailing-list-weird {
  text-align: center;
  margin-top: 50px;
}

.mailing-title-weird {
  font-size: 31px;
}

.mailing-form-weird {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.email-input-weird {
  padding: 10px;
  border: 1px solid #555;
  border-radius: 5px;
  background: #222;
  color: #fff;
}

.signup-button-weird {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  background: #a14fff;
  color: #fff;
  cursor: pointer;
}

@media (max-width: 768px) {
  .cards-container-weird {
    flex-direction: column;
    align-items: center;
  }

  .review-card-weird {
    max-width: 100%;
  }
}



/* Mailing List */
.mailing-list-weird {
  margin-top: 110px;
  margin-bottom: 41px;
}

.mailing-form-weird {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;

}
.email-input-weird {
  padding: 15px;
  border-radius: 29px;
  border: 2px solid white; /* إضافة البوردير باللون الأبيض */
  width: 568px;
  background: transparent;
  color: aliceblue; /* لضمان وضوح النص */
}

.signup-button-weird {
  background: linear-gradient( #69CFF9, #B430F3);
  padding: 12px 30px;
  border: none;
  border-radius: 30px;
  color: white;
  cursor: pointer;
  font-size: 1rem;
}

.signup-button-weird:hover {
  opacity: 0.9;
}






.contact-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}

.contact-details {
  flex: 1;
  max-width: 600px;
}

.contact-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.contact-description {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

.contact-info {
  margin-bottom: 20px;
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.info-item .icon {
  font-size: 1.5rem;
  margin-right: 10px;
  color: #ffffff;
}

.contact-image {
  flex: 1;
  text-align: center;
}

.contact-image img {
  max-width: 100%;
  height: auto;
}


        /* Floating WhatsApp Icon */
        .whatsapp-icon {
          position: fixed;
          bottom: 20px;
          left: 20px;
          width: 60px;
          height: 60px;
          background: linear-gradient(45deg, #69CFF9, #B430F3);
          border-radius: 50%;
          display: flex;
          justify-content: center;
          align-items: center;
          box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
          cursor: pointer;
          z-index: 1000;
          transition: transform 0.3s ease, box-shadow 0.3s ease;
      }

      .whatsapp-icon:hover {
          transform: scale(1.1);
          box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
      }

      .whatsapp-icon svg {
          width: 30px;
          height: 30px;
          fill: #fff;
      }

      /* Responsive Adjustments */
      @media (max-width: 768px) {
          .whatsapp-icon {
              width: 50px;
              height: 50px;
          }

          .whatsapp-icon svg {
              width: 25px;
              height: 25px;
          }
      }

      @media (max-width: 480px) {
          .whatsapp-icon {
              width: 40px;
              height: 40px;
          }

          .whatsapp-icon svg {
              width: 20px;
              height: 20px;
          }
      }






      /* Footer Styles */
.footer {
  padding: 40px 20px;
  font-family: 'Arial', sans-serif;
  /* background: linear-gradient(90deg, rgba(39, 27, 77, 0.77) 0%, rgb(10, 8, 17) 35%, rgba(85, 58, 153, 0.46) 100%), url('Assets/img/footer.png') no-repeat center/cover; */

}
.footerr {
  background-image: url('Assets/img/footer.png'); /* مسار الصورة */
  background-size: cover; /* تغطي العنصر بالكامل */
  background-position: center; /* تمركز الصورة */
  background-repeat: no-repeat; /* منع تكرار الصورة */
  width: 100%; /* تغطية عرض العنصر */
  height: auto; /* تغطية كامل الشاشة - يمكنك تعديل الحجم حسب الحاجة */
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

/* Footer Logo Section */
.footer-logo {
  flex: 1;
  max-width: 300px;
}

.footer-logo img {
  width: 120px;
  margin-bottom: 10px;
}

.footer-logo p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
}

/* Footer Links */
.footer-links {
  flex: 1;
  min-width: 150px;
}

.footer-links h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 8px;
}

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-links ul li a:hover {
  color: #a64eee;
}

/* Social Media Section */
.footer-socials {
  flex: 1;
  min-width: 150px;
}

.footer-socials h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.social-icons {
  display: flex;
  gap: 27px;
}
/* على الشاشات الصغيرة فقط (أقل من 768px) */
@media (max-width: 768px) {
  .social-icons {
    display: flex;
    gap: 53px; /* المسافة بين الأيقونات على الشاشات الصغيرة */
    justify-content: center; /* محاذاة الأيقونات في المنتصف */
  }

  .social-icons img {
    width: 30px; /* تعديل حجم الأيقونات حسب الحاجة */
    height: auto;
  }
}




.social-icons a {
  color: white;
  font-size: 1.2rem;
  text-decoration: none;
  transition: transform 0.3s, color 0.3s;
}

.social-icons a:hover {
  transform: scale(1.2);
  color: #a64eee;
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  margin-top: 20px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-logo,
  .footer-links,
  .footer-socials {
    max-width: 100%;
  }
}


/* CSS لإصلاح المشكلة */
@media screen and (max-width: 768px) {
  .header-content {
    margin-bottom: 50px; /* مساحة بين الـ header والقسم التالي */
  }

  .cards {
    margin-top: 0; /* إزالة القيمة السالبة */
    padding-top: 255px; /* إضافة مساحة */
  }
}




@media screen and (max-width: 768px) {
  .section-title-weird {
    font-size: 23px;
    margin-left: -60px;  }
}


.info-item img{
  margin-right: 10px;
}





/* تصميم الأيقونة داخل القسم header */

.floating-icon {
  position: absolute;  /* استخدام absolute لجعل الأيقونة ثابتة بالنسبة للقسم */
  top: 50%;            /* وضع الأيقونة في منتصف القسم عموديًا */
  right: 0;            /* وضع الأيقونة على يمين القسم */
  transform: translateY(-50%); /* محاذاة الصورة الكبيرة والأيقونة عموديًا */
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100px;  /* عرض الصورة الكبيرة */
  height: 100px; /* ارتفاع الصورة الكبيرة */
  transition: transform 0.3s, box-shadow 0.3s;
  z-index: 9999; /* التأكد من ظهور الأيقونة فوق العناصر الأخرى */
}

/* تصميم الصورة الكبيرة */
.large-image {
  width: auto;
  height: auto;
}

/* تصميم الأيقونة */
.icon-image {
  position: absolute;
  width: auto;  /* تحديد حجم الأيقونة */
  height: auto;
}

/* عند النقر على الأيقونة */
.floating-link {
  text-decoration: none;
  display: inline-block;
  transition: opacity 0.5s, transform 0.5s;
}

.floating-link.clicked .floating-icon {
  opacity: 0; /* جعل الأيقونة تختفي */
  transform: scale(1.5); /* تكبير الأيقونة */
}



/* التأثير عند الانتقال للصفحة الحالية */
body.transitioning {
  opacity: 0;
  transform: translateX(-100%); /* تحريك الصفحة الحالية إلى اليسار */
  transition: transform 1s ease, opacity 1s ease; /* انتقال بطيء */
}

/* التأثير عند تحميل الصفحة الجديدة */
body.loaded {
  opacity: 1;
  transform: translateX(0); /* الصفحة تظهر من اليسار */
  transition: transform 1s ease, opacity 1s ease;
}

/* تنسيق شاشة التحميل */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  font-family: 'Poppins', sans-serif;
  color: white;
  text-align: center;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#loading-screen h2 {
  margin-top: 20px;
  font-size: 24px;
}

#loading-screen .fa-rocket {
  animation: spin 2s infinite linear;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}



.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  padding: 40px;
}

.stat-card {
  background-image: url('Assets/img/bg-card.png'); /* رابط صورة الخلفية */
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  height: 150px; /* يمكنك ضبط الارتفاع */
  box-shadow: 0 4px 15px rgba(128, 0, 128, 0.5); /* شادو عادي */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* تأثير الحركة */
}

.stat-card:hover {
  transform: translateY(-5px) scale(1.05); /* تكبير وتحريك الكارد */
  box-shadow: 0 8px 30px rgba(128, 0, 128, 0.7); /* شادو أكبر عند التمرير */
}

.card-content {
  position: absolute;
  top: 10px;
  left: 15px;
}

.card-content h2 {
  font-size: 1.8rem;
  margin: 0;
  color: white;
}

.card-content p {
  font-size: 1rem;
  color: #b3b3cc;
  margin-top: 5px;
  letter-spacing: 5px;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* تأثير تظليل للخلفية */
  z-index: 1;
}

.card-content {
  position: relative;
  z-index: 2;
}



/* From Uiverse.io by vinodjangid07 */ 
.Btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 45px;
  height: 45px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition-duration: .3s;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.199);
          background: linear-gradient(45deg, #69CFF9, #B430F3);
}

/* plus sign */
.sign {
  width: 100%;
  transition-duration: .3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sign svg {
  width: 17px;
}

.sign svg path {
  fill: white;
}
/* text */
.text {
  position: absolute;
  right: 0%;
  width: 0%;
  opacity: 0;
  color: white;
  font-size: 1.2em;
  font-weight: 600;
  transition-duration: .3s;
}
/* hover effect on button width */
.Btn:hover {
  width: 204px;
  border-radius: 40px;
  transition-duration: .3s;
}

.Btn:hover .sign {
  width: 30%;
  transition-duration: .3s;
  padding-left: 20px;
}
/* hover effect button's text */
.Btn:hover .text {
  opacity: 1;
  width: 70%;
  transition-duration: .3s;
  padding-right: 10px;
}
/* button click effect*/
.Btn:active {
  transform: translate(2px ,2px);
}

/* Styling the section */
.client-collaboration-section {
  text-align: center; /* Center the title */
  padding: 50px 0; /* Add space around the section */
}

/* Styling for the section title */
.section-title {
  font-size: 36px; /* Large font size */
  font-weight: bold; /* Make the text bold */
  margin-bottom: 30px; /* Space between the title and the slider */
  color: #fff; /* Set text color */
}

/* Logo Slider */
.logo-slider {
  -webkit-box-shadow: 0 0px 0px 0px rgba(0, 0, 0, 0.125);
  box-shadow: 0 0px 0px 0px rgba(0, 0, 0, 0.125);
  margin: auto;
  overflow: hidden;
  position: relative;
  width: 100%;
}

/* Before and After pseudo-elements for the sliding effect */
.logo-slider::before, .logo-slider::after {
  content: "";
  height: 175px;
  position: absolute;
  width: 200px;
  z-index: 2;
}

.logo-slider::after {
  right: 0;
  top: 0;
  -webkit-transform: rotateZ(180deg);
  transform: rotateZ(180deg);
}

.logo-slider::before {
  left: 0;
  top: 0;
}

/* The track that contains all the slides */
.logo-slider .logo-slide-track {
  -webkit-animation: logo-scroll 60s linear infinite;
  animation: logo-scroll 60s linear infinite;
  display: flex;
  width: calc(250px * 12); /* Total width of all logos */
  gap: 20px; /* Add space between logos */
  animation-duration: 30s;
  animation-iteration-count: infinite;
}

/* Individual logo slide */
.logo-slider .slide {
  height: 150px;
  width: 250px; /* Same width for all logos */
  padding: 10px; /* Adjust padding if necessary */
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-slider .slide img {
  max-width: 100%; /* Ensure the logo fits within the container */
  height: auto;
  object-fit: contain; /* Prevent stretching */
}

/* Keyframes for logo scroll animation */
@keyframes logo-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-250px * 6)); /* Move logos to the left */
  }
}

/* Responsive design adjustments */
@media (max-width: 768px) {
  .section-title {
    font-size: 28px; /* Adjust title size for smaller screens */
  }

  .logo-slider .slide {
    width: 200px; /* Reduce logo width for smaller screens */
  }

  .logo-slider .slide img {
    max-width: 120px; /* Adjust image size for smaller screens */
  }
}


/* الحاوية الرئيسية */
.header-section {
  display: flex;
  justify-content: space-between; /* توزيع العناصر على الأطراف */
  align-items: center; /* توسيط العناصر عموديًا */
  padding: 44px; /* مساحة داخلية */
  flex-wrap: wrap; /* يجعل العناصر تتكيف مع الشاشة */
}

/* تصميم العنوان */
.title-wrapper .section-title {
  font-size: 43px;
  margin: 0; /* إزالة الهوامش الافتراضية */
  color: #fff; /* لون النص */
}

/* تصميم الزر */
.action-btn {
  background: linear-gradient(#69CFF9, #B430F3);
  padding: 12px 30px;
  border: none;
  border-radius: 30px;
  color: white;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
}

/* تأثير hover على الزر */
.action-btn:hover {
  background: linear-gradient(90deg, #9b5df7, #6a0dad);
  transition: 0.3s ease;
}

/* تصميم متجاوب */
@media (max-width: 768px) {
  .header-section {
    flex-direction: column; /* جعل العناصر فوق بعضها */
    align-items: flex-start; /* محاذاة العناصر إلى اليسار */
  }

  .action-btn {
    align-self: flex-end; /* الزر على اليمين */
    margin-top: 10px;
  }
}



/* الحاوية الرئيسية */
.fluffy-wrapper {
  display: flex;
  flex-direction: column;
  gap: 69px;
  padding: 0px;
}

/* تصميم الصندوق الأول */
.container-1 {
  background: linear-gradient(45deg, #271E4800, #4D337B7A);
  background-size: auto;
  background-repeat: no-repeat;
  background-position: center center;
  background-blend-mode: overlay;
  padding: 20px;
  border-radius: 20px; /* منح الزوايا */

  /* محاكاة تأثير الحدود باستخدام الشادو */
  box-shadow: 0 0 0 1px rgba(54, 30, 141, 0.567), 0 0 0 2px rgba(181, 163, 255, 0.485);
}





/* تصميم الصندوق الثاني */
.container-2 {
  background: linear-gradient(45deg, #271E4800, #4D337B7A);
  background-size: auto;
  background-repeat: no-repeat;
  background-position: center center;
  background-blend-mode: overlay;
  padding: 20px;
  border-radius: 20px; /* منح الزوايا */

  /* محاكاة تأثير الحدود باستخدام الشادو */
  box-shadow: 0 0 0 1px rgba(54, 30, 141, 0.567), 0 0 0 2px rgba(181, 163, 255, 0.485);

}

.sparkling-title {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 15px;
}
/* العنوان */
.sparkling-title-2 {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 15px;
}

/* الحاوية الداخلية */
.galactic-content {
  display: flex;
  flex-direction: row;
  justify-content: unset;
  gap: 30px;
}

/* قائمة العناصر */
.starlight-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #e2e2e2;
  font-size: 1rem;
}
.starlight-list-2 {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #e2e2e2;
  font-size: 1rem;
}
.starlight-list-3 {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #e2e2e2;
  font-size: 1rem;
}
.starlight-list-4{
  list-style: none;
  padding: 0;
  margin: 0;
  color: #e2e2e2;
  font-size: 1rem;
}
.starlight-list-5{
  list-style: none;
  padding: 0;
  margin: 0;
  color: #e2e2e2;
  font-size: 1rem;
}


@media (max-width: 1024px) {
  .starlight-list-4{
  margin: auto !important;
  }

  .starlight-list-5{
    margin-right: 61px;
  }

  }




.starlight-list li {
  margin-bottom: 10px;

}
/* على الشاشات الصغيرة فقط (أقل من 768px) */
@media (max-width: 768px) {
  .starlight-list li {
    margin-bottom: 10px;
    margin-right: 18px;
  }
}


/* تخصيص الأيقونات */
.icon {
  margin-right: 8px;
  color: #69c9f9;
}

/* تخصيص المسافة بين العناصر داخل الكونتينر */
.list-container {
  flex: 1; /* يجعل المساحة موزعة بالتساوي بين القائمتين */
  display: flex;
  justify-content: center; /* وضع العناصر في المنتصف */
}

/* تخصيص المسافة بين القائمتين */
.galactic-content .list-container:first-child {
  margin-right: 30px; /* المسافة بين القائمتين */
}

/* تصميم متجاوب */
@media (max-width: 768px) {
  .galactic-content {
    flex-direction: column; /* جعل العناصر عمودية في الشاشات الصغيرة */
    align-items: center; /* توسيط العناصر عموديًا */
  }

  /* تخصيص المسافة بين القوائم */
  .galactic-content .list-container {
    margin-bottom: 20px;
  }
}

@media (max-width: 1024px) {
  .starlight-list-3{
margin-right: 55px;
  }
  }




/* ستايلات قسم العنوان والزر */
.header-section {
  text-align: center;
  padding: 40px 0;
}

.title-wrapper {
  margin-bottom: 20px;
}

.section-title {
  font-size: 2.5rem;
  color: white;
}

.action-btn {
  background: linear-gradient(90deg, #69CFF9, #B430F3);
  padding: 12px 30px;
  border: none;
  border-radius: 30px;
  color: white;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s;
}

.action-btn:hover {
  background: linear-gradient(90deg, #9b5df7, #6a0dad);
}

/* ستايلات الأسئلة الشائعة */
.faq-section {
  padding: 0px;
}

.faq-item {
  margin-bottom: 15px;
  background-color: #271E48;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.faq-question {
  font-size: 1.2rem;
  color: #fff;
  cursor: pointer;
}

.faq-answer {
  display: none;
  font-size: 1rem;
  color: #ccc;
  margin-top: 10px;
}

.faq-question:hover {
  color: #69CFF9;
}

/* عند النقر لعرض الإجابة */
.faq-question.active + .faq-answer {
  display: block;
}

/* تصميم متجاوب */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .action-btn {
    font-size: 0.9rem;
    padding: 10px 25px;
  }

  .faq-item {
    padding: 15px;
  }

  .faq-question {
    font-size: 1rem;
  }

  .faq-answer {
    font-size: 0.9rem;
  }
}

/* تنسيق عام للمحتوى داخل الحاوية */
.description-section {
  padding: 20px;
}

/* تنسيق لكل عنصر داخل الحاوية */
.intro-text,
.course-details,
.learning-modules,
.project-info,
.support-info {
  display: block; /* تأكد من أن كل عنصر يظهر تحت العنصر الآخر */
  color: #c2c2c2;  /* تحديد اللون للنص */
  line-height: 40px; /* تحديد المسافة بين الأسطر */
  margin-bottom: 15px;  /* إضافة مسافة بين الفقرات */
  clear: both;  /* التأكد من أن العناصر لن تتداخل */
}

/* Courses Section */
.courses-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 كروت في كل صف على الشاشات الكبيرة */
  gap: 20px; /* المسافة بين الكروت */
  padding: 0 40px; /* الحواف على الشاشات الكبيرة */
  margin: 0 auto; /* لضمان أن تكون الحاوية في المنتصف */
  width: 100%;
}




/* Card Styles */
.custom-card {
  background: linear-gradient(45deg, #271E4800, #4D337BBD);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
  color: white;
  position: relative;
  overflow: hidden;
  opacity: 80%;
  text-align: left;
  margin-bottom: 20px; /* المسافة بين الكروت */
  width: 100%; /* تأكد من أن كل كارت يأخذ عرض كامل في الشبكة */
}

.card-image {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 347px;
  display: block;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .card-image img {
    width: 100%;
    height: 304px;
    border-radius: 8px; /* يمكن تعديل الحجم أو الشكل إذا لزم الأمر */
  }
}

/* Title with Line */
.card-title {
  font-size: 1.8rem; /* ضبط حجم العنوان */
  margin: 15px 0;
  display: flex;
  align-items: center;
}

/* Description */
.card-description {
  font-size: 1rem; /* ضبط حجم الوصف */
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.8);
}

/* Read More Link */
.card-link {
  font-size: 1rem; /* ضبط حجم رابط "قراءة المزيد" */
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.card-link:hover {
  color: #6e47ff;
}

/* Responsive Styles for smaller screens */
@media (max-width: 1024px) {
  .courses-container {
    grid-template-columns: repeat(1, 1fr); /* 2 كروت في كل صف على الشاشات الصغيرة */
    padding: 0 20px; /* تقليل الحواف على الشاشات الصغيرة */
  }

  .custom-card {
    width: 100%; /* تأكد أن الكارت يشغل عرض كامل في الشبكة */
  }

  .card-title {
    font-size: 14px; /* تصغير حجم العنوان في الشاشات الصغيرة */
  }



  .card-link {
    font-size: 0.9rem; /* تصغير حجم رابط "قراءة المزيد" */
  }
}

/* تصغير حجم الخط لـ .section-title على الشاشات الصغيرة */
@media screen and (max-width: 768px) {
  .section-title {
    font-size: 23px; /* الحجم المناسب */
  }
}


@media (max-width: 1024px) {
  .main-page {
    padding: 0px;
  }
  .font-mobile{
    font-size: 24px !important;
  }

  .courses-container {

    padding: 0 1px;

  }
  @media (max-width: 1024px) {
    .main-page {
      padding: 9px;
      margin-top: -127px;
    }
  }
  .title-wrapper .section-title {
    font-size: 29px;
    margin: 0;
    color: #fff;
  }
  @media (max-width: 768px) {
    .action-btn {
      font-size: 0.9rem;
      padding: 10px 25px;
      margin-right: 146px;
    }
  }
  .action-btn{
    margin-left: 9px;
    margin-bottom: 10px;
  }
  .custom-header{
    margin-bottom: 30px !important;
  margin-left: 20px !important;
  }
}


/* تنسيق القسم */
.contact-section-rx {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px;
  gap: 20px;
}

.contact-content-yt {
  flex: 1;
}

.contact-title-gh {
  font-size: 32px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

.contact-description-qw {
  font-size: 16px;
  color: #555;
  margin-bottom: 20px;
}

/* تنسيق الأزرار */
.contact-buttons {
  display: flex;
  gap: 20px;
}

.contact-buttons .btn {
  padding: 12px 20px;
  font-size: 16px;
  text-decoration: none;
  border-radius: 5px;
  color: white;
  text-align: center;
}

.call-now {
  background-color: #007bff; /* لون زر Call Now */
}

.whatsapp {
  background-color: #25D366; /* لون زر WhatsApp */
}

.contact-image-zx img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}



@media screen and (max-width: 768px) {
  .starlight-list-2  {
    margin-right: 177px !important;
  }
}
@media screen and (max-width: 768px) {
  .starlight-list {
    margin-right: 67px;
  }
}



.social-icons {
  display: flex;
  gap: 21px; /* إضافة مسافة بين الأيقونات */
  align-items: center;
}

.social-icons a {
  text-decoration: none; /* إزالة أي خط تحت الرابط */
  color: inherit; /* جعل لون الأيقونة بنفس لون النص أو اللون الذي تختاره */
}

.social-icons i {
  font-size: 24px; /* حجم الأيقونات */
}

.social-icons img {
  width: 24px; /* ضبط عرض الـ SVG */
  height: auto; /* الحفاظ على النسبة */
  max-height: 24px; /* التأكد من أن الأيقونة لا تتجاوز هذا الارتفاع */
}

