{% extends 'affiliates_app/base_affiliate.html' %}
{% load static %}

{% block title %}Contact Us | Ensolanka Affiliate Program{% endblock %}

{% block content %}

<style>
    /* =========================================================
       AFFILIATE CONTACT PAGE - PREMIUM THEME
    ========================================================= */

    .affiliate-contact-hero {
        position: relative;
        min-height: 760px;
        display: flex;
        align-items: center;
        overflow: hidden;
        background-color: #08131d;
    }

    .affiliate-contact-hero-bg {
        position: absolute;
        inset: 0;
        background:
            linear-gradient(
                90deg,
                rgba(5, 17, 28, 0.96) 0%,
                rgba(5, 17, 28, 0.88) 38%,
                rgba(5, 17, 28, 0.72) 68%,
                rgba(5, 17, 28, 0.62) 100%
            ),
            url("{% static 'expat_life/images/affiliates_hero.webp' %}") center center / cover no-repeat;
        transform: scale(1.03);
        z-index: 0;
    }

    .affiliate-contact-hero::after {
        content: "";
        position: absolute;
        inset: 0;
        background:
            radial-gradient(circle at 18% 35%, rgba(255, 193, 7, 0.22), transparent 34%),
            radial-gradient(circle at 82% 68%, rgba(13, 148, 136, 0.24), transparent 38%),
            radial-gradient(circle at 60% 20%, rgba(59, 130, 246, 0.12), transparent 30%);
        z-index: 1;
        pointer-events: none;
    }

    .affiliate-contact-hero-content {
        position: relative;
        z-index: 2;
        width: 100%;
        padding-top: 95px;
        padding-bottom: 95px;
    }

    .affiliate-contact-badge {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: rgba(255, 193, 7, 0.18);
        color: #ffc107;
        border: 1px solid rgba(255, 193, 7, 0.38);
        padding: 9px 17px;
        border-radius: 50px;
        font-weight: 800;
        font-size: 0.84rem;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        backdrop-filter: blur(10px);
    }

    .affiliate-contact-hero h1 {
        color: #ffffff;
        line-height: 1.08;
        font-weight: 900;
        letter-spacing: -0.03em;
    }

    .affiliate-contact-hero .lead {
        color: rgba(255, 255, 255, 0.90);
        line-height: 1.72;
    }

    .affiliate-contact-hero-copy {
        color: rgba(255, 255, 255, 0.80);
        font-size: 1.03rem;
        line-height: 1.78;
    }

    .affiliate-contact-info-list {
        display: grid;
        gap: 14px;
        margin-top: 28px;
    }

    .affiliate-contact-info-item {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        padding: 15px 16px;
        color: #fff;
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.11);
        border: 1px solid rgba(255, 255, 255, 0.16);
        backdrop-filter: blur(8px);
        box-shadow: 0 16px 34px rgba(0, 0, 0, 0.10);
    }

    .affiliate-contact-info-item i {
        color: #ffc107;
        font-size: 1.2rem;
        margin-top: 1px;
        flex-shrink: 0;
    }

    .affiliate-contact-note-box {
        display: flex;
        align-items: flex-start;
        gap: 14px;
        padding: 18px;
        border-radius: 22px;
        margin-top: 24px;
        background: rgba(255, 193, 7, 0.14);
        border: 1px solid rgba(255, 193, 7, 0.34);
        color: #fff;
        backdrop-filter: blur(8px);
        line-height: 1.72;
    }

    .affiliate-contact-note-box i {
        color: #ffc107;
        font-size: 1.35rem;
        margin-top: 2px;
        flex-shrink: 0;
    }

    /* =========================================================
       FORM CARD
    ========================================================= */

    .affiliate-contact-form-card {
        border-radius: 32px;
        background: rgba(255, 255, 255, 0.985);
        overflow: hidden;
        box-shadow: 0 30px 70px rgba(0, 0, 0, 0.30);
        border: 1px solid rgba(255, 255, 255, 0.45);
    }

    .affiliate-contact-form-header {
        padding: 30px 32px 24px;
        background:
            radial-gradient(circle at top right, rgba(255,255,255,0.18), transparent 32%),
            linear-gradient(135deg, #ffc107 0%, #f59e0b 100%);
    }

    .affiliate-contact-form-header h3 {
        color: #111827;
    }

    .affiliate-contact-form-header p {
        color: rgba(17, 24, 39, 0.78) !important;
        line-height: 1.65;
    }

    .affiliate-contact-form-body {
        padding: 32px;
    }

    .affiliate-contact-form-body .form-label {
        font-weight: 800;
        color: #111827;
        margin-bottom: 8px;
    }

    .affiliate-contact-form-body input,
    .affiliate-contact-form-body textarea,
    .affiliate-contact-form-body select {
        width: 100%;
        border-radius: 16px;
        border: 1px solid #d9e2ec;
        padding: 0.84rem 1rem;
        background: #f8fafc;
        transition: all 0.22s ease;
    }

    .affiliate-contact-form-body input:focus,
    .affiliate-contact-form-body textarea:focus,
    .affiliate-contact-form-body select:focus {
        border-color: #0f766e;
        background: #fff;
        box-shadow: 0 0 0 0.22rem rgba(15, 118, 110, 0.14);
        outline: none;
    }

    .affiliate-contact-form-body textarea {
        min-height: 145px;
        resize: vertical;
    }

    .affiliate-contact-form-footer {
        margin-top: 28px;
    }

    .affiliate-contact-submit-btn {
        background: linear-gradient(135deg, #0f172a 0%, #0f766e 100%);
        color: #fff;
        border: none;
        border-radius: 18px;
        padding: 0.98rem 1.4rem;
        font-weight: 800;
        transition: 0.25s ease;
    }

    .affiliate-contact-submit-btn:hover {
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 16px 34px rgba(15, 118, 110, 0.24);
    }

    /* =========================================================
       CONTACT DETAILS
    ========================================================= */

    .affiliate-contact-details-section {
        background:
            radial-gradient(circle at top left, rgba(15, 118, 110, 0.06), transparent 28%),
            radial-gradient(circle at bottom right, rgba(255, 193, 7, 0.08), transparent 28%),
            #f4f7fb;
    }

    .affiliate-contact-detail-card {
        height: 100%;
        background: #fff;
        border-radius: 26px;
        padding: 28px;
        box-shadow: 0 16px 38px rgba(15, 23, 42, 0.07);
        border: 1px solid rgba(15, 23, 42, 0.05);
        transition: 0.25s ease;
    }

    .affiliate-contact-detail-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 24px 48px rgba(15, 23, 42, 0.11);
    }

    .affiliate-detail-icon {
        width: 58px;
        height: 58px;
        border-radius: 18px;
        background: #ecfdf5;
        color: #0f766e;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.55rem;
        margin-bottom: 18px;
    }

    .affiliate-contact-detail-card:nth-child(odd) .affiliate-detail-icon {
        background: #fff7db;
        color: #b45309;
    }

    .affiliate-contact-detail-card h5 {
        font-weight: 850;
        margin-bottom: 12px;
        color: #0f172a;
    }

    .affiliate-contact-detail-card p {
        line-height: 1.7;
    }

    .affiliate-contact-detail-card a {
        text-decoration: none;
    }

    .affiliate-contact-detail-card a:hover {
        text-decoration: underline;
    }

    .affiliate-social-btn {
        border-radius: 999px;
        padding-left: 1.2rem;
        padding-right: 1.2rem;
        font-weight: 700;
    }

    /* =========================================================
       WHY CONTACT
    ========================================================= */

    .affiliate-reason-card {
        height: 100%;
        background: #fff;
        border-radius: 26px;
        padding: 30px;
        box-shadow: 0 15px 35px rgba(15, 23, 42, 0.07);
        border: 1px solid rgba(15, 23, 42, 0.05);
        transition: 0.25s ease;
    }

    .affiliate-reason-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 24px 48px rgba(15, 23, 42, 0.11);
    }

    .affiliate-reason-icon {
        width: 62px;
        height: 62px;
        border-radius: 20px;
        background: linear-gradient(135deg, #ecfdf5 0%, #fff2c7 100%);
        color: #0f766e;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.65rem;
        margin-bottom: 18px;
    }

    .affiliate-reason-card h5 {
        color: #0f172a;
    }

    .affiliate-reason-card p {
        color: #64748b;
        line-height: 1.72;
    }

    /* =========================================================
       OTHER OPTIONS
    ========================================================= */

    .affiliate-path-card {
        height: 100%;
        background: #fff;
        border-radius: 26px;
        padding: 34px 28px;
        box-shadow: 0 16px 38px rgba(15, 23, 42, 0.07);
        border: 1px solid rgba(15, 23, 42, 0.05);
        transition: 0.25s ease;
    }

    .affiliate-path-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 24px 48px rgba(15, 23, 42, 0.11);
    }

    .affiliate-path-number {
        width: 58px;
        height: 58px;
        margin: 0 auto 18px;
        border-radius: 50%;
        background: linear-gradient(135deg, #0f766e, #0f172a);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 850;
        font-size: 1.05rem;
    }

    /* =========================================================
       FINAL CTA
    ========================================================= */

    .affiliate-contact-final-section {
        background: #fff;
    }

    .affiliate-contact-final-box {
        border-radius: 34px;
        padding: 58px 36px;
        background:
            radial-gradient(circle at top right, rgba(255, 193, 7, 0.18), transparent 30%),
            linear-gradient(
                135deg,
                rgba(15, 23, 42, 0.98) 0%,
                rgba(15, 118, 110, 0.94) 100%
            );
        box-shadow: 0 30px 65px rgba(13, 27, 42, 0.20);
    }

    .affiliate-contact-final-box p {
        color: rgba(255,255,255,0.88);
    }

    /* =========================================================
       RESPONSIVE
    ========================================================= */

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

        .affiliate-contact-hero-content {
            padding-top: 70px;
            padding-bottom: 70px;
        }

        .affiliate-contact-form-card {
            margin-top: 10px;
        }
    }

    @media (max-width: 767px) {
        .affiliate-contact-form-header,
        .affiliate-contact-form-body {
            padding: 24px;
        }

        .affiliate-contact-final-box {
            padding: 42px 22px;
        }
    }
