🚀 MAJOR: Complete Website Enhancement & Production Ready

This commit is contained in:
Peter
2025-06-07 17:09:01 +01:00
parent f479019bce
commit 1f86807961
32 changed files with 7831 additions and 11 deletions

695
faq-enhanced.php Normal file
View File

@@ -0,0 +1,695 @@
<?php
$page_title = "Frequently Asked Questions | UK Data Services";
$page_description = "Get answers to common questions about our data services, pricing, security, and processes. Learn how UK Data Services can help your business.";
$canonical_url = "https://ukdataservices.co.uk/faq";
$keywords = "UK data services FAQ, web scraping questions, data cleaning help, business intelligence support";
?>
<!DOCTYPE html>
<html lang="en-GB">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title><?php echo htmlspecialchars($page_title); ?></title>
<meta name="description" content="<?php echo htmlspecialchars($page_description); ?>">
<meta name="keywords" content="<?php echo htmlspecialchars($keywords); ?>">
<link rel="canonical" href="<?php echo htmlspecialchars($canonical_url); ?>">
<!-- Open Graph -->
<meta property="og:title" content="<?php echo htmlspecialchars($page_title); ?>">
<meta property="og:description" content="<?php echo htmlspecialchars($page_description); ?>">
<meta property="og:url" content="<?php echo htmlspecialchars($canonical_url); ?>">
<meta property="og:type" content="website">
<!-- Favicon -->
<link rel="icon" type="image/svg+xml" href="assets/images/favicon.svg">
<!-- Styles -->
<link rel="stylesheet" href="assets/css/main.css">
<!-- FAQ Structured Data -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": [
{
"@type": "Question",
"name": "What data services does UK Data Services provide?",
"acceptedAnswer": {
"@type": "Answer",
"text": "We provide comprehensive data solutions including web scraping, data cleaning, business intelligence, data migration, GDPR compliance, and custom data processing services for UK businesses."
}
},
{
"@type": "Question",
"name": "How secure is my data with UK Data Services?",
"acceptedAnswer": {
"@type": "Answer",
"text": "We use enterprise-grade security measures including 256-bit encryption, secure transfer protocols, access controls, and staff NDAs. We're ISO 27001 certified and fully GDPR compliant."
}
},
{
"@type": "Question",
"name": "What is the typical turnaround time for projects?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Project timelines vary by complexity. Simple data cleaning takes 24-48 hours, web scraping projects typically take 3-5 days, and complex migrations can take 2-4 weeks. We provide detailed timelines during consultation."
}
},
{
"@type": "Question",
"name": "Do you provide ongoing support after project completion?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Yes, we offer comprehensive post-project support including monitoring, maintenance, updates, and technical assistance. Support packages are available monthly or annually."
}
},
{
"@type": "Question",
"name": "What industries do you serve?",
"acceptedAnswer": {
"@type": "Answer",
"text": "We serve all UK industries including financial services, retail, healthcare, property, manufacturing, technology, and government sectors. Our solutions are tailored to industry-specific requirements and regulations."
}
}
]
}
</script>
</head>
<body>
<!-- Navigation -->
<nav class="navbar" id="navbar">
<div class="nav-container">
<div class="nav-logo">
<a href="/">
<img src="assets/images/ukds-main-logo.png" alt="UK Data Services" class="logo">
</a>
</div>
<div class="nav-menu" id="nav-menu">
<a href="/" class="nav-link">Home</a>
<a href="/#services" class="nav-link">Services</a>
<a href="/case-studies/" class="nav-link">Case Studies</a>
<a href="/blog/" class="nav-link">Blog</a>
<a href="/about" class="nav-link">About</a>
<a href="/#contact" class="nav-link">Contact</a>
<a href="/quote" class="nav-link cta-button">Get Quote</a>
</div>
</div>
</nav>
<!-- Hero Section -->
<section class="page-hero">
<div class="container">
<div class="hero-content">
<h1>Frequently Asked Questions</h1>
<p class="hero-subtitle">Get instant answers to common questions about our data services, processes, pricing, and more. Can't find what you're looking for? Contact our experts.</p>
<div class="hero-search">
<input type="text" id="faq-search" placeholder="Search FAQs..." aria-label="Search FAQ">
<button type="button" id="search-btn">🔍</button>
</div>
</div>
</div>
</section>
<!-- FAQ Categories -->
<section class="faq-categories">
<div class="container">
<div class="categories-grid">
<a href="#general" class="category-card">
<div class="category-icon">❓</div>
<h3>General Services</h3>
<p>Basic information about our services and capabilities</p>
</a>
<a href="#pricing" class="category-card">
<div class="category-icon">💰</div>
<h3>Pricing & Billing</h3>
<p>Cost structures, payment terms, and billing information</p>
</a>
<a href="#security" class="category-card">
<div class="category-icon">🔒</div>
<h3>Security & Privacy</h3>
<p>Data protection, GDPR compliance, and security measures</p>
</a>
<a href="#technical" class="category-card">
<div class="category-icon">⚙️</div>
<h3>Technical Support</h3>
<p>Technical questions, integrations, and troubleshooting</p>
</a>
<a href="#process" class="category-card">
<div class="category-icon">📋</div>
<h3>Process & Timeline</h3>
<p>Project timelines, delivery methods, and workflow</p>
</a>
<a href="#legal" class="category-card">
<div class="category-icon">⚖️</div>
<h3>Legal & Compliance</h3>
<p>Contracts, terms of service, and regulatory compliance</p>
</a>
</div>
</div>
</section>
<!-- FAQ Content -->
<section class="faq-content">
<div class="container">
<!-- General Services -->
<div id="general" class="faq-section">
<h2>General Services</h2>
<div class="faq-item">
<button class="faq-question" aria-expanded="false">
<span>What data services does UK Data Services provide?</span>
<span class="faq-icon">+</span>
</button>
<div class="faq-answer">
<p>We provide comprehensive data solutions including:</p>
<ul>
<li><strong>Web Scraping & Data Extraction:</strong> Automated collection of public data from websites and online sources</li>
<li><strong>Data Cleaning & Validation:</strong> Removing duplicates, standardizing formats, and verifying accuracy</li>
<li><strong>Business Intelligence:</strong> Analytics, reporting, and insights from your data</li>
<li><strong>Data Migration:</strong> Moving data between systems safely and efficiently</li>
<li><strong>GDPR Compliance:</strong> Ensuring your data practices meet UK and EU regulations</li>
<li><strong>Custom Development:</strong> Bespoke solutions tailored to your specific needs</li>
</ul>
</div>
</div>
<div class="faq-item">
<button class="faq-question" aria-expanded="false">
<span>What industries do you serve?</span>
<span class="faq-icon">+</span>
</button>
<div class="faq-answer">
<p>We serve businesses across all UK industries, with particular expertise in:</p>
<ul>
<li>Financial Services (banks, insurance, fintech)</li>
<li>Retail & E-commerce (online stores, marketplaces)</li>
<li>Healthcare (NHS trusts, private healthcare)</li>
<li>Property & Real Estate (agents, developers, portals)</li>
<li>Manufacturing (supply chain, inventory management)</li>
<li>Technology (software companies, startups)</li>
<li>Government & Public Sector</li>
</ul>
</div>
</div>
<div class="faq-item">
<button class="faq-question" aria-expanded="false">
<span>Do you work with businesses of all sizes?</span>
<span class="faq-icon">+</span>
</button>
<div class="faq-answer">
<p>Yes, we work with organizations ranging from startups to FTSE 100 companies. Our services scale to meet your needs:</p>
<ul>
<li><strong>Small Businesses:</strong> Cost-effective solutions with flexible pricing</li>
<li><strong>Medium Enterprises:</strong> Scalable services that grow with your business</li>
<li><strong>Large Corporations:</strong> Enterprise-grade solutions with dedicated support</li>
</ul>
</div>
</div>
<div class="faq-item">
<button class="faq-question" aria-expanded="false">
<span>What makes UK Data Services different from competitors?</span>
<span class="faq-icon">+</span>
</button>
<div class="faq-answer">
<p>Our unique advantages include:</p>
<ul>
<li><strong>UK-based team:</strong> Local expertise with understanding of UK regulations</li>
<li><strong>99.8% accuracy rate:</strong> Proven track record of high-quality deliverables</li>
<li><strong>GDPR expertise:</strong> Deep knowledge of UK and EU data protection laws</li>
<li><strong>24/7 support:</strong> Round-the-clock assistance when you need it</li>
<li><strong>Transparent pricing:</strong> No hidden fees or surprise charges</li>
<li><strong>Fast turnaround:</strong> Most projects completed 40% faster than industry average</li>
</ul>
</div>
</div>
</div>
<!-- Pricing & Billing -->
<div id="pricing" class="faq-section">
<h2>Pricing & Billing</h2>
<div class="faq-item">
<button class="faq-question" aria-expanded="false">
<span>How do you price your services?</span>
<span class="faq-icon">+</span>
</button>
<div class="faq-answer">
<p>Our pricing structure is transparent and varies by service type:</p>
<ul>
<li><strong>Data Cleaning:</strong> £0.15-£0.25 per record depending on complexity</li>
<li><strong>Web Scraping:</strong> Fixed project pricing based on scope and complexity</li>
<li><strong>Business Intelligence:</strong> Monthly subscriptions from £500-£5,000</li>
<li><strong>Data Migration:</strong> Project-based pricing starting from £2,500</li>
<li><strong>Consulting:</strong> £150-£300 per hour depending on expertise level</li>
</ul>
<p>We provide detailed quotes after understanding your specific requirements.</p>
</div>
</div>
<div class="faq-item">
<button class="faq-question" aria-expanded="false">
<span>Do you offer free consultations?</span>
<span class="faq-icon">+</span>
</button>
<div class="faq-answer">
<p>Yes! We offer:</p>
<ul>
<li><strong>Free initial consultation:</strong> 30-minute discussion of your requirements</li>
<li><strong>Free data audit:</strong> Analysis of your current data quality (worth £500)</li>
<li><strong>Free project scoping:</strong> Detailed breakdown of requirements and costs</li>
<li><strong>Free proof of concept:</strong> Small sample to demonstrate our capabilities</li>
</ul>
</div>
</div>
<div class="faq-item">
<button class="faq-question" aria-expanded="false">
<span>What payment methods do you accept?</span>
<span class="faq-icon">+</span>
</button>
<div class="faq-answer">
<p>We accept various payment methods for your convenience:</p>
<ul>
<li>Bank transfer (BACS) - preferred method</li>
<li>Credit/debit cards (Visa, Mastercard, Amex)</li>
<li>PayPal for smaller projects</li>
<li>Direct debit for ongoing services</li>
<li>Purchase orders for corporate clients</li>
</ul>
<p>Payment terms: Net 30 days for established clients, 50% upfront for new clients on large projects.</p>
</div>
</div>
<div class="faq-item">
<button class="faq-question" aria-expanded="false">
<span>Do you offer discounts for long-term contracts?</span>
<span class="faq-icon">+</span>
</button>
<div class="faq-answer">
<p>Yes, we offer attractive discounts for committed partnerships:</p>
<ul>
<li><strong>6-month contracts:</strong> 10% discount</li>
<li><strong>12-month contracts:</strong> 15% discount</li>
<li><strong>24-month contracts:</strong> 20% discount</li>
<li><strong>Volume discounts:</strong> Additional savings for large data volumes</li>
<li><strong>Multi-service packages:</strong> Bundled pricing for multiple services</li>
</ul>
</div>
</div>
</div>
<!-- Security & Privacy -->
<div id="security" class="faq-section">
<h2>Security & Privacy</h2>
<div class="faq-item">
<button class="faq-question" aria-expanded="false">
<span>How secure is my data with UK Data Services?</span>
<span class="faq-icon">+</span>
</button>
<div class="faq-answer">
<p>We implement enterprise-grade security measures:</p>
<ul>
<li><strong>Encryption:</strong> 256-bit AES encryption for data at rest and in transit</li>
<li><strong>Access Controls:</strong> Multi-factor authentication and role-based access</li>
<li><strong>Secure Facilities:</strong> ISO 27001 certified data centers in the UK</li>
<li><strong>Staff Training:</strong> Regular security training and background checks</li>
<li><strong>Network Security:</strong> Firewalls, intrusion detection, and monitoring</li>
<li><strong>Backup & Recovery:</strong> Regular backups with tested recovery procedures</li>
</ul>
<p>All staff sign comprehensive NDAs and undergo security clearance checks.</p>
</div>
</div>
<div class="faq-item">
<button class="faq-question" aria-expanded="false">
<span>Are you GDPR compliant?</span>
<span class="faq-icon">+</span>
</button>
<div class="faq-answer">
<p>Absolutely. We are fully GDPR compliant and help clients achieve compliance:</p>
<ul>
<li><strong>Data Processing Agreements:</strong> Comprehensive DPAs for all clients</li>
<li><strong>Privacy by Design:</strong> Built-in privacy protections in all processes</li>
<li><strong>Right to be Forgotten:</strong> Systems to handle deletion requests</li>
<li><strong>Data Breach Procedures:</strong> 24-hour notification protocols</li>
<li><strong>Regular Audits:</strong> Internal and external GDPR compliance reviews</li>
<li><strong>Staff Training:</strong> Regular GDPR training for all team members</li>
</ul>
</div>
</div>
<div class="faq-item">
<button class="faq-question" aria-expanded="false">
<span>Do you have cyber insurance?</span>
<span class="faq-icon">+</span>
</button>
<div class="faq-answer">
<p>Yes, we maintain comprehensive cyber insurance coverage:</p>
<ul>
<li><strong>Professional Indemnity:</strong> £5 million coverage</li>
<li><strong>Cyber Liability:</strong> £10 million coverage</li>
<li><strong>Data Breach Response:</strong> Full incident response coverage</li>
<li><strong>Business Interruption:</strong> Coverage for service disruptions</li>
</ul>
</div>
</div>
</div>
<!-- Technical Support -->
<div id="technical" class="faq-section">
<h2>Technical Support</h2>
<div class="faq-item">
<button class="faq-question" aria-expanded="false">
<span>What file formats do you work with?</span>
<span class="faq-icon">+</span>
</button>
<div class="faq-answer">
<p>We support all common data formats:</p>
<ul>
<li><strong>Spreadsheets:</strong> Excel (.xlsx, .xls), CSV, Google Sheets</li>
<li><strong>Databases:</strong> MySQL, PostgreSQL, SQL Server, Oracle, MongoDB</li>
<li><strong>APIs:</strong> REST, SOAP, GraphQL</li>
<li><strong>Documents:</strong> PDF, Word, JSON, XML</li>
<li><strong>Web formats:</strong> HTML, XML sitemaps</li>
<li><strong>Cloud platforms:</strong> AWS, Azure, Google Cloud</li>
</ul>
<p>If you have a specific format requirement, we can accommodate most requests.</p>
</div>
</div>
<div class="faq-item">
<button class="faq-question" aria-expanded="false">
<span>Do you provide API integrations?</span>
<span class="faq-icon">+</span>
</button>
<div class="faq-answer">
<p>Yes, we offer comprehensive API integration services:</p>
<ul>
<li><strong>Custom APIs:</strong> Build APIs tailored to your requirements</li>
<li><strong>Third-party integrations:</strong> Connect to existing systems and services</li>
<li><strong>Real-time data feeds:</strong> Live data streaming and synchronization</li>
<li><strong>Webhook implementations:</strong> Event-driven data updates</li>
<li><strong>Authentication:</strong> OAuth, API keys, and secure access methods</li>
<li><strong>Rate limiting:</strong> Respectful data collection within provider limits</li>
</ul>
</div>
</div>
<div class="faq-item">
<button class="faq-question" aria-expanded="false">
<span>What support do you provide after project completion?</span>
<span class="faq-icon">+</span>
</button>
<div class="faq-answer">
<p>We offer comprehensive post-project support:</p>
<ul>
<li><strong>30-day warranty:</strong> Free fixes for any issues within 30 days</li>
<li><strong>Documentation:</strong> Complete technical documentation and user guides</li>
<li><strong>Training:</strong> Staff training on new systems and processes</li>
<li><strong>Ongoing monitoring:</strong> Optional monitoring and maintenance services</li>
<li><strong>Updates & enhancements:</strong> System updates and feature additions</li>
<li><strong>Technical support:</strong> Email and phone support packages available</li>
</ul>
</div>
</div>
</div>
<!-- Process & Timeline -->
<div id="process" class="faq-section">
<h2>Process & Timeline</h2>
<div class="faq-item">
<button class="faq-question" aria-expanded="false">
<span>What is the typical turnaround time for projects?</span>
<span class="faq-icon">+</span>
</button>
<div class="faq-answer">
<p>Turnaround times vary by project complexity:</p>
<ul>
<li><strong>Data Cleaning:</strong> 24-48 hours for standard projects</li>
<li><strong>Web Scraping:</strong> 3-5 days for typical websites</li>
<li><strong>Business Intelligence:</strong> 1-2 weeks for dashboard setup</li>
<li><strong>Data Migration:</strong> 2-4 weeks depending on complexity</li>
<li><strong>Custom Development:</strong> 4-12 weeks for bespoke solutions</li>
</ul>
<p>We provide detailed timelines during the consultation phase and keep you updated throughout the project.</p>
</div>
</div>
<div class="faq-item">
<button class="faq-question" aria-expanded="false">
<span>How do you communicate project progress?</span>
<span class="faq-icon">+</span>
</button>
<div class="faq-answer">
<p>We maintain transparent communication throughout your project:</p>
<ul>
<li><strong>Project portal:</strong> Online dashboard showing real-time progress</li>
<li><strong>Regular updates:</strong> Daily or weekly progress reports</li>
<li><strong>Milestone meetings:</strong> Scheduled check-ins at key project stages</li>
<li><strong>Direct access:</strong> Phone and email contact with your project manager</li>
<li><strong>Slack integration:</strong> Real-time collaboration for larger projects</li>
</ul>
</div>
</div>
<div class="faq-item">
<button class="faq-question" aria-expanded="false">
<span>Can you handle urgent or rush projects?</span>
<span class="faq-icon">+</span>
</button>
<div class="faq-answer">
<p>Yes, we can accommodate urgent requests:</p>
<ul>
<li><strong>24-hour turnaround:</strong> Available for simple data cleaning projects</li>
<li><strong>Weekend work:</strong> Available at premium rates</li>
<li><strong>Dedicated resources:</strong> Priority allocation of team members</li>
<li><strong>Rush charges:</strong> 25-50% premium for urgent projects</li>
</ul>
<p>Contact us immediately for urgent requirements - we'll do our best to accommodate.</p>
</div>
</div>
</div>
<!-- Legal & Compliance -->
<div id="legal" class="faq-section">
<h2>Legal & Compliance</h2>
<div class="faq-item">
<button class="faq-question" aria-expanded="false">
<span>What contracts and agreements do you use?</span>
<span class="faq-icon">+</span>
</button>
<div class="faq-answer">
<p>We use comprehensive legal agreements to protect both parties:</p>
<ul>
<li><strong>Service Agreement:</strong> Master services agreement outlining terms</li>
<li><strong>Data Processing Agreement:</strong> GDPR-compliant data handling terms</li>
<li><strong>Non-Disclosure Agreement:</strong> Protecting your confidential information</li>
<li><strong>Statement of Work:</strong> Detailed project specifications and deliverables</li>
<li><strong>Service Level Agreement:</strong> Performance guarantees and remedies</li>
</ul>
</div>
</div>
<div class="faq-item">
<button class="faq-question" aria-expanded="false">
<span>Is web scraping legal?</span>
<span class="faq-icon">+</span>
</button>
<div class="faq-answer">
<p>Web scraping of publicly available data is generally legal, but we ensure compliance:</p>
<ul>
<li><strong>Robots.txt compliance:</strong> We respect website scraping guidelines</li>
<li><strong>Rate limiting:</strong> Responsible scraping that doesn't overload servers</li>
<li><strong>Terms of service review:</strong> We check and comply with website terms</li>
<li><strong>Public data only:</strong> We only collect publicly accessible information</li>
<li><strong>Legal consultation:</strong> Complex cases reviewed by our legal team</li>
</ul>
<p>We can provide legal guidance specific to your requirements.</p>
</div>
</div>
<div class="faq-item">
<button class="faq-question" aria-expanded="false">
<span>What happens if you can't complete a project?</span>
<span class="faq-icon">+</span>
</button>
<div class="faq-answer">
<p>We guarantee project completion, but if unforeseen issues arise:</p>
<ul>
<li><strong>Alternative solutions:</strong> We find workarounds or alternative approaches</li>
<li><strong>Partial completion:</strong> Deliver what's possible and refund the remainder</li>
<li><strong>Full refund:</strong> If we can't deliver value, you get your money back</li>
<li><strong>Recommendation:</strong> We'll recommend alternative providers if needed</li>
</ul>
<p>This situation is extremely rare - we have a 99.8% project completion rate.</p>
</div>
</div>
</div>
</div>
</section>
<!-- Still Have Questions CTA -->
<section class="faq-cta">
<div class="container">
<div class="cta-content">
<h2>Still Have Questions?</h2>
<p>Can't find the answer you're looking for? Our experts are here to help with personalized advice and solutions.</p>
<div class="cta-buttons">
<a href="/#contact" class="btn btn-primary">Ask Our Experts</a>
<a href="/quote" class="btn btn-secondary">Get Free Consultation</a>
</div>
<div class="contact-options">
<div class="contact-option">
<span class="contact-icon">📞</span>
<div>
<strong>Call Us</strong>
<p><a href="tel:+441692689150">+44 1692 689150</a></p>
</div>
</div>
<div class="contact-option">
<span class="contact-icon">✉️</span>
<div>
<strong>Email Us</strong>
<p><a href="mailto:hello@ukdataservices.co.uk">hello@ukdataservices.co.uk</a></p>
</div>
</div>
<div class="contact-option">
<span class="contact-icon">💬</span>
<div>
<strong>Live Chat</strong>
<p>Available 9am-6pm GMT</p>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer class="footer">
<div class="container">
<div class="footer-content">
<div class="footer-section">
<div class="footer-logo">
<img src="assets/images/logo-white.svg" alt="UK Data Services">
</div>
<p>Professional data services for UK businesses. Get answers to all your data questions with our expert team.</p>
</div>
<div class="footer-section">
<h3>Services</h3>
<ul>
<li><a href="/services/data-cleaning">Data Cleaning</a></li>
<li><a href="/services/business-intelligence">Business Intelligence</a></li>
<li><a href="/services/data-migration">Data Migration</a></li>
<li><a href="/services/web-scraping">Web Scraping</a></li>
</ul>
</div>
<div class="footer-section">
<h3>Support</h3>
<ul>
<li><a href="/faq">FAQ</a></li>
<li><a href="/#contact">Contact Support</a></li>
<li><a href="/api-docs/">API Documentation</a></li>
<li><a href="/status">System Status</a></li>
</ul>
</div>
<div class="footer-section">
<h3>Legal</h3>
<ul>
<li><a href="/privacy-policy">Privacy Policy</a></li>
<li><a href="/terms-of-service">Terms of Service</a></li>
<li><a href="/cookie-policy">Cookie Policy</a></li>
<li><a href="/gdpr-compliance">GDPR Compliance</a></li>
</ul>
</div>
</div>
<div class="footer-bottom">
<p>&copy; <?php echo date('Y'); ?> UK Data Services. All rights reserved.</p>
</div>
</div>
</footer>
<!-- FAQ JavaScript -->
<script>
// FAQ Search functionality
document.getElementById('faq-search').addEventListener('input', function(e) {
const searchTerm = e.target.value.toLowerCase();
const faqItems = document.querySelectorAll('.faq-item');
faqItems.forEach(item => {
const question = item.querySelector('.faq-question span').textContent.toLowerCase();
const answer = item.querySelector('.faq-answer').textContent.toLowerCase();
if (question.includes(searchTerm) || answer.includes(searchTerm)) {
item.style.display = 'block';
} else {
item.style.display = searchTerm === '' ? 'block' : 'none';
}
});
});
// FAQ Accordion functionality
document.querySelectorAll('.faq-question').forEach(button => {
button.addEventListener('click', function() {
const isExpanded = this.getAttribute('aria-expanded') === 'true';
const answer = this.nextElementSibling;
const icon = this.querySelector('.faq-icon');
// Close all other items
document.querySelectorAll('.faq-question').forEach(otherButton => {
if (otherButton !== this) {
otherButton.setAttribute('aria-expanded', 'false');
otherButton.nextElementSibling.style.display = 'none';
otherButton.querySelector('.faq-icon').textContent = '+';
}
});
// Toggle current item
if (isExpanded) {
this.setAttribute('aria-expanded', 'false');
answer.style.display = 'none';
icon.textContent = '+';
} else {
this.setAttribute('aria-expanded', 'true');
answer.style.display = 'block';
icon.textContent = '';
}
});
});
// Smooth scrolling for category links
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function (e) {
e.preventDefault();
const target = document.querySelector(this.getAttribute('href'));
if (target) {
target.scrollIntoView({
behavior: 'smooth',
block: 'start'
});
}
});
});
</script>
<!-- Main JavaScript -->
<script src="assets/js/main.js"></script>
</body>
</html>