# Privacy Policy Template for Allam Mobile App

**Host this on your website at a URL like:** `https://allam.com/privacy` or `https://allam-mobile.com/privacy`

---

## Privacy Policy

**Last Updated:** [INSERT DATE]

### Introduction

Welcome to Allam ("we," "our," or "us"). We are committed to protecting your privacy and ensuring the security of your personal information. This Privacy Policy explains how we collect, use, and safeguard your information when you use our mobile application Allam (the "App").

### Information We Collect

#### 1. Information You Provide
- **Account Information:** When you create an account, we collect your name, email address, and profile information.
- **User Content:** Photos, documents, and other content you upload to the App.
- **Communications:** Messages you send through the App's communication features.

#### 2. Information Collected Automatically
- **Device Information:** Device type, operating system, unique device identifiers.
- **Usage Data:** How you interact with the App, features used, time spent.
- **Log Data:** IP address, access times, and app crash reports.

#### 3. Permissions We Request
- **Camera:** To allow you to take photos for profile pictures and document uploads.
- **Photo Library:** To allow you to select existing photos from your device.
- **Notifications:** To send you updates about courses, committees, and important announcements.
- **Storage:** To save documents and files locally on your device.

### How We Use Your Information

We use your information to:
- Provide and maintain the App's educational services
- Process and display your educational content
- Send notifications about courses, assignments, and updates
- Improve the App's functionality and user experience
- Respond to your support requests
- Ensure the security of your account

### Data Storage and Security

- Your data is stored securely on our servers using industry-standard encryption.
- We retain your information only as long as necessary to provide our services.
- We implement appropriate technical and organizational measures to protect your data.

### Sharing Your Information

We do **not** sell your personal information. We may share information only in these circumstances:
- **With your consent:** When you explicitly agree to share content.
- **Service providers:** With trusted third parties who help us operate the App (e.g., cloud hosting).
- **Legal requirements:** If required by law or to protect our rights.

### Your Rights (GDPR/CCPA Compliance)

Depending on your location, you may have the right to:
- **Access:** Request a copy of your personal data.
- **Correction:** Update or correct inaccurate information.
- **Deletion:** Request deletion of your account and data.
- **Portability:** Receive your data in a structured format.
- **Opt-out:** Unsubscribe from notifications or marketing communications.

**To exercise these rights, contact us at:** [INSERT YOUR EMAIL]

### Children's Privacy

Our App is intended for educational use. If you are under 13 (or the applicable age in your country), please use the App only with parental consent. We do not knowingly collect personal information from children without parental consent.

### Changes to This Privacy Policy

We may update this Privacy Policy from time to time. We will notify you of any changes by:
- Posting the new Privacy Policy in the App
- Sending a notification (if you have notifications enabled)
- Updating the "Last Updated" date

### Contact Us

If you have questions about this Privacy Policy or your data, please contact us:

**Email:** [INSERT YOUR EMAIL, e.g., privacy@allam.com]  
**Website:** [INSERT YOUR WEBSITE, if available]  
**Address:** [INSERT YOUR BUSINESS ADDRESS, if applicable]

---

## النسخة العربية (Arabic Version)

### سياسة الخصوصية

**آخر تحديث:** [INSERT DATE]

### مقدمة

مرحبًا بكم في تطبيق "علّم" ("نحن" أو "لنا"). نحن ملتزمون بحماية خصوصيتكم وضمان أمن معلوماتكم الشخصية. تشرح هذه السياسة كيف نجمع معلوماتكم ونستخدمها ونحميها عند استخدامكم لتطبيق "علّم" (يُشار إليه بـ "التطبيق").

### المعلومات التي نجمعها

#### 1. المعلومات التي تقدمونها
- **معلومات الحساب:** عند إنشاء حساب، نجمع اسمكم، البريد الإلكتروني، ومعلومات الملف الشخصي.
- **محتوى المستخدم:** الصور، المستندات، وغيرها من المحتوى الذي ترفعونه إلى التطبيق.
- **المراسلات:** الرسائل التي ترسلونها عبر ميزات التواصل في التطبيق.

#### 2. المعلومات التي تُجمع تلقائيًا
- **معلومات الجهاز:** نوع الجهاز، نظام التشغيل، معرفات الجهاز الفريدة.
- **بيانات الاستخدام:** كيفية تفاعلكم مع التطبيق، الميزات المستخدمة، الوقت المستغرق.
- **بيانات السجل:** عنوان IP، أوقات الوصول، وتقارير تعطل التطبيق.