</style>


<!-- =========================================================
     HERO / CONTACT FORM
========================================================= -->
<section class="affiliate-contact-hero">
    <div class="affiliate-contact-hero-bg"></div>

    <div class="container affiliate-contact-hero-content">
        <div class="row align-items-center g-5">

            <!-- LEFT CONTENT -->
            <div class="col-lg-6">
                <span class="affiliate-contact-badge mb-3">
                    <i class="bi bi-globe2"></i>
                    Global Ambassador Support
                </span>

                <h1 class="display-5 fw-bold mb-3">
                    Contact the Ensolanka Affiliate Program Team
                </h1>

                <p class="lead mb-3">
                    Have questions about becoming an Ensolanka Global Ambassador,
                    referral links, promotional tools, commissions, or your affiliate dashboard?
                </p>

                <p class="affiliate-contact-hero-copy mb-4">
                    Send us a message and our team will guide you with the information
                    you need to promote Sri Lanka confidently and grow your earning opportunities.
                </p>

                <div class="affiliate-contact-info-list">
                    <div class="affiliate-contact-info-item">
                        <i class="bi bi-check-circle-fill"></i>
                        <span>Ask how to join the affiliate program and activate your ambassador profile</span>
                    </div>

                    <div class="affiliate-contact-info-item">
                        <i class="bi bi-check-circle-fill"></i>
                        <span>Get help with referral links, QR business cards, and marketing materials</span>
                    </div>

                    <div class="affiliate-contact-info-item">
                        <i class="bi bi-check-circle-fill"></i>
                        <span>Clarify commission opportunities, earnings, wallet balance, and payout requests</span>
                    </div>

                    <div class="affiliate-contact-info-item">
                        <i class="bi bi-check-circle-fill"></i>
                        <span>Discuss how to promote Sri Lanka to global guests, travellers, and communities</span>
                    </div>
                </div>

                <div class="affiliate-contact-note-box">
                    <i class="bi bi-info-circle-fill"></i>
                    <div>
                        Already registered as an Affiliate Partner? You can also continue through your
                        Affiliate Dashboard to access referral links, marketing resources, performance records,
                        and payout-related features.
                    </div>
                </div>
            </div>


            <!-- CONTACT FORM -->
            <div class="col-lg-6">
                <div class="affiliate-contact-form-card">

                    <div class="affiliate-contact-form-header">
                        <h3 class="fw-bold mb-2">Send a Message</h3>
                        <p class="mb-0">
                            Tell us how we can help with your affiliate and ambassador journey.
                        </p>
                    </div>

                    <form method="post" class="affiliate-contact-form-body">
                        {% csrf_token %}

                        <div class="row g-3">
                            <div class="col-md-6">
                                <label for="{{ form.name.id_for_label }}" class="form-label">
                                    Your Name
                                </label>
                                {{ form.name }}
                            </div>

                            <div class="col-md-6">
                                <label for="{{ form.email.id_for_label }}" class="form-label">
                                    Email Address
                                </label>
                                {{ form.email }}
                            </div>

                            <div class="col-md-12">
                                <label for="{{ form.subject.id_for_label }}" class="form-label">
                                    Subject
                                </label>
                                {{ form.subject }}
                            </div>

                            <div class="col-md-12">
                                <label for="{{ form.message.id_for_label }}" class="form-label">
                                    Message
                                </label>
                                {{ form.message }}
                            </div>
                        </div>

                        <div class="affiliate-contact-form-footer">
                            <button type="submit" class="btn affiliate-contact-submit-btn btn-lg w-100">
                                <i class="bi bi-send-fill me-2"></i>
                                Send Message
                            </button>

                            <p class="small text-muted text-center mt-3 mb-0">
                                We will review your message and get back to you as soon as possible.
                            </p>
                        </div>
                    </form>
                </div>
            </div>

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


