@extends('web.home.layout.master')

@section('content')

  <div class="privacy-policy-container" style="max-width: 1200px; margin: 0 auto; padding: 40px 20px; font-family: 'Montserrat', sans-serif; color: #333; line-height: 1.6;padding-top:10%">
    <!-- Header Section -->
    <div class="policy-header" style="border-bottom: 2px solid #2a7fba; padding-bottom: 20px; margin-bottom: 30px;">
        <h1 style="color: #2a7fba; font-size: 2.5rem; margin-bottom: 10px; font-weight: 700;">Privacy Policy</h1>
        <div style="display: flex; align-items: center; gap: 15px;">
            <div style="background-color: #f0f8ff; padding: 8px 15px; border-radius: 20px; display: inline-block;">
                <p style="margin: 0; color: #2a7fba; font-weight: 600; font-size: 0.9rem;">Last updated: <span style="color: #333;">July 24, 2024</span></p>
            </div>
            <div style="flex-grow: 1; border-top: 1px dashed #ccc;"></div>
        </div>
    </div>

    <!-- Intro Section -->
    <div class="intro-section" style="background-color: #f8f9fa; padding: 25px; border-radius: 8px; margin-bottom: 30px; border-left: 4px solid #2a7fba;">
        <p style="font-size: 1.1rem; margin-bottom: 15px;">This Privacy Policy describes Our policies and procedures on the collection, use and disclosure of Your information when You use the Service and tells You about Your privacy rights and how the law protects You.</p>
        <p style="font-size: 1.1rem;">We use Your Personal data to provide and improve the Service. By using the Service, You agree to the collection and use of information in accordance with this Privacy Policy.</p>
    </div>

    <!-- Main Content -->
    <div class="policy-content" style="display: grid; grid-template-columns: 280px 1fr; gap: 30px;">
        <!-- Navigation Sidebar -->
        <div class="policy-nav" style="position: sticky; top: 20px; align-self: start; background: white; border-radius: 8px; padding: 20px; box-shadow: 0 2px 15px rgba(0,0,0,0.05); height: fit-content;">
            <h3 style="color: #2a7fba; margin-top: 0; margin-bottom: 15px; font-size: 1.2rem;">Quick Navigation</h3>
            <ul style="list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px;">
                <li><a href="#interpretation" style="text-decoration: none; color: #555; padding: 8px 12px; border-radius: 4px; display: block; transition: all 0.2s;" onmouseover="this.style.backgroundColor='#f0f8ff'; this.style.color='#2a7fba';" onmouseout="this.style.backgroundColor='transparent'; this.style.color='#555';">Interpretation & Definitions</a></li>
                <li><a href="#data-collection" style="text-decoration: none; color: #555; padding: 8px 12px; border-radius: 4px; display: block; transition: all 0.2s;" onmouseover="this.style.backgroundColor='#f0f8ff'; this.style.color='#2a7fba';" onmouseout="this.style.backgroundColor='transparent'; this.style.color='#555';">Data Collection</a></li>
                <li><a href="#data-use" style="text-decoration: none; color: #555; padding: 8px 12px; border-radius: 4px; display: block; transition: all 0.2s;" onmouseover="this.style.backgroundColor='#f0f8ff'; this.style.color='#2a7fba';" onmouseout="this.style.backgroundColor='transparent'; this.style.color='#555';">Use of Your Data</a></li>
                <li><a href="#data-retention" style="text-decoration: none; color: #555; padding: 8px 12px; border-radius: 4px; display: block; transition: all 0.2s;" onmouseover="this.style.backgroundColor='#f0f8ff'; this.style.color='#2a7fba';" onmouseout="this.style.backgroundColor='transparent'; this.style.color='#555';">Data Retention</a></li>
                <li><a href="#children-privacy" style="text-decoration: none; color: #555; padding: 8px 12px; border-radius: 4px; display: block; transition: all 0.2s;" onmouseover="this.style.backgroundColor='#f0f8ff'; this.style.color='#2a7fba';" onmouseout="this.style.backgroundColor='transparent'; this.style.color='#555';">Children's Privacy</a></li>
                <li><a href="#contact" style="text-decoration: none; color: #555; padding: 8px 12px; border-radius: 4px; display: block; transition: all 0.2s;" onmouseover="this.style.backgroundColor='#f0f8ff'; this.style.color='#2a7fba';" onmouseout="this.style.backgroundColor='transparent'; this.style.color='#555';">Contact Us</a></li>
            </ul>
        </div>

        <!-- Policy Sections -->
        <div class="policy-sections">
            <!-- Interpretation Section -->
            <section id="interpretation" style="margin-bottom: 40px; scroll-margin-top: 20px;">
                <div style="display: flex; align-items: center; gap: 10px; margin-bottom: 20px;">
                    <div style="width: 5px; height: 30px; background-color: #2a7fba; border-radius: 3px;"></div>
                    <h2 style="margin: 0; color: #2a7fba; font-size: 1.8rem;">Interpretation and Definitions</h2>
                </div>

                <h3 style="color: #444; font-size: 1.3rem; margin-top: 25px;">Interpretation</h3>
                <p>The words of which the initial letter is capitalized have meanings defined under the following conditions. The following definitions shall have the same meaning regardless of whether they appear in singular or in plural.</p>

                <h3 style="color: #444; font-size: 1.3rem; margin-top: 25px;">Definitions</h3>
                <p>For the purposes of this Privacy Policy:</p>

                <div style="background-color: #f8f9fa; border-radius: 8px; padding: 20px; margin-top: 15px;">
                    <ul style="list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 15px;">
                        <li style="padding: 12px; background: white; border-radius: 6px; box-shadow: 0 2px 5px rgba(0,0,0,0.05);">
                            <strong style="color: #2a7fba;">Account</strong>
                            <p style="margin: 5px 0 0 0;">means a unique account created for You to access our Service or parts of our Service.</p>
                        </li>
                        <li style="padding: 12px; background: white; border-radius: 6px; box-shadow: 0 2px 5px rgba(0,0,0,0.05);">
                            <strong style="color: #2a7fba;">Affiliate</strong>
                            <p style="margin: 5px 0 0 0;">means an entity that controls, is controlled by or is under common control with a party.</p>
                        </li>
                        <li style="padding: 12px; background: white; border-radius: 6px; box-shadow: 0 2px 5px rgba(0,0,0,0.05);">
                            <strong style="color: #2a7fba;">Company</strong>
                            <p style="margin: 5px 0 0 0;">refers to Cap Snap Lanka (Pvt) Ltd, NO.273, Level - 06, R.A. De Mel Mawatha, Colombo 03, Sri Lanka.</p>
                        </li>
                        <li style="padding: 12px; background: white; border-radius: 6px; box-shadow: 0 2px 5px rgba(0,0,0,0.05);">
                            <strong style="color: #2a7fba;">Cookies</strong>
                            <p style="margin: 5px 0 0 0;">are small files placed on Your device containing browsing history details.</p>
                        </li>
                    </ul>
                </div>
            </section>

            <!-- Data Collection Section -->
            <section id="data-collection" style="margin-bottom: 40px; scroll-margin-top: 20px;">
                <div style="display: flex; align-items: center; gap: 10px; margin-bottom: 20px;">
                    <div style="width: 5px; height: 30px; background-color: #2a7fba; border-radius: 3px;"></div>
                    <h2 style="margin: 0; color: #2a7fba; font-size: 1.8rem;">Collecting and Using Your Personal Data</h2>
                </div>

                <h3 style="color: #444; font-size: 1.3rem; margin-top: 25px;">Types of Data Collected</h3>

                <div style="background-color: #f0f8ff; border-radius: 8px; padding: 20px; margin: 20px 0; border-left: 4px solid #2a7fba;">
                    <h4 style="margin-top: 0; color: #2a7fba;">Personal Data</h4>
                    <p>While using Our Service, We may ask You to provide certain personally identifiable information:</p>
                    <div style="display: flex; flex-wrap: wrap; gap: 10px; margin-top: 15px;">
                        <span style="background-color: white; padding: 6px 12px; border-radius: 20px; font-size: 0.9rem; box-shadow: 0 1px 3px rgba(0,0,0,0.1);">Email address</span>
                        <span style="background-color: white; padding: 6px 12px; border-radius: 20px; font-size: 0.9rem; box-shadow: 0 1px 3px rgba(0,0,0,0.1);">First & last name</span>
                        <span style="background-color: white; padding: 6px 12px; border-radius: 20px; font-size: 0.9rem; box-shadow: 0 1px 3px rgba(0,0,0,0.1);">Phone number</span>
                        <span style="background-color: white; padding: 6px 12px; border-radius: 20px; font-size: 0.9rem; box-shadow: 0 1px 3px rgba(0,0,0,0.1);">Address details</span>
                        <span style="background-color: white; padding: 6px 12px; border-radius: 20px; font-size: 0.9rem; box-shadow: 0 1px 3px rgba(0,0,0,0.1);">Usage Data</span>
                    </div>
                </div>

                <h4 style="color: #444; font-size: 1.2rem; margin-top: 25px;">Usage Data</h4>
                <p>Usage Data is collected automatically when using the Service and may include:</p>
                <ul style="padding-left: 20px;">
                    <li style="margin-bottom: 8px; position: relative; padding-left: 20px;">
                        <span style="position: absolute; left: 0; color: #2a7fba;">•</span> Your Device's IP address, browser type, and version
                    </li>
                    <li style="margin-bottom: 8px; position: relative; padding-left: 20px;">
                        <span style="position: absolute; left: 0; color: #2a7fba;">•</span> The pages of our Service that You visit
                    </li>
                    <li style="margin-bottom: 8px; position: relative; padding-left: 20px;">
                        <span style="position: absolute; left: 0; color: #2a7fba;">•</span> Time and date of Your visit, time spent on pages
                    </li>
                </ul>

                <h4 style="color: #444; font-size: 1.2rem; margin-top: 25px;">Tracking Technologies and Cookies</h4>
                <p>We use Cookies and similar tracking technologies:</p>

                <div style="background-color: #f8f9fa; border-radius: 8px; padding: 20px; margin-top: 15px;">
                    <div style="display: flex; gap: 15px; margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px solid #eee;">
                        <div style="min-width: 40px; height: 40px; background-color: #2a7fba; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.2rem;">1</div>
                        <div>
                            <strong style="color: #2a7fba;">Cookies or Browser Cookies</strong>
                            <p style="margin: 5px 0 0 0;">A cookie is a small file placed on Your Device. You can instruct Your browser to refuse all Cookies.</p>
                        </div>
                    </div>
                    <div style="display: flex; gap: 15px;">
                        <div style="min-width: 40px; height: 40px; background-color: #2a7fba; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.2rem;">2</div>
                        <div>
                            <strong style="color: #2a7fba;">Web Beacons</strong>
                            <p style="margin: 5px 0 0 0;">Certain sections may contain small electronic files known as web beacons.</p>
                        </div>
                    </div>
                </div>
            </section>

            <!-- Data Use Section -->
            <section id="data-use" style="margin-bottom: 40px; scroll-margin-top: 20px;">
                <div style="display: flex; align-items: center; gap: 10px; margin-bottom: 20px;">
                    <div style="width: 5px; height: 30px; background-color: #2a7fba; border-radius: 3px;"></div>
                    <h2 style="margin: 0; color: #2a7fba; font-size: 1.8rem;">Use of Your Personal Data</h2>
                </div>

                <p>The Company may use Personal Data for the following purposes:</p>

                <div style="display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 20px;">
                    <div style="background-color: white; border-radius: 8px; padding: 20px; box-shadow: 0 3px 10px rgba(0,0,0,0.05); border-top: 3px solid #2a7fba;">
                        <h4 style="margin-top: 0; color: #2a7fba;">Service Provision</h4>
                        <p>To provide and maintain our Service, including monitoring usage.</p>
                    </div>
                    <div style="background-color: white; border-radius: 8px; padding: 20px; box-shadow: 0 3px 10px rgba(0,0,0,0.05); border-top: 3px solid #2a7fba;">
                        <h4 style="margin-top: 0; color: #2a7fba;">Account Management</h4>
                        <p>To manage Your registration as a user of the Service.</p>
                    </div>
                    <div style="background-color: white; border-radius: 8px; padding: 20px; box-shadow: 0 3px 10px rgba(0,0,0,0.05); border-top: 3px solid #2a7fba;">
                        <h4 style="margin-top: 0; color: #2a7fba;">Contact</h4>
                        <p>To contact You by email, telephone, SMS, or other equivalent forms.</p>
                    </div>
                    <div style="background-color: white; border-radius: 8px; padding: 20px; box-shadow: 0 3px 10px rgba(0,0,0,0.05); border-top: 3px solid #2a7fba;">
                        <h4 style="margin-top: 0; color: #2a7fba;">Business Transfers</h4>
                        <p>We may use Your information for business transfers or mergers.</p>
                    </div>
                </div>
            </section>

            <!-- Data Retention Section -->
            <section id="data-retention" style="margin-bottom: 40px; scroll-margin-top: 20px;">
                <div style="display: flex; align-items: center; gap: 10px; margin-bottom: 20px;">
                    <div style="width: 5px; height: 30px; background-color: #2a7fba; border-radius: 3px;"></div>
                    <h2 style="margin: 0; color: #2a7fba; font-size: 1.8rem;">Retention of Your Personal Data</h2>
                </div>

                <div style="background-color: #f8f9fa; border-radius: 8px; padding: 20px; position: relative;">
                    <div style="position: absolute; top: 10px; right: 10px; background-color: #2a7fba; color: white; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem;">i</div>
                    <p style="margin-right: 40px;">The Company will retain Your Personal Data only for as long as is necessary for the purposes set out in this Privacy Policy. We will retain and use Your Personal Data to the extent necessary to comply with our legal obligations, resolve disputes, and enforce our policies.</p>
                </div>
            </section>

            <!-- Children's Privacy Section -->
            <section id="children-privacy" style="margin-bottom: 40px; scroll-margin-top: 20px;">
                <div style="display: flex; align-items: center; gap: 10px; margin-bottom: 20px;">
                    <div style="width: 5px; height: 30px; background-color: #2a7fba; border-radius: 3px;"></div>
                    <h2 style="margin: 0; color: #2a7fba; font-size: 1.8rem;">Children's Privacy</h2>
                </div>

                <div style="background-color: #fff8f0; border-radius: 8px; padding: 20px; border-left: 4px solid #ffa726;">
                    <p>Our Service does not address anyone under the age of 13. We do not knowingly collect personally identifiable information from anyone under the age of 13. If You are a parent or guardian and You are aware that Your child has provided Us with Personal Data, please contact Us.</p>
                </div>
            </section>

            <!-- Contact Section -->
            <section id="contact" style="margin-bottom: 40px; scroll-margin-top: 20px;">
                <div style="display: flex; align-items: center; gap: 10px; margin-bottom: 20px;">
                    <div style="width: 5px; height: 30px; background-color: #2a7fba; border-radius: 3px;"></div>
                    <h2 style="margin: 0; color: #2a7fba; font-size: 1.8rem;">Contact Us</h2>
                </div>

                <p>If you have any questions about this Privacy Policy, You can contact us:</p>

                <div style="display: flex; gap: 20px; margin-top: 20px;">
                    <div style="flex: 1; background-color: white; border-radius: 8px; padding: 20px; box-shadow: 0 3px 10px rgba(0,0,0,0.05); text-align: center;">
                        <div style="width: 60px; height: 60px; background-color: #f0f8ff; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 15px; color: #2a7fba; font-size: 1.5rem;">
                            ✉️
                        </div>
                        <h4 style="margin: 0 0 10px 0; color: #2a7fba;">Email</h4>
                        <p style="margin: 0;"><a href="mailto:info@americanplastic.lk" style="color: #2a7fba; text-decoration: none;">info@americanplastic.lk</a></p>
                    </div>
                    <div style="flex: 1; background-color: white; border-radius: 8px; padding: 20px; box-shadow: 0 3px 10px rgba(0,0,0,0.05); text-align: center;">
                        <div style="width: 60px; height: 60px; background-color: #f0f8ff; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 15px; color: #2a7fba; font-size: 1.5rem;">
                            📞
                        </div>
                        <h4 style="margin: 0 0 10px 0; color: #2a7fba;">Phone</h4>
                        <p style="margin: 0;"><a href="tel:+94 77 286 4877" style="color: #2a7fba; text-decoration: none;">+94 77 286 4877</a></p>
                    </div>
                </div>
            </section>
        </div>
    </div>

    <!-- Footer -->
    <div class="policy-footer" style="margin-top: 50px; padding-top: 20px; border-top: 1px solid #eee; text-align: center; color: #777; font-size: 0.9rem;">
        <p>© 2024 American Plastics. All rights reserved.</p>
    </div>
</div>

@endsection
