+ At
+ AmbuFlow ,we are committed to protecting your privacy. This Privacy Policy outlines how we collect, use, disclose, and safeguard your information when you use our services. By using our ambulance services, you consent to the practices described in this policy.
+
+
+
+ We value your privacy. This policy explains what information we collect, how we use it, and how we protect it to ensure your safety and privacy.
+
+
+
Information We Collect
+
+ We may collect various types of information, including:
+
+
+
Personal Information This includes your name, address, phone number, date of birth, and insurance information, which may be collected during registration or when you request services.
+
Health Information: Medical history, symptoms, and other health-related information that may be necessary for providing emergency care.
+
Payment Information: Credit card details or insurance information for billing purposes.
+
Usage Data: Information on how you interact with our services, including device information, IP addresses, and location data.
+
+
+
+
How We Use Your Information
+
+
To provide and manage emergency medical services.
+
To communicate with you regarding services, billing, and updates.
+
To improve our services and customer experience.
+
To track the ambulance's location and guide it efficiently.
+
To improve the system's features for a better experience.
+
To comply with legal and regulatory requirements.
+
+
+
Sharing Your Information
+
+
Healthcare Providers: To coordinate your care with hospitals, physicians, and other medical professionals involved in your treatment.
+
For Legal Reasons: When required by law or in response to a subpoena or court order.
+
In Case of Emergencies: To protect the rights, property, or safety of our organization, our clients, or others.
+
+
+
How We Protect Your Information:
+
+ We may update this Privacy Policy from time to time. We will notify you of any changes by posting the new policy on our website with an updated effective date. Your continued use of our services after changes constitutes your acceptance of the updated policy.
+
+
Changes to this Policy
+
+ We implement a variety of security measures to protect your personal information. However, no method of transmission over the internet or electronic storage is 100% secure. We strive to use commercially acceptable means to protect your information but cannot guarantee its absolute security.
+
+ Contribute on GitHub
+
+
+
+
+
diff --git a/script.js b/script.js
index dbef7cc8..418d2a71 100644
--- a/script.js
+++ b/script.js
@@ -1,9 +1,11 @@
// Newsletter form submission handler
-document.getElementById('newsletter-form').addEventListener('submit', function(event) {
+document
+ .getElementById("newsletter-form")
+ .addEventListener("submit", function (event) {
event.preventDefault(); // Prevent the form from submitting normally
- const emailInput = document.getElementById('email');
- const confirmationMessage = document.getElementById('confirmation-message');
+ const emailInput = document.getElementById("email");
+ const confirmationMessage = document.getElementById("confirmation-message");
// Optionally send the email to your backend
const email = emailInput.value;
@@ -12,37 +14,36 @@ document.getElementById('newsletter-form').addEventListener('submit', function(e
console.log(`Email submitted: ${email}`); // For debugging
// Display the confirmation message
- confirmationMessage.textContent = 'Thank you for subscribing! Please check your email for further instructions.';
- confirmationMessage.classList.remove('hidden');
+ confirmationMessage.textContent =
+ "Thank you for subscribing! Please check your email for further instructions.";
+ confirmationMessage.classList.remove("hidden");
// Clear the form
- emailInput.value = '';
-});
+ emailInput.value = "";
+ });
// Accordion functionality
const accordions = document.querySelectorAll(".accordion");
accordions.forEach((accordion, index) => {
- const header = accordion.querySelector(".accordion__header");
- const content = accordion.querySelector(".accordion__content");
- const icon = accordion.querySelector(".accordion__icon i");
-
- header.addEventListener("click", () => {
- const isOpen = content.style.height === `${content.scrollHeight}px`;
-
- accordions.forEach((a, i) => {
- const c = a.querySelector(".accordion__content");
- const ic = a.querySelector(".accordion__icon i");
-
- if (i === index) {
- c.style.height = isOpen ? "0px" : `${c.scrollHeight}px`;
- ic.classList.toggle("ri-add-line", isOpen);
- ic.classList.toggle("ri-subtract-fill", !isOpen);
- } else {
- c.style.height = "0px";
- ic.classList.add("ri-add-line");
- ic.classList.remove("ri-subtract-fill");
- }
- });
+ const header = accordion.querySelector(".accordion__header");
+ const content = accordion.querySelector(".accordion__content");
+ const icon = accordion.querySelector(".accordion__icon i");
+
+ header.addEventListener("click", () => {
+ const isOpen = content.style.height === `${content.scrollHeight}px`;
+
+ accordions.forEach((a, i) => {
+ const c = a.querySelector(".accordion__content");
+ const ic = a.querySelector(".accordion__icon i");
+
+ if (i === index) {
+ c.style.height = isOpen ? "0px" : `${c.scrollHeight}px`;
+ ic.classList.toggle("ri-add-line", isOpen);
+ ic.classList.toggle("ri-subtract-fill", !isOpen);
+ } else {
+ c.style.height = "0px";
+ ic.classList.add("ri-add-line");
+ ic.classList.remove("ri-subtract-fill");
+ }
});
-});
\ No newline at end of file