<!-- =========================================================
     CONTACT DETAILS
========================================================= -->
<section class="py-5 affiliate-contact-details-section">
    <div class="container">

        <div class="section-heading text-center mb-5">
            <span class="section-mini-title">Contact Details</span>
            <h2 class="fw-bold">Reach Ensolanka Directly</h2>
            <p class="text-muted">
                Multiple ways to connect with our team for affiliate partner support.
            </p>
        </div>

        <div class="row g-4">

            <!-- USA Office -->
            <div class="col-md-6 col-lg-3">
                <div class="affiliate-contact-detail-card">
                    <div class="affiliate-detail-icon">
                        <i class="bi bi-building"></i>
                    </div>

                    <h5>USA Registered Address</h5>

                    <p class="text-muted small mb-0">
                        Ensolanka LLC<br>
                        30 N Gould St Ste R,<br>
                        Sheridan, WY 82801, USA
                    </p>
                </div>
            </div>

            <!-- Sri Lanka Office -->
            <div class="col-md-6 col-lg-3">
                <div class="affiliate-contact-detail-card">
                    <div class="affiliate-detail-icon">
                        <i class="bi bi-geo-alt-fill"></i>
                    </div>

                    <h5>Asia Regional Office</h5>

                    <p class="text-muted small mb-0">
                        Ensolanka Holdings (Pvt) Ltd<br>
                        No. 190/1/3/B, Bank Building,<br>
                        Main Road, Wennappuwa,<br>
                        Sri Lanka
                    </p>
                </div>
            </div>

            <!-- Phone & WhatsApp -->
            <div class="col-md-6 col-lg-3">
                <div class="affiliate-contact-detail-card">
                    <div class="affiliate-detail-icon">
                        <i class="bi bi-telephone-fill"></i>
                    </div>

                    <h5>Phone &amp; WhatsApp</h5>

                    <p class="text-muted small mb-0">
                        <strong>WhatsApp (USA)</strong><br>
                        <a href="https://wa.me/13072182541" target="_blank" class="text-dark">
                            +1 307 218-2541
                        </a>

                        <br><br>

                        <strong>WhatsApp (Asia)</strong><br>
                        <a href="https://wa.me/94716978355" target="_blank" class="text-dark">
                            +94 71 697 8355
                        </a>
                    </p>
                </div>
            </div>

            <!-- Email -->
            <div class="col-md-6 col-lg-3">
                <div class="affiliate-contact-detail-card">
                    <div class="affiliate-detail-icon">
                        <i class="bi bi-envelope-fill"></i>
                    </div>

                    <h5>Email</h5>

                    <p class="text-muted small mb-0">
                        <a href="mailto:info@ensolanka.com" class="text-dark d-block mb-2">
                            info@ensolanka.com
                        </a>

                        <a href="mailto:ds@ensolanka.com" class="text-dark d-block mb-2">
                            ds@ensolanka.com
                        </a>

                        <a href="mailto:support@ensolanka.com" class="text-dark d-block">
                            support@ensolanka.com
                        </a>
                    </p>
                </div>
            </div>

        </div>


        <!-- SOCIAL MEDIA -->
        <div class="text-center mt-5">
            <p class="text-muted mb-3">Follow Ensolanka on social media</p>

            <div class="d-flex justify-content-center gap-3 flex-wrap">
                <a href="https://web.facebook.com/ensolanka" target="_blank"
                   class="btn btn-outline-dark affiliate-social-btn" aria-label="Facebook">
                    <i class="bi bi-facebook me-2"></i>Facebook
                </a>

                <a href="https://www.youtube.com/@ensolanka/" target="_blank"
                   class="btn btn-outline-dark affiliate-social-btn" aria-label="YouTube">
                    <i class="bi bi-youtube me-2"></i>YouTube
                </a>

                <a href="https://www.linkedin.com/company/ensolanka-llc/" target="_blank"
                   class="btn btn-outline-dark affiliate-social-btn" aria-label="LinkedIn">
                    <i class="bi bi-linkedin me-2"></i>LinkedIn
                </a>

                <a href="https://www.instagram.com/ensolanka/" target="_blank"
                   class="btn btn-outline-dark affiliate-social-btn" aria-label="Instagram">
                    <i class="bi bi-instagram me-2"></i>Instagram
                </a>

                <a href="https://x.com/ensolanka_com" target="_blank"
                   class="btn btn-outline-dark affiliate-social-btn" aria-label="X / Twitter">
                    <i class="bi bi-twitter-x me-2"></i>X
                </a>

                <a href="https://www.tiktok.com/@ensolanka.com" target="_blank"
                   class="btn btn-outline-dark affiliate-social-btn" aria-label="TikTok">
                    <i class="bi bi-tiktok me-2"></i>TikTok
                </a>
            </div>
        </div>

    </div>
