import React, { useState, useEffect, useRef } from 'react'; import { Menu, X, ChevronRight, Calendar, Phone, Mail, MapPin, Clock, ArrowRight, Check, Star, ChevronDown, MessageSquare, Play, Heart, Activity, Shield, Award, Users, Zap, Smile, PlusCircle } from 'lucide-react'; // Import necessary libraries for animations // Note: In a real implementation, you would need to install these packages // For this example, we'll simulate their functionality const useInView = (options) => { const ref = useRef(null); const [isInView, setIsInView] = useState(false); useEffect(() => { const observer = new IntersectionObserver(([entry]) => { setIsInView(entry.isIntersecting); }, options); if (ref.current) { observer.observe(ref.current); } return () => { if (ref.current) { observer.unobserve(ref.current); } }; }, [ref, options]); return [ref, isInView]; }; // Custom cursor component const CustomCursor = () => { const cursorRef = useRef(null); const [position, setPosition] = useState({ x: 0, y: 0 }); const [isPointer, setIsPointer] = useState(false); const [isClicking, setIsClicking] = useState(false); const [isHidden, setIsHidden] = useState(true); useEffect(() => { const handleMouseMove = (e) => { setPosition({ x: e.clientX, y: e.clientY }); setIsHidden(false); }; const handleMouseDown = () => setIsClicking(true); const handleMouseUp = () => setIsClicking(false); const handleMouseOver = (e) => { const target = e.target; const isLink = target.tagName.toLowerCase() === 'a' || target.tagName.toLowerCase() === 'button' || target.closest('a') || target.closest('button'); setIsPointer(isLink); }; const handleMouseLeave = () => { setIsHidden(true); }; document.addEventListener('mousemove', handleMouseMove); document.addEventListener('mousedown', handleMouseDown); document.addEventListener('mouseup', handleMouseUp); document.addEventListener('mouseover', handleMouseOver); document.addEventListener('mouseleave', handleMouseLeave); return () => { document.removeEventListener('mousemove', handleMouseMove); document.removeEventListener('mousedown', handleMouseDown); document.removeEventListener('mouseup', handleMouseUp); document.removeEventListener('mouseover', handleMouseOver); document.removeEventListener('mouseleave', handleMouseLeave); }; }, []); return ( <>
); }; // Animated number counter component const AnimatedCounter = ({ value, duration = 2000, prefix = '', suffix = '' }) => { const [count, setCount] = useState(0); const countRef = useRef(null); const [ref, isInView] = useInView({ threshold: 0.3 }); useEffect(() => { let start = 0; let startTimestamp = null; if (isInView) { const step = (timestamp) => { if (!startTimestamp) startTimestamp = timestamp; const progress = Math.min((timestamp - startTimestamp) / duration, 1); const currentCount = Math.floor(progress * value); setCount(currentCount); if (progress < 1) { window.requestAnimationFrame(step); } else { setCount(value); } }; window.requestAnimationFrame(step); } }, [value, duration, isInView]); return (
{prefix}{count}{suffix}
); }; // Particle background component const ParticleBackground = ({ color = "#4ECDC4", count = 50 }) => { const canvasRef = useRef(null); useEffect(() => { const canvas = canvasRef.current; const ctx = canvas.getContext('2d'); let animationFrameId; let particles = []; const resizeCanvas = () => { canvas.width = window.innerWidth; canvas.height = window.innerHeight; initParticles(); }; const initParticles = () => { particles = []; for (let i = 0; i < count; i++) { particles.push({ x: Math.random() * canvas.width, y: Math.random() * canvas.height, radius: Math.random() * 3 + 1, color: color, speedX: Math.random() * 0.5 - 0.25, speedY: Math.random() * 0.5 - 0.25, opacity: Math.random() * 0.5 + 0.1 }); } }; const drawParticles = () => { ctx.clearRect(0, 0, canvas.width, canvas.height); particles.forEach(particle => { ctx.beginPath(); ctx.arc(particle.x, particle.y, particle.radius, 0, Math.PI * 2); ctx.fillStyle = `${particle.color}${Math.floor(particle.opacity * 255).toString(16).padStart(2, '0')}`; ctx.fill(); // Update position particle.x += particle.speedX; particle.y += particle.speedY; // Bounce off edges if (particle.x < 0 || particle.x > canvas.width) particle.speedX *= -1; if (particle.y < 0 || particle.y > canvas.height) particle.speedY *= -1; }); animationFrameId = window.requestAnimationFrame(drawParticles); }; window.addEventListener('resize', resizeCanvas); resizeCanvas(); drawParticles(); return () => { window.cancelAnimationFrame(animationFrameId); window.removeEventListener('resize', resizeCanvas); }; }, [color, count]); return ( ); }; // 3D Card component const Card3D = ({ children, className = "", depth = 10 }) => { const [rotation, setRotation] = useState({ x: 0, y: 0 }); const [position, setPosition] = useState({ x: 0, y: 0 }); const [isHovered, setIsHovered] = useState(false); const cardRef = useRef(null); const handleMouseMove = (e) => { if (!cardRef.current) return; const rect = cardRef.current.getBoundingClientRect(); const centerX = rect.left + rect.width / 2; const centerY = rect.top + rect.height / 2; const mouseX = e.clientX; const mouseY = e.clientY; const rotateY = ((mouseX - centerX) / (rect.width / 2)) * 5; const rotateX = ((centerY - mouseY) / (rect.height / 2)) * 5; setRotation({ x: rotateX, y: rotateY }); // Calculate position for 3D effect const moveX = ((mouseX - centerX) / (rect.width / 2)) * (depth / 2); const moveY = ((mouseY - centerY) / (rect.height / 2)) * (depth / 2); setPosition({ x: moveX, y: moveY }); }; const handleMouseEnter = () => { setIsHovered(true); }; const handleMouseLeave = () => { setIsHovered(false); setRotation({ x: 0, y: 0 }); setPosition({ x: 0, y: 0 }); }; return (
{children} {isHovered && (
)}
); }; // Animated button component const AnimatedButton = ({ children, onClick, className = "", primary = true }) => { const [isHovered, setIsHovered] = useState(false); return ( ); }; // Chatbot component const Chatbot = ({ isOpen, onClose }) => { const [messages, setMessages] = useState([ { id: 1, text: "Hello! How can I help you today?", sender: "bot" } ]); const [input, setInput] = useState(""); const messagesEndRef = useRef(null); const scrollToBottom = () => { messagesEndRef.current?.scrollIntoView({ behavior: "smooth" }); }; useEffect(() => { scrollToBottom(); }, [messages]); const handleSend = () => { if (!input.trim()) return; // Add user message setMessages(prev => [...prev, { id: Date.now(), text: input, sender: "user" }]); setInput(""); // Simulate bot response setTimeout(() => { let response; const lowercaseInput = input.toLowerCase(); if (lowercaseInput.includes("appointment") || lowercaseInput.includes("book")) { response = "I'd be happy to help you book an appointment. Please click the 'Book Appointment' button at the top of the page, or I can help guide you through the process."; } else if (lowercaseInput.includes("service") || lowercaseInput.includes("treatment")) { response = "We offer a variety of services including preventive care, specialized treatments, wellness programs, and telemedicine. You can find more details in our Services section."; } else if (lowercaseInput.includes("location") || lowercaseInput.includes("address")) { response = "Our main clinic is located at 123 Healing Way, New York, NY 10001. We also have a Wellness Center at 456 Vitality Blvd, New York, NY 10002."; } else if (lowercaseInput.includes("hour") || lowercaseInput.includes("open")) { response = "Our main clinic is open Monday-Friday from 8am-7pm and Saturday from 9am-5pm. The Wellness Center is open Monday-Friday from 7am-8pm and weekends from 8am-4pm."; } else { response = "Thank you for your message. One of our healthcare professionals will get back to you shortly. Is there anything specific you'd like to know about our services?"; } setMessages(prev => [...prev, { id: Date.now(), text: response, sender: "bot" }]); }, 1000); }; const handleKeyPress = (e) => { if (e.key === 'Enter') { handleSend(); } }; if (!isOpen) return null; return (

