Spaces:
Running
Running
Download index.html from danielmkinga92/bfs: direct link, hf CLI and curl.
- Browser
- Download file 86.4 kB
-
https://huggingface.co/spaces/danielmkinga92/bfs/resolve/main/index.html
- Command line
-
hf download hf://spaces/danielmkinga92/bfs/index.html
-
curl -L -o index.html https://huggingface.co/spaces/danielmkinga92/bfs/resolve/main/index.html
86.4 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>BFS Financial Services - Loan Management</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
/* Custom CSS for elements Tailwind can't handle easily */
.loan-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.dashboard-card:hover {
transform: scale(1.02);
}
#map {
height: 400px;
width: 100%;
}
.sidebar {
transition: all 0.3s;
}
.application-status-pending {
background-color: #FEF3C7;
color: #92400E;
}
.application-status-approved {
background-color: #D1FAE5;
color: #065F46;
}
.application-status-rejected {
background-color: #FEE2E2;
color: #991B1B;
}
.application-status-completed {
background-color: #DBEAFE;
color: #1E40AF;
}
@media (max-width: 768px) {
.sidebar {
transform: translateX(-100%);
position: fixed;
z-index: 50;
height: 100vh;
}
.sidebar-open {
transform: translateX(0);
}
}
</style>
</head>
<body class="bg-gray-50">
<!-- Public Website -->
<div id="public-site">
<!-- Navigation -->
<nav class="bg-white shadow-lg">
<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">
<div class="flex-shrink-0 flex items-center">
<img class="h-8 w-auto" src="https://via.placeholder.com/150x50?text=BFS+Logo" alt="BFS Financial Services">
</div>
<div class="hidden sm:ml-6 sm:flex sm:space-x-8">
<a href="#" class="border-blue-500 text-gray-900 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium" onclick="showSection('home')">
Home
</a>
<a href="#" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium" onclick="showSection('about')">
About Us
</a>
<a href="#" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium" onclick="showSection('services')">
Services
</a>
<a href="#" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium" onclick="showSection('blog')">
Blog
</a>
<a href="#" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium" onclick="showSection('contact')">
Contact
</a>
</div>
</div>
<div class="hidden sm:ml-6 sm:flex sm:items-center">
<button class="bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded-md text-sm font-medium" onclick="showSection('apply')">
Request a Loan
</button>
</div>
<div class="-mr-2 flex items-center sm:hidden">
<button type="button" class="inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-blue-500" onclick="toggleMobileMenu()">
<span class="sr-only">Open main menu</span>
<i class="fas fa-bars"></i>
</button>
</div>
</div>
</div>
<!-- Mobile menu -->
<div class="hidden sm:hidden" id="mobile-menu">
<div class="pt-2 pb-3 space-y-1">
<a href="#" class="bg-blue-50 border-blue-500 text-blue-700 block pl-3 pr-4 py-2 border-l-4 text-base font-medium" onclick="showSection('home')">Home</a>
<a href="#" class="border-transparent text-gray-500 hover:bg-gray-50 hover:border-gray-300 hover:text-gray-700 block pl-3 pr-4 py-2 border-l-4 text-base font-medium" onclick="showSection('about')">About Us</a>
<a href="#" class="border-transparent text-gray-500 hover:bg-gray-50 hover:border-gray-300 hover:text-gray-700 block pl-3 pr-4 py-2 border-l-4 text-base font-medium" onclick="showSection('services')">Services</a>
<a href="#" class="border-transparent text-gray-500 hover:bg-gray-50 hover:border-gray-300 hover:text-gray-700 block pl-3 pr-4 py-2 border-l-4 text-base font-medium" onclick="showSection('blog')">Blog</a>
<a href="#" class="border-transparent text-gray-500 hover:bg-gray-50 hover:border-gray-300 hover:text-gray-700 block pl-3 pr-4 py-2 border-l-4 text-base font-medium" onclick="showSection('contact')">Contact</a>
<a href="#" class="border-transparent text-gray-500 hover:bg-gray-50 hover:border-gray-300 hover:text-gray-700 block pl-3 pr-4 py-2 border-l-4 text-base font-medium" onclick="showSection('apply')">Request a Loan</a>
</div>
</div>
</nav>
<!-- Login Button (for admin access) -->
<div class="absolute top-4 right-4">
<button class="bg-gray-800 text-white px-4 py-2 rounded-md text-sm font-medium" onclick="showAdminLogin()">
Admin Login
</button>
</div>
<!-- Home Section -->
<section id="home-section" class="public-section">
<!-- Hero Banner -->
<div class="bg-blue-700 text-white">
<div class="max-w-7xl mx-auto py-12 px-4 sm:px-6 lg:px-8">
<div class="lg:grid lg:grid-cols-2 lg:gap-8 items-center">
<div>
<h1 class="text-4xl font-extrabold tracking-tight sm:text-5xl lg:text-6xl mb-4">
Financial Solutions Tailored for You
</h1>
<p class="text-xl text-blue-100 mb-8">
Fast approvals, flexible repayment options, and competitive rates to help you achieve your goals.
</p>
<div class="flex flex-col sm:flex-row gap-4">
<button class="bg-white text-blue-700 hover:bg-blue-50 px-6 py-3 rounded-md text-lg font-semibold" onclick="showSection('apply')">
Apply Now
</button>
<button class="border-2 border-white text-white hover:bg-blue-600 px-6 py-3 rounded-md text-lg font-semibold" onclick="showSection('services')">
Learn More
</button>
</div>
</div>
<div class="mt-12 lg:mt-0">
<!-- Loan Calculator Widget -->
<div class="bg-white rounded-lg shadow-xl p-6 text-gray-800">
<h3 class="text-lg font-semibold mb-4">Loan Calculator</h3>
<div class="space-y-4">
<div>
<label for="loan-amount" class="block text-sm font-medium text-gray-700">Loan Amount (TZS)</label>
<input type="range" id="loan-amount" min="100000" max="10000000" step="100000" value="5000000" class="w-full mt-1">
<div class="flex justify-between text-xs text-gray-500 mt-1">
<span>100,000</span>
<span id="loan-amount-value">5,000,000</span>
<span>10,000,000</span>
</div>
</div>
<div>
<label for="loan-term" class="block text-sm font-medium text-gray-700">Term (Months)</label>
<input type="range" id="loan-term" min="3" max="60" step="1" value="12" class="w-full mt-1">
<div class="flex justify-between text-xs text-gray-500 mt-1">
<span>3</span>
<span id="loan-term-value">12</span>
<span>60</span>
</div>
</div>
<div>
<label for="loan-type" class="block text-sm font-medium text-gray-700">Loan Type</label>
<select id="loan-type" class="mt-1 block w-full pl-3 pr-10 py-2 text-base border-gray-300 focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm rounded-md">
<option>Personal Loan</option>
<option>Business Loan</option>
<option>Education Loan</option>
<option>Car Loan</option>
</select>
</div>
<div class="pt-4 border-t border-gray-200">
<div class="flex justify-between mb-2">
<span class="text-sm font-medium">Monthly Payment:</span>
<span class="text-sm font-semibold" id="monthly-payment">TZS 458,333</span>
</div>
<div class="flex justify-between">
<span class="text-sm font-medium">Total Interest:</span>
<span class="text-sm font-semibold" id="total-interest">TZS 500,000</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Benefits Section -->
<div class="max-w-7xl mx-auto py-16 px-4 sm:px-6 lg:px-8">
<div class="text-center mb-12">
<h2 class="text-3xl font-extrabold text-gray-900 sm:text-4xl">
Why Choose BFS Financial Services?
</h2>
<p class="mt-4 max-w-2xl text-xl text-gray-500 mx-auto">
We provide financial solutions that fit your unique needs and circumstances.
</p>
</div>
<div class="grid md:grid-cols-3 gap-8">
<div class="bg-white p-6 rounded-lg shadow-md text-center">
<div class="mx-auto flex items-center justify-center h-12 w-12 rounded-md bg-blue-100 text-blue-600 mb-4">
<i class="fas fa-bolt text-xl"></i>
</div>
<h3 class="text-lg font-medium text-gray-900 mb-2">Fast Approvals</h3>
<p class="text-gray-500">
Get loan decisions within 24 hours with our streamlined application process.
</p>
</div>
<div class="bg-white p-6 rounded-lg shadow-md text-center">
<div class="mx-auto flex items-center justify-center h-12 w-12 rounded-md bg-blue-100 text-blue-600 mb-4">
<i class="fas fa-calendar-alt text-xl"></i>
</div>
<h3 class="text-lg font-medium text-gray-900 mb-2">Flexible Repayments</h3>
<p class="text-gray-500">
Choose repayment schedules that work for you - daily, weekly, or monthly.
</p>
</div>
<div class="bg-white p-6 rounded-lg shadow-md text-center">
<div class="mx-auto flex items-center justify-center h-12 w-12 rounded-md bg-blue-100 text-blue-600 mb-4">
<i class="fas fa-percentage text-xl"></i>
</div>
<h3 class="text-lg font-medium text-gray-900 mb-2">Competitive Rates</h3>
<p class="text-gray-500">
Enjoy some of the most competitive interest rates in the market.
</p>
</div>
</div>
</div>
<!-- Testimonials -->
<div class="bg-gray-100 py-16 px-4 sm:px-6 lg:px-8">
<div class="max-w-7xl mx-auto">
<h2 class="text-3xl font-extrabold text-gray-900 text-center mb-12">
What Our Clients Say
</h2>
<div class="grid md:grid-cols-3 gap-8">
<div class="bg-white p-6 rounded-lg shadow-md">
<div class="flex items-center mb-4">
<div class="flex-shrink-0">
<img class="h-10 w-10 rounded-full" src="https://randomuser.me/api/portraits/women/32.jpg" alt="">
</div>
<div class="ml-3">
<p class="text-sm font-medium text-gray-900">Sarah J.</p>
<div class="flex text-yellow-400">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
</div>
</div>
</div>
<p class="text-gray-600 italic">
"The process was so simple and straightforward. I got my education loan approved within a day and could pay my tuition fees on time."
</p>
</div>
<div class="bg-white p-6 rounded-lg shadow-md">
<div class="flex items-center mb-4">
<div class="flex-shrink-0">
<img class="h-10 w-10 rounded-full" src="https://randomuser.me/api/portraits/men/54.jpg" alt="">
</div>
<div class="ml-3">
<p class="text-sm font-medium text-gray-900">Michael T.</p>
<div class="flex text-yellow-400">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
</div>
</div>
</div>
<p class="text-gray-600 italic">
"BFS helped me expand my small business with a quick loan. Their repayment options are flexible which made it easy for me to manage cash flow."
</p>
</div>
<div class="bg-white p-6 rounded-lg shadow-md">
<div class="flex items-center mb-4">
<div class="flex-shrink-0">
<img class="h-10 w-10 rounded-full" src="https://randomuser.me/api/portraits/women/68.jpg" alt="">
</div>
<div class="ml-3">
<p class="text-sm font-medium text-gray-900">Grace M.</p>
<div class="flex text-yellow-400">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star-half-alt"></i>
</div>
</div>
</div>
<p class="text-gray-600 italic">
"I was able to get a car loan with very minimal documentation. The customer service is excellent and they guided me through the entire process."
</p>
</div>
</div>
</div>
</div>
<!-- Call to Action -->
<div class="bg-blue-700 text-white">
<div class="max-w-7xl mx-auto py-12 px-4 sm:px-6 lg:px-8 text-center">
<h2 class="text-3xl font-extrabold tracking-tight sm:text-4xl mb-4">
Ready to Get Started?
</h2>
<p class="text-xl text-blue-100 mb-8 max-w-3xl mx-auto">
Take the first step towards achieving your financial goals with our simple application process.
</p>
<button class="bg-white text-blue-700 hover:bg-blue-50 px-8 py-3 rounded-md text-lg font-semibold" onclick="showSection('apply')">
Apply for a Loan
</button>
</div>
</div>
</section>
<!-- About Us Section -->
<section id="about-section" class="public-section hidden">
<div class="max-w-7xl mx-auto py-16 px-4 sm:px-6 lg:px-8">
<div class="text-center mb-12">
<h2 class="text-3xl font-extrabold text-gray-900 sm:text-4xl">
About BFS Financial Services
</h2>
<p class="mt-4 max-w-2xl text-xl text-gray-500 mx-auto">
Empowering individuals and businesses with accessible financial solutions since 2010.
</p>
</div>
<!-- Company History -->
<div class="mb-16">
<div class="lg:grid lg:grid-cols-2 lg:gap-8 items-center">
<div class="mb-8 lg:mb-0">
<img src="https://via.placeholder.com/600x400?text=BFS+Office" alt="BFS Office" class="rounded-lg shadow-lg w-full">
</div>
<div>
<h3 class="text-2xl font-bold text-gray-900 mb-4">Our Story</h3>
<p class="text-gray-600 mb-4">
Founded in 2010, BFS Financial Services began as a small community lender in Dar es Salaam with a mission to provide accessible financial services to underserved individuals and small businesses.
</p>
<p class="text-gray-600 mb-4">
Over the years, we've grown to become one of Tanzania's most trusted financial service providers, expanding our operations to multiple regions while maintaining our commitment to personalized service.
</p>
<p class="text-gray-600">
Today, we serve thousands of customers across Tanzania, helping them achieve their personal and business financial goals through our diverse range of loan products.
</p>
</div>
</div>
</div>
<!-- Mission & Vision -->
<div class="grid md:grid-cols-2 gap-8 mb-16">
<div class="bg-blue-50 p-8 rounded-lg">
<div class="flex items-center mb-4">
<div class="flex-shrink-0 bg-blue-100 p-3 rounded-full">
<i class="fas fa-bullseye text-blue-600"></i>
</div>
<h3 class="text-xl font-bold text-gray-900 ml-3">Our Mission</h3>
</div>
<p class="text-gray-700">
To provide innovative, accessible, and responsible financial solutions that empower our customers to achieve their dreams and improve their quality of life.
</p>
</div>
<div class="bg-blue-50 p-8 rounded-lg">
<div class="flex items-center mb-4">
<div class="flex-shrink-0 bg-blue-100 p-3 rounded-full">
<i class="fas fa-eye text-blue-600"></i>
</div>
<h3 class="text-xl font-bold text-gray-900 ml-3">Our Vision</h3>
</div>
<p class="text-gray-700">
To be Tanzania's leading financial services provider, recognized for our customer-centric approach, ethical practices, and positive impact on communities.
</p>
</div>
</div>
<!-- Core Values -->
<div class="mb-16">
<h3 class="text-2xl font-bold text-gray-900 mb-8 text-center">Our Core Values</h3>
<div class="grid md:grid-cols-3 gap-6">
<div class="bg-white p-6 rounded-lg shadow-md text-center">
<div class="mx-auto flex items-center justify-center h-12 w-12 rounded-md bg-blue-100 text-blue-600 mb-4">
<i class="fas fa-hand-holding-heart text-xl"></i>
</div>
<h4 class="text-lg font-medium text-gray-900 mb-2">Integrity</h4>
<p class="text-gray-600 text-sm">
We conduct our business with honesty, transparency, and ethical practices.
</p>
</div>
<div class="bg-white p-6 rounded-lg shadow-md text-center">
<div class="mx-auto flex items-center justify-center h-12 w-12 rounded-md bg-blue-100 text-blue-600 mb-4">
<i class="fas fa-users text-xl"></i>
</div>
<h4 class="text-lg font-medium text-gray-900 mb-2">Customer Focus</h4>
<p class="text-gray-600 text-sm">
We put our customers at the center of everything we do, delivering personalized solutions.
</p>
</div>
<div class="bg-white p-6 rounded-lg shadow-md text-center">
<div class="mx-auto flex items-center justify-center h-12 w-12 rounded-md bg-blue-100 text-blue-600 mb-4">
<i class="fas fa-lightbulb text-xl"></i>
</div>
<h4 class="text-lg font-medium text-gray-900 mb-2">Innovation</h4>
<p class="text-gray-600 text-sm">
We continuously seek better ways to serve our customers and improve our processes.
</p>
</div>
<div class="bg-white p-6 rounded-lg shadow-md text-center">
<div class="mx-auto flex items-center justify-center h-12 w-12 rounded-md bg-blue-100 text-blue-600 mb-4">
<i class="fas fa-shield-alt text-xl"></i>
</div>
<h4 class="text-lg font-medium text-gray-900 mb-2">Responsibility</h4>
<p class="text-gray-600 text-sm">
We lend responsibly and help customers make informed financial decisions.
</p>
</div>
<div class="bg-white p-6 rounded-lg shadow-md text-center">
<div class="mx-auto flex items-center justify-center h-12 w-12 rounded-md bg-blue-100 text-blue-600 mb-4">
<i class="fas fa-hands-helping text-xl"></i>
</div>
<h4 class="text-lg font-medium text-gray-900 mb-2">Community</h4>
<p class="text-gray-600 text-sm">
We're committed to the economic development and well-being of the communities we serve.
</p>
</div>
<div class="bg-white p-6 rounded-lg shadow-md text-center">
<div class="mx-auto flex items-center justify-center h-12 w-12 rounded-md bg-blue-100 text-blue-600 mb-4">
<i class="fas fa-star text-xl"></i>
</div>
<h4 class="text-lg font-medium text-gray-900 mb-2">Excellence</h4>
<p class="text-gray-600 text-sm">
We strive for excellence in all aspects of our business and customer service.
</p>
</div>
</div>
</div>
<!-- Management Team -->
<div class="mb-16">
<h3 class="text-2xl font-bold text-gray-900 mb-8 text-center">Our Leadership Team</h3>
<div class="grid md:grid-cols-3 gap-8">
<div class="bg-white p-6 rounded-lg shadow-md text-center">
<img src="https://randomuser.me/api/portraits/men/32.jpg" alt="CEO" class="w-32 h-32 rounded-full mx-auto mb-4">
<h4 class="text-lg font-semibold text-gray-900">James Mwambene</h4>
<p class="text-blue-600 font-medium mb-2">Chief Executive Officer</p>
<p class="text-gray-600 text-sm">
With over 20 years in financial services, James leads BFS with a vision for growth and customer satisfaction.
</p>
</div>
<div class="bg-white p-6 rounded-lg shadow-md text-center">
<img src="https://randomuser.me/api/portraits/women/44.jpg" alt="CFO" class="w-32 h-32 rounded-full mx-auto mb-4">
<h4 class="text-lg font-semibold text-gray-900">Grace Nkunda</h4>
<p class="text-blue-600 font-medium mb-2">Chief Financial Officer</p>
<p class="text-gray-600 text-sm">
Grace oversees all financial operations with a focus on sustainability and responsible lending.
</p>
</div>
<div class="bg-white p-6 rounded-lg shadow-md text-center">
<img src="https://randomuser.me/api/portraits/men/75.jpg" alt="COO" class="w-32 h-32 rounded-full mx-auto mb-4">
<h4 class="text-lg font-semibold text-gray-900">Robert Kimambo</h4>
<p class="text-blue-600 font-medium mb-2">Chief Operations Officer</p>
<p class="text-gray-600 text-sm">
Robert ensures our operations run smoothly across all branches with efficiency and customer focus.
</p>
</div>
</div>
</div>
<!-- Locations -->
<div>
<h3 class="text-2xl font-bold text-gray-900 mb-8 text-center">Our Locations</h3>
<div class="bg-white p-6 rounded-lg shadow-md">
<div id="map"></div>
<div class="grid md:grid-cols-3 gap-6 mt-8">
<div class="border-l-4 border-blue-500 pl-4">
<h4 class="font-semibold text-gray-900">Head Office - Dar es Salaam</h4>
<p class="text-gray-600 text-sm">123 Financial Street, CBD</p>
<p class="text-gray-600 text-sm">Phone: +255 22 123 4567</p>
<p class="text-gray-600 text-sm">Email: dar@bfs.co.tz</p>
</div>
<div class="border-l-4 border-blue-500 pl-4">
<h4 class="font-semibold text-gray-900">Arusha Branch</h4>
<p class="text-gray-600 text-sm">456 Business Avenue</p>
<p class="text-gray-600 text-sm">Phone: +255 27 123 4567</p>
<p class="text-gray-600 text-sm">Email: arusha@bfs.co.tz</p>
</div>
<div class="border-l-4 border-blue-500 pl-4">
<h4 class="font-semibold text-gray-900">Mwanza Branch</h4>
<p class="text-gray-600 text-sm">789 Lake Road</p>
<p class="text-gray-600 text-sm">Phone: +255 28 123 4567</p>
<p class="text-gray-600 text-sm">Email: mwanza@bfs.co.tz</p>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Services Section -->
<section id="services-section" class="public-section hidden">
<div class="max-w-7xl mx-auto py-16 px-4 sm:px-6 lg:px-8">
<div class="text-center mb-12">
<h2 class="text-3xl font-extrabold text-gray-900 sm:text-4xl">
Our Loan Services
</h2>
<p class="mt-4 max-w-2xl text-xl text-gray-500 mx-auto">
We offer a variety of loan products to meet your financial needs.
</p>
</div>
<!-- Loan Types -->
<div class="grid md:grid-cols-2 lg:grid-cols-3 gap-8 mb-16">
<div class="loan-card bg-white rounded-lg shadow-md overflow-hidden transition duration-300">
<div class="bg-blue-600 p-4 text-white">
<h3 class="text-xl font-semibold">Personal Loans</h3>
</div>
<div class="p-6">
<p class="text-gray-600 mb-4">
Flexible loans for your personal needs - home improvements, medical expenses, travel, or any other purpose.
</p>
<ul class="space-y-2 mb-6">
<li class="flex items-center">
<i class="fas fa-check-circle text-green-500 mr-2"></i>
<span class="text-gray-700">Amounts: TZS 500,000 - 10,000,000</span>
</li>
<li class="flex items-center">
<i class="fas fa-check-circle text-green-500 mr-2"></i>
<span class="text-gray-700">Terms: 3 - 36 months</span>
</li>
<li class="flex items-center">
<i class="fas fa-check-circle text-green-500 mr-2"></i>
<span class="text-gray-700">Quick approval within 24 hours</span>
</li>
</ul>
<button class="w-full bg-blue-600 hover:bg-blue-700 text-white py-2 rounded-md font-medium" onclick="showSection('apply')">
Apply Now
</button>
</div>
</div>
<div class="loan-card bg-white rounded-lg shadow-md overflow-hidden transition duration-300">
<div class="bg-blue-600 p-4 text-white">
<h3 class="text-xl font-semibold">Business Loans</h3>
</div>
<div class="p-6">
<p class="text-gray-600 mb-4">
Capital to start, expand, or manage cash flow for your business. Ideal for SMEs and entrepreneurs.
</p>
<ul class="space-y-2 mb-6">
<li class="flex items-center">
<i class="fas fa-check-circle text-green-500 mr-2"></i>
<span class="text-gray-700">Amounts: TZS 1,000,000 - 50,000,000</span>
</li>
<li class="flex items-center">
<i class="fas fa-check-circle text-green-500 mr-2"></i>
<span class="text-gray-700">Terms: 6 - 60 months</span>
</li>
<li class="flex items-center">
<i class="fas fa-check-circle text-green-500 mr-2"></i>
<span class="text-gray-700">Collateral options available</span>
</li>
</ul>
<button class="w-full bg-blue-600 hover:bg-blue-700 text-white py-2 rounded-md font-medium" onclick="showSection('apply')">
Apply Now
</button>
</div>
</div>
<div class="loan-card bg-white rounded-lg shadow-md overflow-hidden transition duration-300">
<div class="bg-blue-600 p-4 text-white">
<h3 class="text-xl font-semibold">Education Loans</h3>
</div>
<div class="p-6">
<p class="text-gray-600 mb-4">
Invest in your or your child's education with our flexible tuition financing solutions.
</p>
<ul class="space-y-2 mb-6">
<li class="flex items-center">
<i class="fas fa-check-circle text-green-500 mr-2"></i>
<span class="text-gray-700">Amounts: TZS 300,000 - 20,000,000</span>
</li>
<li class="flex items-center">
<i class="fas fa-check-circle text-green-500 mr-2"></i>
<span class="text-gray-700">Terms: 6 - 48 months</span>
</li>
<li class="flex items-center">
<i class="fas fa-check-circle text-green-500 mr-2"></i>
<span class="text-gray-700">Payments aligned with school terms</span>
</li>
</ul>
<button class="w-full bg-blue-600 hover:bg-blue-700 text-white py-2 rounded-md font-medium" onclick="showSection('apply')">
Apply Now
</button>
</div>
</div>
<div class="loan-card bg-white rounded-lg shadow-md overflow-hidden transition duration-300">
<div class="bg-blue-600 p-4 text-white">
<h3 class="text-xl font-semibold">Car Loans</h3>
</div>
<div class="p-6">
<p class="text-gray-600 mb-4">
Affordable financing for new or used vehicles with competitive rates and flexible terms.
</p>
<ul class="space-y-2 mb-6">
<li class="flex items-center">
<i class="fas fa-check-circle text-green-500 mr-2"></i>
<span class="text-gray-700">Amounts: Up to 80% of vehicle value</span>
</li>
<li class="flex items-center">
<i class="fas fa-check-circle text-green-500 mr-2"></i>
<span class="text-gray-700">Terms: 12 - 60 months</span>
</li>
<li class="flex items-center">
<i class="fas fa-check-circle text-green-500 mr-2"></i>
<span class="text-gray-700">Fast processing for qualified buyers</span>
</li>
</ul>
<button class="w-full bg-blue-600 hover:bg-blue-700 text-white py-2 rounded-md font-medium" onclick="showSection('apply')">
Apply Now
</button>
</div>
</div>
<div class="loan-card bg-white rounded-lg shadow-md overflow-hidden transition duration-300">
<div class="bg-blue-600 p-4 text-white">
<h3 class="text-xl font-semibold">Construction Loans</h3>
</div>
<div class="p-6">
<p class="text-gray-600 mb-4">
Finance your home construction or renovation project with our specialized construction loans.
</p>
<ul class="space-y-2 mb-6">
<li class="flex items-center">
<i class="fas fa-check-circle text-green-500 mr-2"></i>
<span class="text-gray-700">Amounts: TZS 5,000,000 - 100,000,000</span>
</li>
<li class="flex items-center">
<i class="fas fa-check-circle text-green-500 mr-2"></i>
<span class="text-gray-700">Terms: 12 - 84 months</span>
</li>
<li class="flex items-center">
<i class="fas fa-check-circle text-green-500 mr-2"></i>
<span class="text-gray-700">Progress-based disbursements</span>
</li>
</ul>
<button class="w-full bg-blue-600 hover:bg-blue-700 text-white py-2 rounded-md font-medium" onclick="showSection('apply')">
Apply Now
</button>
</div>
</div>
<div class="loan-card bg-white rounded-lg shadow-md overflow-hidden transition duration-300">
<div class="bg-blue-600 p-4 text-white">
<h3 class="text-xl font-semibold">Emergency Loans</h3>
</div>
<div class="p-6">
<p class="text-gray-600 mb-4">
Quick access to funds for unexpected expenses with minimal documentation.
</p>
<ul class="space-y-2 mb-6">
<li class="flex items-center">
<i class="fas fa-check-circle text-green-500 mr-2"></i>
<span class="text-gray-700">Amounts: TZS 200,000 - 2,000,000</span>
</li>
<li class="flex items-center">
<i class="fas fa-check-circle text-green-500 mr-2"></i>
<span class="text-gray-700">Terms: 1 - 12 months</span>
</li>
<li class="flex items-center">
<i class="fas fa-check-circle text-green-500 mr-2"></i>
<span class="text-gray-700">Same-day approval for qualified applicants</span>
</li>
</ul>
<button class="w-full bg-blue-600 hover:bg-blue-700 text-white py-2 rounded-md font-medium" onclick="showSection('apply')">
Apply Now
</button>
</div>
</div>
</div>
<!-- Repayment Options -->
<div class="bg-blue-50 rounded-lg p-8 mb-16">
<h3 class="text-2xl font-bold text-gray-900 mb-6 text-center">Flexible Repayment Options</h3>
<div class="grid md:grid-cols-3 gap-6">
<div class="bg-white p-6 rounded-lg shadow-sm text-center">
<div class="mx-auto flex items-center justify-center h-16 w-16 rounded-full bg-blue-100 text-blue-600 mb-4">
<i class="fas fa-calendar-day text-2xl"></i>
</div>
<h4 class="text-lg font-medium text-gray-900 mb-2">Daily Repayments</h4>
<p class="text-gray-600 text-sm">
Small, manageable daily payments that fit with your cash flow. Ideal for businesses with daily income.
</p>
</div>
<div class="bg-white p-6 rounded-lg shadow-sm text-center">
<div class="mx-auto flex items-center justify-center h-16 w-16 rounded-full bg-blue-100 text-blue-600 mb-4">
<i class="fas fa-calendar-week text-2xl"></i>
</div>
<h4 class="text-lg font-medium text-gray-900 mb-2">Weekly Repayments</h4>
<p class="text-gray-600 text-sm">
Convenient weekly installments that align with your pay schedule or business cycles.
</p>
</div>
<div class="bg-white p-6 rounded-lg shadow-sm text-center">
<div class="mx-auto flex items-center justify-center h-16 w-16 rounded-full bg-blue-100 text-blue-600 mb-4">
<i class="fas fa-calendar-alt text-2xl"></i>
</div>
<h4 class="text-lg font-medium text-gray-900 mb-2">Monthly Repayments</h4>
<p class="text-gray-600 text-sm">
Traditional monthly payments for those who prefer a single payment each month.
</p>
</div>
</div>
</div>
<!-- Payment Methods -->
<div>
<h3 class="text-2xl font-bold text-gray-900 mb-6 text-center">Convenient Payment Methods</h3>
<div class="grid md:grid-cols-4 gap-4">
<div class="bg-white p-4 rounded-lg shadow-sm flex flex-col items-center">
<img src="https://via.placeholder.com/80x50?text=CASH" alt="Cash" class="h-12 mb-2">
<span class="text-gray-700 font-medium">Cash</span>
<p class="text-gray-500 text-xs mt-1 text-center">Pay at any BFS branch nationwide</p>
</div>
<div class="bg-white p-4 rounded-lg shadow-sm flex flex-col items-center">
<img src="https://via.placeholder.com/80x50?text=BANK" alt="Bank Transfer" class="h-12 mb-2">
<span class="text-gray-700 font-medium">Bank Transfer</span>
<p class="text-gray-500 text-xs mt-1 text-center">Direct transfers to our bank account</p>
</div>
<div class="bg-white p-4 rounded-lg shadow-sm flex flex-col items-center">
<img src="https://via.placeholder.com/80x50?text=M-Pesa" alt="M-Pesa" class="h-12 mb-2">
<span class="text-gray-700 font-medium">M-Pesa</span>
<p class="text-gray-500 text-xs mt-1 text-center">Quick and secure mobile payments</p>
</div>
<div class="bg-white p-4 rounded-lg shadow-sm flex flex-col items-center">
<img src="https://via.placeholder.com/80x50?text=TigoPesa" alt="Tigo Pesa" class="h-12 mb-2">
<span class="text-gray-700 font-medium">Tigo Pesa</span>
<p class="text-gray-500 text-xs mt-1 text-center">Mobile money payments</p>
</div>
</div>
</div>
</div>
</section>
<!-- Blog Section -->
<section id="blog-section" class="public-section hidden">
<div class="max-w-7xl mx-auto py-16 px-4 sm:px-6 lg:px-8">
<div class="text-center mb-12">
<h2 class="text-3xl font-extrabold text-gray-900 sm:text-4xl">
BFS Financial Blog
</h2>
<p class="mt-4 max-w-2xl text-xl text-gray-500 mx-auto">
Financial tips, company news, and helpful resources.
</p>
</div>
<div class="grid md:grid-cols-2 lg:grid-cols-3 gap-8 mb-12">
<div class="bg-white rounded-lg shadow-md overflow-hidden">
<img src="https://via.placeholder.com/600x400?text=Blog+1" alt="Blog Post" class="w-full h-48 object-cover">
<div class="p-6">
<div class="flex items-center text-sm text-gray-500 mb-2">
<span>June 15, 2023</span>
<span class="mx-2">•</span>
<span>5 min read</span>
</div>
<h3 class="text-xl font-semibold text-gray-900 mb-2">How to Improve Your Credit Score in Tanzania</h3>
<p class="text-gray-600 mb-4">
Learn practical steps to build and maintain a good credit score to qualify for better loan terms.
</p>
<a href="#" class="text-blue-600 font-medium inline-flex items-center">
Read More
<i class="fas fa-arrow-right ml-2"></i>
</a>
</div>
</div>
<div class="bg-white rounded-lg shadow-md overflow-hidden">
<img src="https://via.placeholder.com/600x400?text=Blog+2" alt="Blog Post" class="w-full h-48 object-cover">
<div class="p-6">
<div class="flex items-center text-sm text-gray-500 mb-2">
<span>May 28, 2023</span>
<span class="mx-2">•</span>
<span>4 min read</span>
</div>
<h3 class="text-xl font-semibold text-gray-900 mb-2">Choosing the Right Loan for Your Small Business</h3>
<p class="text-gray-600 mb-4">
A guide to selecting the most suitable financing option for your business needs and growth stage.
</p>
<a href="#" class="text-blue-600 font-medium inline-flex items-center">
Read More
<i class="fas fa-arrow-right ml-2"></i>
</a>
</div>
</div>
<div class="bg-white rounded-lg shadow-md overflow-hidden">
<img src="https://via.placeholder.com/600x400?text=Blog+3" alt="Blog Post" class="w-full h-48 object-cover">
<div class="p-6">
<div class="flex items-center text-sm text-gray-500 mb-2">
<span>April 10, 2023</span>
<span class="mx-2">•</span>
<span>6 min read</span>
</div>
<h3 class="text-xl font-semibold text-gray-900 mb-2">Understanding Loan Interest Rates and Fees</h3>
<p class="text-gray-600 mb-4">
Break down the true cost of borrowing and how to compare different loan offers effectively.
</p>
<a href="#" class="text-blue-600 font-medium inline-flex items-center">
Read More
<i class="fas fa-arrow-right ml-2"></i>
</a>
</div>
</div>
<div class="bg-white rounded-lg shadow-md overflow-hidden">
<img src="https://via.placeholder.com/600x400?text=Blog+4" alt="Blog Post" class="w-full h-48 object-cover">
<div class="p-6">
<div class="flex items-center text-sm text-gray-500 mb-2">
<span>March 22, 2023</span>
<span class="mx-2">•</span>
<span>3 min read</span>
</div>
<h3 class="text-xl font-semibold text-gray-900 mb-2">BFS Financial Services Expands to Mwanza</h3>
<p class="text-gray-600 mb-4">
We're excited to announce the opening of our new branch in Mwanza to serve customers in the Lake Zone.
</p>
<a href="#" class="text-blue-600 font-medium inline-flex items-center">
Read More
<i class="fas fa-arrow-right ml-2"></i>
</a>
</div>
</div>
<div class="bg-white rounded-lg shadow-md overflow-hidden">
<img src="https://via.placeholder.com/600x400?text=Blog+5" alt="Blog Post" class="w-full h-48 object-cover">
<div class="p-6">
<div class="flex items-center text-sm text-gray-500 mb-2">
<span>February 15, 2023</span>
<span class="mx-2">•</span>
<span>7 min read</span>
</div>
<h3 class="text-xl font-semibold text-gray-900 mb-2">Budgeting Tips for Family Financial Health</h3>
<p class="text-gray-600 mb-4">
Practical strategies to manage household finances and save for future goals while meeting current needs.
</p>
<a href="#" class="text-blue-600 font-medium inline-flex items-center">
Read More
<i class="fas fa-arrow-right ml-2"></i>
</a>
</div>
</div>
<div class="bg-white rounded-lg shadow-md overflow-hidden">
<img src="https://via.placeholder.com/600x400?text=Blog+6" alt="Blog Post" class="w-full h-48 object-cover">
<div class="p-6">
<div class="flex items-center text-sm text-gray-500 mb-2">
<span>January 5, 2023</span>
<span class="mx-2">•</span>
<span>5 min read</span>
</div>
<h3 class="text-xl font-semibold text-gray-900 mb-2">How to Prepare for a Loan Application</h3>
<p class="text-gray-600 mb-4">
Essential documents and information you need to have ready to streamline your loan application process.
</p>
<a href="#" class="text-blue-600 font-medium inline-flex items-center">
Read More
<i class="fas fa-arrow-right ml-2"></i>
</a>
</div>
</div>
</div>
<div class="text-center">
<button class="bg-blue-600 hover:bg-blue-700 text-white px-6 py-3 rounded-md text-lg font-medium">
View All Articles
</button>
</div>
</div>
</section>
<!-- Contact Section -->
<section id="contact-section" class="public-section hidden">
<div class="max-w-7xl mx-auto py-16 px-4 sm:px-6 lg:px-8">
<div class="text-center mb-12">
<h2 class="text-3xl font-extrabold text-gray-900 sm:text-4xl">
Contact Us
</h2>
<p class="mt-4 max-w-2xl text-xl text-gray-500 mx-auto">
We're here to help with any questions about our services.
</p>
</div>
<div class="lg:grid lg:grid-cols-2 lg:gap-8">
<div class="mb-8 lg:mb-0">
<div class="bg-white p-6 rounded-lg shadow-md">
<h3 class="text-xl font-semibold text-gray-900 mb-4">Send Us a Message</h3>
<form>
<div class="mb-4">
<label for="name" class="block text-sm font-medium text-gray-700 mb-1">Your Name</label>
<input type="text" id="name" class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500">
</div>
<div class="mb-4">
<label for="email" class="block text-sm font-medium text-gray-700 mb-1">Email Address</label>
<input type="email" id="email" class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500">
</div>
<div class="mb-4">
<label for="phone" class="block text-sm font-medium text-gray-700 mb-1">Phone Number</label>
<input type="tel" id="phone" class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500">
</div>
<div class="mb-4">
<label for="subject" class="block text-sm font-medium text-gray-700 mb-1">Subject</label>
<select id="subject" class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500">
<option>General Inquiry</option>
<option>Loan Application</option>
<option>Account Support</option>
<option>Complaint</option>
<option>Other</option>
</select>
</div>
<div class="mb-4">
<label for="message" class="block text-sm font-medium text-gray-700 mb-1">Message</label>
<textarea id="message" rows="4" class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500"></textarea>
</div>
<div>
<button type="submit" class="w-full bg-blue-600 hover:bg-blue-700 text-white py-2 px-4 rounded-md font-medium">
Send Message
</button>
</div>
</form>
</div>
</div>
<div>
<div class="bg-white p-6 rounded-lg shadow-md mb-8">
<h3 class="text-xl font-semibold text-gray-900 mb-4">Our Contact Information</h3>
<div class="space-y-4">
<div class="flex items-start">
<div class="flex-shrink-0 h-6 w-6 text-blue-600">
<i class="fas fa-map-marker-alt"></i>
</div>
<div class="ml-3 text-base text-gray-700">
<p>123 Financial Street</p>
<p>Dar es Salaam, Tanzania</p>
</div>
</div>
<div class="flex items-start">
<div class="flex-shrink-0 h-6 w-6 text-blue-600">
<i class="fas fa-phone-alt"></i>
</div>
<div class="ml-3 text-base text-gray-700">
<p>+255 22 123 4567</p>
<p>+255 763 123 456 (Mobile)</p>
</div>
</div>
<div class="flex items-start">
<div class="flex-shrink-0 h-6 w-6 text-blue-600">
<i class="fas fa-envelope"></i>
</div>
<div class="ml-3 text-base text-gray-700">
<p>info@bfs.co.tz</p>
<p>support@bfs.co.tz</p>
</div>
</div>
<div class="flex items-start">
<div class="flex-shrink-0 h-6 w-6 text-blue-600">
<i class="fas fa-clock"></i>
</div>
<div class="ml-3 text-base text-gray-700">
<p class="font-medium">Working Hours:</p>
<p>Monday - Friday: 8:00 AM - 5:00 PM</p>
<p>Saturday: 9:00 AM - 2:00 PM</p>
<p>Sunday: Closed</p>
</div>
</div>
</div>
</div>
<div class="bg-white p-6 rounded-lg shadow-md">
<h3 class="text-xl font-semibold text-gray-900 mb-4">Branch Locations</h3>
<div id="contact-map" style="height: 300px;"></div>
<div class="mt-4">
<button class="text-blue-600 font-medium inline-flex items-center" onclick="showSection('about')">
View All Branch Details
<i class="fas fa-arrow-right ml-2"></i>
</button>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Apply for Loan Section -->
<section id="apply-section" class="public-section hidden">
<div class="max-w-7xl mx-auto py-16 px-4 sm:px-6 lg:px-8">
<div class="text-center mb-12">
<h2 class="text-3xl font-extrabold text-gray-900 sm:text-4xl">
Apply for a Loan
</h2>
<p class="mt-4 max-w-2xl text-xl text-gray-500 mx-auto">
Complete this form to start your loan application process.
</p>
</div>
<div class="bg-white p-6 rounded-lg shadow-md">
<div class="mb-8">
<div class="flex items-center">
<div class="flex-shrink-0 h-10 w-10 rounded-full bg-blue-600 text-white flex items-center justify-center">
<span>1</span>
</div>
<h3 class="ml-4 text-lg font-medium text-gray-900">Personal Information</h3>
</div>
<div class="ml-14 mt-4 grid md:grid-cols-2 gap-6">
<div>
<label for="first-name" class="block text-sm font-medium text-gray-700 mb-1">First Name</label>
<input type="text" id="first-name" class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500">
</div>
<div>
<label for="last-name" class="block text-sm font-medium text-gray-700 mb-1">Last Name</label>
<input type="text" id="last-name" class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500">
</div>
<div>
<label for="dob" class="block text-sm font-medium text-gray-700 mb-1">Date of Birth</label>
<input type="date" id="dob" class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500">
</div>
<div>
<label for="gender" class="block text-sm font-medium text-gray-700 mb-1">Gender</label>
<select id="gender" class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500">
<option>Male</option>
<option>Female</option>
<option>Other</option>
</select>
</div>
<div>
<label for="id-type" class="block text-sm font-medium text-gray-700 mb-1">ID Type</label>
<select id="id-type" class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500">
<option>NIDA</option>
<option>Passport</option>
<option>Driving License</option>
<option>Voter ID</option>
</select>
</div>
<div>
<label for="id-number" class="block text-sm font-medium text-gray-700 mb-1">ID Number</label>
<input type="text" id="id-number" class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500">
</div>
<div>
<label for="phone" class="block text-sm font-medium text-gray-700 mb-1">Phone Number</label>
<input type="tel" id="phone" class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500">
</div>
<div>
<label for="email" class="block text-sm font-medium text-gray-700 mb-1">Email Address</label>
<input type="email" id="email" class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500">
</div>
<div class="md:col-span-2">
<label for="address" class="block text-sm font-medium text-gray-700 mb-1">Physical Address</label>
<textarea id="address" rows="3" class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500"></textarea>
</div>
</div>
</div>
<div class="mb-8">
<div class="flex items-center">
<div class="flex-shrink-0 h-10 w-10 rounded-full bg-blue-600 text-white flex items-center justify-center">
<span>2</span>
</div>
<h3 class="ml-4 text-lg font-medium text-gray-900">Loan Details</h3>
</div>
<div class="ml-14 mt-4 grid md:grid-cols-2 gap-6">
<div>
<label for="loan-type" class="block text-sm font-medium text-gray-700 mb-1">Loan Type</label>
<select id="loan-type" class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500">
<option>Personal Loan</option>
<option>Business Loan</option>
<option>Education Loan</option>
<option>Car Loan</option>
<option>Construction Loan</option>
<option>Emergency Loan</option>
</select>
</div>
<div>
<label for="loan-purpose" class="block text-sm font-medium text-gray-700 mb-1">Loan Purpose</label>
<input type="text" id="loan-purpose" class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500">
</div>
<div>
<label for="loan-amount" class="block text-sm font-medium text-gray-700 mb-1">Loan Amount (TZS)</label>
<input type="number" id="loan-amount" class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500">
</div>
<div>
<label for="loan-term" class="block text-sm font-medium text-gray-700 mb-1">Loan Term (Months)</label>
<select id="loan-term" class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500">
<option>3</option>
<option>6</option>
<option>12</option>
<option>24</option>
<option>36</option>
<option>48</option>
<option>60</option>
</select>
</div>
<div>
<label for="repayment-frequency" class="block text-sm font-medium text-gray-700 mb-1">Repayment Frequency</label>
<select id="repayment-frequency" class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500">
<option>Daily</option>
<option>Weekly</option>
<option>Monthly</option>
</select>
</div>
<div>
<label for="employment-status" class="block text-sm font-medium text-gray-700 mb-1">Employment Status</label>
<select id="employment-status" class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500">
<option>Employed</option>
<option>Self-Employed</option>
<option>Unemployed</option>
<option>Student</option>
<option>Retired</option>
</select>
</div>
<div class="md:col-span-2">
<label class="block text-sm font-medium text-gray-700 mb-2">Do you have any existing loans?</label>
<div class="flex items-center space-x-6">
<div class="flex items-center">
<input id="existing-loans-yes" name="existing-loans" type="radio" class="h-4 w-4 text-blue-600 focus:ring-blue-500 border-gray-300">
<label for="existing-loans-yes" class="ml-2 block text-sm text-gray-700">Yes</label>
</div>
<div class="flex items-center">
<input id="existing-loans-no" name="existing-loans" type="radio" class="h-4 w-4 text-blue-600 focus:ring-blue-500 border-gray-300">
<label for="existing-loans-no" class="ml-2 block text-sm text-gray-700">No</label>
</div>
</div>
</div>
</div>
</div>
<div class="mb-8">
<div class="flex items-center">
<div class="flex-shrink-0 h-10 w-10 rounded-full bg-blue-600 text-white flex items-center justify-center">
<span>3</span>
</div>
<h3 class="ml-4 text-lg font-medium text-gray-900">Documents Upload</h3>
</div>
<div class="ml-14 mt-4 space-y-6">
<div>
<label class="block text-sm font-medium text-gray-700 mb-2">ID Document (NIDA/Passport)</label>
<div class="mt-1 flex justify-center px-6 pt-5 pb-6 border-2 border-gray-300 border-dashed rounded-md">
<div class="space-y-1 text-center">
<div class="flex text-sm text-gray-600">
<label for="id-document" class="relative cursor-pointer bg-white rounded-md font-medium text-blue-600 hover:text-blue-500 focus-within:outline-none">
<span>Upload a file</span>
<input id="id-document" name="id-document" type="file" class="sr-only">
</label>
<p class="pl-1">or drag and drop</p>
</div>
<p class="text-xs text-gray-500">
PNG, JPG, PDF up to 5MB
</p>
</div>
</div>
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-2">Proof of Income (Pay Slip/Bank Statement)</label>
<div class="mt-1 flex justify-center px-6 pt-5 pb-6 border-2 border-gray-300 border-dashed rounded-md">
<div class="space-y-1 text-center">
<div class="flex text-sm text-gray-600">
<label for="income-proof" class="relative cursor-pointer bg-white rounded-md font-medium text-blue-600 hover:text-blue-500 focus-within:outline-none">
<span>Upload a file</span>
<input id="income-proof" name="income-proof" type="file" class="sr-only">
</label>
<p class="pl-1">or drag and drop</p>
</div>
<p class="text-xs text-gray-500">
PNG, JPG, PDF up to 5MB
</p>
</div>
</div>
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-2">Additional Documents (Optional)</label>
<div class="mt-1 flex justify-center px-6 pt-5 pb-6 border-2 border-gray-300 border-dashed rounded-md">
<div class="space-y-1 text-center">
<div class="flex text-sm text-gray-600">
<label for="additional-docs" class="relative cursor-pointer bg-white rounded-md font-medium text-blue-600 hover:text-blue-500 focus-within:outline-none">
<span>Upload a file</span>
<input id="additional-docs" name="additional-docs" type="file" class="sr-only">
</label>
<p class="pl-1">or drag and drop</p>
</div>
<p class="text-xs text-gray-500">
PNG, JPG, PDF up to 5MB
</p>
</div>
</div>
</div>
</div>
</div>
<div class="mb-8">
<div class="flex items-center">
<div class="flex-shrink-0 h-10 w-10 rounded-full bg-blue-600 text-white flex items-center justify-center">
<span>4</span>
</div>
<h3 class="ml-4 text-lg font-medium text-gray-900">Account Creation</h3>
</div>
<div class="ml-14 mt-4 grid md:grid-cols-2 gap-6">
<div>
<label for="username" class="block text-sm font-medium text-gray-700 mb-1">Username</label>
<input type="text" id="username" class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500">
</div>
<div>
<label for="password" class="block text-sm font-medium text-gray-700 mb-1">Password</label>
<input type="password" id="password" class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500">
</div>
<div>
<label for="confirm-password" class="block text-sm font-medium text-gray-700 mb-1">Confirm Password</label>
<input type="password" id="confirm-password" class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500">
</div>
</div>
</div>
<div class="flex justify-end">
<button type="submit" class="bg-blue-600 hover:bg-blue-700 text-white py-2 px-6 rounded-md text-lg font-medium">
Submit Application
</button>
</div>
</div>
</div>
</section>
</div>
<!-- Admin Dashboard (hidden by default) -->
<div id="admin-dashboard" class="hidden">
<!-- Admin content would go here -->
</div>
<script>
// Function to show a specific section and hide others
function showSection(sectionId) {
// Hide all public sections first
document.querySelectorAll('.public-section').forEach(section => {
section.classList.add('hidden');
});
// Show the selected section
const sectionToShow = document.getElementById(`${sectionId}-section`);
if (sectionToShow) {
sectionToShow.classList.remove('hidden');
}
// Update active nav link
updateActiveNavLink(sectionId);
}
// Function to update active navigation link
function updateActiveNavLink(activeSection) {
// Reset all nav links
document.querySelectorAll('nav a').forEach(link => {
link.classList.remove('border-blue-500', 'text-gray-900');
link.classList.add('border-transparent', 'text-gray-500');
});
// Set active link
const activeLink = document.querySelector(`nav a[onclick="showSection('${activeSection}')"]`);
if (activeLink) {
activeLink.classList.remove('border-transparent', 'text-gray-500');
activeLink.classList.add('border-blue-500', 'text-gray-900');
}
}
// Function to toggle mobile menu
function toggleMobileMenu() {
const mobileMenu = document.getElementById('mobile-menu');
mobileMenu.classList.toggle('hidden');
}
// Function to show admin login
function showAdminLogin() {
document.getElementById('public-site').classList.add('hidden');
document.getElementById('admin-dashboard').classList.remove('hidden');
}
// Initialize the page with home section visible
document.addEventListener('DOMContentLoaded', function() {
showSection('home');
// Add event listeners for loan calculator
const loanAmount = document.getElementById('loan-amount');
const loanTerm = document.getElementById('loan-term');
if (loanAmount && loanTerm) {
loanAmount.addEventListener('input', updateLoanCalculator);
loanTerm.addEventListener('input', updateLoanCalculator);
}
});
// Function to update loan calculator values
function updateLoanCalculator() {
const amount = document.getElementById('loan-amount').value;
const term = document.getElementById('loan-term').value;
// Update displayed values
document.getElementById('loan-amount-value').textContent = new Intl.NumberFormat().format(amount);
document.getElementById('loan-term-value').textContent = term;
// Simple interest calculation (example)
const interestRate = 0.1; // 10% interest rate
const totalInterest = amount * interestRate;
const monthlyPayment = (Number(amount) + totalInterest) / term;
// Update results
document.getElementById('monthly-payment').textContent = 'TZS ' + new Intl.NumberFormat().format(monthlyPayment.toFixed(0));
document.getElementById('total-interest').textContent = 'TZS ' + new Intl.NumberFormat().format(totalInterest.toFixed(0));
}
</script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=danielmkinga92/bfs" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>BFS Financial Services - Loan Management</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
/* Custom CSS for elements Tailwind can't handle easily */
.loan-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.dashboard-card:hover {
transform: scale(1.02);
}
#map {
height: 400px;
width: 100%;
}
.sidebar {
transition: all 0.3s;
}
.application-status-pending {
background-color: #FEF3C7;
color: #92400E;
}
.application-status-approved {
background-color: #D1FAE5;
color: #065F46;
}
.application-status-rejected {
background-color: #FEE2E2;
color: #991B1B;
}
.application-status-completed {
background-color: #DBEAFE;
color: #1E40AF;
}
@media (max-width: 768px) {
.sidebar {
transform: translateX(-100%);
position: fixed;
z-index: 50;
height: 100vh;
}
.sidebar-open {
transform: translateX(0);
}
}
</style>
</head>
<body class="bg-gray-50">
<!-- Public Website -->
<div id="public-site">
<!-- Navigation -->
<nav class="bg-white shadow-lg">
<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">
<div class="flex-shrink-0 flex items-center">
<img class="h-8 w-auto" src="https://via.placeholder.com/150x50?text=BFS+Logo" alt="BFS Financial Services">
</div>
<div class="hidden sm:ml-6 sm:flex sm:space-x-8">
<a href="#" class="border-blue-500 text-gray-900 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium" onclick="showSection('home')">
Home
</a>
<a href="#" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium" onclick="showSection('about')">
About Us
</a>
<a href="#" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium" onclick="showSection('services')">
Services
</a>
<a href="#" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium" onclick="showSection('blog')">
Blog
</a>
<a href="#" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium" onclick="showSection('contact')">
Contact
</a>
</div>
</div>
<div class="hidden sm:ml-6 sm:flex sm:items-center">
<button class="bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded-md text-sm font-medium" onclick="showSection('apply')">
Request a Loan
</button>
</div>
<div class="-mr-2 flex items-center sm:hidden">
<button type="button" class="inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-blue-500" onclick="toggleMobileMenu()">
<span class="sr-only">Open main menu</span>
<i class="fas fa-bars"></i>