</section>


<!-- =========================================================
     WHY CONTACT US
========================================================= -->
<section class="py-5 bg-white">
    <div class="container">

        <div class="section-heading text-center mb-5">
            <span class="section-mini-title">Why Contact Us</span>
            <h2 class="fw-bold">A Helpful First Step for Affiliate Partners</h2>
            <p class="text-muted">
                Before signing up, creating campaigns, or requesting payouts, you may want a few things clarified.
            </p>
        </div>

        <div class="row g-4">

            <div class="col-md-6 col-lg-3">
                <div class="affiliate-reason-card">
                    <div class="affiliate-reason-icon">
                        <i class="bi bi-chat-left-text-fill"></i>
                    </div>

                    <h5 class="fw-bold">General Questions</h5>
                    <p class="mb-0">
                        Ask how the affiliate program works and what it means to become a Global Ambassador.
                    </p>
                </div>
            </div>

            <div class="col-md-6 col-lg-3">
                <div class="affiliate-reason-card">
                    <div class="affiliate-reason-icon">
                        <i class="bi bi-link-45deg"></i>
                    </div>

                    <h5 class="fw-bold">Referral Tools</h5>
                    <p class="mb-0">
                        Understand tracking links, QR business cards, resource materials, and shareable campaigns.
                    </p>
                </div>
            </div>

            <div class="col-md-6 col-lg-3">
                <div class="affiliate-reason-card">
                    <div class="affiliate-reason-icon">
                        <i class="bi bi-wallet2"></i>
                    </div>

                    <h5 class="fw-bold">Earnings & Payouts</h5>
                    <p class="mb-0">
                        Clarify commissions, wallet balances, payout requests, and the broader earning model.
                    </p>
                </div>
            </div>

            <div class="col-md-6 col-lg-3">
                <div class="affiliate-reason-card">
                    <div class="affiliate-reason-icon">
                        <i class="bi bi-arrow-right-circle-fill"></i>
                    </div>

                    <h5 class="fw-bold">Next-Step Guidance</h5>
                    <p class="mb-0">
                        Find out whether signup, dashboard access, marketing resources, or partner growth should come next.
                    </p>
                </div>
            </div>

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