#### 3. الأذونات التي نطلبها
- **الكاميرا:** للسماح لكم بالتقاط صور لصور الملف الشخصي ورفع المرفقات.
- **معرض الصور:** للسماح لكم باختيار الصور الموجودة على جهازكم.
- **الإشعارات:** لإرسال تحديثات حول الدورات، اللجان، والإعلانات المهمة.
- **التخزين:** لحفظ المستندات والملفات محليًا على جهازكم.

### كيف نستخدم معلوماتكم

نستخدم معلوماتكم من أجل:
- تقديم وصيانة الخدمات التعليمية للتطبيق
- معالجة وعرض المحتوى التعليمي الخاص بكم
- إرسال إشعارات حول الدورات، الواجبات، والتحديثات
- تحسين وظائف التطبيق وتجربة المستخدم
- الرد على طلبات الدعم الخاص بكم
- ضمان أمان حسابكم

### تخزين البيانات وأمنها

- يتم تخزين بياناتكم بشكل آمن على خوادمنا باستخدام تشفير بمعايير الصناعة.
- نحتفظ بمعلوماتكم فقط طالما كان ذلك ضروريًا لتقديم خدماتنا.
- ننفذ تدابير تقنية وتنظيمية مناسبة لحماية بياناتكم.

### مشاركة معلوماتكم

نحن **لا** نبيع معلوماتكم الشخصية. قد نشارك المعلومات فقط في هذه الحالات:
- **بموافقتكم:** عندما توافقون صراحةً على مشاركة المحتوى.
- **مزودي الخدمات:** مع أطراف ثالثة موثوقة تساعدنا في تشغيل التطبيق (مثل الاستضافة السحابية).
- **المتطلبات القانونية:** إذا طلب القانون ذلك أو لحماية حقوقنا.

### حقوقكم (امتثالاً للائحة العامة لحماية البيانات GDPR)

اعتمادًا على موقعكم، قد يكون لكم الحق في:
- **الوصول:** طلب نسخة من بياناتكم الشخصية.
- **التصحيح:** تحديث أو تصحيح المعلومات غير الدقيقة.
- **الحذف:** طلب حذف حسابكم وبياناتكم.
- **قابلية النقل:** استلام بياناتكم بتنسيق منظم.
- **الانسحاب:** إلغاء الاشتراك من الإشعارات أو الاتصالات التسويقية.

**لممارسة هذه الحقوق، يرجى الاتصال بنا على:** [INSERT YOUR EMAIL]

### خصوصية الأطفال

تطبيقنا مخصص للاستخدام التعليمي. إذا كنتم تحت سن 13 (أو السن المطبقة في بلدكم)، يرجى استخدام التطبيق فقط بموافقة الوالدين. نحن لا نجمع عمدًا معلومات شخصية من الأطفال دون موافقة الوالدين.

### تغييرات على سياسة الخصوصية هذه

قد نقوم بتحديث سياسة الخصوصية هذه من وقت لآخر. سنخطركم بأي تغييرات عن طريق:
- نشر سياسة الخصوصية الجديدة في التطبيق
- إرسال إشعار (إذا كنتم قد مكنتم الإشعارات)
- تحديث تاريخ "آخر تحديث"

### اتصل بنا

إذا كان لديكم أسئلة حول سياسة الخصوصية هذه أو بياناتكم، يرجى الاتصال بنا:

**البريد الإلكتروني:** [INSERT YOUR EMAIL]  
**الموقع الإلكتروني:** [INSERT YOUR WEBSITE]  
**العنوان:** [INSERT YOUR BUSINESS ADDRESS]

---

## Instructions for Customization

1. Replace all `[INSERT ...]` placeholders with your actual information
2. Host this on a publicly accessible URL
3. Add your actual contact email (e.g., privacy@allam.com)
4. If you have a website, add the URL
5. If you have a physical business address, include it
6. Update the "Last Updated" date when you make changes
7. Consider having a lawyer review this if you're processing sensitive data

## Free Hosting Options

If you don't have a website yet:
- **GitHub Pages:** Free, easy to set up
- **Netlify:** Free tier with custom domain support
- **Vercel:** Free hosting for static sites
- **Google Sites:** Completely free, no coding required

## Example GitHub Pages Setup

1. Create a repository named `allam-privacy-policy`
2. Add this file as `index.md` or `privacy.md`
3. Enable GitHub Pages in repository settings
4. Your URL will be: `https://[username].github.io/allam-privacy-policy/`