AWH Assistant

Online | Typically replies instantly

{messages.map(message => (
{message.text}
))}
setInput(e.target.value)} onKeyPress={handleKeyPress} placeholder="Type your message..." className="flex-1 px-4 py-2 border border-gray-300 rounded-l-lg focus:ring-2 focus:ring-teal-500 focus:border-teal-500 outline-none" />
); }; // Virtual tour modal component const VirtualTourModal = ({ isOpen, onClose }) => { if (!isOpen) return null; return (
e.stopPropagation()}>
{/* In a real implementation, this would be a 360° tour or video */} Virtual tour of AWH Clinics

Virtual Tour: AWH Main Clinic

Experience our state-of-the-art facilities from anywhere

Our main lobby is designed to provide a calming and welcoming environment from the moment you enter. The space features natural materials, comfortable seating, and a modern aesthetic that reflects our commitment to combining cutting-edge healthcare with patient comfort.

); }; // Main component export default function AWHClinicsWebsite() { const [isMenuOpen, setIsMenuOpen] = useState(false); const [activeSection, setActiveSection] = useState('home'); const [isScrolled, setIsScrolled] = useState(false); const [selectedService, setSelectedService] = useState(null); const [isAppointmentModalOpen, setIsAppointmentModalOpen] = useState(false); const [isChatbotOpen, setIsChatbotOpen] = useState(false); const [isVirtualTourOpen, setIsVirtualTourOpen] = useState(false); const [scrollProgress, setScrollProgress] = useState(0); const [activeTestimonial, setActiveTestimonial] = useState(0); const [mousePosition, setMousePosition] = useState({ x: 0, y: 0 }); const heroRef = useRef(null); // Enhanced color palette from the brief const colors = { primary: "#0A2342", // Deep Navy secondary: "#4ECDC4", // Teal accent: "#FFD166", // Gold highlight: "#FF6B6B", // Coral success: "#2EC4B6", // Mint warning: "#FF9F1C", // Amber info: "#2196F3", // Blue light: "#F8F9FA", // Light Gray dark: "#212529", // Dark Gray }; useEffect(() => { const handleScroll = () => { setIsScrolled(window.scrollY > 50); // Calculate scroll progress const totalHeight = document.body.scrollHeight - window.innerHeight; const progress = (window.scrollY / totalHeight) * 100; setScrollProgress(progress); // Update active section based on scroll position const sections = ['home', 'about', 'services', 'team', 'testimonials', 'contact']; for (const section of sections.reverse()) { const element = document.getElementById(section); if (element && window.scrollY >= element.offsetTop - 100) { setActiveSection(section); break; } } }; const handleMouseMove = (e) => { setMousePosition({ x: e.clientX, y: e.clientY }); // Parallax effect for hero section if (heroRef.current) { const hero = heroRef.current; const rect = hero.getBoundingClientRect(); if (e.clientY < rect.bottom) { const x = (e.clientX / window.innerWidth - 0.5) * 20; const y = (e.clientY / rect.height - 0.5) * 20; hero.style.setProperty('--mouse-x', `${x}px`); hero.style.setProperty('--mouse-y', `${y}px`); } } }; window.addEventListener('scroll', handleScroll); window.addEventListener('mousemove', handleMouseMove); // Auto-rotate testimonials const testimonialInterval = setInterval(() => { setActiveTestimonial(prev => (prev + 1) % testimonials.length); }, 5000); return () => { window.removeEventListener('scroll', handleScroll); window.removeEventListener('mousemove', handleMouseMove); clearInterval(testimonialInterval); }; }, []); const scrollToSection = (sectionId) => { const element = document.getElementById(sectionId); if (element) { window.scrollTo({ top: element.offsetTop - 80, behavior: 'smooth' }); setActiveSection(sectionId); setIsMenuOpen(false); } }; const services = [ { id: 1, title: "Preventive Care", description: "Comprehensive health assessments and screenings to detect potential health issues before they become serious.", icon: , color: colors.secondary, features: [ "Annual physical examinations", "Preventive screenings", "Immunizations", "Health risk assessments", "Personalized prevention plans" ] }, { id: 2, title: "Specialized Treatments", description: "Advanced medical treatments tailored to your specific health conditions and needs.", icon: , color: colors.info, features: [ "Chronic disease management", "Specialized therapy programs", "Advanced diagnostic services", "Minimally invasive procedures", "Rehabilitation services" ] }, { id: 3, title: "Wellness Programs", description: "Holistic wellness programs designed to improve your overall health and quality of life.", icon: , color: colors.highlight, features: [ "Nutrition counseling", "Fitness programs", "Stress management", "Sleep improvement", "Mental health support" ] }, { id: 4, title: "Telemedicine", description: "Convenient virtual consultations with our healthcare professionals from the comfort of your home.", icon: , color: colors.warning, features: [ "Video consultations", "Remote monitoring", "Digital prescriptions", "Follow-up care", "24/7 medical advice" ] } ]; const team = [ { id: 1, name: "Dr. Sarah Johnson", role: "Chief Medical Officer", image: "https://images.unsplash.com/photo-1559839734-2b71ea197ec2?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80", bio: "Dr. Johnson brings over 20 years of experience in internal medicine and healthcare leadership. She is dedicated to establishing new standards of care excellence.", specialties: ["Internal Medicine", "Healthcare Administration", "Patient Care Excellence"], education: "MD, Harvard Medical School", awards: ["Healthcare Leader of the Year 2022", "Excellence in Patient Care 2020"] }, { id: 2, name: "Dr. Michael Chen", role: "Head of Specialized Care", image: "https://images.unsplash.com/photo-1612349317150-e413f6a5b16d?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80", bio: "With expertise in advanced treatments and research, Dr. Chen leads our specialized care programs with innovation and compassion.", specialties: ["Advanced Treatments", "Medical Research", "Chronic Disease Management"], education: "MD, Johns Hopkins University", awards: ["Medical Innovation Award 2021", "Research Excellence Award 2019"] }, { id: 3, name: "Dr. Amara Patel", role: "Wellness Director", image: "https://images.unsplash.com/photo-1594824476967-48c8b964273f?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80", bio: "Dr. Patel combines traditional medical knowledge with holistic approaches to create comprehensive wellness programs for our patients.", specialties: ["Holistic Medicine", "Preventive Care", "Nutrition Science"], education: "MD, Stanford University, PhD in Nutritional Science", awards: ["Holistic Healthcare Provider of the Year 2022", "Wellness Innovation Award 2020"] }, { id: 4, name: "Dr. James Wilson", role: "Telemedicine Specialist", image: "https://images.unsplash.com/photo-1622253692010-333f2da6031d?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80", bio: "Pioneering our digital health initiatives, Dr. Wilson ensures that quality care is accessible to all patients regardless of location.", specialties: ["Digital Health", "Remote Patient Monitoring", "Healthcare Technology"], education: "MD, Yale University, MS in Health Informatics", awards: ["Digital Health Innovator 2021", "Telemedicine Excellence Award 2020"] } ]; const testimonials = [ { id: 1, name: "Rebecca M.", quote: "The care I received at AWH Clinics transformed my life. Their preventive approach identified issues I wasn't aware of, and their treatment plan was perfectly tailored to my needs.", rating: 5, image: "https://images.unsplash.com/photo-1580489944761-15a19d654956?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80", treatment: "Preventive Care Program", date: "March 2023" }, { id: 2, name: "Thomas L.", quote: "After struggling with chronic pain for years, the specialized treatment program at AWH Clinics finally gave me relief. The team's expertise and compassion are unmatched.", rating: 5, image: "https://images.unsplash.com/photo-1506794778202-cad84cf45f1d?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80", treatment: "Chronic Pain Management", date: "January 2023" }, { id: 3, name: "Sophia K.", quote: "The wellness program completely changed my approach to health. I've never felt better, and the ongoing support from the AWH team keeps me motivated and on track.", rating: 5, image: "https://images.unsplash.com/photo-1544005313-94ddf0286df2?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80", treatment: "Holistic Wellness Program", date: "April 2023" } ]; const locations = [ { id: 1, name: "AWH Main Clinic", address: "123 Healing Way, New York, NY 10001", phone: "(212) 555-1234", hours: "Mon-Fri: 8am-7pm, Sat: 9am-5pm", image: "https://images.unsplash.com/photo-1629131726692-1accd0c53ce0?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80" }, { id: 2, name: "AWH Wellness Center", address: "456 Vitality Blvd, New York, NY 10002", phone: "(212) 555-5678", hours: "Mon-Fri: 7am-8pm, Sat-Sun: 8am-4pm", image: "https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80" } ]; const statistics = [ { id: 1, value: 10000, label: "Patients Served", icon: }, { id: 2, value: 98, label: "Patient Satisfaction", suffix: "%", icon: }, { id: 3, value: 25, label: "Years of Excellence", icon: }, { id: 4, value: 50, label: "Expert Specialists", icon: } ]; const ServiceModal = ({ service, onClose }) => { if (!service) return null; return (
e.stopPropagation()} >
{service.icon}

