creative-canvas-explorer / casestudy.html
bh6001's picture
revert the chnages which you have added now
649aad7 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Case Study - Zurich Brio</title>
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/feather-icons"></script>
<link rel="stylesheet" href="https://unpkg.com/swiper/swiper-bundle.min.css">
<style>
.hero-bg {
background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
}
.feature-card {
transition: all 0.3s ease;
}
.feature-card:hover {
transform: translateY(-5px);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}
.swiper-button-next:after, .swiper-button-prev:after {
color: #4f46e5;
font-size: 1.5rem;
}
.swiper-pagination-bullet-active {
background: #4f46e5 !important;
}
</style>
</head>
<body class="bg-gray-50">
<!-- Navigation -->
<nav class="fixed top-0 left-0 right-0 z-50 bg-white/80 backdrop-blur-md shadow-sm">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex justify-between h-16">
<div class="flex items-center">
<a href="#" class="flex items-center space-x-2">
<img src="https://huggingface.co/spaces/bh6001/creative-canvas-explorer/resolve/main/images/logo.png" alt="bh Designs" class="h-8 w-auto">
<span class="text-xl font-bold text-indigo-800">bh Designs</span>
</a>
</div>
<div class="hidden md:flex items-center space-x-8">
<a href="#" class="text-gray-700 hover:text-indigo-600 transition">Work</a>
<a href="#" class="text-gray-700 hover:text-indigo-600 transition">About</a>
<a href="#" class="text-gray-700 hover:text-indigo-600 transition">Contact</a>
</div>
<div class="flex items-center md:hidden">
<button id="mobile-menu-button" class="text-gray-700">
<i data-feather="menu"></i>
</button>
</div>
</div>
</div>
</nav>
<!-- Hero Section -->
<section class="hero-bg text-white pt-32 pb-20 px-4 sm:px-6 lg:px-8">
<div class="max-w-7xl mx-auto">
<div class="text-center">
<h1 class="text-4xl md:text-6xl font-bold mb-6">Zurich Brio</h1>
<p class="text-xl opacity-90 max-w-3xl mx-auto">
LA&H Platform for Zurich Customers
</p>
</div>
</div>
</section>
<!-- Case Study Content -->
<div class="max-w-5xl mx-auto px-4 sm:px-6 lg:px-8 py-16">
<!-- Overview -->
<section class="mb-20">
<div class="grid md:grid-cols-3 gap-8">
<div>
<h2 class="text-2xl font-bold text-gray-900 mb-4">Overview</h2>
</div>
<div class="md:col-span-2">
<p class="text-gray-600 mb-6 leading-relaxed">
The Zurich Brio platform revolutionizes the way Life & Health insurance products are offered to customers. Our challenge was to create an intuitive digital experience that simplifies complex insurance decisions while maintaining compliance and security.
</p>
<div class="grid grid-cols-2 gap-4 mb-6">
<div>
<h4 class="font-medium text-gray-900">Client</h4>
<p class="text-gray-600">Zurich Insurance Group</p>
</div>
<div>
<h4 class="font-medium text-gray-900">Year</h4>
<p class="text-gray-600">2022</p>
</div>
<div>
<h4 class="font-medium text-gray-900">Role</h4>
<p class="text-gray-600">UX/UI Designer</p>
</div>
<div>
<h4 class="font-medium text-gray-900">Team</h4>
<p class="text-gray-600">4 members</p>
</div>
</div>
<h3 class="text-xl font-bold text-gray-900 mb-4">Select Modules</h3>
<div class="flex flex-wrap gap-4">
<button class="module-btn px-6 py-3 bg-indigo-100 text-indigo-700 rounded-lg font-medium hover:bg-indigo-200 transition" data-module="gap">GAP Medical Group Insurance</button>
<button class="module-btn px-6 py-3 bg-indigo-100 text-indigo-700 rounded-lg font-medium hover:bg-indigo-200 transition" data-module="reporter">Monthly Reporter</button>
<button class="module-btn px-6 py-3 bg-indigo-100 text-indigo-700 rounded-lg font-medium hover:bg-indigo-200 transition" data-module="docusign">Docusign</button>
<button class="module-btn px-6 py-3 bg-indigo-100 text-indigo-700 rounded-lg font-medium hover:bg-indigo-200 transition" data-module="policy">Policy Issue and Renewal</button>
<button class="module-btn px-6 py-3 bg-indigo-100 text-indigo-700 rounded-lg font-medium hover:bg-indigo-200 transition" data-module="bta">BTA</button>
</div>
<div id="module-content" class="mt-8 hidden">
<!-- Content will be loaded here -->
</div>
</div>
</div>
</section>
<!-- Full Width Image -->
<div class="mb-20 rounded-xl overflow-hidden shadow-lg">
<img src="http://static.photos/office/1024x576/1" alt="Zurich Brio Platform Screenshot" class="w-full h-auto">
</div>
<!-- User Personas -->
<section class="mb-20">
<div class="grid md:grid-cols-3 gap-8">
<div>
<h2 class="text-2xl font-bold text-gray-900 mb-4">User Personas</h2>
</div>
<div class="md:col-span-2">
<div class="grid md:grid-cols-2 gap-8">
<!-- Persona 1 -->
<div class="bg-white p-6 rounded-xl shadow-lg">
<div class="flex items-center mb-4">
<div class="w-16 h-16 bg-indigo-100 rounded-full flex items-center justify-center mr-4">
<i data-feather="user" class="text-indigo-600 w-6 h-6"></i>
</div>
<div>
<h3 class="font-bold text-lg text-gray-900">Insurance Advisor</h3>
<p class="text-gray-600">Age: 32-45 | Experience: 5+ years</p>
</div>
</div>
<div class="space-y-3">
<div>
<h4 class="font-medium text-gray-900 mb-1">Key Responsibilities</h4>
<ul class="text-gray-600 text-sm list-disc pl-4">
<li>Advise clients on insurance products</li>
<li>Generate quotes and proposals</li>
<li>Manage policy applications</li>
<li>Handle renewals and claims</li>
</ul>
</div>
<div>
<h4 class="font-medium text-gray-900 mb-1">Pain Points</h4>
<ul class="text-gray-600 text-sm list-disc pl-4">
<li>Complex multi-system workflows</li>
<li>Manual data re-entry between platforms</li>
<li>Lack of real-time policy status updates</li>
<li>Difficulty comparing product options</li>
</ul>
</div>
<div class="pt-2 border-t border-gray-100">
<p class="text-sm text-gray-500 italic">"I need clear product comparisons and one-click documentation to serve clients efficiently."</p>
</div>
</div>
</div>
<!-- Persona 2 -->
<div class="bg-white p-6 rounded-xl shadow-lg">
<div class="flex items-center mb-4">
<div class="w-16 h-16 bg-indigo-100 rounded-full flex items-center justify-center mr-4">
<i data-feather="users" class="text-indigo-600 w-6 h-6"></i>
</div>
<div>
<h3 class="font-bold text-lg text-gray-900">HR Manager</h3>
<p class="text-gray-600">Age: 35-50 | Company Size: 100-500 employees</p>
</div>
</div>
<div class="space-y-3">
<div>
<h4 class="font-medium text-gray-900 mb-1">Key Responsibilities</h4>
<ul class="text-gray-600 text-sm list-disc pl-4">
<li>Manage employee benefits programs</li>
<li>Oversee enrollments and renewals</li>
<li>Resolve insurance-related issues</li>
<li>Communicate benefits to staff</li>
</ul>
</div>
<div>
<h4 class="font-medium text-gray-900 mb-1">Pain Points</h4>
<ul class="text-gray-600 text-sm list-disc pl-4">
<li>Lengthy manual enrollment processes</li>
<li>Difficulty tracking multiple policies</li>
<li>Lack of employee self-service options</li>
<li>Inconsistent benefit documentation</li>
</ul>
</div>
<div class="pt-2 border-t border-gray-100">
<p class="text-sm text-gray-500 italic">"We need a centralized system to manage all employee benefits with automated workflows."</p>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Challenge -->
<section class="mb-20">
<div class="grid md:grid-cols-3 gap-8">
<div>
<h2 class="text-2xl font-bold text-gray-900 mb-4">The Challenge</h2>
</div>
<div class="md:col-span-2">
<p class="text-gray-600 mb-4 leading-relaxed">
The platform needed to solve critical business challenges:
</p>
<ul class="text-gray-600 list-disc pl-5 mb-6 space-y-2">
<li>Conventional sales methods causing slow order processing</li>
<li>Offline underwriting processes creating bottlenecks</li>
<li>Poor transaction recording leading to data loss</li>
<li>Multiple redundant third-party tools increasing complexity</li>
<li>Manual plan creation for each record wasting time</li>
<li>Lack of proper user management for different roles</li>
<li>Manual quote proposals and document generation via calls</li>
<li>Uncontrolled loop transaction charges</li>
<li>Need to destabilize broker dependencies</li>
</ul>
<p class="text-gray-600 leading-relaxed">
These inefficiencies resulted in lost business opportunities, poor customer experience, and operational overhead.
</p>
</div>
</div>
</section>
<!-- Solution -->
<section class="mb-20">
<div class="grid md:grid-cols-3 gap-8">
<div>
<h2 class="text-2xl font-bold text-gray-900 mb-4">Our Solution</h2>
</div>
<div class="md:col-span-2">
<p class="text-gray-600 mb-6 leading-relaxed">
Our comprehensive digital solution addressed these challenges through:
</p>
<div class="grid md:grid-cols-2 gap-6 mb-8">
<div class="feature-card bg-white p-6 rounded-lg shadow-md">
<div class="w-12 h-12 bg-indigo-100 rounded-lg flex items-center justify-center mb-4">
<i data-feather="zap" class="text-indigo-600"></i>
</div>
<h3 class="font-bold text-lg text-gray-900 mb-2">Digital Order Processing</h3>
<p class="text-gray-600">Real-time online order placement and tracking</p>
</div>
<div class="feature-card bg-white p-6 rounded-lg shadow-md">
<div class="w-12 h-12 bg-indigo-100 rounded-lg flex items-center justify-center mb-4">
<i data-feather="shield" class="text-indigo-600"></i>
</div>
<h3 class="font-bold text-lg text-gray-900 mb-2">Online Underwriting</h3>
<p class="text-gray-600">Automated risk assessment and approval workflows</p>
</div>
<div class="feature-card bg-white p-6 rounded-lg shadow-md">
<div class="w-12 h-12 bg-indigo-100 rounded-lg flex items-center justify-center mb-4">
<i data-feather="database" class="text-indigo-600"></i>
</div>
<h3 class="font-bold text-lg text-gray-900 mb-2">Centralized Data</h3>
<p class="text-gray-600">Secure transaction recording and reporting</p>
</div>
<div class="feature-card bg-white p-6 rounded-lg shadow-md">
<div class="w-12 h-12 bg-indigo-100 rounded-lg flex items-center justify-center mb-4">
<i data-feather="users" class="text-indigo-600"></i>
</div>
<h3 class="font-bold text-lg text-gray-900 mb-2">Role Management</h3>
<p class="text-gray-600">Granular user permissions and access controls</p>
</div>
<div class="feature-card bg-white p-6 rounded-lg shadow-md">
<div class="w-12 h-12 bg-indigo-100 rounded-lg flex items-center justify-center mb-4">
<i data-feather="file-text" class="text-indigo-600"></i>
</div>
<h3 class="font-bold text-lg text-gray-900 mb-2">Auto-Documentation</h3>
<p class="text-gray-600">Automated quote generation and policy issuance</p>
</div>
<div class="feature-card bg-white p-6 rounded-lg shadow-md">
<div class="w-12 h-12 bg-indigo-100 rounded-lg flex items-center justify-center mb-4">
<i data-feather="dollar-sign" class="text-indigo-600"></i>
</div>
<h3 class="font-bold text-lg text-gray-900 mb-2">Transaction Control</h3>
<p class="text-gray-600">Automated duplicate transaction prevention</p>
</div>
<div class="feature-card bg-white p-6 rounded-lg shadow-md">
<div class="w-12 h-12 bg-indigo-100 rounded-lg flex items-center justify-center mb-4">
<i data-feather="box" class="text-indigo-600"></i>
</div>
<h3 class="font-bold text-lg text-gray-900 mb-2">Plan Templates</h3>
<p class="text-gray-600">Reusable plan configurations for efficiency</p>
</div>
<div class="feature-card bg-white p-6 rounded-lg shadow-md">
<div class="w-12 h-12 bg-indigo-100 rounded-lg flex items-center justify-center mb-4">
<i data-feather="link" class="text-indigo-600"></i>
</div>
<h3 class="font-bold text-lg text-gray-900 mb-2">Unified Platform</h3>
<p class="text-gray-600">Single solution replacing multiple tools</p>
</div>
</div>
</div>
</div>
</section>
<!-- Wireframe Showcase Section -->
<section class="mb-20">
<div class="grid md:grid-cols-3 gap-8">
<div>
<h2 class="text-2xl font-bold text-gray-900 mb-4">Key Wireframes</h2>
<p class="text-gray-600">Selected wireframes showcasing the user journey and critical interactions</p>
</div>
<div class="md:col-span-2">
<!-- Swiper Container -->
<div class="swiper-container">
<div class="swiper-wrapper">
<!-- Slide 1 -->
<div class="swiper-slide">
<div class="bg-white p-6 rounded-xl shadow-lg overflow-hidden">
<img src="https://huggingface.co/spaces/bh6001/creative-canvas-explorer/resolve/main/images/wireframe1.png"
alt="Dashboard Wireframe"
class="w-full rounded-lg mb-4 hovered-element"
data-animate="fadeIn">
<h3 class="text-xl font-bold text-gray-900">Dashboard Overview</h3>
<p class="text-gray-600">Centralized view of policies, alerts and quick actions</p>
</div>
</div>
<!-- Slide 2 -->
<div class="swiper-slide">
<div class="bg-white p-6 rounded-xl shadow-lg overflow-hidden">
<img src="https://huggingface.co/spaces/bh6001/creative-canvas-explorer/resolve/main/images/wireframe2.png"
alt="Quote Generator"
class="w-full rounded-lg mb-4 hovered-element"
data-animate="fadeIn">
<h3 class="text-xl font-bold text-gray-900">Quote Generator</h3>
<p class="text-gray-600">Interactive tool for generating insurance proposals</p>
</div>
</div>
<!-- Slide 3 -->
<div class="swiper-slide">
<div class="bg-white p-6 rounded-xl shadow-lg overflow-hidden">
<img src="https://huggingface.co/spaces/bh6001/creative-canvas-explorer/resolve/main/images/wireframe3.png"
alt="Policy Management"
class="w-full rounded-lg mb-4 hovered-element"
data-animate="fadeIn">
<h3 class="text-xl font-bold text-gray-900">Policy Management</h3>
<p class="text-gray-600">End-to-end policy lifecycle controls</p>
</div>
</div>
<!-- Slide 4 -->
<div class="swiper-slide">
<div class="bg-white p-6 rounded-xl shadow-lg overflow-hidden">
<img src="https://huggingface.co/spaces/bh6001/creative-canvas-explorer/resolve/main/images/wireframe4.png"
alt="Document Signing"
class="w-full rounded-lg mb-4 hovered-element"
data-animate="fadeIn">
<h3 class="text-xl font-bold text-gray-900">Document Signing</h3>
<p class="text-gray-600">Integrated e-signature workflow</p>
</div>
</div>
</div>
<!-- Add Navigation -->
<div class="swiper-button-next"></div>
<div class="swiper-button-prev"></div>
<!-- Add Pagination -->
<div class="swiper-pagination"></div>
</div>
</div>
</div>
</section>
<div class="grid md:grid-cols-3 gap-8">
<div>
<h2 class="text-2xl font-bold text-gray-900 mb-4">The Results</h2>
</div>
<div class="md:col-span-2">
<div class="grid md:grid-cols-3 gap-6 mt-8">
<div class="text-center">
<p class="text-4xl font-bold text-indigo-600 mb-2">37%</p>
<p class="text-gray-600">Increase in conversion</p>
</div>
<div class="text-center">
<p class="text-4xl font-bold text-indigo-600 mb-2">72%</p>
<p class="text-gray-600">Reduction in onboarding time</p>
</div>
<div class="text-center">
<p class="text-4xl font-bold text-indigo-600 mb-2">4.8★</p>
<p class="text-gray-600">User satisfaction score</p>
</div>
</div>
</div>
</div>
</section>
<!-- Process -->
<section class="mb-20">
<div class="grid md:grid-cols-3 gap-8">
<div>
<h2 class="text-2xl font-bold text-gray-900 mb-4">Our Process</h2>
</div>
<div class="md:col-span-2">
<div class="space-y-8">
<div>
<h3 class="font-bold text-lg text-gray-900 mb-2">Research & Discovery</h3>
<p class="text-gray-600 mb-4">
We conducted interviews with insurance advisors and customers to identify pain points in the existing journey.
</p>
<img src="http://static.photos/workspace/1024x576/1" alt="Research process" class="w-full rounded-lg shadow-md">
</div>
<div>
<h3 class="font-bold text-lg text-gray-900 mb-2">Prototyping & Testing</h3>
<p class="text-gray-600 mb-4">
Rapid prototyping allowed us to test multiple approaches to complex information architecture challenges.
</p>
<img src="http://static.photos/technology/1024x576/2" alt="Prototyping" class="w-full rounded-lg shadow-md hovered-element"
data-animate="zoomIn"
data-duration="800"
data-delay="200">
</div>
<div>
<h3 class="font-bold text-lg text-gray-900 mb-2">Implementation</h3>
<p class="text-gray-600 mb-4">
Working closely with Zurich's development team to ensure design integrity and compliance requirements.
</p>
<div class="grid md:grid-cols-2 gap-6">
<img src="https://huggingface.co/spaces/bh6001/creative-canvas-explorer/resolve/main/images/mockup-3.png" alt="Team implementation" class="w-full rounded-lg shadow-md">
<img src="https://huggingface.co/spaces/bh6001/creative-canvas-explorer/resolve/main/images/mockup-4.png" alt="Code review" class="w-full rounded-lg shadow-md">
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Next Project -->
<section class="border-t border-gray-200 pt-12">
<div class="flex justify-between items-center">
<div>
<p class="text-gray-500 mb-1">Next Project</p>
<h3 class="text-2xl font-bold text-gray-900">E-commerce Redesign</h3>
</div>
<a href="#" class="px-6 py-3 bg-indigo-600 text-white rounded-lg font-medium hover:bg-indigo-700 transition inline-flex items-center">
View next project
<i data-feather="arrow-right" class="ml-2"></i>
</a>
</div>
</section>
</div>
<!-- Footer -->
<footer class="bg-gray-900 text-white py-12 px-4 sm:px-6 lg:px-8">
<div class="max-w-7xl mx-auto">
<div class="grid grid-cols-1 md:grid-cols-4 gap-8">
<div>
<h3 class="text-xl font-bold mb-4">bh Designs</h3>
<p class="text-gray-400">Digital design and development studio.</p>
</div>
<div>
<h4 class="font-medium mb-4">Work</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white transition">All Projects</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Case Studies</a></li>
</ul>
</div>
<div>
<h4 class="font-medium mb-4">Connect</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white transition">Twitter</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">LinkedIn</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Dribbble</a></li>
</ul>
</div>
<div>
<h4 class="font-medium mb-4">Contact</h4>
<a href="mailto:hello@bhstudio.com" class="text-gray-400 hover:text-white transition">hello@bhstudio.com</a>
</div>
</div>
<div class="border-t border-gray-800 mt-12 pt-8 flex flex-col md:flex-row justify-between items-center">
<p class="text-gray-400 mb-4 md:mb-0">© 2023 bh Studio. All rights reserved.</p>
<div class="flex space-x-6">
<a href="#" class="text-gray-400 hover:text-white transition"><i data-feather="github"></i></a>
<a href="#" class="text-gray-400 hover:text-white transition"><i data-feather="twitter"></i></a>
<a href="#" class="text-gray-400 hover:text-white transition"><i data-feather="instagram"></i></a>
<a href="#" class="text-gray-400 hover:text-white transition"><i data-feather="linkedin"></i></a>
</div>
</div>
</div>
</footer>
<!-- Animation Library -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.11.4/gsap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.11.4/ScrollTrigger.min.js"></script>
<!-- Swiper JS -->
<link rel="stylesheet" href="https://unpkg.com/swiper/swiper-bundle.min.css">
<script src="https://unpkg.com/swiper/swiper-bundle.min.js"></script>
<style>
.swiper-container {
padding: 20px 40px;
}
.swiper-slide {
transition: transform 0.3s ease;
}
.swiper-slide:hover {
transform: translateY(-5px);
}
.swiper-button-next, .swiper-button-prev {
color: #4f46e5;
background: rgba(255,255,255,0.8);
width: 40px;
height: 40px;
border-radius: 50%;
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.swiper-button-next:after, .swiper-button-prev:after {
font-size: 1.2rem;
}
.swiper-pagination-bullet-active {
background: #4f46e5;
}
</style>
<script>
// Initialize Wireframe Swiper
const wireframeSwiper = new Swiper('.swiper-container', {
slidesPerView: 1,
spaceBetween: 30,
loop: true,
autoplay: {
delay: 3000,
disableOnInteraction: true,
},
navigation: {
nextEl: '.swiper-button-next',
prevEl: '.swiper-button-prev',
},
pagination: {
el: '.swiper-pagination',
clickable: true,
},
breakpoints: {
768: {
slidesPerView: 2,
},
1024: {
slidesPerView: 1,
}
}
});
// Animation for wireframe images
gsap.utils.toArray('.swiper-slide').forEach((slide, i) => {
gsap.from(slide, {
scrollTrigger: {
trigger: slide,
start: "top 80%",
toggleActions: "play none none none"
},
opacity: 0,
y: 30,
duration: 0.6,
delay: i * 0.1,
ease: "power2.out"
});
});
// Mobile menu toggle
const mobileMenuButton = document.getElementById('mobile-menu-button');
const mobileMenu = document.getElementById('mobile-menu');
const closeMenu = document.getElementById('close-menu');
if (mobileMenuButton && mobileMenu && closeMenu) {
mobileMenuButton.addEventListener('click', () => {
mobileMenu.classList.remove('hidden');
});
closeMenu.addEventListener('click', () => {
mobileMenu.classList.add('hidden');
});
}
// Initialize feather icons
feather.replace();
// Module content switcher
const moduleBtns = document.querySelectorAll('.module-btn');
const moduleContent = document.getElementById('module-content');
// Sample content for each module
const moduleContents = {
gap: `
<div class="bg-white p-6 rounded-lg shadow-lg">
<h3 class="text-2xl font-bold text-gray-900 mb-4">GAP Medical Group Insurance</h3>
<p class="text-gray-600 mb-4">End-to-end group insurance platform for company employees with quote-based rating, onboarding workflows, policy issuance, and underwriter review features.</p>
<img src="http://static.photos/medical/1024x576/1" alt="GAP Insurance" class="w-full rounded-lg mb-4">
<p class="text-gray-600">Key features include hospital coverage, outpatient benefits, and dental/optical riders.</p>
</div>
`,
reporter: `
<div class="bg-white p-6 rounded-lg shadow-lg">
<h3 class="text-2xl font-bold text-gray-900 mb-4">Monthly Reporter</h3>
<p class="text-gray-600 mb-4">Automated reporting system for policy performance and claims analysis.</p>
<img src="http://static.photos/finance/1024x576/1" alt="Monthly Reporter" class="w-full rounded-lg mb-4">
<p class="text-gray-600">Generates PDF and Excel reports with customizable parameters and scheduling.</p>
</div>
`,
docusign: `
<div class="bg-white p-6 rounded-lg shadow-lg">
<h3 class="text-2xl font-bold text-gray-900 mb-4">Docusign Integration</h3>
<p class="text-gray-600 mb-4">Seamless electronic signature workflow for policy documents.</p>
<img src="http://static.photos/office/1024x576/2" alt="Docusign" class="w-full rounded-lg mb-4">
<p class="text-gray-600">Reduces processing time by 85% with automatic routing and reminders.</p>
</div>
`,
policy: `
<div class="bg-white p-6 rounded-lg shadow-lg">
<h3 class="text-2xl font-bold text-gray-900 mb-4">Policy Issue and Renewal</h3>
<p class="text-gray-600 mb-4">Automated policy lifecycle management system.</p>
<img src="http://static.photos/legal/1024x576/1" alt="Policy System" class="w-full rounded-lg mb-4">
<p class="text-gray-600">Handles new business, renewals, endorsements and cancellations.</p>
</div>
`,
bta: `
<div class="bg-white p-6 rounded-lg shadow-lg">
<h3 class="text-2xl font-bold text-gray-900 mb-4">Business Travel Accident</h3>
<p class="text-gray-600 mb-4">Specialized coverage for employees traveling on business.</p>
<img src="http://static.photos/travel/1024x576/1" alt="BTA" class="w-full rounded-lg mb-4">
<p class="text-gray-600">24/7 worldwide coverage with emergency assistance services.</p>
</div>
`
};
// Add click handlers for module buttons
moduleBtns.forEach(btn => {
btn.addEventListener('click', () => {
// Remove active class from all buttons
moduleBtns.forEach(b => b.classList.remove('bg-indigo-200'));
// Add active class to clicked button
btn.classList.add('bg-indigo-200');
// Show content for selected module
const module = btn.dataset.module;
moduleContent.innerHTML = moduleContents[module];
moduleContent.classList.remove('hidden');
});
});
// Initialize with first module selected
if (moduleBtns.length > 0) {
moduleBtns[0].click();
}
// Animation setup
document.addEventListener('DOMContentLoaded', () => {
// Animate elements with data-animate attribute
gsap.utils.toArray('[data-animate]').forEach(element => {
const animation = element.dataset.animate;
const duration = element.dataset.duration || 1000;
const delay = element.dataset.delay || 0;
gsap.from(element, {
scrollTrigger: {
trigger: element,
start: "top 80%",
toggleActions: "play none none none"
},
[animation]: true,
duration: duration / 1000,
delay: delay / 1000,
ease: "power2.out"
});
});
// Hover animation for hovered-element class
gsap.utils.toArray('.hovered-element').forEach(element => {
element.addEventListener('mouseenter', () => {
gsap.to(element, {
scale: 1.05,
duration: 0.3,
ease: "power2.out"
});
});
element.addEventListener('mouseleave', () => {
gsap.to(element, {
scale: 1,
duration: 0.3,
ease: "power2.out"
});
});
});
});
</script>
</body>
</html>