import React, { useState, useEffect, useRef } from 'react'; import { Menu, X, ChevronDown, ChevronUp, Mail, Phone, MapPin, ArrowRight, Check, Loader2 } from 'lucide-react'; export default function App() { // Navigation and UI state const [isMenuOpen, setIsMenuOpen] = useState(false); const [activeAccordion, setActiveAccordion] = useState(null); const [isScrolled, setIsScrolled] = useState(false); // Form state const [formData, setFormData] = useState({ name: '', email: '', message: '' }); const [formErrors, setFormErrors] = useState({}); const [formStatus, setFormStatus] = useState({ isSubmitting: false, isSubmitted: false, isError: false, message: '' }); // Refs for scroll behavior const sectionsRef = useRef({}); useEffect(() => { const handleScroll = () => { setIsScrolled(window.scrollY > 10); }; window.addEventListener('scroll', handleScroll); return () => window.removeEventListener('scroll', handleScroll); }, []); const toggleAccordion = (index) => { setActiveAccordion(activeAccordion === index ? null : index); }; const handleFormChange = (e) => { const { name, value } = e.target; setFormData(prev => ({ ...prev, [name]: value })); // Clear error when user starts typing if (formErrors[name]) { setFormErrors(prev => ({ ...prev, [name]: '' })); } }; const validateForm = () => { const errors = {}; if (!formData.name.trim()) { errors.name = 'Name is required'; } if (!formData.email.trim()) { errors.email = 'Email is required'; } else if (!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(formData.email)) { errors.email = 'Please enter a valid email address'; } if (!formData.message.trim()) { errors.message = 'Message is required'; } setFormErrors(errors); return Object.keys(errors).length === 0; }; const handleFormSubmit = async (e) => { e.preventDefault(); if (!validateForm()) { return; } setFormStatus({ isSubmitting: true, isSubmitted: false, isError: false, message: '' }); try { // Simulate API call to backend await new Promise(resolve => setTimeout(resolve, 1500)); // In a real implementation, you would use fetch or axios: // const response = await fetch('https://www.sitebrew.ai/api/5Z6Ksb/contact', { // method: 'POST', // headers: { // 'Content-Type': 'application/json', // }, // body: JSON.stringify({ document: formData }), // }); // if (!response.ok) { // throw new Error('Failed to submit form'); // } setFormStatus({ isSubmitting: false, isSubmitted: true, isError: false, message: 'Thank you for your message! We will get back to you soon.' }); // Reset form after successful submission setFormData({ name: '', email: '', message: '' }); // Clear success message after 5 seconds setTimeout(() => { setFormStatus(prev => ({ ...prev, isSubmitted: false, message: '' })); }, 5000); } catch (error) { console.error('Form submission error:', error); setFormStatus({ isSubmitting: false, isSubmitted: false, isError: true, message: 'There was an error submitting your message. Please try again.' }); } }; const scrollToSection = (sectionId) => { const section = document.getElementById(sectionId); if (section) { section.scrollIntoView({ behavior: 'smooth' }); } setIsMenuOpen(false); }; const navItems = [ { name: 'Home', href: 'home' }, { name: 'About', href: 'about' }, { name: 'Services', href: 'services' }, { name: 'Testimonials', href: 'testimonials' }, { name: 'Contact', href: 'contact' }, ]; const services = [ { title: 'Strategic Planning', description: 'We help organizations develop comprehensive strategic plans that align with their mission and vision.', icon: '📊' }, { title: 'Operational Excellence', description: 'Optimize your business processes and improve efficiency across all operational areas.', icon: '⚙️' }, { title: 'Digital Transformation', description: 'Navigate the digital landscape with tailored solutions that drive innovation and growth.', icon: '💻' }, { title: 'Leadership Development', description: 'Cultivate strong leadership skills within your organization through our specialized programs.', icon: '👥' } ]; const testimonials = [ { name: 'Sarah Johnson', position: 'CEO, TechInnovate', content: 'Almuna transformed our approach to strategic planning. Their insights and methodology helped us achieve our goals faster than we anticipated.', image: 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&auto=format&fit=crop&w=256&q=80' }, { name: 'Michael Chen', position: 'Director, Global Solutions', content: 'The operational excellence program delivered by Almuna resulted in a 30% increase in productivity across our departments.', image: 'https://images.unsplash.com/photo-1560250097-0b93528c311a?ixlib=rb-1.2.1&auto=format&fit=crop&w=256&q=80' }, { name: 'Elena Rodriguez', position: 'COO, Sustainable Futures', content: 'Working with Almuna on our digital transformation journey was a game-changer. Their expertise and support were invaluable.', image: 'https://images.unsplash.com/photo-1573496359142-b8d87734a5a2?ixlib=rb-1.2.1&auto=format&fit=crop&w=256&q=80' } ]; const faqs = [ { question: 'What industries does Almuna specialize in?', answer: 'Almuna has expertise across multiple industries including technology, healthcare, finance, education, and manufacturing. Our diverse team brings specialized knowledge to each sector we serve.' }, { question: 'How long does a typical project take?', answer: 'Project timelines vary based on scope and complexity. Strategic planning typically takes 2-3 months, while operational excellence and digital transformation projects may range from 3-12 months depending on organizational size and objectives.' }, { question: 'Do you offer ongoing support after project completion?', answer: 'Yes, we provide continued support through maintenance packages, regular check-ins, and performance reviews to ensure sustained success and address any emerging challenges.' }, { question: 'What makes Almuna different from other consulting firms?', answer: 'Almuna combines deep industry expertise with a human-centered approach. We focus on building lasting partnerships rather than transactional relationships, and our solutions are tailored to each client\'s unique context and challenges.' } ]; return (
Almuna helps organizations navigate complexity and achieve sustainable growth through expert consulting and innovative strategies.
Founded in 2010, Almuna has been at the forefront of business transformation, helping organizations navigate complex challenges and seize new opportunities.
Our team of experienced consultants brings diverse expertise across industries, combining strategic thinking with practical implementation to deliver measurable results.
We offer comprehensive solutions tailored to your organization's unique needs and challenges.
{service.description}
Hear what our clients have to say about their experience working with Almuna.
{testimonial.position}
"{testimonial.content}"
Find answers to common questions about our services and approach.
{faq.answer}
Ready to transform your business? Contact us today to schedule a consultation with our experts.
123 Business Avenue, Suite 500
New York, NY 10001