{service.title}

{service.description}

What We Offer

    {service.features.map((feature, index) => (
  • {feature}
  • ))}

Why Choose AWH Clinics

Our approach combines cutting-edge medical expertise with personalized care to ensure the best possible outcomes for our patients.

{team[0].name}

"Our goal is to provide care that not only treats conditions but improves overall quality of life."

{team[0].name}, {team[0].role}

{ onClose(); setIsAppointmentModalOpen(true); }} className="w-full py-3 px-6" > Book an Appointment
); }; const AppointmentModal = ({ onClose }) => { const [formData, setFormData] = useState({ name: '', email: '', phone: '', service: '', date: '', time: '', message: '' }); const [step, setStep] = useState(1); const [isSubmitting, setIsSubmitting] = useState(false); const [isSubmitted, setIsSubmitted] = useState(false); const handleChange = (e) => { const { name, value } = e.target; setFormData(prev => ({ ...prev, [name]: value })); }; const nextStep = () => { setStep(prev => prev + 1); }; const prevStep = () => { setStep(prev => prev - 1); }; const handleSubmit = (e) => { e.preventDefault(); setIsSubmitting(true); // Simulate API call setTimeout(() => { setIsSubmitting(false); setIsSubmitted(true); }, 1500); }; return (
e.stopPropagation()} >

{isSubmitted ? "Appointment Confirmed" : "Book Your Appointment"}

{!isSubmitted ? ( <>
{[1, 2, 3].map(i => (
i ? 'bg-teal-500 text-white' : step === i ? 'bg-teal-100 text-teal-800 ring-2 ring-teal-500 ring-offset-2' : 'bg-gray-100 text-gray-500' } transition-all duration-300`} > {step > i ? : i}
{i < 3 && (
i ? 'bg-teal-500' : 'bg-gray-200' } transition-all duration-300`} >
)}
))}
= 1 ? 'text-teal-600 font-medium' : 'text-gray-500'}>Personal Info = 2 ? 'text-teal-600 font-medium' : 'text-gray-500'}>Appointment Details = 3 ? 'text-teal-600 font-medium' : 'text-gray-500'}>Confirmation
{step === 1 && (
)} {step === 2 && (
)} {step === 3 && (

Appointment Summary

Name

{formData.name}

Email

{formData.email}

Phone

{formData.phone}

Service

{formData.service}

Date

{formData.date}

Time

{formData.time}

{formData.message && (

Additional Information

{formData.message}

)}

By confirming this appointment, you agree to our cancellation policy. You can reschedule or cancel up to 24 hours before your appointment without any charges.

)}
{step > 1 ? ( ) : ( )} {step < 3 ? ( Next Step ) : ( {isSubmitting ? ( <> Processing... ) : ( <>Confirm Appointment )} )}
) : (

Appointment Scheduled!

Thank you for scheduling an appointment with AWH Clinics. We've sent a confirmation to your email at {formData.email}. Our team will contact you shortly to confirm your appointment.

Appointment Details

Service: {formData.service}

Date: {formData.date}

Time: {formData.time}

Close
)}
); }; // Team member detail modal const TeamMemberModal = ({ member, onClose }) => { if (!member) return null; return (
e.stopPropagation()} >
{member.name}

