Files
landing-page/resources/views/landing/index.blade.php
2025-07-07 18:01:52 +05:45

1035 lines
34 KiB
PHP

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Transform Your Business - Bibhuti Solutions</title>
<link rel="icon" type="image/x-icon" href="{{ asset($setting->favicon) }}">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap"
rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.min.css"
integrity="sha512-vKMx8UnXk60zUwyUnUPM3HbQo8QfmNx7+ltw8Pm5zLusl1XIfwcxo8DbWCqMGKaWeNxWA8yrx5v3SaVpMvR3CA=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<style>
:root {
--primary-red: #ef4444;
--dark-red: #dc2626;
--light-red: #fef2f2;
--dark-bg: #0f172a;
--gray-50: #f8fafc;
--gray-100: #f1f5f9;
--gray-200: #e2e8f0;
--gray-300: #cbd5e1;
--gray-600: #475569;
--gray-700: #334155;
--gray-800: #1e293b;
--gray-900: #0f172a;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
line-height: 1.6;
color: var(--gray-700);
overflow-x: hidden;
}
/* Header */
.header {
background: white;
padding: 1rem 0;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
position: sticky;
top: 0;
z-index: 1000;
}
.logo {
font-size: 1.75rem;
font-weight: 800;
color: var(--primary-red);
text-decoration: none;
display: flex;
align-items: center;
gap: 0.5rem;
}
.logo:hover {
color: var(--dark-red);
}
.logo-icon {
width: 40px;
height: 40px;
background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
color: white;
font-size: 1.2rem;
}
/* Hero Section - Mobile First */
.hero-section {
background: linear-gradient(135deg, var(--dark-bg) 0%, var(--gray-800) 50%, var(--dark-bg) 100%);
position: relative;
overflow: hidden;
padding: 2rem 0;
}
.hero-section::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background:
radial-gradient(circle at 20% 80%, rgba(239, 68, 68, 0.1) 0%, transparent 50%),
radial-gradient(circle at 80% 20%, rgba(239, 68, 68, 0.1) 0%, transparent 50%);
}
.hero-content {
position: relative;
z-index: 2;
text-align: center;
}
.hero-title {
font-size: 2rem;
font-weight: 800;
color: white;
line-height: 1.2;
margin-bottom: 1rem;
background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.hero-subtitle {
font-size: 1rem;
color: var(--gray-300);
margin-bottom: 1.5rem;
font-weight: 400;
line-height: 1.6;
}
.feature-list {
display: flex;
flex-direction: column;
gap: 0.75rem;
margin-bottom: 2rem;
align-items: center;
}
.feature-item {
display: flex;
align-items: center;
color: var(--gray-200);
font-weight: 500;
font-size: 0.9rem;
}
.feature-icon {
width: 18px;
height: 18px;
background: var(--primary-red);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin-right: 0.75rem;
font-size: 0.7rem;
color: white;
flex-shrink: 0;
}
/* Mobile-First Form */
.form-container {
background: rgba(255, 255, 255, 0.98);
backdrop-filter: blur(20px);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 20px;
padding: 1.5rem;
box-shadow:
0 20px 40px rgba(0, 0, 0, 0.15),
0 0 0 1px rgba(255, 255, 255, 0.1);
position: relative;
overflow: hidden;
margin-bottom: 2rem;
}
.form-container::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 4px;
background: linear-gradient(90deg, var(--primary-red), var(--dark-red));
}
.form-title {
font-size: 1.5rem;
font-weight: 700;
color: var(--gray-900);
margin-bottom: 0.5rem;
text-align: center;
}
.form-subtitle {
color: var(--gray-600);
margin-bottom: 1.5rem;
font-size: 0.9rem;
text-align: center;
line-height: 1.5;
}
.form-group {
margin-bottom: 1.25rem;
}
.form-label {
display: block;
font-weight: 600;
color: var(--gray-700);
margin-bottom: 0.5rem;
font-size: 0.8rem;
text-transform: uppercase;
letter-spacing: 0.05em;
}
.form-control {
width: 100%;
padding: 1rem;
border: 2px solid var(--gray-200);
border-radius: 12px;
font-size: 1rem;
transition: all 0.3s ease;
background: white;
font-family: inherit;
-webkit-appearance: none;
appearance: none;
}
.form-control:focus {
outline: none;
border-color: var(--primary-red);
box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
transform: translateY(-1px);
}
.form-control::placeholder {
color: var(--gray-400);
}
select.form-control {
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
background-position: right 0.75rem center;
background-repeat: no-repeat;
background-size: 1.5em 1.5em;
padding-right: 2.5rem;
}
.btn-primary {
width: 100%;
background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
border: none;
padding: 1.25rem 2rem;
font-weight: 600;
font-size: 1.1rem;
border-radius: 12px;
color: white;
transition: all 0.3s ease;
text-transform: none;
letter-spacing: 0.025em;
position: relative;
overflow: hidden;
min-height: 56px;
display: flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
}
.btn-primary::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
transition: left 0.5s;
}
.btn-primary:hover::before {
left: 100%;
}
.btn-primary:active {
transform: translateY(1px);
}
.security-note {
display: flex;
align-items: center;
justify-content: center;
margin-top: 1rem;
color: var(--gray-500);
font-size: 0.8rem;
text-align: center;
}
/* Services Section - Mobile Optimized */
.services-section {
padding: 4rem 0;
background: var(--gray-50);
}
.section-header {
text-align: center;
margin-bottom: 3rem;
padding: 0 1rem;
}
.section-title {
font-size: 2rem;
font-weight: 800;
color: var(--gray-900);
margin-bottom: 1rem;
line-height: 1.2;
}
.section-subtitle {
font-size: 1rem;
color: var(--gray-600);
line-height: 1.6;
}
.services-grid {
display: grid;
grid-template-columns: 1fr;
gap: 1.5rem;
padding: 0 1rem;
}
.service-card {
background: white;
border-radius: 16px;
padding: 1.5rem;
transition: all 0.3s ease;
border: 1px solid var(--gray-200);
position: relative;
overflow: hidden;
text-align: center;
}
.service-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
opacity: 0;
transition: opacity 0.4s ease;
}
.service-card:active::before {
opacity: 0.05;
}
.service-card:active {
transform: scale(0.98);
}
.service-icon {
width: 60px;
height: 60px;
background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 1rem;
font-size: 1.5rem;
color: white;
position: relative;
z-index: 2;
}
.service-title {
font-size: 1.25rem;
font-weight: 700;
color: var(--gray-900);
margin-bottom: 0.75rem;
position: relative;
z-index: 2;
}
.service-description {
color: var(--gray-600);
line-height: 1.5;
font-size: 0.9rem;
position: relative;
z-index: 2;
}
/* CTA Section - Mobile Optimized */
.cta-section {
padding: 4rem 0;
background: linear-gradient(135deg, var(--dark-bg) 0%, var(--gray-800) 100%);
position: relative;
overflow: hidden;
}
.cta-section::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background:
radial-gradient(circle at 30% 70%, rgba(239, 68, 68, 0.1) 0%, transparent 50%),
radial-gradient(circle at 70% 30%, rgba(239, 68, 68, 0.1) 0%, transparent 50%);
}
.cta-content {
text-align: center;
position: relative;
z-index: 2;
padding: 0 1rem;
}
.cta-title {
font-size: 2rem;
font-weight: 800;
color: white;
margin-bottom: 1rem;
line-height: 1.2;
}
.cta-subtitle {
font-size: 1rem;
color: var(--gray-300);
margin-bottom: 2rem;
line-height: 1.6;
}
.cta-buttons {
display: flex;
flex-direction: column;
gap: 1rem;
align-items: center;
}
.btn-cta-primary,
.btn-cta-secondary {
width: 100%;
max-width: 300px;
padding: 1.25rem 2rem;
border-radius: 12px;
text-decoration: none;
font-weight: 600;
font-size: 1.1rem;
transition: all 0.3s ease;
display: flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
min-height: 56px;
}
.btn-cta-primary {
background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
color: white;
border: 2px solid transparent;
}
.btn-cta-secondary {
background: transparent;
color: white;
border: 2px solid rgba(255, 255, 255, 0.3);
}
.btn-cta-primary:active {
transform: scale(0.98);
color: white;
}
.btn-cta-secondary:active {
background: rgba(255, 255, 255, 0.1);
color: white;
transform: scale(0.98);
}
/* Footer */
.footer {
background: var(--gray-900);
color: white;
padding: 2rem 0;
text-align: center;
}
.footer-content {
padding: 0 1rem;
}
.footer-logo {
font-size: 1.5rem;
font-weight: 700;
color: var(--primary-red);
margin-bottom: 0.5rem;
}
.footer-tagline {
color: var(--gray-400);
font-size: 0.9rem;
margin-bottom: 1rem;
}
.footer-links {
display: flex;
justify-content: center;
gap: 1.5rem;
margin-bottom: 1rem;
flex-wrap: wrap;
}
.footer-link {
color: var(--gray-300);
text-decoration: none;
font-size: 0.9rem;
transition: color 0.3s ease;
}
.footer-link:hover {
color: var(--primary-red);
}
.footer-copyright {
color: var(--gray-500);
font-size: 0.8rem;
border-top: 1px solid var(--gray-800);
padding-top: 1rem;
margin-top: 1rem;
}
/* Desktop Styles */
@media (min-width: 768px) {
.hero-section {
padding: 4rem 0;
}
.hero-title {
font-size: 3rem;
}
.hero-subtitle {
font-size: 1.25rem;
}
.feature-list {
flex-direction: row;
justify-content: center;
gap: 2rem;
}
.form-container {
padding: 2.5rem;
margin-bottom: 0;
}
.form-title {
font-size: 1.75rem;
text-align: left;
}
.form-subtitle {
text-align: left;
font-size: 1rem;
}
.services-grid {
grid-template-columns: repeat(2, 1fr);
gap: 2rem;
padding: 0;
}
.service-card {
padding: 2rem;
text-align: left;
}
.service-card:hover::before {
opacity: 0.05;
}
.service-card:hover {
transform: translateY(-8px);
box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}
.service-icon {
margin: 0 0 1.5rem 0;
}
.services-section {
padding: 6rem 0;
}
.section-title {
font-size: 2.5rem;
}
.section-subtitle {
font-size: 1.25rem;
}
.cta-section {
padding: 6rem 0;
}
.cta-title {
font-size: 3rem;
}
.cta-subtitle {
font-size: 1.25rem;
}
.cta-buttons {
flex-direction: row;
justify-content: center;
}
.btn-cta-primary,
.btn-cta-secondary {
width: auto;
min-width: 200px;
}
.footer-content {
display: flex;
justify-content: space-between;
align-items: center;
text-align: left;
}
.footer-left {
flex: 1;
}
.footer-right {
flex: 1;
text-align: right;
}
}
@media (min-width: 1024px) {
.services-grid {
grid-template-columns: repeat(3, 1fr);
}
.hero-title {
font-size: 4rem;
}
.cta-title {
font-size: 3.5rem;
}
}
/* Touch improvements */
@media (hover: none) and (pointer: coarse) {
.btn-primary:hover::before {
left: 0;
}
.service-card:hover {
transform: none;
box-shadow: none;
}
.service-card:hover::before {
opacity: 0;
}
}
/* Animations */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.animate-fade-in-up {
animation: fadeInUp 0.8s ease forwards;
}
</style>
</head>
<body>
<!-- Hero Section -->
<section class="hero-section">
<div class="container">
<div class="row align-items-center">
<div class="col-lg-6 order-2 order-lg-2">
<div class="form-container animate-fade-in-up">
<h3 class="form-title">Get Your Free IT Consultation</h3>
<p class="form-subtitle">Fill out the form below and our experts will contact you within 24
hours</p>
<form id="enquiry-form" action="{{ route('form.submit-enquiry') }}" method="POST">
@csrf
<div class="form-group">
<label for="name" class="form-label">Full Name <span
class="text-danger">*</span></label>
<input type="text" class="form-control" id="name" name="name"
placeholder="Enter your full name" required>
</div>
<div class="form-group">
<label for="email" class="form-label">Email Address <span
class="text-danger">*</span></label>
<input type="email" class="form-control" id="email" name="email"
placeholder="Enter your email" required>
</div>
<div class="form-group">
<label for="phone" class="form-label">Phone Number <span
class="text-danger">*</span></label>
<input type="tel" class="form-control" id="phone" name="phone"
placeholder="Enter your phone number" required>
</div>
<div class="form-group">
<label for="service" class="form-label">Service Needed <span
class="text-danger">*</span></label>
<select class="form-control" id="service" name="service_id" required>
<option value="">Select a Service</option>
@foreach (\App\Models\Services::where('status', 1)->pluck('title', 'service_id') as $key => $value)
<option value="{{ $key }}">{{ $value }}</option>
@endforeach
</select>
</div>
<div class="form-group">
<label for="message" class="form-label">Message</label>
<textarea class="form-control" id="message" name="message" rows="3" placeholder="Type your message here"></textarea>
</div>
@if ($setting->recaptcha_site_key)
<div class="form-group">
<div id="g-recaptcha-response" class="g-recaptcha mb-2"
data-sitekey="{{ $setting->recaptcha_site_key }}"></div>
</div>
@endif
<button type="submit" class="btn-primary" id="submit">
<i class="fas fa-rocket"></i>
<span>Get Free Consultation</span>
</button>
<div id="message-notification" class="text-success mt-3"></div>
<div class="security-note">
<i class="fas fa-shield-alt me-2"></i>
<span>Your information is 100% secure and confidential</span>
</div>
</form>
</div>
</div>
<!-- Hero Content - Shows second on mobile -->
<div class="d-none d-lg-block col-lg-6 order-1 order-lg-1">
<div class="hero-content">
<img class="img-fluid mb-5" src="{{ asset($setting->primary_logo) }}" />
<h1 class="hero-title animate-fade-in-up">
Transform Your Business with Expert IT Solutions
</h1>
<p class="hero-subtitle animate-fade-in-up" style="animation-delay: 0.2s;">
Get professional web development, digital marketing, and IT support that drives real
results. Join 500+ successful businesses who trust Bibhuti Solutions.
</p>
<div class="feature-list animate-fade-in-up" style="animation-delay: 0.4s;">
<div class="feature-item">
<div class="feature-icon">
<i class="fas fa-check"></i>
</div>
<span>Free Consultation</span>
</div>
<div class="feature-item">
<div class="feature-icon">
<i class="fas fa-check"></i>
</div>
<span>24/7 Support</span>
</div>
<div class="feature-item">
<div class="feature-icon">
<i class="fas fa-check"></i>
</div>
<span>Proven Results</span>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Services Section -->
<section class="services-section">
<div class="container">
<div class="section-header">
<h2 class="section-title">Our Expert Services</h2>
<p class="section-subtitle">Comprehensive IT solutions tailored to accelerate your business growth and
digital transformation</p>
</div>
<div class="services-grid">
<div class="service-card">
<div class="service-icon">
<i class="fas fa-code"></i>
</div>
<h4 class="service-title">Website Development</h4>
<p class="service-description">Custom websites that convert visitors into customers. Responsive,
fast, and SEO-optimized solutions built with modern technologies.</p>
</div>
<div class="service-card">
<div class="service-icon">
<i class="fas fa-bullhorn"></i>
</div>
<h4 class="service-title">Digital Marketing</h4>
<p class="service-description">Facebook & Google Ads that drive qualified leads and maximize your
ROI. Data-driven campaigns that deliver measurable results.</p>
</div>
<div class="service-card">
<div class="service-icon">
<i class="fas fa-tools"></i>
</div>
<h4 class="service-title">IT Solutions</h4>
<p class="service-description">Complete IT support and solutions to keep your business running
smoothly. From infrastructure to security, we've got you covered.</p>
</div>
<div class="service-card">
<div class="service-icon">
<i class="fas fa-sync-alt"></i>
</div>
<h4 class="service-title">Website Updates</h4>
<p class="service-description">Keep your website fresh and secure with regular updates and
maintenance. Ongoing support to ensure peak performance.</p>
</div>
<div class="service-card">
<div class="service-icon">
<i class="fas fa-headset"></i>
</div>
<h4 class="service-title">24/7 Support</h4>
<p class="service-description">Round-the-clock online support to ensure your business never stops.
Expert assistance whenever you need it most.</p>
</div>
<div class="service-card">
<div class="service-icon">
<i class="fas fa-chart-line"></i>
</div>
<h4 class="service-title">Business Growth</h4>
<p class="service-description">Strategic consulting to scale your business with technology.
Transform your operations and accelerate growth.</p>
</div>
</div>
</div>
</section>
<!-- CTA Section -->
<section class="cta-section">
<div class="container">
<div class="cta-content">
<h2 class="cta-title">Ready to Transform Your Business?</h2>
<p class="cta-subtitle">Join hundreds of successful businesses who trust Bibhuti Solutions for their
digital transformation journey.</p>
<div class="cta-buttons">
<a href="{{ $setting->fb }}" class="btn-cta-primary">
<i class="fas fa-rocket"></i>
<span>Get Started Today</span>
</a>
<a href="tel:{{ $setting->phone }}" class="btn-cta-secondary">
<i class="fas fa-phone"></i>
<span>Call Now</span>
</a>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer class="footer">
<div class="container">
<div class="footer-content">
<div class="footer-left">
<div class="footer-logo">{{ $setting->title }}</div>
<div class="footer-tagline">Your Trusted IT Partner</div>
</div>
<div class="footer-right d-none d-md-block">
<div class="footer-links">
<a href="https://www.bibhutisolutions.com" class="footer-link">{{ $setting->url }}</a>
<a href="tel:{{ $setting->phone }}" class="footer-link">Call Us</a>
<a href="mailto:{{ $setting->email }}" class="footer-link">Email Us</a>
</div>
</div>
</div>
<div class="footer-copyright">
© {{ date('Y') }} Bibhuti Solutions. All rights reserved.
</div>
</div>
</footer>
<script src="https://code.jquery.com/jquery-3.7.1.min.js"
integrity="sha256-/JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo=" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
<script>
// Smooth scrolling for anchor links
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function(e) {
e.preventDefault();
const target = document.querySelector(this.getAttribute('href'));
if (target) {
const headerHeight = document.querySelector('.header').offsetHeight;
const targetPosition = target.offsetTop - headerHeight - 20;
window.scrollTo({
top: targetPosition,
behavior: 'smooth'
});
}
});
});
const observerOptions = {
threshold: 0.1,
rootMargin: '0px 0px -50px 0px'
};
const observer = new IntersectionObserver(function(entries) {
entries.forEach(entry => {
if (entry.isIntersecting) {
entry.target.classList.add('animate-fade-in-up');
}
});
}, observerOptions);
// Observe service cards
document.querySelectorAll('.service-card').forEach(card => {
observer.observe(card);
});
const formInputs = document.querySelectorAll('.form-control');
formInputs.forEach(input => {
input.addEventListener('focus', function() {
if (window.innerWidth < 768) {
document.querySelector('meta[name=viewport]').setAttribute('content',
'width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0');
}
});
input.addEventListener('blur', function() {
if (window.innerWidth < 768) {
document.querySelector('meta[name=viewport]').setAttribute('content',
'width=device-width, initial-scale=1.0');
}
});
});
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.min.js"
integrity="sha512-VEd+nq25CkR676O+pLBnDW09R7VQX9Mdiij052gVCp5yVH3jGtH70Ho/UUv4mJDsEdTvqRCFZg0NKGiojGnUCw=="
crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
<script>
$(document).on("submit", "#enquiry-form", function(event) {
event.preventDefault();
const action = $(this).attr("action");
const url = new URL(window.location.href);
const isRecaptchaEnabled = !!"{{ $setting->recaptcha_site_key }}";
let formData = $(this).serializeArray();
if (isRecaptchaEnabled) {
formData.push({
name: 'g-recaptcha-response',
value: grecaptcha.getResponse()
});
}
$("#submit")
.html(`Submitting...`)
.attr("disabled", true);
$.ajax({
url: action,
type: "POST",
dataType: "json",
data: formData,
headers: {
"X-CSRF-TOKEN": $('meta[name="csrf-token"]').attr("content"),
},
success: function(response) {
if (response.status == 200) {
toastr.success(response.message);
document.getElementById("message-notification").innerHTML = response.message;
$("#enquiry-form")[0].reset();
}
},
error: function(xhr) {
if (xhr.status === 422 || xhr.status === 500) {
let errors = xhr.responseJSON.errors;
for (let key in errors) {
const errorMessage = errors[key][0];
toastr.error(errorMessage);
}
} else {
console.log(xhr.responseText);
}
},
complete: function() {
grecaptcha.reset();
$("#submit").html(`<i class="fas fa-rocket"></i><span>Get Free Consultation</span>`)
.attr("disabled", false);
}
});
});
</script>
</body>
</html>