<!-- =========================================================
     OTHER USEFUL OPTIONS
========================================================= -->
<section class="py-5 affiliate-contact-details-section">
    <div class="container">

        <div class="section-heading text-center mb-5">
            <span class="section-mini-title">Other Useful Options</span>
            <h2 class="fw-bold">Choose the Affiliate Path That Fits You</h2>
        </div>

        <div class="row g-4">

            <div class="col-md-4">
                <div class="affiliate-path-card text-center">
                    <div class="affiliate-path-number">01</div>

                    <h5 class="fw-bold">Explore the Program</h5>

                    <p class="text-muted">
                        Learn how Ensolanka Global Ambassadors promote Sri Lanka and grow earning opportunities.
                    </p>

                    <a href="{% url 'affiliates_app:home_affiliates' %}"
                       class="btn btn-outline-dark mt-3">
                        Affiliate Program Home
                    </a>
                </div>
            </div>


            <div class="col-md-4">
                <div class="affiliate-path-card text-center">
                    <div class="affiliate-path-number">02</div>

                    {% if request.user.is_authenticated and request.user.affiliate_profile %}
                        <h5 class="fw-bold">My Affiliate Dashboard</h5>

                        <p class="text-muted">
                            Open your dashboard to access referral tools, resources, earnings, and payout functions.
                        </p>

                        <a href="{% url 'affiliates_app:affiliate_dashboard' %}"
                           class="btn btn-outline-dark mt-3">
                            My Affiliate Dashboard
                        </a>
                    {% else %}
                        <h5 class="fw-bold">Affiliate Signup</h5>

                        <p class="text-muted">
                            Create your Global Ambassador profile and begin your partner journey with Ensolanka.
                        </p>

                        <a href="{% url 'affiliates_app:affiliate_signup' %}"
                           class="btn btn-outline-dark mt-3">
                            Become an Affiliate
                        </a>
                    {% endif %}
                </div>
            </div>


            <div class="col-md-4">
                <div class="affiliate-path-card text-center">
                    <div class="affiliate-path-number">03</div>

                    {% if request.user.is_authenticated and request.user.affiliate_profile %}
                        <h5 class="fw-bold">Marketing Resources</h5>

                        <p class="text-muted">
                            Open partner resources to view guides, materials, and campaign support assets.
                        </p>

                        <a href="{% url 'affiliates_app:marketing_resources' %}"
                           class="btn btn-outline-dark mt-3">
                            View Resources
                        </a>
                    {% else %}
                        <h5 class="fw-bold">Affiliate Sign In</h5>

                        <p class="text-muted">
                            Already registered? Sign in to continue managing your Ambassador profile and tools.
                        </p>

                        <a href="{% url 'affiliates_app:affiliate_login' %}"
                           class="btn btn-outline-dark mt-3">
                            Affiliate Sign In
                        </a>
                    {% endif %}
                </div>
            </div>

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