{member.name}

{member.role}

About

{member.bio}

Specialties

{member.specialties.map((specialty, index) => ( {specialty} ))}

Education

{member.education}

Awards & Recognition

    {member.awards.map((award, index) => (
  • {award}
  • ))}
{ onClose(); setIsAppointmentModalOpen(true); }} className="w-full py-2 px-6" > Book an Appointment with Dr. {member.name.split(' ')[1]}
); }; const [selectedTeamMember, setSelectedTeamMember] = useState(null); return (
{/* Custom cursor */} {/* Progress bar */}
{/* Navigation */}
scrollToSection('home')}>
AWH Clinics AWH Clinics
{/* Desktop Navigation */}
{/* Mobile Menu Button */}
{/* Mobile Menu */}
{/* Hero Section */}

Advanced Healthcare Personalized For You

Experience exceptional care that combines cutting-edge medical expertise with a compassionate approach. At AWH Clinics, your health is our priority.

scrollToSection('services')} className="py-3 px-8" > Our Services setIsAppointmentModalOpen(true)} className="py-3 px-8" primary={false} > Book Appointment
Healthcare professionals at AWH Clinics

Trusted by Patients

Award-winning care with patient satisfaction

{/* Floating elements */}
{/* Scroll indicator */}
Scroll to explore
{/* About Section */}

