{"id":4641,"date":"2025-12-01T05:55:36","date_gmt":"2025-12-01T05:55:36","guid":{"rendered":"https:\/\/eswarigroup.com\/?page_id=4641"},"modified":"2025-12-05T10:45:09","modified_gmt":"2025-12-05T10:45:09","slug":"landingpage","status":"publish","type":"page","link":"https:\/\/eswarigroup.com\/?page_id=4641","title":{"rendered":"landingpage"},"content":{"rendered":"<style>.elementor-4641 .elementor-element.elementor-element-f20f994{--display:flex;}:root{--page-title-display:none;}<\/style>\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"4641\" class=\"elementor elementor-4641\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"has_eae_slider elementor-element elementor-element-f20f994 e-con-full e-flex e-con e-parent\" data-eae-slider=\"94383\" data-id=\"f20f994\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-11634fd elementor-widget elementor-widget-html\" data-id=\"11634fd\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<!-- WordPress HTML Embed Version -->\n<!-- Copy everything below and paste into your WordPress HTML block\/container -->\n\n<style>\n    .ase-registration-wrapper * {\n        margin: 0;\n        padding: 0;\n        box-sizing: border-box;\n    }\n    \n    .ase-registration-wrapper {\n        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n        background: linear-gradient(135deg, #4a4a4a 0%, #4f0000 50%, #220505 100%);\n        min-height: 100vh;\n        display: flex;\n        align-items: center;\n        justify-content: center;\n        padding: 20px;\n        width: 100%;\n    }\n    \n    .ase-container {\n        background: white;\n        border-radius: 20px;\n        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);\n        max-width: 1400px;\n        width: 100%;\n        display: grid;\n        grid-template-columns: 1fr 1fr;\n        overflow: hidden;\n    }\n    \n    .ase-image-section {\n        background: linear-gradient(135deg, #372525 0%, #4f0000 100%);\n        display: flex;\n        align-items: center;\n        justify-content: center;\n        padding: 0;\n    }\n    \n    .ase-image-section img {\n        width: 100%;\n        height: 100%;\n        object-fit: cover;\n        border-radius: 0;\n    }\n    \n    .ase-form-section {\n        padding: 40px;\n        display: flex;\n        flex-direction: column;\n        justify-content: center;\n    }\n    \n    .ase-form-section h2 {\n        color: #0f2027;\n        margin-bottom: 8px;\n        font-size: 1.8rem;\n    }\n    \n    .ase-subtitle {\n        color: #2c5364;\n        margin-bottom: 20px;\n        font-size: 0.9rem;\n    }\n    \n    .ase-form-group {\n        margin-bottom: 15px;\n    }\n    \n    .ase-form-section input,\n    .ase-form-section select,\n    .ase-form-section textarea {\n        width: 100%;\n        padding: 12px 16px;\n        border: 2px solid #d1d5db;\n        border-radius: 8px;\n        font-size: 0.95rem;\n        transition: all 0.3s;\n        background: white;\n        background-color: white;\n        color: #1f2937;\n        -webkit-appearance: none;\n        -moz-appearance: none;\n        appearance: none;\n        box-sizing: border-box;\n        display: block;\n    }\n    \n    .ase-form-section input::placeholder,\n    .ase-form-section select::placeholder {\n        color: #9ca3af;\n    }\n    \n    .ase-form-section input:focus,\n    .ase-form-section select:focus {\n        outline: none;\n        border-color: #4f0000;\n        box-shadow: 0 0 0 3px rgba(79, 0, 0,0.1);\n    }\n    \n    .ase-form-section input[readonly] {\n        background: #f3f4f6;\n        cursor: not-allowed;\n        color: #4f0000;\n        font-weight: 600;\n    }\n    \n    .ase-form-section select {\n        cursor: pointer;\n        background-image: url(\"data:image\/svg+xml;charset=UTF-8,%3csvg xmlns='http:\/\/www.w3.org\/2000\/svg' viewBox='0 0 24 24' fill='none' stroke='%232c5364' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c\/polyline%3e%3c\/svg%3e\");\n        background-repeat: no-repeat;\n        background-position: calc(100% - 15px) center;\n        background-size: 16px;\n        padding-right: 40px !important;\n        text-align: left;\n        line-height: 1.4;\n        height: auto;\n        min-height: 46px;\n    }\n    \n    .ase-form-section select option {\n        padding: 12px 18px;\n        color: #4f0000;\n        background: white;\n        font-size: 1rem;\n        line-height: 1.6;\n        min-height: 40px;\n    }\n    \n    .ase-form-section select option:hover,\n    .ase-form-section select option:focus,\n    .ase-form-section select option:checked {\n        background: #4f0000;\n        background-color: #4f0000;\n        color: white;\n    }\n    \n    .ase-form-section select option:first-child {\n        color: #9ca3af;\n    }\n    \n    .ase-form-section textarea {\n        resize: vertical;\n        min-height: 80px;\n        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n        line-height: 1.5;\n    }\n    \n    .ase-form-section textarea:focus {\n        outline: none;\n        border-color: #4f0000;\n        box-shadow: 0 0 0 3px rgba(78,0,0, 0.1);\n    }\n    \n    .ase-submit-btn {\n        width: 100%;\n        padding: 14px;\n        background: linear-gradient(135deg, #2e2626 0%, #4f0000 100%);\n        color: white;\n        border: none;\n        border-radius: 8px;\n        font-size: 1rem;\n        font-weight: 600;\n        cursor: pointer;\n        transition: transform 0.2s, box-shadow 0.2s;\n        margin-top: 5px;\n    }\n    \n    .ase-submit-btn:hover {\n        transform: translateY(-2px);\n        box-shadow: 0 10px 20px rgba(78,0,0, 0.4);\n    }\n    \n    .ase-submit-btn:active {\n        transform: translateY(0);\n    }\n    \n    .ase-submit-btn:disabled {\n        opacity: 0.6;\n        cursor: not-allowed;\n    }\n    \n    .ase-contact-info {\n        margin-top: 20px;\n        padding: 12px;\n        background: #f3f4f6;\n        border-radius: 10px;\n        text-align: center;\n        font-size: 0.85rem;\n        color: #4b5563;\n    }\n    \n    .ase-contact-info a {\n        color: #4f0000;\n        text-decoration: none;\n        font-weight: 600;\n    }\n    \n    .luxury-form-grid {\n        display: grid;\n        grid-template-columns: 1fr;\n        gap: 15px;\n    }\n    \n    .form-item label {\n        display: block;\n        margin-bottom: 6px;\n        color: #0f2027;\n        font-weight: 500;\n        font-size: 0.9rem;\n    }\n    \n    .form-submit-full {\n        grid-column: 1;\n        margin-top: 5px;\n    }\n    \/* Tablet and below *\/\n    \n    @media (max-width: 1024px) {\n        .ase-container {\n            grid-template-columns: 1fr;\n            max-height: none;\n        }\n        .ase-image-section {\n            height: 300px;\n            min-height: 300px;\n        }\n        .ase-form-section {\n            padding: 40px 30px;\n            max-height: none;\n        }\n    }\n    \/* Mobile devices *\/\n    \n    @media (max-width: 768px) {\n        .ase-registration-wrapper {\n            padding: 10px;\n            min-height: auto;\n        }\n        .ase-container {\n            border-radius: 15px;\n        }\n        .ase-image-section {\n            height: 200px;\n            min-height: 200px;\n        }\n        .ase-form-section {\n            padding: 30px 20px;\n            max-height: 70vh;\n        }\n        .ase-form-section h2 {\n            font-size: 1.75rem;\n        }\n        .ase-subtitle {\n            font-size: 0.9rem;\n            margin-bottom: 25px;\n        }\n        .ase-form-group {\n            margin-bottom: 18px;\n        }\n        .ase-form-section input,\n        .ase-form-section select {\n            padding: 12px 16px;\n            font-size: 0.95rem;\n        }\n        .ase-submit-btn {\n            padding: 14px;\n            font-size: 1rem;\n        }\n        .ase-contact-info {\n            font-size: 0.8rem;\n            padding: 10px;\n        }\n    }\n    \/* Small mobile devices *\/\n    \n    @media (max-width: 480px) {\n        .ase-registration-wrapper {\n            padding: 5px;\n        }\n        .ase-container {\n            border-radius: 10px;\n        }\n        .ase-image-section {\n            height: 150px;\n            min-height: 150px;\n        }\n        .ase-form-section {\n            padding: 25px 15px;\n        }\n        .ase-form-section h2 {\n            font-size: 1.5rem;\n            margin-bottom: 8px;\n        }\n        .ase-subtitle {\n            font-size: 0.85rem;\n            margin-bottom: 20px;\n        }\n        .ase-form-group {\n            margin-bottom: 15px;\n        }\n        .ase-form-section input,\n        .ase-form-section select {\n            padding: 11px 14px;\n            font-size: 0.9rem;\n            border-radius: 8px;\n        }\n        .ase-form-section select {\n            background-size: 18px;\n            padding-right: 40px;\n        }\n        .ase-submit-btn {\n            padding: 13px;\n            font-size: 0.95rem;\n            border-radius: 8px;\n        }\n        .ase-contact-info {\n            font-size: 0.75rem;\n            padding: 8px;\n            margin-top: 15px;\n        }\n    }\n    \/* Extra small devices *\/\n    \n    @media (max-width: 360px) {\n        .ase-form-section h2 {\n            font-size: 1.3rem;\n        }\n        .ase-form-section input,\n        .ase-form-section select {\n            padding: 10px 12px;\n            font-size: 0.85rem;\n        }\n        .ase-submit-btn {\n            padding: 12px;\n            font-size: 0.9rem;\n        }\n    }\n<\/style>\n\n<div class=\"ase-registration-wrapper\">\n    <div class=\"ase-container\">\n        <!-- Left Side: Image -->\n        <div class=\"ase-image-section\">\n            <img decoding=\"async\" src=\"http:\/\/eswarigroup.com\/wp-content\/uploads\/2025\/11\/WhatsApp-Image-2025-11-29-at-9.51.28-AM-1.jpeg\" alt=\"Course Registration\">\n        <\/div>\n\n        <!-- Right Side: Form -->\n        <div class=\"ase-form-section\">\n            <h2>Property Inquiry<\/h2>\n            <p class=\"ase-subtitle\">Fill in your details to schedule a visit<\/p>\n\n            <form id=\"aseRegistrationForm\">\n                <div class=\"luxury-form-grid\">\n                    <div class=\"form-item\">\n                        <label>1. Your Name (Required)<\/label>\n                        <input type=\"text\" id=\"aseName\" name=\"your-name\" required placeholder=\"Enter your full name\">\n                    <\/div>\n\n                    <div class=\"form-item\">\n                        <label>2. Your Phone Number (Required)<\/label>\n                        <input type=\"tel\" id=\"aseMobile\" name=\"your-phone\" required placeholder=\"Enter your phone number\">\n                    <\/div>\n\n                    <div class=\"form-item\">\n                        <label>3. Your Email (Required)<\/label>\n                        <input type=\"email\" id=\"aseEmail\" name=\"your-email\" required placeholder=\"Enter your email address\">\n                    <\/div>\n\n                    <div class=\"form-item\">\n                        <label>4. What is your Budget?<\/label>\n                        <select id=\"aseBudget\" name=\"your-budget\" required>\n                            <option value=\"\">Select Budget<\/option>\n                            <option value=\"\u20b940\u201345 Lakhs\">\u20b940\u201345 Lakhs<\/option>\n                            <option value=\"\u20b945\u201350 Lakhs\">\u20b945\u201350 Lakhs<\/option>\n                            <option value=\"\u20b950 Lakhs+\">\u20b950 Lakhs+<\/option>\n                        <\/select>\n                    <\/div>\n\n                    <div class=\"form-item\">\n                        <label>5. When do you want to visit the site?<\/label>\n                        <select id=\"aseVisitTime\" name=\"visit-time\" required>\n                            <option value=\"\">Select Visit Time<\/option>\n                            <option value=\"Today\">Today<\/option>\n                            <option value=\"Tomorrow\">Tomorrow<\/option>\n                            <option value=\"This Week\">This Week<\/option>\n                            <option value=\"Weekend\">Weekend<\/option>\n                            <option value=\"Not Decided\">Not Decided<\/option>\n                        <\/select>\n                    <\/div>\n\n                    <div class=\"form-item\">\n                        <label>6. What type of flat are you looking for?<\/label>\n                        <select id=\"aseFlatType\" name=\"flat-type\" required>\n                            <option value=\"\">Select Flat Type<\/option>\n                            <option value=\"2BHK\">2BHK<\/option>\n                            <option value=\"3BHK\">3BHK<\/option>\n                            <option value=\"Duplex\">Duplex<\/option>\n                            <option value=\"Not sure\">Not sure<\/option>\n                        <\/select>\n                    <\/div>\n\n                    <div class=\"form-submit-full\">\n                        <button type=\"submit\" class=\"ase-submit-btn\" id=\"aseSubmitBtn\">Submit Inquiry<\/button>\n                    <\/div>\n                <\/div>\n            <\/form>\n        <\/div>\n    <\/div>\n<\/div>\n\n\n<script>\n    (function() {\n        \/\/ Google Apps Script Web App URL\n        const SCRIPT_URL = \"https:\/\/script.google.com\/macros\/s\/AKfycbzK2fPYayLCoPCHSspgVHz905BXp4uX-LICLBYHAfvmTGNcxKXXC36XduHEfcfBlN8\/exec\";\n\n        const form = document.getElementById('aseRegistrationForm');\n        const submitBtn = document.getElementById('aseSubmitBtn');\n        \n        \/\/ Send data to Google Sheets\n        async function sendToGoogleSheets(inquiry) {\n            try {\n                const url = SCRIPT_URL + '?action=save_inquiry' +\n                    '&name=' + encodeURIComponent(inquiry.name) +\n                    '&mobile=' + encodeURIComponent(inquiry.mobile) +\n                    '&email=' + encodeURIComponent(inquiry.email) +\n                    '&budget=' + encodeURIComponent(inquiry.budget) +\n                    '&visitTime=' + encodeURIComponent(inquiry.visitTime) +\n                    '&flatType=' + encodeURIComponent(inquiry.flatType);\n\n                const response = await fetch(url);\n                const data = await response.json();\n\n                return data;\n            } catch (error) {\n                console.error('Failed to send to Google Sheets:', error);\n                throw error;\n            }\n        }\n\n        form.addEventListener('submit', async function(e) {\n            e.preventDefault();\n\n            \/\/ Get form data\n            const name = document.getElementById('aseName').value.trim();\n            const mobile = document.getElementById('aseMobile').value.trim();\n            const email = document.getElementById('aseEmail').value.trim();\n            const budget = document.getElementById('aseBudget').value;\n            const visitTime = document.getElementById('aseVisitTime').value;\n            const flatType = document.getElementById('aseFlatType').value;\n\n            \/\/ Validation\n            if (!name || !mobile || !email || !budget || !visitTime || !flatType) {\n                alert('Please fill all required fields');\n                return;\n            }\n\n            \/\/ Disable button\n            submitBtn.disabled = true;\n            submitBtn.textContent = 'Submitting...';\n\n            try {\n                \/\/ Create inquiry object\n                const inquiry = {\n                    name: name,\n                    mobile: mobile,\n                    email: email,\n                    budget: budget,\n                    visitTime: visitTime,\n                    flatType: flatType\n                };\n\n                \/\/ Send to Google Sheets\n                const result = await sendToGoogleSheets(inquiry);\n\n                if (result.success) {\n                    \/\/ Redirect to thank you page\n                    window.location.href = 'https:\/\/eswarigroup.com\/thankyoupage\/';\n                } else {\n                    throw new Error(result.message || 'Failed to submit inquiry');\n                }\n\n            } catch (error) {\n                alert('\u274c Submission Failed\\n\\n' + error.message + '\\n\\nPlease try again or contact support.');\n                submitBtn.disabled = false;\n                submitBtn.textContent = 'Submit Inquiry';\n            }\n        });\n    })();\n<\/script>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Property Inquiry Fill in your details to schedule a visit 1. Your Name (Required) 2. Your Phone Number (Required) 3. Your Email (Required) 4. What is your Budget? Select Budget\u20b940\u201345 Lakhs\u20b945\u201350 Lakhs\u20b950 Lakhs+ 5. When do you want to visit the site? Select Visit TimeTodayTomorrowThis WeekWeekendNot Decided 6. What type of flat are you looking [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"site-sidebar-layout":"no-sidebar","site-content-layout":"","ast-site-content-layout":"full-width-container","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"disabled","ast-breadcrumbs-content":"","ast-featured-img":"disabled","footer-sml-layout":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"class_list":["post-4641","page","type-page","status-publish","hentry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/eswarigroup.com\/index.php?rest_route=\/wp\/v2\/pages\/4641","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/eswarigroup.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/eswarigroup.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/eswarigroup.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/eswarigroup.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4641"}],"version-history":[{"count":46,"href":"https:\/\/eswarigroup.com\/index.php?rest_route=\/wp\/v2\/pages\/4641\/revisions"}],"predecessor-version":[{"id":4723,"href":"https:\/\/eswarigroup.com\/index.php?rest_route=\/wp\/v2\/pages\/4641\/revisions\/4723"}],"wp:attachment":[{"href":"https:\/\/eswarigroup.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4641"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}