{% extends 'expat_life/base.html' %}
{% load static %}
{% block title %}Contact Us{% endblock %}

{% block content %}

<style>
    .contact-page {
        background:
            radial-gradient(circle at top left, rgba(255, 193, 7, 0.08), transparent 28%),
            radial-gradient(circle at 85% 18%, rgba(13, 110, 253, 0.08), transparent 30%),
            linear-gradient(180deg, #f5f9ff 0%, #ffffff 48%, #f8fbff 100%);
        overflow: hidden;
    }

    /* =========================
       HERO
       ========================= */
    .contact-hero {
        position: relative;
        min-height: 100vh;
        padding: 6rem 0;
        background:
            radial-gradient(circle at top left, rgba(255, 193, 7, 0.14), transparent 32%),
            radial-gradient(circle at bottom right, rgba(32, 201, 151, 0.16), transparent 34%),
            linear-gradient(
                90deg,
                rgba(7, 19, 28, 0.94) 0%,
                rgba(7, 19, 28, 0.86) 36%,
                rgba(11, 61, 145, 0.72) 66%,
                rgba(15, 118, 110, 0.62) 100%
            ),
            url("{% static 'expat_life/images/srilanka_expat_life_home_hero.webp' %}") center/cover no-repeat;
        color: #fff;
        overflow: hidden;
    }

    .contact-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background:
            linear-gradient(120deg, rgba(255, 255, 255, 0.07), transparent 35%),
            radial-gradient(circle at 82% 12%, rgba(255, 193, 7, 0.10), transparent 28%);
        pointer-events: none;
    }

    .contact-hero::after {
        content: "";
        position: absolute;
        right: -160px;
        bottom: -180px;
        width: 500px;
        height: 500px;
        border-radius: 50%;
        background: rgba(255, 193, 7, 0.08);
        pointer-events: none;
    }

    .contact-hero .container {
        position: relative;
        z-index: 2;
    }

    .contact-hero h1 {
        color: #fff;
        font-size: clamp(2.45rem, 4.5vw, 4.4rem);
        font-weight: 900;
        letter-spacing: -0.045em;
        line-height: 1.05;
    }

    .contact-hero .lead {
        color: rgba(255, 255, 255, 0.88) !important;
        font-size: 1.12rem;
        line-height: 1.85;
        max-width: 650px;
    }

    .contact-hero .section-mini-title {
        display: inline-flex;
        align-items: center;
        gap: .45rem;
        padding: .45rem .9rem;
        border-radius: 999px;
        background: rgba(255, 193, 7, 0.16);
        border: 1px solid rgba(255, 193, 7, 0.32);
        color: #ffd36b;
        font-size: .82rem;
        font-weight: 900;
        letter-spacing: .08em;
        text-transform: uppercase;
        margin-bottom: 1rem;
        backdrop-filter: blur(10px);
    }

    .contact-hero .section-mini-title::before {
        content: "\F4DA";
        font-family: "bootstrap-icons";
        color: #ffc107;
        font-size: .95rem;
    }

    .contact-info-list {
        display: grid;
        gap: .9rem;
        margin-top: 1.5rem;
    }

    .contact-info-item {
        display: flex;
        align-items: center;
        gap: .8rem;
        padding: .9rem 1rem;
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.12);
        border: 1px solid rgba(255, 255, 255, 0.20);
        backdrop-filter: blur(8px);
        color: rgba(255, 255, 255, 0.94);
        font-weight: 650;
    }

    .contact-info-item i {
        color: #ffd36b;
        font-size: 1.15rem;
        flex: 0 0 auto;
    }

    .contact-note-box {
        display: flex;
        gap: .85rem;
        padding: 1rem 1.1rem;
        border-radius: 20px;
        background: rgba(255, 251, 235, 0.13);
        border: 1px solid rgba(255, 193, 7, 0.28);
        border-left: 4px solid #ffc107;
        color: rgba(255, 255, 255, 0.92);
        line-height: 1.65;
        backdrop-filter: blur(8px);
    }

    .contact-note-box i {
        color: #ffc107;
        font-size: 1.25rem;
        margin-top: .15rem;
        flex: 0 0 auto;
    }

    /* =========================
       CONTACT FORM
       ========================= */
    .contact-form-card {
        border-radius: 34px;
        overflow: hidden;
        background: rgba(255, 255, 255, 0.97);
        border: 1px solid rgba(255, 255, 255, 0.38);
        box-shadow: 0 35px 90px rgba(0, 0, 0, 0.30);
        backdrop-filter: blur(14px);
    }

    .contact-form-header {
        padding: 2rem 2rem 1.3rem;
        background:
            radial-gradient(circle at top right, rgba(255, 193, 7, 0.12), transparent 34%),
            linear-gradient(135deg, #ffffff 0%, #f5f9ff 100%);
        border-bottom: 1px solid rgba(13, 110, 253, 0.10);
    }

    .contact-form-header h3 {
        color: #102033;
        letter-spacing: -0.025em;
        font-weight: 900;
    }

    .contact-form-header p {
        color: #64748b !important;
        line-height: 1.7;
    }

    .contact-form-body {
        padding: 2rem;
    }

    .contact-form-body .form-label {
        color: #102033;
        font-weight: 750;
        font-size: .92rem;
        margin-bottom: .45rem;
    }

    .contact-form-body input,
    .contact-form-body select,
    .contact-form-body textarea {
        border-radius: 16px !important;
        border: 1px solid #cbd5e1 !important;
        padding: .78rem .95rem !important;
        color: #102033 !important;
        background-color: #fff !important;
        box-shadow: none !important;
    }

    .contact-form-body textarea {
        min-height: 150px;
    }

    .contact-form-body input:focus,
    .contact-form-body select:focus,
    .contact-form-body textarea:focus {
        border-color: #0d6efd !important;
        box-shadow: 0 0 0 .22rem rgba(13, 110, 253, 0.12) !important;
    }

    .contact-form-footer {
        margin-top: 1.6rem;
        padding-top: 1.5rem;
        border-top: 1px solid rgba(13, 110, 253, 0.10);
    }

    .contact-form-footer .btn-dark {
        background: linear-gradient(135deg, #07131c, #0d6efd);
        border: none;
        border-radius: 999px;
        padding: .9rem 1.2rem;
        font-weight: 850;
        box-shadow: 0 18px 36px rgba(13, 110, 253, 0.22);
        transition: all .22s ease;
    }

    .contact-form-footer .btn-dark:hover {
        background: linear-gradient(135deg, #07131c, #0f766e);
        transform: translateY(-2px);
        box-shadow: 0 24px 44px rgba(15, 118, 110, 0.26);
    }

    .contact-form-footer .text-muted {
        color: #64748b !important;
    }

    /* =========================
       SHARED SECTION LOOK
       ========================= */
    .contact-soft-section {
        position: relative;
        background:
            radial-gradient(circle at top left, rgba(255, 193, 7, 0.06), transparent 28%),
            radial-gradient(circle at bottom right, rgba(13, 110, 253, 0.08), transparent 32%),
            #f5f9ff;
    }

    .contact-white-section {
        position: relative;
        background:
            radial-gradient(circle at 8% 18%, rgba(13, 110, 253, 0.05), transparent 25%),
            radial-gradient(circle at 92% 80%, rgba(255, 193, 7, 0.06), transparent 28%),
            #ffffff;
    }

    .section-heading .section-mini-title {
        display: inline-flex;
        align-items: center;
        gap: .4rem;
        background: rgba(15, 118, 110, 0.10);
        color: #0f766e;
        border: 1px solid rgba(15, 118, 110, 0.16);
        font-size: .78rem;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: .08em;
        padding: .45rem .85rem;
        border-radius: 999px;
        margin-bottom: 1rem;
    }

    .section-heading h2 {
        color: #102033;
        letter-spacing: -0.035em;
    }

    .section-heading p {
        max-width: 760px;
        margin-left: auto;
        margin-right: auto;
        line-height: 1.75;
        color: #64748b;
    }

    /* =========================
       CONTACT DETAIL CARDS
       ========================= */
    .contact-detail-card,
    .feature-card {
        border-radius: 28px;
        border: 1px solid rgba(13, 110, 253, 0.10);
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 22px 50px rgba(15, 23, 42, 0.08);
        padding: 1.5rem;
        transition: all .25s ease;
    }

    .contact-detail-card:hover,
    .feature-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 30px 72px rgba(15, 23, 42, 0.14);
        border-color: rgba(13, 110, 253, 0.24);
    }

    .contact-detail-card .icon-wrap,
    .feature-card .icon-wrap {
        width: 62px;
        height: 62px;
        border-radius: 22px;
        background:
            linear-gradient(135deg, rgba(15, 118, 110, 0.13), rgba(13, 110, 253, 0.11), rgba(255, 193, 7, 0.15));
        color: #0f766e;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 1.7rem;
        margin-bottom: 1rem;
    }

    .contact-detail-card h5,
    .feature-card h5 {
        color: #102033;
        font-weight: 850;
        margin-bottom: .65rem;
    }

    .contact-detail-card p,
    .feature-card p {
        color: #64748b;
        line-height: 1.7;
    }

    .contact-detail-card a,
    .feature-card a {
        color: #0d6efd !important;
        text-decoration: none;
        font-weight: 700;
    }

    .contact-detail-card a:hover,
    .feature-card a:hover {
        color: #0b3d91 !important;
        text-decoration: underline;
    }

    /* =========================
       SOCIAL BUTTONS
       ========================= */
    .social-action-wrap {
        margin-top: 3rem;
        padding: 2rem;
        border-radius: 30px;
        background:
            radial-gradient(circle at top right, rgba(255, 193, 7, 0.16), transparent 32%),
            linear-gradient(135deg, rgba(7, 19, 28, 0.98), rgba(11, 61, 145, 0.94), rgba(15, 118, 110, 0.90));
        box-shadow: 0 28px 70px rgba(15, 23, 42, 0.16);
        color: #fff;
    }

    .social-action-wrap p {
        color: rgba(255, 255, 255, 0.82) !important;
        font-weight: 600;
    }

    .social-action-wrap .btn {
        border-radius: 999px;
        border: 1px solid rgba(255, 255, 255, 0.28);
        background: rgba(255, 255, 255, 0.10);
        color: #fff;
        font-weight: 750;
        transition: all .22s ease;
    }

    .social-action-wrap .btn:hover {
        background: #ffffff;
        color: #0d6efd;
        border-color: #ffffff;
        transform: translateY(-2px);
    }

    /* =========================
       STEP CARDS
       ========================= */
    .step-card {
        border-radius: 30px;
        border: 1px solid rgba(13, 110, 253, 0.10);
        background: rgba(255, 255, 255, 0.97);
        box-shadow: 0 22px 50px rgba(15, 23, 42, 0.08);
        padding: 1.7rem 1.4rem;
        transition: all .25s ease;
    }

    .step-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 30px 72px rgba(15, 23, 42, 0.14);
        border-color: rgba(13, 110, 253, 0.24);
    }

    .step-number {
        width: 68px;
        height: 68px;
        border-radius: 24px;
        background: linear-gradient(135deg, #0f766e, #0d6efd);
        color: #fff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-weight: 900;
        font-size: 1.15rem;
        margin-bottom: 1rem;
        box-shadow: 0 18px 35px rgba(13, 110, 253, 0.20);
    }

    .step-card h5 {
        color: #102033;
    }

    .step-card p {
        color: #64748b;
        line-height: 1.75;
    }

    .step-card .btn-outline-dark {
        border-radius: 999px;
        border-color: #0d6efd;
        color: #0d6efd;
        font-weight: 800;
        padding: .7rem 1.15rem;
    }

    .step-card .btn-outline-dark:hover {
        background: #0d6efd;
        border-color: #0d6efd;
        color: #fff;
    }

    /* =========================
       FINAL CTA
       ========================= */
    .final-cta-section {
        position: relative;
        background:
            radial-gradient(circle at top left, rgba(255, 193, 7, 0.10), transparent 30%),
            radial-gradient(circle at bottom right, rgba(13, 110, 253, 0.10), transparent 34%),
            #f5f9ff;
    }

    .final-cta-box {
        position: relative;
        overflow: hidden;
        border-radius: 36px;
        padding: 3.2rem 2rem;
        background:
            radial-gradient(circle at top left, rgba(255, 193, 7, 0.16), transparent 32%),
            linear-gradient(135deg, rgba(7, 19, 28, 0.98), rgba(11, 61, 145, 0.94), rgba(15, 118, 110, 0.90));
        box-shadow: 0 32px 85px rgba(15, 23, 42, 0.20);
    }

    .final-cta-box::after {
        content: "";
        position: absolute;
        right: -110px;
        bottom: -140px;
        width: 330px;
        height: 330px;
        border-radius: 50%;
        background: rgba(255, 193, 7, 0.10);
    }

    .final-cta-box > * {
        position: relative;
        z-index: 2;
    }

    .final-cta-box h2 {
        font-size: clamp(2rem, 3vw, 3rem);
        letter-spacing: -0.035em;
    }

    .final-cta-box .lead {
        color: rgba(255, 255, 255, 0.86);
        max-width: 860px;
        margin-left: auto;
        margin-right: auto;
        line-height: 1.8;
    }

    .final-cta-box .btn {
        border-radius: 999px;
        font-weight: 850;
        padding: .85rem 1.4rem;
    }

    .hero-visa-btn {
        border: none;
        background: linear-gradient(135deg, #20c997, #0f766e);
    }

    .hero-visa-btn:hover {
        background: linear-gradient(135deg, #0d6efd, #0f766e);
    }

    @media (max-width: 991.98px) {
        .contact-hero {
            min-height: auto;
            padding: 4.5rem 0;
        }

        .contact-form-header,
        .contact-form-body {
            padding: 1.5rem;
        }

        .contact-form-card {
            border-radius: 28px;
        }
    }

    @media (max-width: 575.98px) {
        .contact-hero {
            padding: 3.5rem 0;
        }

        .contact-info-item,
        .contact-note-box,
        .contact-detail-card,
        .feature-card,
        .step-card,
        .social-action-wrap,
        .final-cta-box {
            border-radius: 22px;
        }

        .social-action-wrap {
            padding: 1.5rem;
        }

        .final-cta-box {
            padding: 2.2rem 1.25rem;
        }
    }
</style>

<div class="contact-page">

    <!-- HERO -->
    <section class="contact-hero">
        <div class="container">
            <div class="row align-items-center g-5">
                <div class="col-lg-6">
                    <span class="section-mini-title">Get in Touch</span>
                    <h1 class="fw-bold mb-3">Contact Us</h1>
                    <p class="lead text-muted mb-4">
                        Have questions about staying in Sri Lanka, choosing a package, or the next step?
                        Send us a message and we will get back to you.
                    </p>

                    <div class="contact-info-list">
                        <div class="contact-info-item">
                            <i class="bi bi-check-circle-fill"></i>
                            <span>Ask about packages and monthly budget levels</span>
                        </div>
                        <div class="contact-info-item">
                            <i class="bi bi-check-circle-fill"></i>
                            <span>Get clarity before guest signup or consultation</span>
                        </div>
                        <div class="contact-info-item">
                            <i class="bi bi-check-circle-fill"></i>
                            <span>Discuss practical questions about Sri Lanka living</span>
                        </div>
                        <div class="contact-info-item">
                            <i class="bi bi-check-circle-fill"></i>
                            <span>Start the conversation with no payment required</span>
                        </div>
                    </div>

                    <div class="contact-note-box mt-4">
                        <i class="bi bi-info-circle-fill"></i>
                        <div>
                            You can use this page for general questions. If you are already ready to move forward,
                            the Guest Signup or Consultation page may be the better next step.
                        </div>
                    </div>
                </div>

                <div class="col-lg-6">
                    <div class="contact-form-card shadow-lg">
                        <div class="contact-form-header">
                            <h3 class="fw-bold mb-2">Send a Message</h3>
                            <p class="text-muted mb-0">
                                Fill in the form below and tell us what you would like to know.
                            </p>
                        </div>

                        <form method="post" class="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="contact-form-footer">
                                <button type="submit" class="btn btn-dark 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 contact-soft-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 Us Directly</h2>
                <p class="text-muted">Multiple ways to get in touch with our team.</p>
            </div>

            <div class="row g-4">

                <div class="col-md-6 col-lg-3">
                    <div class="contact-detail-card h-100">
                        <div class="icon-wrap"><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>

                <div class="col-md-6 col-lg-3">
                    <div class="contact-detail-card h-100">
                        <div class="icon-wrap"><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>

                <div class="col-md-6 col-lg-3">
                    <div class="contact-detail-card h-100">
                        <div class="icon-wrap"><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">+1 307 218-2541</a><br><br>
                            <strong>WhatsApp (Asia)</strong><br>
                            <a href="https://wa.me/94716978355" target="_blank">+94 71 697 8355</a>
                        </p>
                    </div>
                </div>

                <div class="col-md-6 col-lg-3">
                    <div class="contact-detail-card h-100">
                        <div class="icon-wrap"><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="d-block mb-2">info@ensolanka.com</a>
                            <a href="mailto:ds@ensolanka.com" class="d-block mb-2">ds@ensolanka.com</a>
                            <a href="mailto:support@ensolanka.com" class="d-block">support@ensolanka.com</a>
                        </p>
                    </div>
                </div>

            </div>

            <div class="social-action-wrap text-center">
                <p class="mb-3">Follow us 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 px-4" aria-label="Facebook">
                        <i class="bi bi-facebook me-2"></i>Facebook
                    </a>
                    <a href="https://www.youtube.com/@ensolanka/" target="_blank"
                       class="btn px-4" 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 px-4" aria-label="LinkedIn">
                        <i class="bi bi-linkedin me-2"></i>LinkedIn
                    </a>
                    <a href="https://www.instagram.com/ensolanka/" target="_blank"
                       class="btn px-4" aria-label="Instagram">
                        <i class="bi bi-instagram me-2"></i>Instagram
                    </a>
                    <a href="https://x.com/ensolanka_com" target="_blank"
                       class="btn px-4" 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 px-4" aria-label="TikTok">
                        <i class="bi bi-tiktok me-2"></i>TikTok
                    </a>
                </div>
            </div>

        </div>
    </section>

    <!-- WHY CONTACT -->
    <section class="py-5 contact-white-section">
        <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 Good First Step Before You Decide</h2>
                <p class="text-muted">
                    Some guests prefer to ask a few questions first before choosing a package or requesting a consultation.
                </p>
            </div>

            <div class="row g-4">
                <div class="col-md-6 col-lg-3">
                    <div class="feature-card h-100">
                        <div class="icon-wrap"><i class="bi bi-chat-left-text-fill"></i></div>
                        <h5>General Questions</h5>
                        <p>Ask about the overall concept, how the process works, or what to do first.</p>
                    </div>
                </div>

                <div class="col-md-6 col-lg-3">
                    <div class="feature-card h-100">
                        <div class="icon-wrap"><i class="bi bi-cash-coin"></i></div>
                        <h5>Budget Clarification</h5>
                        <p>Understand which package may better suit your monthly income and comfort level.</p>
                    </div>
                </div>

                <div class="col-md-6 col-lg-3">
                    <div class="feature-card h-100">
                        <div class="icon-wrap"><i class="bi bi-house-door-fill"></i></div>
                        <h5>Lifestyle Questions</h5>
                        <p>Ask about living style, housing expectations, and practical setup ideas in Sri Lanka.</p>
                    </div>
                </div>

                <div class="col-md-6 col-lg-3">
                    <div class="feature-card h-100">
                        <div class="icon-wrap"><i class="bi bi-arrow-right-circle-fill"></i></div>
                        <h5>Next Step Guidance</h5>
                        <p>Find out whether Guest Signup or Consultation is the right next step for you.</p>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- OTHER OPTIONS -->
    <section class="py-5 contact-soft-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 Path That Fits You Best</h2>
            </div>

            <div class="row g-4">
                <div class="col-md-4">
                    <div class="step-card text-center h-100">
                        <div class="step-number">01</div>
                        <h5 class="fw-bold">Explore Packages</h5>
                        <p>Review the available lifestyle packages and see which level matches your goals.</p>
                        <a href="{% url 'expat_life:package_list' %}" class="btn btn-outline-dark mt-3">View Packages</a>
                    </div>
                </div>

                <div class="col-md-4">
                    <div class="step-card text-center h-100">
                        <div class="step-number">02</div>

                        {% if is_foreigner_user %}
                            <h5 class="fw-bold">My Guest Dashboard</h5>
                            <p>Open your dashboard to manage your profile, interests, and next steps.</p>
                            <a href="{% url 'expat_life:foreigner_dashboard' %}" class="btn btn-outline-dark mt-3">My Guest Dashboard</a>
                        {% else %}
                            <h5 class="fw-bold">Guest Signup</h5>
                            <p>Submit your details so we can understand your budget, plans, and package interest.</p>
                            <a href="{% url 'expat_life:foreigner_signup' %}" class="btn btn-outline-dark mt-3">Guest Signup</a>
                        {% endif %}
                    </div>
                </div>

                <div class="col-md-4">
                    <div class="step-card text-center h-100">
                        <div class="step-number">03</div>
                        <h5 class="fw-bold">Book Consultation</h5>
                        <p>Request a consultation if you are ready to discuss your needs in a more direct way.</p>
                        <a href="{% url 'expat_life:consultation_request' %}" class="btn btn-outline-dark mt-3">Book Consultation</a>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- CTA -->
    <section class="final-cta-section py-5">
        <div class="container">
            <div class="final-cta-box text-center text-white">
                <h2 class="fw-bold mb-3">Ready to Start Your Sri Lanka Plan?</h2>
                <p class="lead mb-4">
                    You can contact us, complete a guest signup, or explore the Digital Nomad Visa before making your next move.
                </p>

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

                    {% if is_foreigner_user %}
                        <a href="{% url 'expat_life:foreigner_dashboard' %}" 
                        class="btn btn-warning btn-lg px-4">
                            My Guest Dashboard
                        </a>
                    {% else %}
                        <a href="{% url 'expat_life:foreigner_signup' %}" 
                        class="btn btn-warning btn-lg px-4">
                            Guest Signup
                        </a>
                    {% endif %}

                    <a href="{% url 'expat_life:consultation_request' %}" 
                       class="btn btn-light btn-lg px-4">
                        Book Consultation
                    </a>

                    <a href="{% url 'expat_life:sri_lanka_digital_nomad_visa' %}" 
                       class="btn btn-success btn-lg px-4 fw-semibold shadow hero-visa-btn">
                        🌴 Digital Nomad Visa Guide
                    </a>

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

</div>

{% endblock %}