Redefining Healthcare Excellence

At AWH Clinics, we combine advanced medical expertise with compassionate care to provide an unparalleled healthcare experience. Our approach is centered on you—your needs, your goals, and your well-being.

{[ { icon: , title: "Innovative Approach", description: "We stay at the forefront of medical advancements, integrating the latest research and technology into our practice to deliver superior care." }, { icon: , title: "Expert Team", description: "Our physicians and healthcare professionals are leaders in their fields, bringing decades of experience and specialized knowledge to your care." }, { icon: , title: "Personalized Care", description: "We believe that effective healthcare must be tailored to the individual. Your treatment plan is designed specifically for your unique needs and goals." } ].map((item, index) => { const [ref, isInView] = useInView({ threshold: 0.3, triggerOnce: true }); return (
{item.icon}

{item.title}

{item.description}

); })}

Our Commitment to Excellence

Since our founding, AWH Clinics has been dedicated to providing exceptional healthcare that treats the whole person. Our state-of-the-art facilities and compassionate approach create an environment where healing and wellness flourish.

scrollToSection('team')} className="py-3 px-8 bg-white text-teal-600 self-start hover:bg-gray-100" primary={false} > Meet Our Team {/* Decorative elements */}
Modern medical facility
{/* Statistics */}
{statistics.map((stat, index) => { const [ref, isInView] = useInView({ threshold: 0.3, triggerOnce: true }); return (
{stat.icon}

{stat.label}

); })}
{/* Services Section */}

