{% extends 'rental_app/base_rental.html' %}
{% load static %}

{% block title %}Privacy Policy | Rent in Sri Lanka{% endblock %}

{% block content %}

<style>
    /* =========================================================
       RENT IN SRI LANKA - PRIVACY POLICY PAGE
    ========================================================= */

    .rental-privacy-hero {
        position: relative;
        min-height: 540px;
        display: flex;
        align-items: center;
        overflow: hidden;
        background-color: #0d1b2a;
    }

    .rental-privacy-hero-bg {
        position: absolute;
        inset: 0;
        background:
            linear-gradient(
                90deg,
                rgba(8, 20, 32, 0.95) 0%,
                rgba(8, 20, 32, 0.87) 45%,
                rgba(8, 20, 32, 0.72) 100%
            ),
            url("{% static 'expat_life/images/rental_hero.webp' %}") center center / cover no-repeat;
        transform: scale(1.03);
        z-index: 0;
    }

    .rental-privacy-hero::after {
        content: "";
        position: absolute;
        inset: 0;
        background:
            radial-gradient(circle at 20% 40%, rgba(255, 193, 7, 0.18), transparent 35%),
            radial-gradient(circle at 80% 65%, rgba(13, 110, 253, 0.18), transparent 38%);
        z-index: 1;
    }

    .rental-privacy-hero-content {
        position: relative;
        z-index: 2;
        padding-top: 90px;
        padding-bottom: 90px;
    }

    .rental-privacy-badge {
        display: inline-block;
        background: rgba(255, 193, 7, 0.18);
        color: #ffc107;
        border: 1px solid rgba(255, 193, 7, 0.38);
        padding: 8px 16px;
        border-radius: 50px;
        font-weight: 700;
        font-size: 0.85rem;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        backdrop-filter: blur(10px);
    }

    .rental-privacy-hero h1 {
        color: #fff;
    }

    .rental-privacy-hero p {
        color: rgba(255, 255, 255, 0.88);
    }

    .privacy-intro-card {
        background: #fff;
        border-radius: 28px;
        padding: 34px;
        box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
        border: 1px solid rgba(15, 23, 42, 0.06);
    }

    .privacy-highlight-card {
        height: 100%;
        border-radius: 28px;
        padding: 32px;
        color: #fff;
        background: linear-gradient(135deg, #0d1b2a 0%, #0d6efd 100%);
        box-shadow: 0 22px 45px rgba(13, 27, 42, 0.20);
    }

    .privacy-highlight-card i {
        color: #ffc107;
        font-size: 2rem;
    }

    .privacy-toc-card {
        background: #0d1b2a;
        color: #fff;
        border-radius: 28px;
        padding: 30px;
        position: sticky;
        top: 110px;
        box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
    }

    .privacy-toc-card h5 {
        color: #ffc107;
    }

    .privacy-toc-card a {
        display: block;
        color: rgba(255, 255, 255, 0.88);
        text-decoration: none;
        padding: 8px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        transition: 0.2s ease;
    }

    .privacy-toc-card a:last-child {
        border-bottom: 0;
    }

    .privacy-toc-card a:hover {
        color: #ffc107;
        padding-left: 5px;
    }

    .privacy-section-card {
        background: #fff;
        border-radius: 26px;
        padding: 34px;
        box-shadow: 0 16px 40px rgba(15, 23, 42, 0.07);
        border: 1px solid rgba(15, 23, 42, 0.05);
        margin-bottom: 26px;
    }

    .privacy-section-card h2 {
        font-weight: 800;
        color: #0d1b2a;
        margin-bottom: 18px;
        font-size: 1.55rem;
    }

    .privacy-section-card h3 {
        font-weight: 700;
        color: #111827;
        font-size: 1.15rem;
        margin-top: 22px;
        margin-bottom: 12px;
    }

    .privacy-section-card p,
    .privacy-section-card li {
        color: #475569;
        line-height: 1.8;
    }

    .privacy-section-card ul,
    .privacy-section-card ol {
        padding-left: 1.2rem;
    }

    .privacy-section-card li {
        margin-bottom: 10px;
    }

    .privacy-number {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border-radius: 14px;
        background: #eaf3ff;
        color: #0d6efd;
        font-weight: 800;
        margin-right: 12px;
        flex-shrink: 0;
    }

    .privacy-title-row {
        display: flex;
        align-items: center;
        margin-bottom: 18px;
    }

    .privacy-note-box {
        border-radius: 20px;
        padding: 20px;
        background: #fff7df;
        border-left: 5px solid #ffc107;
        margin-top: 20px;
        color: #334155;
    }

    .privacy-blue-box {
        border-radius: 20px;
        padding: 20px;
        background: #eef5ff;
        border-left: 5px solid #0d6efd;
        margin-top: 20px;
        color: #334155;
    }

    .privacy-green-box {
        border-radius: 20px;
        padding: 20px;
        background: #ecfdf5;
        border-left: 5px solid #198754;
        margin-top: 20px;
        color: #334155;
    }

    .privacy-danger-box {
        border-radius: 20px;
        padding: 20px;
        background: #fff1f2;
        border-left: 5px solid #dc3545;
        margin-top: 20px;
        color: #334155;
    }

    .privacy-info-grid {
        background: #f8fafc;
        border-radius: 20px;
        padding: 22px;
        margin-top: 18px;
        border: 1px solid rgba(15, 23, 42, 0.06);
    }

    .privacy-data-item {
        background: #fff;
        border-radius: 18px;
        padding: 18px;
        height: 100%;
        box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
    }

    .privacy-data-item i {
        color: #0d6efd;
        font-size: 1.35rem;
        margin-bottom: 10px;
        display: inline-block;
    }

    .privacy-final-cta {
        border-radius: 32px;
        padding: 58px 36px;
        background:
            linear-gradient(
                135deg,
                rgba(13, 27, 42, 0.97) 0%,
                rgba(13, 110, 253, 0.93) 100%
            );
        box-shadow: 0 30px 65px rgba(13, 27, 42, 0.20);
    }

    @media (max-width: 991px) {
        .rental-privacy-hero {
            min-height: auto;
        }

        .rental-privacy-hero-content {
            padding-top: 70px;
            padding-bottom: 70px;
        }

        .privacy-toc-card {
            position: static;
            margin-bottom: 30px;
        }
    }

    @media (max-width: 767px) {
        .privacy-intro-card,
        .privacy-highlight-card,
        .privacy-toc-card,
        .privacy-section-card {
            padding: 24px;
        }

        .privacy-final-cta {
            padding: 42px 22px;
        }

        .privacy-title-row {
            align-items: flex-start;
        }
    }
</style>


<!-- =========================================================
     HERO
========================================================= -->
<section class="rental-privacy-hero">
    <div class="rental-privacy-hero-bg"></div>

    <div class="container rental-privacy-hero-content">
        <div class="row">
            <div class="col-lg-9">
                <span class="rental-privacy-badge mb-3">
                    Rent in Sri Lanka | Privacy &amp; Data Protection
                </span>

                <h1 class="display-5 fw-bold mb-3">
                    Privacy Policy
                </h1>

                <p class="lead mb-0">
                    This Privacy Policy explains how Ensolanka collects, uses, stores, shares,
                    and protects personal information connected with the Rent in Sri Lanka
                    rental owner and property partner portal.
                </p>
            </div>
        </div>
    </div>
</section>


<!-- =========================================================
     INTRO
========================================================= -->
<section class="py-5 bg-light">
    <div class="container">
        <div class="row g-4 align-items-stretch">

            <div class="col-lg-8">
                <div class="privacy-intro-card h-100">
                    <span class="section-mini-title">Our Commitment</span>
                    <h2 class="fw-bold mb-3">
                        We Respect the Privacy of Property Owners, Guests, and Portal Users
                    </h2>

                    <p class="text-muted">
                        Rent in Sri Lanka is built to create a trusted rental pathway between Sri Lankan
                        property owners and international guests. To operate that process responsibly,
                        Ensolanka may collect and process information submitted through account registration,
                        property listings, payment activity, support requests, communication records,
                        guest interest flows, and property verification processes.
                    </p>

                    <p class="text-muted mb-0">
                        We aim to handle personal information fairly, responsibly, and only for legitimate
                        business, platform, support, security, and rental coordination purposes.
                    </p>
                </div>
            </div>

            <div class="col-lg-4">
                <div class="privacy-highlight-card">
                    <i class="bi bi-shield-lock-fill d-block mb-3"></i>

                    <h4 class="fw-bold mb-3">
                        Privacy by Responsibility
                    </h4>

                    <p class="mb-0">
                        We collect information needed to operate the portal, verify listings,
                        coordinate rental opportunities, handle payments, and support users —
                        not to misuse or unnecessarily expose their data.
                    </p>
                </div>
            </div>

        </div>
    </div>
</section>


<!-- =========================================================
     MAIN PRIVACY CONTENT
========================================================= -->
<section class="py-5 bg-white">
    <div class="container">
        <div class="row g-5">

            <!-- TABLE OF CONTENTS -->
            <div class="col-lg-4">
                <div class="privacy-toc-card">
                    <h5 class="fw-bold mb-3">Privacy Overview</h5>

                    <a href="#privacy-1">1. Scope of This Policy</a>
                    <a href="#privacy-2">2. Who We Are</a>
                    <a href="#privacy-3">3. Information We Collect</a>
                    <a href="#privacy-4">4. Property Listing Content</a>
                    <a href="#privacy-5">5. Guest Interest &amp; Rental Coordination Data</a>
                    <a href="#privacy-6">6. Payment &amp; Banking Information</a>
                    <a href="#privacy-7">7. How We Use Information</a>
                    <a href="#privacy-8">8. Data Sharing</a>
                    <a href="#privacy-9">9. Public and Private Visibility</a>
                    <a href="#privacy-10">10. Communications</a>
                    <a href="#privacy-11">11. Cookies &amp; Technical Data</a>
                    <a href="#privacy-12">12. Data Retention</a>
                    <a href="#privacy-13">13. Data Security</a>
                    <a href="#privacy-14">14. International Processing</a>
                    <a href="#privacy-15">15. Your Choices and Rights</a>
                    <a href="#privacy-16">16. Children’s Privacy</a>
                    <a href="#privacy-17">17. Third-Party Services</a>
                    <a href="#privacy-18">18. Policy Updates</a>
                    <a href="#privacy-19">19. Contact Us</a>
                </div>
            </div>


            <!-- POLICY SECTIONS -->
            <div class="col-lg-8">

                <!-- 1 -->
                <div class="privacy-section-card" id="privacy-1">
                    <div class="privacy-title-row">
                        <span class="privacy-number">01</span>
                        <h2 class="mb-0">Scope of This Privacy Policy</h2>
                    </div>

                    <p>
                        This Privacy Policy applies to the Rent in Sri Lanka rental portal,
                        including Rental Owner registration, profile management, property listings,
                        listing images, owner dashboards, payment center activity, banking detail submissions,
                        contact forms, support communications, property review workflows, and related services
                        operated by Ensolanka.
                    </p>

                    <p>
                        It may apply to:
                    </p>

                    <ul>
                        <li>Rental Owners and Property Partners;</li>
                        <li>Website visitors who use the rental portal;</li>
                        <li>Individuals who contact Ensolanka through rental app forms;</li>
                        <li>Guests whose interest or rental coordination activity becomes connected with a rental listing;</li>
                        <li>Authorized representatives acting on behalf of a property owner where applicable.</li>
                    </ul>
                </div>


                <!-- 2 -->
                <div class="privacy-section-card" id="privacy-2">
                    <div class="privacy-title-row">
                        <span class="privacy-number">02</span>
                        <h2 class="mb-0">Who We Are</h2>
                    </div>

                    <p>
                        Rent in Sri Lanka is operated by Ensolanka as part of its platform for helping
                        international guests explore living opportunities in Sri Lanka and helping local
                        property owners connect with suitable rental demand through a guided process.
                    </p>

                    <p>
                        For privacy-related matters connected with this portal, you may contact:
                    </p>

                    <ul>
                        <li><strong>Email:</strong> info@ensolanka.com</li>
                        <li><strong>Support:</strong> support@ensolanka.com</li>
                        <li><strong>Asia Regional Office:</strong> Ensolanka Holdings (Pvt) Ltd, Main Road, Wennappuwa, Sri Lanka</li>
                    </ul>
                </div>


                <!-- 3 -->
                <div class="privacy-section-card" id="privacy-3">
                    <div class="privacy-title-row">
                        <span class="privacy-number">03</span>
                        <h2 class="mb-0">Information We Collect</h2>
                    </div>

                    <p>
                        We may collect information directly from users, automatically through website usage,
                        or through rental coordination activity connected with the portal.
                    </p>

                    <div class="privacy-info-grid">
                        <div class="row g-3">

                            <div class="col-md-6">
                                <div class="privacy-data-item">
                                    <i class="bi bi-person-badge-fill"></i>
                                    <h6 class="fw-bold">Account and Profile Data</h6>
                                    <p class="small text-muted mb-0">
                                        Name, username, email address, phone number, profile image,
                                        owner type, account approval status, and related registration details.
                                    </p>
                                </div>
                            </div>

                            <div class="col-md-6">
                                <div class="privacy-data-item">
                                    <i class="bi bi-house-door-fill"></i>
                                    <h6 class="fw-bold">Property Listing Data</h6>
                                    <p class="small text-muted mb-0">
                                        Property title, description, location, rent, furnishing status,
                                        facilities, rules, availability, visibility status, listing images,
                                        and related content submitted by the owner.
                                    </p>
                                </div>
                            </div>

                            <div class="col-md-6">
                                <div class="privacy-data-item">
                                    <i class="bi bi-chat-left-text-fill"></i>
                                    <h6 class="fw-bold">Communication Data</h6>
                                    <p class="small text-muted mb-0">
                                        Contact form messages, support inquiries, email correspondence,
                                        clarification notes, and communications connected with listings
                                        or rental coordination.
                                    </p>
                                </div>
                            </div>

                            <div class="col-md-6">
                                <div class="privacy-data-item">
                                    <i class="bi bi-graph-up-arrow"></i>
                                    <h6 class="fw-bold">Platform Activity Data</h6>
                                    <p class="small text-muted mb-0">
                                        Listing status, interest request activity, dashboard usage,
                                        featured profile status, approvals, edits, and other account-related actions.
                                    </p>
                                </div>
                            </div>

                            <div class="col-md-6">
                                <div class="privacy-data-item">
                                    <i class="bi bi-credit-card-2-front-fill"></i>
                                    <h6 class="fw-bold">Payment Record Data</h6>
                                    <p class="small text-muted mb-0">
                                        Payment item type, amount, payment status, transaction references,
                                        billing records, featured profile fee records, and rental-related
                                        payable tracking where applicable.
                                    </p>
                                </div>
                            </div>

                            <div class="col-md-6">
                                <div class="privacy-data-item">
                                    <i class="bi bi-bank2"></i>
                                    <h6 class="fw-bold">Banking and Payout Data</h6>
                                    <p class="small text-muted mb-0">
                                        Banking details submitted by Rental Owners for legitimate payout
                                        administration, payment settlement, or related finance operations.
                                    </p>
                                </div>
                            </div>

                        </div>
                    </div>
                </div>


                <!-- 4 -->
                <div class="privacy-section-card" id="privacy-4">
                    <div class="privacy-title-row">
                        <span class="privacy-number">04</span>
                        <h2 class="mb-0">Property Listing Content and Images</h2>
                    </div>

                    <p>
                        Rental Owners may upload property-related text, images, pricing, location descriptions,
                        and facility details. Depending on the visibility status of the listing, some of this
                        information may be made visible to public visitors, registered guests, or eligible users
                        within the portal.
                    </p>

                    <p>
                        Owners should avoid uploading unnecessary personal documents or private information inside
                        listing descriptions or images. For example, owners should not intentionally include:
                    </p>

                    <ul>
                        <li>National identity card numbers;</li>
                        <li>Passport numbers;</li>
                        <li>Private banking details;</li>
                        <li>Unnecessary personal documents;</li>
                        <li>Sensitive third-party information visible in photos.</li>
                    </ul>

                    <div class="privacy-note-box">
                        <strong>Owner responsibility:</strong> Please review images before uploading.
                        If a photograph accidentally shows personal papers, household identification documents,
                        vehicle numbers, or other unnecessary private details, remove or edit it before submission.
                    </div>
                </div>


                <!-- 5 -->
                <div class="privacy-section-card" id="privacy-5">
                    <div class="privacy-title-row">
                        <span class="privacy-number">05</span>
                        <h2 class="mb-0">Guest Interest and Rental Coordination Data</h2>
                    </div>

                    <p>
                        When a Guest expresses interest in a property listing, selects a property for review,
                        requests verification, or proceeds toward a rental arrangement, Ensolanka may process
                        relevant coordination data to manage that workflow.
                    </p>

                    <p>
                        This may include:
                    </p>

                    <ul>
                        <li>The property or properties in which a Guest expressed interest;</li>
                        <li>The selected property for verification or follow-up;</li>
                        <li>Status notes such as interested, reviewing, contacted, negotiating, selected, or closed;</li>
                        <li>Verification and inspection notes;</li>
                        <li>Rental coordination communication between Ensolanka, the Guest, and the Owner;</li>
                        <li>Agreement-related or settlement-related records where a rental arrangement progresses.</li>
                    </ul>

                    <div class="privacy-blue-box">
                        We use this information to coordinate the rental process, not to expose Guest or Owner data
                        unnecessarily. Where information must be shared to progress a legitimate rental arrangement,
                        we aim to share only what is reasonably needed.
                    </div>
                </div>


                <!-- 6 -->
                <div class="privacy-section-card" id="privacy-6">
                    <div class="privacy-title-row">
                        <span class="privacy-number">06</span>
                        <h2 class="mb-0">Payment and Banking Information</h2>
                    </div>

                    <p>
                        The Rental Owner portal may include payment center features for items such as featured
                        owner profile fees and other applicable rental-owner financial transactions.
                        It may also include banking detail submission for owner payout administration.
                    </p>

                    <p>
                        We may store:
                    </p>

                    <ul>
                        <li>Payment status and transaction references;</li>
                        <li>Amounts paid or due;</li>
                        <li>Payment item descriptions;</li>
                        <li>Payout-related banking information provided by the owner;</li>
                        <li>Internal finance and reconciliation records necessary for platform operations.</li>
                    </ul>

                    <div class="privacy-green-box">
                        Where payments are processed through a third-party payment gateway,
                        full card details or similar sensitive payment credentials are generally handled by that
                        payment provider rather than intentionally stored by Ensolanka on the rental portal.
                    </div>
                </div>


                <!-- 7 -->
                <div class="privacy-section-card" id="privacy-7">
                    <div class="privacy-title-row">
                        <span class="privacy-number">07</span>
                        <h2 class="mb-0">How We Use Information</h2>
                    </div>

                    <p>
                        We may use personal and platform information for purposes such as:
                    </p>

                    <ul>
                        <li>Creating and administering Rental Owner accounts;</li>
                        <li>Reviewing, approving, displaying, and managing property listings;</li>
                        <li>Operating dashboards, owner status controls, and listing features;</li>
                        <li>Allowing eligible Guests to browse and express interest in rental properties;</li>
                        <li>Coordinating property checks, communications, and rental arrangement workflows;</li>
                        <li>Managing featured owner visibility and related payments;</li>
                        <li>Administering payment records, banking details, and eligible payout processes;</li>
                        <li>Responding to support requests and contact form inquiries;</li>
                        <li>Preventing fraud, abuse, misrepresentation, and unauthorized activity;</li>
                        <li>Maintaining platform security, troubleshooting, and service improvement;</li>
                        <li>Complying with legal, regulatory, accounting, contractual, or dispute-resolution responsibilities.</li>
                    </ul>
                </div>


                <!-- 8 -->
                <div class="privacy-section-card" id="privacy-8">
                    <div class="privacy-title-row">
                        <span class="privacy-number">08</span>
                        <h2 class="mb-0">When We May Share Information</h2>
                    </div>

                    <p>
                        We do not sell personal information to advertisers. However, we may share information
                        where reasonably necessary for legitimate platform and business purposes.
                    </p>

                    <p>
                        Information may be shared with:
                    </p>

                    <ul>
                        <li><strong>Eligible Guests</strong> where listing visibility and rental coordination require it;</li>
                        <li><strong>Rental Owners</strong> where necessary to manage a legitimate Guest interest or rental arrangement;</li>
                        <li><strong>Payment service providers</strong> to process transactions or confirm payment status;</li>
                        <li><strong>Technology, hosting, email, and operational service providers</strong> supporting portal delivery;</li>
                        <li><strong>Professional advisers</strong> such as accountants, legal advisers, or consultants where necessary;</li>
                        <li><strong>Authorities or regulators</strong> where disclosure is required by applicable law, lawful process, or valid government request;</li>
                        <li><strong>Parties involved in dispute resolution</strong> where information is reasonably needed to address a complaint, arrears issue, damage claim, or settlement matter.</li>
                    </ul>
                </div>


                <!-- 9 -->
                <div class="privacy-section-card" id="privacy-9">
                    <div class="privacy-title-row">
                        <span class="privacy-number">09</span>
                        <h2 class="mb-0">Public and Private Visibility of Information</h2>
                    </div>

                    <p>
                        Some information submitted through the portal may be displayed publicly or semi-publicly
                        depending on listing visibility settings, approval status, and platform rules.
                    </p>

                    <ul>
                        <li><strong>Public listings</strong> may be visible to general website visitors.</li>
                        <li><strong>Private or restricted listings</strong> may be visible only to eligible or approved Guests.</li>
                        <li><strong>Owner dashboard data</strong> is intended for authenticated Rental Owner access and Ensolanka administration.</li>
                        <li><strong>Banking details and payment administration records</strong> are not intended for public display.</li>
                    </ul>

                    <div class="privacy-note-box">
                        Owners should submit only those listing details they are comfortable having displayed
                        according to the chosen visibility level and the portal’s operational needs.
                    </div>
                </div>


                <!-- 10 -->
                <div class="privacy-section-card" id="privacy-10">
                    <div class="privacy-title-row">
                        <span class="privacy-number">10</span>
                        <h2 class="mb-0">Communications from Ensolanka</h2>
                    </div>

                    <p>
                        We may contact Rental Owners and portal users for operational, service, support,
                        account, listing, payment, and security reasons. These may include:
                    </p>

                    <ul>
                        <li>Account creation or login-related emails;</li>
                        <li>Listing approval, correction, or verification messages;</li>
                        <li>Guest interest or rental workflow notifications;</li>
                        <li>Payment status and transaction-related messages;</li>
                        <li>Support replies and contact form responses;</li>
                        <li>Important policy, legal, or platform notices.</li>
                    </ul>

                    <p>
                        Promotional or marketing communications, where used, will be handled according to
                        applicable law and available user preferences.
                    </p>
                </div>


                <!-- 11 -->
                <div class="privacy-section-card" id="privacy-11">
                    <div class="privacy-title-row">
                        <span class="privacy-number">11</span>
                        <h2 class="mb-0">Cookies, Device Data, and Technical Information</h2>
                    </div>

                    <p>
                        The rental portal may use cookies, session technology, logs, and similar tools
                        to support authentication, security, website performance, user experience,
                        and basic analytics where applicable.
                    </p>

                    <p>
                        Technical information may include:
                    </p>

                    <ul>
                        <li>IP address;</li>
                        <li>Browser type;</li>
                        <li>Device characteristics;</li>
                        <li>Pages visited;</li>
                        <li>Session or login activity;</li>
                        <li>Basic usage and diagnostic data.</li>
                    </ul>

                    <div class="privacy-blue-box">
                        More detailed information about cookies and related technologies can be explained
                        in the separate Cookie Policy page for this portal.
                    </div>
                </div>


                <!-- 12 -->
                <div class="privacy-section-card" id="privacy-12">
                    <div class="privacy-title-row">
                        <span class="privacy-number">12</span>
                        <h2 class="mb-0">How Long We Keep Information</h2>
                    </div>

                    <p>
                        We retain information for as long as reasonably necessary to:
                    </p>

                    <ul>
                        <li>Operate user accounts and property listings;</li>
                        <li>Maintain platform records and support user access;</li>
                        <li>Handle payments, accounting, and reconciliation;</li>
                        <li>Support rental arrangement history, dispute handling, and settlement records;</li>
                        <li>Meet legal, contractual, tax, compliance, or regulatory obligations;</li>
                        <li>Prevent fraud, abuse, or repeated misuse of the portal.</li>
                    </ul>

                    <p>
                        Retention periods may vary depending on the type of information and the reason it was collected.
                        Information that is no longer required may be deleted, anonymized, archived, or retained only
                        where there is a legitimate and lawful reason to do so.
                    </p>
                </div>


                <!-- 13 -->
                <div class="privacy-section-card" id="privacy-13">
                    <div class="privacy-title-row">
                        <span class="privacy-number">13</span>
                        <h2 class="mb-0">Data Security</h2>
                    </div>

                    <p>
                        We take reasonable administrative, technical, and organizational measures intended to
                        protect personal information from unauthorized access, misuse, loss, alteration,
                        disclosure, or destruction.
                    </p>

                    <p>
                        These measures may include:
                    </p>

                    <ul>
                        <li>Authentication controls;</li>
                        <li>Password protection and account access management;</li>
                        <li>Restricted internal access where appropriate;</li>
                        <li>Secure hosting and service-provider controls;</li>
                        <li>Operational review of payment and banking workflows;</li>
                        <li>Monitoring for misuse, fraud, or suspicious activity.</li>
                    </ul>

                    <div class="privacy-danger-box">
                        No online system can be guaranteed to be 100% secure.
                        Users should also protect their own passwords, devices, and email accounts.
                    </div>
                </div>


                <!-- 14 -->
                <div class="privacy-section-card" id="privacy-14">
                    <div class="privacy-title-row">
                        <span class="privacy-number">14</span>
                        <h2 class="mb-0">International Data Processing</h2>
                    </div>

                    <p>
                        As Ensolanka operates with international-facing services and may rely on cloud,
                        communication, payment, or technology providers, information may be processed or stored
                        in jurisdictions outside the country in which a user is located.
                    </p>

                    <p>
                        Where cross-border processing occurs, Ensolanka aims to take reasonable measures
                        appropriate to the circumstances and applicable data protection requirements.
                    </p>
                </div>


                <!-- 15 -->
                <div class="privacy-section-card" id="privacy-15">
                    <div class="privacy-title-row">
                        <span class="privacy-number">15</span>
                        <h2 class="mb-0">Your Choices and Privacy Requests</h2>
                    </div>

                    <p>
                        Subject to applicable law, platform requirements, and any necessary identity verification,
                        users may contact Ensolanka to request assistance with:
                    </p>

                    <ul>
                        <li>Accessing certain personal information held about them;</li>
                        <li>Correcting inaccurate or incomplete information;</li>
                        <li>Updating account or listing details;</li>
                        <li>Requesting deletion of certain information where appropriate;</li>
                        <li>Objecting to or questioning certain processing activities where applicable;</li>
                        <li>Withdrawing consent where processing is specifically based on consent;</li>
                        <li>Raising a privacy concern or complaint.</li>
                    </ul>

                    <div class="privacy-note-box">
                        Some information may need to be retained despite a deletion request where necessary
                        for legal, security, payment, dispute-resolution, fraud-prevention, accounting,
                        or contractual reasons.
                    </div>
                </div>


                <!-- 16 -->
                <div class="privacy-section-card" id="privacy-16">
                    <div class="privacy-title-row">
                        <span class="privacy-number">16</span>
                        <h2 class="mb-0">Children’s Privacy</h2>
                    </div>

                    <p>
                        The Rent in Sri Lanka Rental Owner Portal is intended for adults and persons
                        legally capable of property-related decisions. It is not directed to children.
                    </p>

                    <p>
                        Ensolanka does not knowingly seek to collect personal information from children
                        through this rental owner portal. If we become aware that such information has been
                        provided inappropriately, we may take steps to review or remove it.
                    </p>
                </div>


                <!-- 17 -->
                <div class="privacy-section-card" id="privacy-17">
                    <div class="privacy-title-row">
                        <span class="privacy-number">17</span>
                        <h2 class="mb-0">Third-Party Websites and Services</h2>
                    </div>

                    <p>
                        The portal may link to third-party websites or use third-party service providers,
                        including payment gateways, communication tools, hosting services, or external platforms.
                    </p>

                    <p>
                        This Privacy Policy does not control the independent privacy practices of those third parties.
                        Users should review the privacy notices of any external service they choose to use.
                    </p>
                </div>


                <!-- 18 -->
                <div class="privacy-section-card" id="privacy-18">
                    <div class="privacy-title-row">
                        <span class="privacy-number">18</span>
                        <h2 class="mb-0">Changes to This Privacy Policy</h2>
                    </div>

                    <p>
                        Ensolanka may update this Privacy Policy from time to time to reflect:
                    </p>

                    <ul>
                        <li>Changes in platform features;</li>
                        <li>Changes in payment or communication processes;</li>
                        <li>New property-owner or guest coordination workflows;</li>
                        <li>Legal or regulatory developments;</li>
                        <li>Operational improvements or security updates.</li>
                    </ul>

                    <p>
                        Updated versions may be published on this page. Continued use of the portal after
                        an update may be treated as acknowledgement of the revised Privacy Policy,
                        subject to any additional notice or consent required by applicable law.
                    </p>
                </div>


                <!-- 19 -->
                <div class="privacy-section-card" id="privacy-19">
                    <div class="privacy-title-row">
                        <span class="privacy-number">19</span>
                        <h2 class="mb-0">Contact Us About Privacy</h2>
                    </div>

                    <p>
                        For privacy questions, correction requests, concerns, or data-related inquiries connected
                        with the Rent in Sri Lanka rental portal, please contact:
                    </p>

                    <ul>
                        <li><strong>Email:</strong> info@ensolanka.com</li>
                        <li><strong>Support Email:</strong> support@ensolanka.com</li>
                        <li><strong>Asia Regional Office:</strong> Ensolanka Holdings (Pvt) Ltd, Main Road, Wennappuwa, Sri Lanka</li>
                    </ul>

                    <div class="privacy-blue-box">
                        <strong>Policy relationship:</strong> This Privacy Policy should be read together with
                        the Rent in Sri Lanka Terms &amp; Conditions, Cookie Policy, Refund &amp; Payment Policy,
                        and any property-specific agreement or platform notice that applies to a particular transaction.
                    </div>
                </div>

            </div>
        </div>
    </div>
</section>


<!-- =========================================================
     FINAL CTA
========================================================= -->
<section class="py-5 bg-light">
    <div class="container">
        <div class="privacy-final-cta text-center text-white">

            <h2 class="fw-bold mb-3">
                Ready to Join as a Property Partner?
            </h2>

            <p class="lead mb-4">
                Create your rental owner account, list your property, and work through a guided,
                privacy-conscious rental process with Rent in Sri Lanka by Ensolanka.
            </p>

            <div class="d-flex flex-wrap justify-content-center gap-3">

                {% if request.user.is_authenticated and request.user.rental_owner_profile %}
                    <a href="{% url 'rental_app:rental_owner_dashboard' %}"
                       class="btn btn-warning btn-lg px-4">
                        My Owner Dashboard
                    </a>

                    <a href="{% url 'rental_app:rental_listing_create' %}"
                       class="btn btn-light btn-lg px-4">
                        Add New Property
                    </a>
                {% else %}
                    <a href="{% url 'rental_app:rental_owner_signup' %}"
                       class="btn btn-warning btn-lg px-4">
                        Become a Property Partner
                    </a>

                    <a href="{% url 'rental_app:rental_owner_login' %}"
                       class="btn btn-light btn-lg px-4">
                        Owner Sign In
                    </a>
                {% endif %}

                <a href="{% url 'rental_app:contact_page' %}"
                   class="btn btn-outline-light btn-lg px-4">
                    Contact Us
                </a>

            </div>
        </div>
    </div>
</section>

{% endblock %}