<?php
$config = include __DIR__ . '/config.php';
require_once 'header.php';
?>

<section class="py-5">
  <div class="container">
    <div class="row justify-content-center">
      <div class="col-12 col-md-10">
        <div class="mb-4">
          <h2 class="mb-3">Privacy Policy for <?= htmlspecialchars($config['site_name']) ?></h2>
          <p>Effective date: January 1, <?= $config['founded_year'] ?></p>
        </div>

        <p>Welcome to <?= htmlspecialchars($config['site_name']) ?> (“we”, “us”, or “our”). This Privacy Policy describes how we collect, use, and share your personal information when you use our website.</p>

        <h4 class="mt-4">1. Our Business Information</h4>
        <p><strong>Founded:</strong> <?= $config['founded_year'] ?><br>
           <strong>Address:</strong><br>
           Building Number: <?= htmlspecialchars($config['address']['building']) ?><br>
           Street Name: <?= htmlspecialchars($config['address']['street_name']) ?><br>
           Street Address: <?= htmlspecialchars($config['address']['street_addr']) ?><br>
           City: <?= htmlspecialchars($config['address']['city']) ?>, <?= htmlspecialchars($config['address']['state']) ?><br>
           Post Code: <?= htmlspecialchars($config['address']['postcode']) ?>
        </p>

        <h4 class="mt-4">2. Information We Collect</h4>
        <ul>
          <li><strong>Information You Provide:</strong> Name, email, phone, messages when you contact us.</li>
          <li><strong>Automatically Collected:</strong> IP address, browser type, pages visited, and usage analytics.</li>
          <li><strong>Cookies &amp; Tracking:</strong> We use cookies to improve your experience and for analytics.</li>
        </ul>

        <h4 class="mt-4">3. How We Use Your Information</h4>
        <ul>
          <li>To respond to your inquiries and provide customer support.</li>
          <li>To send administrative emails (e.g. updates, security alerts).</li>
          <li>To improve our website and services by analyzing usage patterns.</li>
          <li>To comply with legal obligations and protect our rights.</li>
        </ul>

        <h4 class="mt-4">4. Information Sharing &amp; Disclosure</h4>
        <p>We do not sell or rent your personal data. We may share information with:</p>
        <ul>
          <li>Service providers who help us operate the website (hosting, email delivery).</li>
          <li>Law enforcement or government authorities if required by law or to protect our rights.</li>
        </ul>

        <h4 class="mt-4">5. Your Choices</h4>
        <p>You can:</p>
        <ul>
          <li>Opt out of marketing emails by following the unsubscribe link.</li>
          <li>Disable cookies through your browser settings (though this may affect site functionality).</li>
          <li>Contact us to update, correct, or delete your personal information.</li>
        </ul>

        <h4 class="mt-4">6. Security</h4>
        <p>We implement reasonable technical and organizational measures to protect your personal data, but no internet transmission can be guaranteed 100% secure.</p>

        <h4 class="mt-4">7. Changes to This Policy</h4>
        <p>We may update this Privacy Policy from time to time. The “Effective date” at the top will reflect the latest revision.</p>

        <h4 class="mt-4">8. Contact Us</h4>
        <p>If you have any questions about this policy, please <a href="contact.php">contact us</a> or email us at <a href="mailto:info@globalnetshipping.com">info@globalnetshipping.com</a>.</p>
      </div>
    </div>
  </div>
</section>

<?php
require_once 'footer.php';