Comprehensive Care Services

We offer a wide range of healthcare services designed to address your needs at every stage of life, from preventive care to specialized treatments.

{services.map((service, index) => { const [ref, isInView] = useInView({ threshold: 0.1, triggerOnce: true }); return (
setSelectedService(service)} >
{service.icon}

{service.title}

{service.description}

); })}
setIsAppointmentModalOpen(true)} className="py-3 px-8 inline-flex" > Schedule a Consultation
{/* Team Section */}

Our Expert Medical Team

Meet the dedicated professionals who make AWH Clinics a center of excellence. Our team combines expertise, compassion, and a commitment to your well-being.

{team.map((member, index) => { const [ref, isInView] = useInView({ threshold: 0.1, triggerOnce: true }); return ( setSelectedTeamMember(member)} >
{member.name}

{member.name}

{member.role}

{member.bio}

); })}

Join Our Team of Excellence

We're always looking for talented healthcare professionals who share our commitment to exceptional patient care and medical innovation.

View Career Opportunities
Medical team collaboration
{/* Testimonials Section */}

Patient Success Stories

Hear from our patients about their experiences at AWH Clinics and how our care has made a difference in their lives.

{/* 3D Testimonial Carousel */}
{testimonials.map((testimonial, index) => { const isActive = index === activeTestimonial; const isPrev = index === (activeTestimonial - 1 + testimonials.length) % testimonials.length; const isNext = index === (activeTestimonial + 1) % testimonials.length; let position = 'opacity-0 scale-90'; let zIndex = 0; let translateX = '0'; if (isActive) { position = 'opacity-100 scale-100'; zIndex = 30; translateX = '0'; } else if (isPrev) { position = 'opacity-70 scale-90'; zIndex = 20; translateX = '-70%'; } else if (isNext) { position = 'opacity-70 scale-90'; zIndex = 20; translateX = '70%'; } return (
"
{testimonial.name}

{testimonial.name}

{testimonial.treatment}
{[...Array(testimonial.rating)].map((_, i) => ( ))}

"{testimonial.quote}"

{testimonial.date}
{testimonials.map((_, i) => ( ))}
); })}
setIsAppointmentModalOpen(true)} className="py-3 px-8 inline-flex" > Experience the Difference
{/* Contact Section */}

Get in Touch

We're here to answer your questions and provide the information you need. Reach out to us through any of the channels below.

Send Us a Message

Send Message

Our Locations

{locations.map((location, index) => (
{location.name}

{location.name}

{location.hours}

{location.address}
{location.phone}
))}

Connect With Us

