<?php
/**
* Privacy Policy Page
* This page displays the privacy policy for OPTI SLIP
* Features: Privacy terms, data protection, user privacy rights, responsive design
*/
// Start session if not already started
if (session_status() == PHP_SESSION_NONE) {
session_start();
}
// Include required files
require_once 'config/database.php'; // Database connection configuration
require_once 'includes/auth.php'; // Authentication functions
/**
* Authentication Check
* Redirect to welcome page if user is not logged in
*/
if (!isLoggedIn()) {
header('Location: welcome.php');
exit();
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Privacy Policy - OPTI SLIP</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" rel="stylesheet">
<link href="assets/css/style.css" rel="stylesheet">
<style>
body {
background: #169D53;
min-height: 100vh;
margin: 0;
padding: 0;
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}
.privacy-container {
max-width: 100%;
margin: 0;
padding: 20px;
}
.privacy-header {
display: flex;
align-items: center;
gap: 15px;
margin-bottom: 30px;
flex-wrap: wrap;
}
.back-btn {
background: rgba(255, 255, 255, 0.2);
color: white;
border: 2px solid white;
padding: 10px 15px;
border-radius: 8px;
cursor: pointer;
transition: all 0.3s ease;
font-size: 14px;
font-weight: 600;
display: flex;
align-items: center;
gap: 8px;
}
.back-btn:hover {
background: white;
color: #169D53;
transform: translateY(-2px);
}
.privacy-title {
color: white;
font-size: 24px;
font-weight: 700;
margin: 0;
}
.privacy-card {
background: white;
border-radius: 20px;
padding: 40px;
box-shadow: 0 20px 40px rgba(22, 157, 83, 0.1);
margin-bottom: 30px;
border-top: 4px solid #169D53;
}
.privacy-logo {
text-align: center;
margin-bottom: 40px;
}
.privacy-logo h1 {
font-size: 48px;
color: #169D53;
font-weight: 800;
margin: 0;
letter-spacing: 2px;
}
.privacy-logo p {
color: #666;
margin: 10px 0 0 0;
font-size: 16px;
}
.section-title {
color: #169D53;
font-size: 20px;
font-weight: 700;
margin: 30px 0 15px 0;
padding-bottom: 10px;
border-bottom: 2px solid #169D53;
}
.section-title:first-child {
margin-top: 0;
}
.privacy-content {
color: #333;
line-height: 1.8;
font-size: 15px;
}
.privacy-content p {
margin-bottom: 15px;
text-align: justify;
}
.privacy-content ul,
.privacy-content ol {
margin: 15px 0;
padding-left: 30px;
}
.privacy-content li {
margin-bottom: 10px;
line-height: 1.8;
}
.privacy-content strong {
color: #169D53;
font-weight: 600;
}
.highlight-box {
background: #f0fdf4;
border-left: 4px solid #169D53;
padding: 20px;
margin: 20px 0;
border-radius: 8px;
}
.highlight-box p {
margin: 0;
}
.contact-info {
background: #169D53;
color: white;
padding: 25px;
border-radius: 12px;
margin-top: 30px;
}
.contact-info h3 {
margin: 0 0 15px 0;
font-size: 18px;
font-weight: 700;
}
.contact-info p {
margin: 8px 0;
display: flex;
align-items: center;
gap: 10px;
}
.contact-info i {
width: 20px;
}
/* Mobile Responsive */
@media (max-width: 768px) {
.privacy-container {
padding: 15px;
}
.privacy-card {
padding: 25px;
border-radius: 15px;
}
.privacy-logo h1 {
font-size: 36px;
}
.privacy-title {
font-size: 20px;
}
.section-title {
font-size: 18px;
}
.privacy-content {
font-size: 14px;
}
}
@media (max-width: 480px) {
.privacy-container {
padding: 10px;
}
.privacy-card {
padding: 20px;
}
.privacy-logo h1 {
font-size: 28px;
}
.privacy-title {
font-size: 18px;
}
.section-title {
font-size: 16px;
}
.contact-info {
padding: 20px;
}
}
</style>
</head>
<body>
<div class="privacy-container">
<div class="privacy-header">
<button class="back-btn" onclick="window.location.href='home.php'">
<i class="fas fa-arrow-left"></i>
<span>Back</span>
</button>
<h2 class="privacy-title">Privacy Policy</h2>
</div>
<div class="privacy-card">
<div class="privacy-logo">
<h1>OPTI SLIP</h1>
<p>Your Privacy Matters to Us</p>
</div>
<div class="privacy-content">
<div class="highlight-box">
<p><strong>Last Updated:</strong> October 3, 2025</p>
<p><strong>Effective Date:</strong> October 3, 2025</p>
</div>
<h3 class="section-title">1. Introduction</h3>
<p>Welcome to OPTI SLIP. We are committed to protecting your personal information and your right to privacy. This Privacy Policy explains how we collect, use, disclose, and safeguard your information when you use our optical shop management system.</p>
<p>By accessing or using our services, you agree to the terms of this Privacy Policy. If you do not agree with our policies and practices, please do not use our services.</p>
<h3 class="section-title">2. Information We Collect</h3>
<p>We collect several types of information from and about users of our services:</p>
<p><strong>2.1 Personal Information</strong></p>
<ul>
<li><strong>Account Information:</strong> Name, email address, phone number, shop details</li>
<li><strong>Patient Records:</strong> Patient names, contact information, prescription details, order information</li>
<li><strong>Business Information:</strong> Shop name, address, WhatsApp number, social media handles, website</li>
<li><strong>Payment Information:</strong> Transaction details, order amounts, payment history</li>
</ul>
<p><strong>2.2 Technical Information</strong></p>
<ul>
<li>IP address and browser type</li>
<li>Device information</li>
<li>Usage data and analytics</li>
<li>Cookies and tracking technologies</li>
</ul>
<h3 class="section-title">3. How We Use Your Information</h3>
<p>We use the information we collect for the following purposes:</p>
<ul>
<li><strong>Service Provision:</strong> To provide and maintain our optical management services</li>
<li><strong>Order Management:</strong> To process and track patient orders and prescriptions</li>
<li><strong>Communication:</strong> To send you updates, notifications, and service-related announcements</li>
<li><strong>Analytics:</strong> To analyze usage patterns and improve our services</li>
<li><strong>Security:</strong> To protect against fraud, unauthorized access, and other security issues</li>
<li><strong>Legal Compliance:</strong> To comply with applicable laws and regulations</li>
</ul>
<h3 class="section-title">4. Data Sharing and Disclosure</h3>
<p>We do not sell your personal information. We may share your information only in the following circumstances:</p>
<ul>
<li><strong>With Your Consent:</strong> When you explicitly authorize us to share information</li>
<li><strong>Service Providers:</strong> With trusted third-party service providers who assist us in operating our platform</li>
<li><strong>Legal Requirements:</strong> When required by law, court order, or governmental authority</li>
<li><strong>Business Transfers:</strong> In connection with any merger, sale, or acquisition of our business</li>
<li><strong>Protection of Rights:</strong> To protect our rights, property, or safety, or that of our users</li>
</ul>
<h3 class="section-title">5. Data Security</h3>
<p>We implement appropriate technical and organizational security measures to protect your personal information against unauthorized access, alteration, disclosure, or destruction. These measures include:</p>
<ul>
<li>Encrypted data transmission (SSL/TLS)</li>
<li>Secure password storage with encryption</li>
<li>Regular security assessments and updates</li>
<li>Limited access to personal information on a need-to-know basis</li>
<li>Regular backups and disaster recovery procedures</li>
</ul>
<div class="highlight-box">
<p><i class="fas fa-shield-alt"></i> <strong>Important:</strong> While we strive to protect your personal information, no method of transmission over the Internet or electronic storage is 100% secure. We cannot guarantee absolute security.</p>
</div>
<h3 class="section-title">6. Data Retention</h3>
<p>We retain your personal information only for as long as necessary to fulfill the purposes outlined in this Privacy Policy, unless a longer retention period is required or permitted by law. Patient records and order information may be retained for extended periods to comply with medical record retention requirements and business purposes.</p>
<h3 class="section-title">7. Your Privacy Rights</h3>
<p>Depending on your location, you may have the following rights regarding your personal information:</p>
<ul>
<li><strong>Access:</strong> Right to request access to your personal information</li>
<li><strong>Correction:</strong> Right to request correction of inaccurate or incomplete information</li>
<li><strong>Deletion:</strong> Right to request deletion of your personal information</li>
<li><strong>Data Portability:</strong> Right to receive your data in a structured, commonly used format</li>
<li><strong>Opt-Out:</strong> Right to opt out of marketing communications</li>
<li><strong>Withdraw Consent:</strong> Right to withdraw consent where processing is based on consent</li>
</ul>
<p>To exercise these rights, please contact us using the information provided below.</p>
<h3 class="section-title">8. Cookies and Tracking Technologies</h3>
<p>We use cookies and similar tracking technologies to track activity on our service and store certain information. Cookies are files with small amounts of data that are stored on your device. You can instruct your browser to refuse all cookies or to indicate when a cookie is being sent. However, if you do not accept cookies, you may not be able to use some portions of our service.</p>
<h3 class="section-title">9. Third-Party Links</h3>
<p>Our service may contain links to third-party websites or services that are not owned or controlled by OPTI SLIP. We have no control over and assume no responsibility for the content, privacy policies, or practices of any third-party sites or services. We encourage you to review the privacy policy of every site you visit.</p>
<h3 class="section-title">10. Children's Privacy</h3>
<p>Our services are not intended for individuals under the age of 18. We do not knowingly collect personal information from children under 18. If you become aware that a child has provided us with personal information, please contact us, and we will take steps to delete such information.</p>
<h3 class="section-title">11. International Data Transfers</h3>
<p>Your information may be transferred to and maintained on computers located outside of your state, province, country, or other governmental jurisdiction where data protection laws may differ from those of your jurisdiction. By using our services, you consent to such transfers.</p>
<h3 class="section-title">12. Changes to This Privacy Policy</h3>
<p>We may update our Privacy Policy from time to time. We will notify you of any changes by posting the new Privacy Policy on this page and updating the "Last Updated" date. You are advised to review this Privacy Policy periodically for any changes. Changes to this Privacy Policy are effective when they are posted on this page.</p>
<h3 class="section-title">13. Contact Us</h3>
<p>If you have any questions, concerns, or requests regarding this Privacy Policy or our privacy practices, please contact us:</p>
<div class="contact-info">
<h3><i class="fas fa-envelope"></i> Get in Touch</h3>
<p><i class="fas fa-building"></i> <strong>OPTI SLIP</strong></p>
<p><i class="fas fa-envelope"></i> Email: privacy@optislip.com</p>
<p><i class="fab fa-whatsapp"></i> WhatsApp: +1 218-310-3335</p>
<p><i class="fas fa-globe"></i> Website: optislip.com</p>
<p><i class="fab fa-facebook"></i> Facebook: @optislip</p>
<p><i class="fab fa-instagram"></i> Instagram: @opti.slip</p>
</div>
<div class="highlight-box" style="margin-top: 30px;">
<p><strong>Consent:</strong> By using OPTI SLIP, you acknowledge that you have read and understood this Privacy Policy and agree to its terms.</p>
</div>
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>