diff --git a/assets/css/style16eb.css b/assets/css/style16eb.css index 395ef50..041e90e 100644 --- a/assets/css/style16eb.css +++ b/assets/css/style16eb.css @@ -37764,7 +37764,31 @@ section { transform: translateY(-2px); /* slight lift effect */ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); - border-color: var(--color-btn) ; + border-color: var(--color-btn); +} + +.band { + background-color: white; + padding: 20px; + border-radius: 8px; +} + +.faq-group { + overflow: hidden; + opacity: 0; + transform: translateY(30px); + transition: all 0.35s ease; + pointer-events: none; +} + +.faq-group.show { + opacity: 1; + transform: translateY(0); + pointer-events: auto; +} + +.faq-group.d-none { + display: none !important; } .band-info h4 { diff --git a/assets/images/icons/favicon.png b/assets/images/icons/favicon.png new file mode 100644 index 0000000..0676d46 Binary files /dev/null and b/assets/images/icons/favicon.png differ diff --git a/class-detail.php b/class-detail.php index edd0cb3..17c83e3 100644 --- a/class-detail.php +++ b/class-detail.php @@ -179,7 +179,7 @@ -
+
0 diff --git a/faq.php b/faq.php index b6d3f0e..1c1ee71 100644 --- a/faq.php +++ b/faq.php @@ -31,14 +31,15 @@
+
@@ -106,55 +107,47 @@

+ What support do students receive during the process?

- Pathfinder offers trusted, ethical, and personalized education counseling backed by experienced advisors, a strong global network, and a high visa success rate. -
+ Students receive end-to-end support including course selection, university applications, document preparation, and visa guidance.

+ Do you help with visa documentation and interviews?

- We assist students in securing admissions in top institutions across Australia, the UK, USA, Canada, New Zealand, Denmark, and Ireland. -
+ Yes. We provide complete visa documentation assistance, financial guidance, and interview preparation to maximize approval chances.

+ Can Pathfinder help with scholarships?

- Yes, we provide complete visa documentation support and interview preparation to maximize approval chances. -
+ We guide eligible students on available scholarships, grants, and fee reductions offered by universities.

+ Do you provide post-arrival support?

- Absolutely. Our post-arrival support ensures students receive continued guidance even after reaching their study destination. -
+ Absolutely. We assist with pre-departure briefings, accommodation guidance, and initial settlement support after arrival.
- + @@ -164,52 +157,44 @@

+ How do I start my application with Pathfinder?

- Pathfinder offers trusted, ethical, and personalized education counseling backed by experienced advisors, a strong global network, and a high visa success rate. -
+ You can start by booking a counseling session, either online or in person, where we assess your academic profile and career goals.

+ What documents are required for admission?

- We assist students in securing admissions in top institutions across Australia, the UK, USA, Canada, New Zealand, Denmark, and Ireland. -
+ Requirements vary by country and course, but typically include academic transcripts, English test results, SOP, and financial documents.

+ How long does the application process take?

- Yes, we provide complete visa documentation support and interview preparation to maximize approval chances. -
+ Processing time depends on the destination and institution, but we ensure timely submissions to avoid unnecessary delays.

+ Can I apply to multiple universities at once?

- Absolutely. Our post-arrival support ensures students receive continued guidance even after reaching their study destination. -
+ Yes. We help you apply to multiple suitable institutions to increase your chances of admission and better decision-making.
diff --git a/footer.php b/footer.php index 81f9b6f..254fcf4 100644 --- a/footer.php +++ b/footer.php @@ -278,34 +278,46 @@ const buttons = document.querySelectorAll('.faq-buttons button'); const groups = document.querySelectorAll('.faq-group'); - // INITIAL STATE: show only "about" - groups.forEach(g => g.classList.add('d-none')); - document.getElementById('about').classList.remove('d-none'); + // INITIAL STATE → show first FAQ + groups.forEach(g => { + g.classList.add('d-none'); + g.classList.remove('show'); + }); + const firstBtn = document.querySelector('.faq-buttons button.active'); + if (firstBtn) { + const firstGroup = document.getElementById(firstBtn.dataset.faq); + firstGroup.classList.remove('d-none'); + // force reflow + firstGroup.offsetHeight; + firstGroup.classList.add('show'); + } + + // CLICK HANDLER buttons.forEach(btn => { btn.addEventListener('click', () => { - const target = btn.dataset.faq; - const group = document.getElementById(target); + const target = document.getElementById(btn.dataset.faq); + const isActive = btn.classList.contains('active'); - if (group.classList.contains('d-none')) { - // Hide all - groups.forEach(g => g.classList.add('d-none')); - buttons.forEach(b => b.classList.remove('active')); + // reset all + buttons.forEach(b => b.classList.remove('active')); + groups.forEach(g => { + g.classList.remove('show'); + g.classList.add('d-none'); + }); - // Show current - group.classList.remove('d-none'); + // toggle + if (!isActive) { btn.classList.add('active'); - } else { - // Optional: clicking same button again hides it - group.classList.add('d-none'); - btn.classList.remove('active'); + target.classList.remove('d-none'); + target.offsetHeight; // reflow + target.classList.add('show'); } }); }); -