info@awhclinics.com
{/* Footer */} {/* Floating Chat Button */}
import React, { useState, useEffect } from 'react'; import { Menu, X, ChevronRight, Calendar, Phone, Mail, MapPin, Clock, ArrowRight, Check, Star, ChevronDown } from 'lucide-react'; export default function AWHClinicsWebsite() { const [isMenuOpen, setIsMenuOpen] = useState(false); const [activeSection, setActiveSection] = useState('home'); const [isScrolled, setIsScrolled] = useState(false); const [selectedService, setSelectedService] = useState(null); const [isAppointmentModalOpen, setIsAppointmentModalOpen] = useState(false); useEffect(() => { const handleScroll = () => { setIsScrolled(window.scrollY > 50); // Update active section based on scroll position const sections = ['home', 'about', 'services', 'team', 'testimonials', 'contact']; for (const section of sections.reverse()) { const element = document.getElementById(section); if (element && window.scrollY >= element.offsetTop - 100) { setActiveSection(section); break; } } }; window.addEventListener('scroll', handleScroll); return () => window.removeEventListener('scroll', handleScroll); }, []); const scrollToSection = (sectionId) => { const element = document.getElementById(sectionId); if (element) { window.scrollTo({ top: element.offsetTop - 80, behavior: 'smooth' }); setActiveSection(sectionId); setIsMenuOpen(false); } }; const services = [ { id: 1, title: "Preventive Care", description: "Comprehensive health assessments and screenings to detect potential health issues before they become serious.", icon: "🛡️", features: [ "Annual physical examinations", "Preventive screenings", "Immunizations", "Health risk assessments", "Personalized prevention plans" ] }, { id: 2, title: "Specialized Treatments", description: "Advanced medical treatments tailored to your specific health conditions and needs.", icon: "⚕️", features: [ "Chronic disease management", "Specialized therapy programs", "Advanced diagnostic services", "Minimally invasive procedures", "Rehabilitation services" ] }, { id: 3, title: "Wellness Programs", description: "Holistic wellness programs designed to improve your overall health and quality of life.", icon: "🌿", features: [ "Nutrition counseling", "Fitness programs", "Stress management", "Sleep improvement", "Mental health support" ] }, { id: 4, title: "Telemedicine", description: "Convenient virtual consultations with our healthcare professionals from the comfort of your home.", icon: "📱", features: [ "Video consultations", "Remote monitoring", "Digital prescriptions", "Follow-up care", "24/7 medical advice" ] } ]; const team = [ { id: 1, name: "Dr. Sarah Johnson", role: "Chief Medical Officer", image: "https://images.unsplash.com/photo-1559839734-2b71ea197ec2?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80", bio: "Dr. Johnson brings over 20 years of experience in internal medicine and healthcare leadership. She is dedicated to establishing new standards of care excellence." }, { id: 2, name: "Dr. Michael Chen", role: "Head of Specialized Care", image: "https://images.unsplash.com/photo-1612349317150-e413f6a5b16d?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80", bio: "With expertise in advanced treatments and research, Dr. Chen leads our specialized care programs with innovation and compassion." }, { id: 3, name: "Dr. Amara Patel", role: "Wellness Director", image: "https://images.unsplash.com/photo-1594824476967-48c8b964273f?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80", bio: "Dr. Patel combines traditional medical knowledge with holistic approaches to create comprehensive wellness programs for our patients." }, { id: 4, name: "Dr. James Wilson", role: "Telemedicine Specialist", image: "https://images.unsplash.com/photo-1622253692010-333f2da6031d?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80", bio: "Pioneering our digital health initiatives, Dr. Wilson ensures that quality care is accessible to all patients regardless of location." } ]; const testimonials = [ { id: 1, name: "Rebecca M.", quote: "The care I received at AWH Clinics transformed my life. Their preventive approach identified issues I wasn't aware of, and their treatment plan was perfectly tailored to my needs.", rating: 5, image: "https://images.unsplash.com/photo-1580489944761-15a19d654956?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80" }, { id: 2, name: "Thomas L.", quote: "After struggling with chronic pain for years, the specialized treatment program at AWH Clinics finally gave me relief. The team's expertise and compassion are unmatched.", rating: 5, image: "https://images.unsplash.com/photo-1506794778202-cad84cf45f1d?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80" }, { id: 3, name: "Sophia K.", quote: "The wellness program completely changed my approach to health. I've never felt better, and the ongoing support from the AWH team keeps me motivated and on track.", rating: 5, image: "https://images.unsplash.com/photo-1544005313-94ddf0286df2?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80" } ]; const locations = [ { id: 1, name: "AWH Main Clinic", address: "123 Healing Way, New York, NY 10001", phone: "(212) 555-1234", hours: "Mon-Fri: 8am-7pm, Sat: 9am-5pm" }, { id: 2, name: "AWH Wellness Center", address: "456 Vitality Blvd, New York, NY 10002", phone: "(212) 555-5678", hours: "Mon-Fri: 7am-8pm, Sat-Sun: 8am-4pm" } ]; const ServiceModal = ({ service, onClose }) => { if (!service) return null; return (
e.stopPropagation()}>

{service.title}

{service.description}

What We Offer

    {service.features.map((feature, index) => (
  • {feature}
  • ))}
); }; const AppointmentModal = ({ onClose }) => { const [formData, setFormData] = useState({ name: '', email: '', phone: '', service: '', date: '', time: '', message: '' }); const handleChange = (e) => { const { name, value } = e.target; setFormData(prev => ({ ...prev, [name]: value })); }; const handleSubmit = (e) => { e.preventDefault(); // Here you would typically send the data to your backend alert('Appointment request submitted! We will contact you shortly to confirm.'); onClose(); }; return (
e.stopPropagation()}>

Book Your Appointment

); }; return (
{/* Navigation */}
scrollToSection('home')}> AWH Clinics {/* Desktop Navigation */}
{/* Mobile Menu Button */}
{/* Mobile Menu */} {isMenuOpen && (
)} {/* Hero Section */}

