From 0ce027f74e9a56da02df224e77da86113e25f961 Mon Sep 17 00:00:00 2001 From: 4F24L Date: Mon, 7 Oct 2024 12:38:23 +0530 Subject: [PATCH 1/2] faq section added --- index.html | 175 ++++++++++++++++++++++++++++++++++++++++++++++ src/css/index.css | 4 ++ 2 files changed, 179 insertions(+) diff --git a/index.html b/index.html index dc46cfa2..13f3a4b8 100644 --- a/index.html +++ b/index.html @@ -182,6 +182,92 @@ .red { color: red; /* Change the color of letters in this class to red */ } + + + /* faq section styles */ + .faq-section{ + background-color: #e7f3fe; + + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + + } + + + + .faq-h2{ + margin-bottom: 1.5rem; + font-size: 2.5rem; + font-weight: 600; + } + + .faqs{ + width: 100%; + } + + .faq { + margin-bottom: 15px; + width: 100%; /* Full width by default */ + background-color: #fff; + border: 1px solid #ccc; + border-radius: 10px; + overflow: hidden; + } + + .faq-question { + background-color: #e7ffe7; + color: #333; + padding: 10px; + width: 100%; + text-align: left; + border: none; + outline: none; + cursor: pointer; + font-size: 16px; + font-weight: 600; + + display: flex; + justify-content: space-between; + align-items: center; + } + + .faq-question::after { + content: ''; + display: inline-block; + width: 0; + height: 0; + border-left: 8px solid transparent; + border-right: 8px solid transparent; + border-top: 8px solid #333; /* Downward pointing wide "V" */ + transition: transform 0.3s ease; + + margin-right: 10px; + } + + .faq.active .faq-question::after { + border-top: none; + border-bottom: 8px solid #333; /* Upward pointing wide "V" */ + } + + .faq-answer { + max-height: 0; /* Initially hidden */ + overflow: hidden; /* Hide content when not visible */ + padding: 0 10px; + background-color: #fff; + transition: max-height 0.3s ease; /* Smooth transition */ + border-top: 1px solid #ccc; + } + + .faq-answer p { + margin-bottom: 10px; + } + + .faq.active .faq-answer { + max-height: 200px; /* Set to a sufficient height to display content */ + padding: 10px; /* Adds padding when expanded */ + } @@ -295,6 +381,71 @@

Contact Us

Go to Contact + + + +
+
+
FAQ
+ +
+
+ +
+ +
+

Stay calm, ensure the patient is in a safe environment, and prepare any relevant medical information. If possible, clear a path for the ambulance and stay on the line with emergency services if needed.

+
+
+
+ +
+

After requesting an ambulance, you can track it in real-time by logging into the system and accessing the live map feature.

+
+
+
+ +
+

If the ambulance is delayed, you will receive updates through the system. In case of a significant delay, please contact emergency services for further instructions.

+
+
+
+ +
+

Yes, during your request, you can provide essential medical details to help paramedics prepare better for the situation.

+
+
+
+ +
+

The ambulance tracking service is free of charge, but regular ambulance service fees may apply depending on the provider.

+
+
+
+ +
+

During your request, you can specify if the patient needs specific medical equipment or personnel, such as a ventilator or a specialized doctor.

+
+
+
+ +
+

If the ambulance location is not updating, try refreshing the page. If the issue persists, report a technical issue through the system or contact support.

+
+
+
+ +
+

Yes, the system allows you to schedule an ambulance for non-emergency situations in advance.

+
+
+ + +
+
+ + +