document.addEventListener("DOMContentLoaded", function () { "use strict"; /* ====================== تشغيل الكود في الصفحة الرئيسية فقط ====================== */ const isHomepage = location.pathname === "/" || location.pathname === "/index.php" || document.body.classList.contains("home") || document.body.classList.contains("front-page"); if (!isHomepage) return; /* ====================== منع التكرار ====================== */ if (document.querySelector(".masar-wrapper")) return; /* ====================== تحديد الهيدر ====================== */ const header = document.querySelector("header"); if (!header) return; /* ====================== إنشاء الحاوية ====================== */ const wrap = document.createElement("div"); wrap.className = "masar-wrapper"; wrap.style.width = "100%"; wrap.style.maxWidth = "100%"; wrap.style.overflow = "hidden"; /* ====================== المحتوى ====================== */ wrap.innerHTML = `

اتخذ قرارك المهني بثقة ووضوح

نساعدك على اختيار التخصص الجامعي أو المسار الوظيفي المناسب من خلال اختبارات علمية وجلسة إرشاد مهني مع مستشار متخصص.

1200+ طالب تم توجيهه
85% اختاروا مسارهم
95% رضا العملاء

جهات الاعتماد

اعتماد 1 اعتماد 2
career consultation

هل تشعر بالحيرة حول مستقبلك؟

الكثير من الطلاب والخريجين يقضون سنوات في تخصص أو وظيفة لا تناسب قدراتهم الحقيقية. الاستشارة المهنية تساعدك على اكتشاف قدراتك واختيار الطريق الصحيح منذ البداية.

لمن هذه الخدمة

طلاب الثانوية

اختيار التخصص الجامعي المناسب بناءً على قدراتك واهتماماتك.

طلاب الجامعة

تحديد المسار المهني الأفضل قبل دخول سوق العمل.

الخريجون

اختيار الوظيفة المناسبة أو تغيير المسار المهني.

الموظفون

تطوير المسار الوظيفي والانتقال لمجال أفضل.

كيف تتم الجلسة

1

اختبار الميول المهنية

تحليل شخصيتك واهتماماتك باستخدام أدوات علمية.

2

جلسة استشارة عبر Zoom

جلسة مباشرة مع مستشار مهني متخصص.

3

تحليل النتائج

تحليل دقيق لقدراتك والفرص المتاحة.

4

خطة مسار مهني

تقرير شامل وخطة واضحة لمستقبلك المهني.

ابدأ رحلتك المهنية بثقة

احجز جلستك الآن واحصل على خطة واضحة لمستقبلك المهني.

احجز استشارة الآن
`; /* ====================== إدراج السكاشن بعد الهيدر ====================== */ header.insertAdjacentElement("afterend", wrap); }); document.addEventListener("DOMContentLoaded", function () { "use strict"; /* تشغيل الكود فقط في الصفحة الرئيسية */ const isHomepage = location.pathname === "/" || location.pathname === "/index.php" || document.body.classList.contains("home") || document.body.classList.contains("front-page"); if (!isHomepage) return; /* تحديد الفوتر */ const footer = document.querySelector(".store-footer-footer"); if (!footer) return; /* منع التكرار */ if (footer.querySelector(".footer-grid")) return; /* ====================== Wave ====================== */ const wave = document.createElement("div"); wave.className = "footer-wave"; wave.innerHTML = ` `; footer.prepend(wave); /* ====================== Footer Content ====================== */ const footerInner = footer.querySelector(".store-footer__inner"); if (!footerInner) return; const grid = document.createElement("div"); grid.className = "footer-grid"; grid.innerHTML = `

منصة سعودية متخصصة في الإرشاد المهني ومساعدة الطلاب والخريجين على اختيار المسار الأكاديمي والوظيفي المناسب وبناء مستقبل مهني ناجح.

`; footerInner.prepend(grid); /* ====================== Footer Bottom ====================== */ const bottom = document.createElement("div"); bottom.className = "footer-bottom"; bottom.innerHTML = `
© ${new Date().getFullYear()} بصمة المسار المهني
`; footerInner.appendChild(bottom); }); (function(){ if (window.location.pathname !== "/" && window.location.pathname !== "/home") return; const images = [ "https://i.ibb.co/pgpNWTr/Artboard-1-1.webp", "https://i.ibb.co/Wvnt5vZc/Artboard-1-copy.webp", "https://i.ibb.co/xK54J2K5/Artboard-1-copy-3.webp", "https://i.ibb.co/svQpR1cW/Artboard-1-copy-2.webp", "https://i.ibb.co/pgpNWTr/Artboard-1-1.webp", "https://i.ibb.co/Wvnt5vZc/Artboard-1-copy.webp", "https://i.ibb.co/xK54J2K5/Artboard-1-copy-3.webp", "https://i.ibb.co/svQpR1cW/Artboard-1-copy-2.webp" ]; // SECTION const section = document.createElement("section"); section.className = "reviews-section"; section.innerHTML = `

آراء عملائنا

تجارب حقيقية من عملائنا تثبت جودة منتجاتنا

`; document.querySelector("footer")?.before(section); // TRACK const track = section.querySelector(".slider-track"); // تكرار الصور [...images, ...images].forEach(src => { const slide = document.createElement("div"); slide.className = "slide"; slide.innerHTML = ``; track.appendChild(slide); }); // CSS const style = document.createElement("style"); style.innerHTML = ` /* قسم الاعتمادات */ .masar-accreditations { margin-top: 40px; padding: 25px 20px; text-align: center; background: linear-gradient(180deg, #f9fbfc 0%, #ffffff 100%); border-radius: 12px; } /* العنوان */ .masar-accreditations-title { font-size: 18px; color: #32808c; margin-bottom: 10px; letter-spacing: 1px; font-weight: 600; } /* الكونتينر */ .masar-accreditations-logos { display: flex; justify-content: center; align-items: center; gap: 20px; flex-wrap: wrap; } /* كارت لكل لوجو */ .masar-accreditations-logos img { width: 100px; height: 100px; object-fit: contain; padding: 10px; background: #fff; border-radius: 10px; /* ظل خفيف */ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); /* تأثير هادئ */ filter: grayscale(100%); opacity: 0.75; transition: all 0.35s ease; } /* Hover احترافي */ .masar-accreditations-logos img:hover { filter: grayscale(0%); opacity: 1; transform: translateY(-5px) scale(1.05); /* Glow بسيط بلون الهوية */ box-shadow: 0 8px 20px rgba(50, 128, 140, 0.25); } /* Animation دخول */ .masar-accreditations-logos img { animation: fadeUp 0.6s ease forwards; opacity: 0; } /* تأخير بسيط لكل عنصر */ .masar-accreditations-logos img:nth-child(1) { animation-delay: 0.1s; } .masar-accreditations-logos img:nth-child(2) { animation-delay: 0.2s; } @keyframes fadeUp { from { transform: translateY(15px); opacity: 0; } to { transform: translateY(0); opacity: 0.75; } } /* موبايل */ @media (max-width: 768px) { .masar-accreditations { padding: 20px 15px; } .masar-accreditations-logos img { width: 85px; height: 55px; } } .reviews-section { padding: 70px 0; text-align: center; background: #f9fbfd; } .reviews-title { font-size: 42px; color: #32808c; font-weight: bold; } .reviews-subtitle { margin-bottom: 40px; color: #777; } /* Slider */ .slider { position: relative; overflow: hidden; } /* Fade edges */ .fade { position: absolute; top: 0; width: 120px; height: 100%; z-index: 2; pointer-events: none; } .fade.left { left: 0; background: linear-gradient(to right, #f9fbfd, transparent); } .fade.right { right: 0; background: linear-gradient(to left, #f9fbfd, transparent); } /* Track */ .slider-track { display: flex; gap: 24px; width: max-content; will-change: transform; } /* Slide */ .slide { flex: 0 0 auto; width: 350px; height: 350px; border-radius: 18px; overflow: hidden; background: #fff; transition: transform 0.4s ease, opacity 0.4s ease; } /* Image FULL بدون قص */ .slide img { width: 100%; height: 100%; object-fit: contain; background: #fff; } /* focus effect */ .slide { opacity: 0.6; } .slide.active { transform: scale(1.1); opacity: 1; } /* Responsive */ @media(max-width:768px){ .slide { width: 180px; height: 300px; } } `; document.head.appendChild(style); // 🔥 Animation + center focus let pos = 0; const speed = 0.4; function animate(){ pos += speed; if(pos >= track.scrollWidth / 2){ pos = 0; } track.style.transform = `translateX(${-pos}px)`; // تحديد العنصر اللي في النص const slides = [...track.children]; const center = window.innerWidth / 2; slides.forEach(slide => { const rect = slide.getBoundingClientRect(); const slideCenter = rect.left + rect.width / 2; if(Math.abs(center - slideCenter) < rect.width / 2){ slide.classList.add("active"); } else { slide.classList.remove("active"); } }); requestAnimationFrame(animate); } animate(); })();