import"./hoisted.BsMfRRdS.js";document.addEventListener("DOMContentLoaded",()=>{const t=document.getElementById("contact-form"),n=document.getElementById("submit-btn"),s=document.getElementById("submit-text"),d=document.getElementById("submit-spinner"),e=document.getElementById("form-message");t&&t.addEventListener("submit",async r=>{r.preventDefault(),n.disabled=!0,s.textContent="Sending...",d.classList.remove("hidden");try{await new Promise(o=>setTimeout(o,2e3)),e.className="mt-4 p-4 rounded-lg bg-green-50 border border-green-200 text-green-800",e.textContent="Message sent successfully! We'll get back to you soon.",e.classList.remove("hidden"),t.reset()}catch{e.className="mt-4 p-4 rounded-lg bg-red-50 border border-red-200 text-red-800",e.textContent="Failed to send message. Please try again.",e.classList.remove("hidden")}finally{n.disabled=!1,s.textContent="Send Message",d.classList.add("hidden")}})});