<!-- =========================================================
     FINAL CTA
========================================================= -->
<section class="py-5 affiliate-contact-final-section">
    <div class="container">
        <div class="affiliate-contact-final-box text-center text-white">

            <h2 class="fw-bold mb-3">
                Ready to Promote Sri Lanka and Grow with Ensolanka?
            </h2>

            <p class="lead mb-4">
                Contact us, create your Affiliate Partner profile, or sign in to continue your journey
                as an Ensolanka Global Ambassador.
            </p>

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

                {% if request.user.is_authenticated and request.user.affiliate_profile %}
                    <a href="{% url 'affiliates_app:affiliate_dashboard' %}"
                       class="btn btn-warning btn-lg px-4">
                        My Affiliate Dashboard
                    </a>

                    <a href="{% url 'affiliates_app:marketing_resources' %}"
                       class="btn btn-light btn-lg px-4">
                        Marketing Resources
                    </a>
                {% else %}
                    <a href="{% url 'affiliates_app:affiliate_signup' %}"
                       class="btn btn-warning btn-lg px-4">
                        Become an Affiliate
                    </a>

                    <a href="{% url 'affiliates_app:affiliate_login' %}"
                       class="btn btn-light btn-lg px-4">
                        Affiliate Sign In
                    </a>
                {% endif %}

                <a href="{% url 'affiliates_app:home_affiliates' %}"
                   class="btn btn-outline-light btn-lg px-4">
                    Program Home
                </a>

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

{% endblock %}