{% extends 'hosting_app/base_hosting.html' %}
{% load static %}

{% block title %}Cookie Policy | Host in Sri Lanka{% endblock %}

{% block content %}

<style>
    /* =========================================================
       HOSTING COOKIE POLICY PAGE — PREMIUM LEGAL STYLE
    ========================================================= */

    .hosting-cookie-page {
        background:
            radial-gradient(circle at top left, rgba(255, 193, 7, 0.10), transparent 28%),
            radial-gradient(circle at top right, rgba(116, 49, 41, 0.10), transparent 30%),
            linear-gradient(180deg, #fffaf5 0%, #ffffff 48%, #fff7ef 100%);
        color: #2d1716;
        overflow-x: hidden;
    }

    .hosting-cookie-hero {
        position: relative;
        min-height: 520px;
        display: flex;
        align-items: center;
        overflow: hidden;
        background:
            linear-gradient(
                100deg,
                rgba(45, 23, 22, 0.96) 0%,
                rgba(45, 23, 22, 0.88) 45%,
                rgba(116, 49, 41, 0.66) 75%,
                rgba(116, 49, 41, 0.54) 100%
            ),
            url("{% static 'hosting_app/images/hosting_hero.webp' %}") center center / cover no-repeat;
    }

    .hosting-cookie-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background:
            radial-gradient(circle at 18% 35%, rgba(255, 193, 7, 0.22), transparent 34%),
            radial-gradient(circle at 88% 70%, rgba(255, 255, 255, 0.10), transparent 34%);
        pointer-events: none;
    }

    .hosting-cookie-hero::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 110px;
        background: linear-gradient(to bottom, transparent, #fffaf5);
    }

    .hosting-cookie-hero-inner {
        position: relative;
        z-index: 2;
        padding: 6rem 0 7rem;
        max-width: 900px;
    }

    .hosting-cookie-badge {
        display: inline-flex;
        align-items: center;
        gap: 0.55rem;
        padding: 0.55rem 1rem;
        border-radius: 999px;
        background: rgba(255, 193, 7, 0.16);
        border: 1px solid rgba(255, 193, 7, 0.34);
        color: #ffe7aa;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        font-size: 0.78rem;
        margin-bottom: 1.2rem;
        backdrop-filter: blur(8px);
    }

    .hosting-cookie-hero h1 {
        color: #ffffff;
        font-size: clamp(2.5rem, 5vw, 4.8rem);
        font-weight: 950;
        line-height: 1.05;
        letter-spacing: -0.045em;
        margin-bottom: 1.2rem;
    }

    .hosting-cookie-hero p {
        color: rgba(255, 255, 255, 0.84);
        font-size: 1.12rem;
        line-height: 1.82;
        max-width: 760px;
        margin-bottom: 0;
    }

    .hosting-cookie-shell {
        position: relative;
        z-index: 3;
        margin-top: -70px;
        padding-bottom: 5rem;
    }

    .hosting-cookie-card {
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid rgba(239, 226, 211, 0.95);
        border-radius: 34px;
        box-shadow: 0 28px 70px rgba(58, 30, 24, 0.12);
        overflow: hidden;
    }

    .hosting-cookie-topbar {
        padding: 1.5rem 1.7rem;
        border-bottom: 1px solid #efe2d3;
        background:
            radial-gradient(circle at top right, rgba(255, 193, 7, 0.08), transparent 28%),
            linear-gradient(135deg, #ffffff 0%, #fffaf5 100%);
    }

    .hosting-cookie-meta-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .hosting-cookie-meta {
        border-radius: 20px;
        background: #fff7ef;
        border: 1px solid #efe2d3;
        padding: 1rem;
    }

    .hosting-cookie-meta span {
        display: block;
        color: #8a6f64;
        font-size: 0.76rem;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        margin-bottom: 0.25rem;
    }

    .hosting-cookie-meta strong {
        color: #2d1716;
        font-weight: 900;
    }

    .hosting-cookie-body {
        padding: 2.3rem;
    }

    .hosting-cookie-alert {
        border-radius: 24px;
        padding: 1.2rem 1.25rem;
        background: #fff4e4;
        border: 1px solid #efd7ae;
        color: #7a4c18;
        line-height: 1.72;
        margin-bottom: 2rem;
    }

    .hosting-cookie-alert strong {
        color: #2d1716;
    }

    .hosting-cookie-toc {
        border-radius: 26px;
        border: 1px solid #efe2d3;
        background: #fffaf5;
        padding: 1.5rem;
        margin-bottom: 2.2rem;
    }

    .hosting-cookie-toc h3 {
        color: #2d1716;
        font-weight: 950;
        margin-bottom: 1rem;
    }

    .hosting-cookie-toc-grid {
        columns: 2;
        column-gap: 2rem;
    }

    .hosting-cookie-toc a {
        display: block;
        break-inside: avoid;
        color: #6f5248;
        text-decoration: none;
        font-weight: 700;
        padding: 0.35rem 0;
        line-height: 1.45;
    }

    .hosting-cookie-toc a:hover {
        color: #a7601b;
        text-decoration: underline;
    }

    .hosting-cookie-section {
        padding: 1.8rem 0;
        border-bottom: 1px solid #f0e4d6;
    }

    .hosting-cookie-section:last-child {
        border-bottom: none;
    }

    .hosting-cookie-section h2 {
        color: #2d1716;
        font-size: clamp(1.45rem, 2.5vw, 2rem);
        font-weight: 950;
        letter-spacing: -0.025em;
        margin-bottom: 1rem;
    }

    .hosting-cookie-section h3 {
        color: #4b211d;
        font-size: 1.15rem;
        font-weight: 900;
        margin-top: 1.35rem;
        margin-bottom: 0.75rem;
    }

    .hosting-cookie-section p {
        color: #6f5b53;
        line-height: 1.82;
        margin-bottom: 1rem;
    }

    .hosting-cookie-section ul {
        margin-bottom: 1.2rem;
        padding-left: 1.2rem;
    }

    .hosting-cookie-section li {
        color: #6f5b53;
        line-height: 1.78;
        margin-bottom: 0.35rem;
    }

    .hosting-cookie-section strong {
        color: #2d1716;
    }

    .hosting-cookie-highlight-box {
        border-radius: 24px;
        padding: 1.35rem;
        background:
            radial-gradient(circle at top right, rgba(255, 193, 7, 0.10), transparent 32%),
            #fffaf5;
        border: 1px solid #efe2d3;
        margin: 1.25rem 0;
    }

    .hosting-cookie-highlight-box h4 {
        color: #2d1716;
        font-weight: 950;
        margin-bottom: 0.75rem;
    }

    .hosting-cookie-table-wrap {
        overflow-x: auto;
        margin-top: 1rem;
        border-radius: 22px;
        border: 1px solid #efe2d3;
        background: #ffffff;
    }

    .hosting-cookie-table {
        width: 100%;
        min-width: 760px;
        border-collapse: collapse;
    }

    .hosting-cookie-table th,
    .hosting-cookie-table td {
        padding: 1rem;
        border-bottom: 1px solid #f0e4d6;
        vertical-align: top;
        color: #6f5b53;
        line-height: 1.6;
    }

    .hosting-cookie-table th {
        background: #fff4e4;
        color: #2d1716;
        font-weight: 950;
    }

    .hosting-cookie-table tr:last-child td {
        border-bottom: none;
    }

    .hosting-cookie-contact-card {
        border-radius: 26px;
        background:
            linear-gradient(135deg, #2d1716 0%, #743129 58%, #a7601b 100%);
        color: #ffffff;
        padding: 2rem;
        margin-top: 1.5rem;
    }

    .hosting-cookie-contact-card h3 {
        color: #ffffff;
        font-weight: 950;
        margin-bottom: 1rem;
    }

    .hosting-cookie-contact-card p,
    .hosting-cookie-contact-card li {
        color: rgba(255, 255, 255, 0.84);
    }

    .hosting-cookie-contact-card a {
        color: #ffe7aa;
        text-decoration: none;
        font-weight: 800;
    }

    .hosting-cookie-contact-card a:hover {
        text-decoration: underline;
    }

    .hosting-cookie-final-cta {
        margin-top: 2rem;
        border-radius: 30px;
        background: #fffaf5;
        border: 1px solid #efe2d3;
        padding: 2rem;
        text-align: center;
    }

    .hosting-cookie-final-cta h3 {
        color: #2d1716;
        font-weight: 950;
        margin-bottom: 0.7rem;
    }

    .hosting-cookie-final-cta p {
        color: #6f5b53;
        line-height: 1.7;
        margin-bottom: 1.4rem;
    }

    .hosting-cookie-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 999px;
        padding: 0.82rem 1.35rem;
        font-weight: 850;
        text-decoration: none;
        background: linear-gradient(135deg, #321816, #a7601b);
        color: #ffffff;
        border: none;
    }

    .hosting-cookie-btn:hover {
        color: #ffffff;
        background: linear-gradient(135deg, #4b211d, #bd741f);
    }

    .hosting-cookie-outline-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 999px;
        padding: 0.78rem 1.35rem;
        font-weight: 850;
        text-decoration: none;
        background: #ffffff;
        color: #a7601b;
        border: 2px solid #a7601b;
    }

    .hosting-cookie-outline-btn:hover {
        color: #ffffff;
        background: #a7601b;
    }

    @media (max-width: 991.98px) {
        .hosting-cookie-hero {
            min-height: auto;
            background-position: 68% center;
        }

        .hosting-cookie-hero-inner {
            padding: 5rem 1.2rem 6rem;
        }

        .hosting-cookie-meta-grid {
            grid-template-columns: 1fr;
        }

        .hosting-cookie-toc-grid {
            columns: 1;
        }

        .hosting-cookie-body {
            padding: 1.5rem;
        }
    }

    @media (max-width: 767.98px) {
        .hosting-cookie-shell {
            margin-top: -45px;
            padding-bottom: 3.5rem;
        }

        .hosting-cookie-card {
            border-radius: 26px;
        }

        .hosting-cookie-topbar,
        .hosting-cookie-body {
            padding-left: 1.15rem;
            padding-right: 1.15rem;
        }

        .hosting-cookie-final-cta .d-flex {
            flex-direction: column;
            align-items: stretch;
        }

        .hosting-cookie-btn,
        .hosting-cookie-outline-btn {
            width: 100%;
        }
    }
</style>


<div class="hosting-cookie-page">

    <!-- =========================================================
         HERO
    ========================================================= -->
    <section class="hosting-cookie-hero">
        <div class="container">
            <div class="hosting-cookie-hero-inner">

                <span class="hosting-cookie-badge">
                    <i class="bi bi-cookie"></i>
                    Cookies, Sessions & Tracking
                </span>

                <h1>
                    Cookie Policy
                </h1>

                <p>
                    This Cookie Policy explains how Host in Sri Lanka may use cookies,
                    sessions, security tokens, analytics tools, referral tracking, and similar
                    technologies to operate, secure, improve, and personalize the platform.
                </p>

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


    <!-- =========================================================
         COOKIE CONTENT
    ========================================================= -->
    <section class="hosting-cookie-shell">
        <div class="container">
            <div class="hosting-cookie-card">

                <div class="hosting-cookie-topbar">
                    <div class="hosting-cookie-meta-grid">

                        <div class="hosting-cookie-meta">
                            <span>Brand</span>
                            <strong>Host in Sri Lanka</strong>
                        </div>

                        <div class="hosting-cookie-meta">
                            <span>Policy Type</span>
                            <strong>Cookie Policy</strong>
                        </div>

                        <div class="hosting-cookie-meta">
                            <span>Last Updated</span>
                            <strong>May 25, 2026</strong>
                        </div>

                    </div>
                </div>

                <div class="hosting-cookie-body">

                    <div class="hosting-cookie-alert">
                        <strong>Important:</strong>
                        This Cookie Policy should be read together with our Privacy Policy,
                        Terms & Conditions, Refund & Payment Policy, and Disclaimer. Some cookies
                        are essential for login, form security, dashboard access, and booking-related workflows.
                    </div>

                    <!-- TOC -->
                    <div class="hosting-cookie-toc">
                        <h3>Contents</h3>

                        <div class="hosting-cookie-toc-grid">
                            <a href="#intro">Introduction</a>
                            <a href="#what-are-cookies">What Are Cookies?</a>
                            <a href="#how-we-use">How We Use Cookies</a>
                            <a href="#types">Types of Cookies We May Use</a>
                            <a href="#essential">Essential Cookies</a>
                            <a href="#security">Security Cookies and CSRF Protection</a>
                            <a href="#session">Session and Login Cookies</a>
                            <a href="#preferences">Preference Cookies</a>
                            <a href="#analytics">Analytics and Performance Cookies</a>
                            <a href="#marketing">Marketing and Referral Cookies</a>
                            <a href="#payments">Payment and Third-Party Cookies</a>
                            <a href="#table">Cookie Summary Table</a>
                            <a href="#third-party">Third-Party Technologies</a>
                            <a href="#choices">Managing Cookie Choices</a>
                            <a href="#blocking">Blocking or Deleting Cookies</a>
                            <a href="#updates">Updates to This Policy</a>
                            <a href="#contact">Contact Information</a>
                        </div>
                    </div>


                    <!-- INTRO -->
                    <section id="intro" class="hosting-cookie-section">
                        <h2>1. Introduction</h2>

                        <p>
                            Host in Sri Lanka uses cookies, sessions, security tokens, and similar technologies
                            to operate the platform, protect user accounts, support dashboard functionality,
                            remember basic preferences, improve performance, and support approved marketing
                            or referral workflows.
                        </p>

                        <p>
                            By using the platform, continuing to browse, registering as a Hosting Partner,
                            submitting a contact form, logging into your dashboard, or making a booking request,
                            you acknowledge that cookies and related technologies may be used as described in this policy.
                        </p>
                    </section>


                    <!-- WHAT ARE COOKIES -->
                    <section id="what-are-cookies" class="hosting-cookie-section">
                        <h2>2. What Are Cookies?</h2>

                        <p>
                            Cookies are small text files stored on your browser or device when you visit a website.
                            They help websites remember information about your visit, such as login sessions,
                            security validation, preferences, or usage patterns.
                        </p>

                        <p>
                            Similar technologies may include browser storage, server-side sessions, tracking pixels,
                            analytics identifiers, device identifiers, and secure form tokens.
                        </p>
                    </section>


                    <!-- HOW WE USE -->
                    <section id="how-we-use" class="hosting-cookie-section">
                        <h2>3. How We Use Cookies</h2>

                        <p>We may use cookies and similar technologies to:</p>

                        <ul>
                            <li>Keep users signed in securely</li>
                            <li>Protect forms from misuse using security tokens</li>
                            <li>Support Hosting Partner dashboard access</li>
                            <li>Remember basic preferences</li>
                            <li>Process contact forms and booking-related actions</li>
                            <li>Improve website performance and layout behavior</li>
                            <li>Understand how visitors use public pages</li>
                            <li>Support affiliate or referral tracking where applicable</li>
                            <li>Support payment gateway or third-party service workflows</li>
                            <li>Detect suspicious activity, spam, fraud, or misuse</li>
                        </ul>
                    </section>


                    <!-- TYPES -->
                    <section id="types" class="hosting-cookie-section">
                        <h2>4. Types of Cookies We May Use</h2>

                        <p>
                            The platform may use several categories of cookies depending on which features are enabled
                            and how the user interacts with the website.
                        </p>

                        <div class="hosting-cookie-highlight-box">
                            <h4>Main Cookie Categories</h4>
                            <ul>
                                <li><strong>Essential cookies</strong> — required for basic website operation.</li>
                                <li><strong>Security cookies</strong> — used for login protection, form security, and fraud prevention.</li>
                                <li><strong>Session cookies</strong> — used to keep users signed in and manage temporary state.</li>
                                <li><strong>Preference cookies</strong> — used to remember user choices where available.</li>
                                <li><strong>Analytics cookies</strong> — used to understand website performance and usage.</li>
                                <li><strong>Marketing or referral cookies</strong> — used for campaign or affiliate tracking where enabled.</li>
                                <li><strong>Third-party cookies</strong> — used by payment gateways, embedded tools, maps, videos, or social platforms.</li>
                            </ul>
                        </div>
                    </section>


                    <!-- ESSENTIAL -->
                    <section id="essential" class="hosting-cookie-section">
                        <h2>5. Essential Cookies</h2>

                        <p>
                            Essential cookies are required for the website to function correctly. They may support page navigation,
                            form submission, dashboard access, account login, system security, and basic platform operations.
                        </p>

                        <p>
                            These cookies cannot normally be disabled through our platform without affecting important features.
                            You may disable them in your browser, but doing so may cause login, forms, dashboard functions,
                            or payment-related actions to stop working correctly.
                        </p>
                    </section>


                    <!-- SECURITY -->
                    <section id="security" class="hosting-cookie-section">
                        <h2>6. Security Cookies and CSRF Protection</h2>

                        <p>
                            The platform may use security tokens, including CSRF protection, to help confirm that form submissions
                            come from legitimate user sessions.
                        </p>

                        <p>
                            These protections are especially important for signup forms, login forms, contact forms,
                            profile updates, image uploads, password changes, booking requests, and payment-related actions.
                        </p>
                    </section>


                    <!-- SESSION -->
                    <section id="session" class="hosting-cookie-section">
                        <h2>7. Session and Login Cookies</h2>

                        <p>
                            Session cookies help the platform remember that you are logged in and allow access to areas such as:
                        </p>

                        <ul>
                            <li>Hosting Partner Dashboard</li>
                            <li>Profile management</li>
                            <li>Venue and package management</li>
                            <li>Password reset workflows</li>
                            <li>Payment or booking-related pages</li>
                            <li>Staff/admin review areas where applicable</li>
                        </ul>

                        <p>
                            Session cookies may expire when you close your browser, after a period of inactivity,
                            or when you log out.
                        </p>
                    </section>


                    <!-- PREFERENCES -->
                    <section id="preferences" class="hosting-cookie-section">
                        <h2>8. Preference Cookies</h2>

                        <p>
                            Preference cookies may be used to remember non-sensitive choices such as language,
                            interface settings, dismissed notices, or other display preferences where such features are enabled.
                        </p>

                        <p>
                            These cookies help improve user experience but may not be essential for platform operation.
                        </p>
                    </section>


                    <!-- ANALYTICS -->
                    <section id="analytics" class="hosting-cookie-section">
                        <h2>9. Analytics and Performance Cookies</h2>

                        <p>
                            Analytics or performance cookies may help Ensolanka understand how visitors use the platform,
                            which pages are popular, where users may experience errors, and how the public website can be improved.
                        </p>

                        <p>Analytics data may include:</p>

                        <ul>
                            <li>Pages visited</li>
                            <li>Approximate visit duration</li>
                            <li>Browser and device type</li>
                            <li>General traffic source</li>
                            <li>Public page interaction patterns</li>
                            <li>Error or performance information</li>
                        </ul>

                        <p>
                            Where analytics tools are used, they may be provided by third-party services and may operate
                            under their own privacy and cookie policies.
                        </p>
                    </section>


                    <!-- MARKETING -->
                    <section id="marketing" class="hosting-cookie-section">
                        <h2>10. Marketing and Referral Cookies</h2>

                        <p>
                            Host in Sri Lanka may be connected with Ensolanka’s wider travel ecosystem and affiliate or ambassador
                            workflows. Where enabled, referral cookies or tracking parameters may help identify which campaign,
                            affiliate, or referral link brought a visitor to the platform.
                        </p>

                        <p>
                            This may support:
                        </p>

                        <ul>
                            <li>Affiliate referral tracking</li>
                            <li>Campaign performance measurement</li>
                            <li>Business card or QR code tracking</li>
                            <li>Guest onboarding source tracking</li>
                            <li>Marketing effectiveness analysis</li>
                        </ul>

                        <p>
                            Marketing or referral cookies are not intended to collect sensitive payment information.
                        </p>
                    </section>


                    <!-- PAYMENTS -->
                    <section id="payments" class="hosting-cookie-section">
                        <h2>11. Payment and Third-Party Cookies</h2>

                        <p>
                            If online payments are enabled, third-party payment gateways such as card processors,
                            PayPal, Stripe, banks, or similar providers may use cookies or similar technologies
                            to support fraud prevention, secure checkout, transaction processing, authentication,
                            and payment confirmation.
                        </p>

                        <p>
                            Ensolanka does not control all cookies used by third-party gateways.
                            Users should review the relevant payment provider’s own privacy and cookie policies.
                        </p>
                    </section>


                    <!-- TABLE -->
                    <section id="table" class="hosting-cookie-section">
                        <h2>12. Cookie Summary Table</h2>

                        <p>
                            The exact cookies used may change as the platform develops. The table below summarizes
                            common categories that may be used.
                        </p>

                        <div class="hosting-cookie-table-wrap">
                            <table class="hosting-cookie-table">
                                <thead>
                                    <tr>
                                        <th>Cookie Category</th>
                                        <th>Purpose</th>
                                        <th>Required?</th>
                                        <th>Typical Duration</th>
                                    </tr>
                                </thead>

                                <tbody>
                                    <tr>
                                        <td><strong>Essential Cookies</strong></td>
                                        <td>Basic website operation, forms, navigation, and required platform functionality.</td>
                                        <td>Yes</td>
                                        <td>Session or limited duration</td>
                                    </tr>

                                    <tr>
                                        <td><strong>Security / CSRF Cookies</strong></td>
                                        <td>Protects forms, login, signup, profile updates, and dashboard actions from misuse.</td>
                                        <td>Yes</td>
                                        <td>Session or limited duration</td>
                                    </tr>

                                    <tr>
                                        <td><strong>Session Cookies</strong></td>
                                        <td>Keeps users signed in and maintains temporary account or dashboard state.</td>
                                        <td>Yes for logged-in features</td>
                                        <td>Until logout, expiry, or browser/session end</td>
                                    </tr>

                                    <tr>
                                        <td><strong>Preference Cookies</strong></td>
                                        <td>Remembers display choices, language, notices, or similar preferences where enabled.</td>
                                        <td>No</td>
                                        <td>Varies</td>
                                    </tr>

                                    <tr>
                                        <td><strong>Analytics Cookies</strong></td>
                                        <td>Helps understand website traffic, page performance, and user interaction patterns.</td>
                                        <td>No</td>
                                        <td>Varies by tool</td>
                                    </tr>

                                    <tr>
                                        <td><strong>Referral / Marketing Cookies</strong></td>
                                        <td>Supports affiliate, ambassador, campaign, QR code, or referral tracking where enabled.</td>
                                        <td>No, unless needed for campaign tracking</td>
                                        <td>Varies by campaign</td>
                                    </tr>

                                    <tr>
                                        <td><strong>Payment Provider Cookies</strong></td>
                                        <td>Supports secure checkout, fraud prevention, payment authentication, and transaction handling.</td>
                                        <td>May be required for payment</td>
                                        <td>Controlled by payment provider</td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                    </section>


                    <!-- THIRD PARTY -->
                    <section id="third-party" class="hosting-cookie-section">
                        <h2>13. Third-Party Technologies</h2>

                        <p>
                            Some pages may use third-party technologies such as payment gateways, map embeds,
                            video embeds, social media links, analytics tools, email tools, hosting providers,
                            or security services.
                        </p>

                        <p>
                            These third parties may use their own cookies, pixels, scripts, or identifiers.
                            Ensolanka does not control all third-party cookie behavior and is not responsible for
                            third-party privacy or cookie practices.
                        </p>

                        <p>
                            Users should review the policies of third-party services when interacting with them.
                        </p>
                    </section>


                    <!-- CHOICES -->
                    <section id="choices" class="hosting-cookie-section">
                        <h2>14. Managing Cookie Choices</h2>

                        <p>
                            Users may manage cookies through their browser settings. Most browsers allow users to:
                        </p>

                        <ul>
                            <li>View stored cookies</li>
                            <li>Delete cookies</li>
                            <li>Block cookies from specific websites</li>
                            <li>Block third-party cookies</li>
                            <li>Clear browsing data</li>
                            <li>Set cookie preferences for future visits</li>
                        </ul>

                        <p>
                            If Ensolanka later adds a dedicated cookie consent banner or preference center,
                            users may also be able to update choices through that interface.
                        </p>
                    </section>


                    <!-- BLOCKING -->
                    <section id="blocking" class="hosting-cookie-section">
                        <h2>15. Blocking or Deleting Cookies</h2>

                        <p>
                            Users may block or delete cookies, but some parts of the platform may not work correctly
                            without essential or session cookies.
                        </p>

                        <p>Blocking essential cookies may affect:</p>

                        <ul>
                            <li>Login and logout</li>
                            <li>Hosting Partner dashboard access</li>
                            <li>Signup forms</li>
                            <li>Contact forms</li>
                            <li>Password reset forms</li>
                            <li>Profile image upload</li>
                            <li>Venue and package management</li>
                            <li>Booking or payment workflows</li>
                            <li>Security verification</li>
                        </ul>

                        <p>
                            If a feature does not work after cookies are disabled, users may need to re-enable cookies
                            or use a different browser setting.
                        </p>
                    </section>


                    <!-- UPDATES -->
                    <section id="updates" class="hosting-cookie-section">
                        <h2>16. Updates to This Cookie Policy</h2>

                        <p>
                            Ensolanka may update this Cookie Policy from time to time to reflect changes in platform features,
                            analytics tools, payment providers, referral systems, cookie consent tools, legal requirements,
                            or operational needs.
                        </p>

                        <p>
                            Updated versions may be published on the website with a revised “Last Updated” date.
                            Continued use of the platform after updates means users accept the revised Cookie Policy.
                        </p>
                    </section>


                    <!-- CONTACT -->
                    <section id="contact" class="hosting-cookie-section">
                        <h2>17. Contact Information</h2>

                        <p>
                            For questions about cookies, tracking, sessions, browser storage, privacy, or data handling,
                            users may contact Ensolanka.
                        </p>

                        <div class="hosting-cookie-contact-card">
                            <h3>Ensolanka Contact Details</h3>

                            <p>
                                <strong>Ensolanka LLC</strong><br>
                                30 N Gould St Ste R, Sheridan, WY 82801, United States
                            </p>

                            <p>
                                <strong>Ensolanka Holdings (Pvt) Ltd</strong><br>
                                No. 190/1/3/B, Bank Building, Main Road, Wennappuwa, Sri Lanka
                            </p>

                            <ul>
                                <li>Email: <a href="mailto:info@ensolanka.com">info@ensolanka.com</a></li>
                                <li>Support Email: <a href="mailto:support@ensolanka.com">support@ensolanka.com</a></li>
                                <li>WhatsApp USA: <a href="https://wa.me/13072182541" target="_blank">+1 307 218 2541</a></li>
                                <li>WhatsApp Asia: <a href="https://wa.me/94716978355" target="_blank">+94 71 697 8355</a></li>
                            </ul>
                        </div>
                    </section>


                    <!-- FINAL CTA -->
                    <div class="hosting-cookie-final-cta">
                        <h3>Have questions about cookies or privacy?</h3>

                        <p>
                            Contact the Host in Sri Lanka team if you need help understanding how cookies,
                            sessions, tracking, or privacy-related technologies are used on the platform.
                        </p>

                        <div class="d-flex justify-content-center gap-3 flex-wrap">
                            <a href="{% url 'hosting_app:contact_page' %}" class="hosting-cookie-btn">
                                <i class="bi bi-envelope-fill me-2"></i>
                                Contact Us
                            </a>

                            <a href="{% url 'hosting_app:privacy_policy' %}" class="hosting-cookie-outline-btn">
                                <i class="bi bi-lock-fill me-2"></i>
                                Privacy Policy
                            </a>
                        </div>
                    </div>

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

</div>

{% endblock %}