Advanced Healthcare Personalized For You

Experience exceptional care that combines cutting-edge medical expertise with a compassionate approach. At AWH Clinics, your health is our priority.

Healthcare professionals at AWH Clinics

Trusted by 10,000+ Patients

Award-winning care with 98% patient satisfaction

{/* About Section */}

Redefining Healthcare Excellence

At AWH Clinics, we combine advanced medical expertise with compassionate care to provide an unparalleled healthcare experience. Our approach is centered on you—your needs, your goals, and your well-being.

Innovative Approach

We stay at the forefront of medical advancements, integrating the latest research and technology into our practice to deliver superior care.

Expert Team

Our physicians and healthcare professionals are leaders in their fields, bringing decades of experience and specialized knowledge to your care.

Personalized Care

We believe that effective healthcare must be tailored to the individual. Your treatment plan is designed specifically for your unique needs and goals.

Our Commitment to Excellence

Since our founding, AWH Clinics has been dedicated to providing exceptional healthcare that treats the whole person. Our state-of-the-art facilities and compassionate approach create an environment where healing and wellness flourish.

Modern medical facility
{/* Services Section */}

Comprehensive Care Services

We offer a wide range of healthcare services designed to address your needs at every stage of life, from preventive care to specialized treatments.

{services.map((service) => (
setSelectedService(service)} >
{service.icon}

{service.title}

{service.description}

))}
{/* Team Section */}

Our Expert Medical Team

Meet the dedicated professionals who make AWH Clinics a center of excellence. Our team combines expertise, compassion, and a commitment to your well-being.

{team.map((member) => (
{member.name}

{member.name}

{member.role}

{member.bio}

))}

Join Our Team of Excellence

We're always looking for talented healthcare professionals who share our commitment to exceptional patient care and medical innovation.

Medical team collaboration
{/* Testimonials Section */}

Patient Success Stories

Hear from our patients about their experiences at AWH Clinics and how our care has made a difference in their lives.

{testimonials.map((testimonial) => (
{testimonial.name}

{testimonial.name}

{[...Array(testimonial.rating)].map((_, i) => ( ))}

"{testimonial.quote}"

))}
{/* Contact Section */}

Get in Touch

We're here to answer your questions and provide the information you need. Reach out to us through any of the channels below.

Send Us a Message

Our Locations

{locations.map((location) => (

{location.name}

{location.address}
{location.phone}
{location.hours}
))}

Connect With Us

info@awhclinics.com
{/* Footer */} {/* Service Modal */} {selectedService && ( setSelectedService(null)} /> )} {/* Appointment Modal */} {isAppointmentModalOpen && ( setIsAppointmentModalOpen(false)} /> )} {/* Back to Top Button */}
); }