-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
1369 lines (1233 loc) · 63.7 KB
/
index.html
File metadata and controls
1369 lines (1233 loc) · 63.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-94B858KTK2"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-94B858KTK2');
</script>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Maa Bhagwati Boys Hostel offers affordable double sharing rooms, delicious meals, Wi-Fi, and RO water. Book your stay now!">
<meta name="keywords" content="Maa Bhagwati Boys Hostel, affordable hostel, double sharing rooms, Wi-Fi hostel, RO water, budget stay">
<meta name="author" content="Maa Bhagwati Boys Hostel">
<title>Maa Bhagwati Boys Hostel - Your Home Away From Home</title>
<script src="https://cdn.jsdelivr.net/npm/react@17.0.2/umd/react.production.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/react-dom@17.0.2/umd/react-dom.production.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@babel/standalone@7.20.15/babel.min.js"></script>
<link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.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">
<style>
html{
scroll-behavior: smooth;
}
body {
font-family: 'Inter', sans-serif;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: #1f2937;
overflow-x: hidden;
}
/* Enhanced Hero Section */
.hero {
background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('https://images.unsplash.com/photo-1555854877-bab0e564b8d5?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
color: white;
position: relative;
}
.hero::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(45deg, rgba(102, 126, 234, 0.3), rgba(118, 75, 162, 0.3));
animation: gradient-shift 8s ease-in-out infinite;
}
@keyframes gradient-shift {
0%, 100% { background: linear-gradient(45deg, rgba(102, 126, 234, 0.3), rgba(118, 75, 162, 0.3)); }
50% { background: linear-gradient(45deg, rgba(118, 75, 162, 0.3), rgba(102, 126, 234, 0.3)); }
}
.hero-content {
position: relative;
z-index: 2;
}
.floating-particles {
position: absolute;
width: 100%;
height: 100%;
overflow: hidden;
}
.particle {
position: absolute;
background: rgba(255, 255, 255, 0.1);
border-radius: 50%;
animation: float 6s ease-in-out infinite;
}
@keyframes float {
0%, 100% { transform: translateY(0px) rotate(0deg); }
50% { transform: translateY(-20px) rotate(180deg); }
}
/* Enhanced Animations */
.gallery-img {
transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
border-radius: 15px;
overflow: hidden;
}
.gallery-img:hover {
transform: scale(1.08) rotate(2deg);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.fade-in {
opacity: 0;
transform: translateY(30px);
transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.fade-in.visible {
opacity: 1;
transform: translateY(0);
}
/* Interactive Navigation */
.nav-link {
position: relative;
overflow: hidden;
}
.nav-link::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;
}
.nav-link:hover::before {
left: 100%;
}
.nav-link::after {
content: '';
position: absolute;
width: 0;
height: 3px;
bottom: -3px;
left: 0;
background: linear-gradient(90deg, #fbbf24, #f59e0b);
transition: width 0.3s ease;
border-radius: 2px;
}
.nav-link:hover::after {
width: 100%;
}
/* Enhanced Cards */
.feature-card {
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.2);
transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.feature-card:hover {
transform: translateY(-10px) scale(1.02);
box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
background: rgba(255, 255, 255, 1);
}
/* Animated Counter */
.counter {
font-size: 3rem;
font-weight: 800;
color: #667eea;
}
/* Enhanced Tables */
.rates-table {
background: white;
border-radius: 15px;
overflow: hidden;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
.rates-table th, .rates-table td {
border: none;
padding: 16px;
text-align: center;
}
.rates-table th {
background: linear-gradient(135deg, #667eea, #764ba2);
color: white;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 1px;
}
.rates-table tbody tr {
transition: all 0.3s ease;
}
.rates-table tbody tr:hover {
background: linear-gradient(90deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
transform: scale(1.02);
}
.rates-table tr:nth-child(even) {
background-color: rgba(102, 126, 234, 0.05);
}
/* Testimonials Carousel */
.testimonial-card {
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(10px);
border-radius: 20px;
padding: 2rem;
margin: 1rem;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease;
}
.testimonial-card:hover {
transform: translateY(-5px);
}
/* Rules Section Enhancement */
#rules {
background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(248,250,252,0.95));
backdrop-filter: blur(10px);
padding: 3rem;
border-radius: 20px;
margin: 2rem 0;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
#rules h2 {
text-align: center;
font-size: 2.5rem;
margin-bottom: 2rem;
color: #333;
background: linear-gradient(135deg, #667eea, #764ba2);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
#rules li {
margin-bottom: 1rem;
line-height: 1.6;
padding: 1rem;
background: rgba(255, 255, 255, 0.7);
border-radius: 10px;
border-left: 4px solid #667eea;
transition: all 0.3s ease;
}
#rules li:hover {
transform: translateX(10px);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
/* Enhanced Buttons */
.cta-button {
background: linear-gradient(135deg, #fbbf24, #f59e0b);
border: none;
border-radius: 50px;
padding: 15px 30px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 1px;
box-shadow: 0 10px 20px rgba(251, 191, 36, 0.3);
transition: all 0.3s ease;
position: relative;
overflow: hidden;
}
.cta-button::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
transition: left 0.5s;
}
.cta-button:hover::before {
left: 100%;
}
.cta-button:hover {
transform: translateY(-2px);
box-shadow: 0 15px 30px rgba(251, 191, 36, 0.4);
}
/* Loading Animation */
.loading-spinner {
display: inline-block;
width: 20px;
height: 20px;
border: 3px solid rgba(255,255,255,.3);
border-radius: 50%;
border-top-color: #fff;
animation: spin 1s ease-in-out infinite;
}
@keyframes spin {
to { transform: rotate(360deg); }
}
/* Responsive Enhancements */
@media (max-width: 768px) {
.hero h1 { font-size: 2.5rem; }
.feature-card { margin-bottom: 1rem; }
#rules { padding: 1.5rem; margin: 1rem; }
}
/* Scroll Progress Bar */
.scroll-progress {
position: fixed;
top: 0;
left: 0;
width: 0%;
height: 4px;
background: linear-gradient(90deg, #fbbf24, #f59e0b);
z-index: 9999;
transition: width 0.1s ease;
}
</style>
</head>
<body>
<!-- Scroll Progress Bar -->
<div class="scroll-progress" id="scroll-progress"></div>
<div id="root"></div>
<!-- comments.app Telegram Widget Script -->
<script async src="https://comments.app/js/widget.js?3" data-comments-app-website="80WSFqv4" data-limit="100" data-color="39C4E8" data-dislikes="1" data-colorful="1" data-dark="1"></script>
<script type="text/babel">
const { useState, useEffect, useRef } = React;
// Enhanced Navbar Component
const Navbar = () => {
const [isOpen, setIsOpen] = useState(false);
const [scrolled, setScrolled] = useState(false);
useEffect(() => {
const handleScroll = () => {
setScrolled(window.scrollY > 50);
// Update scroll progress
const scrollProgress = document.getElementById('scroll-progress');
const scrollPercent = (window.scrollY / (document.body.scrollHeight - window.innerHeight)) * 100;
scrollProgress.style.width = scrollPercent + '%';
};
window.addEventListener('scroll', handleScroll);
return () => window.removeEventListener('scroll', handleScroll);
}, []);
return (
<nav className={`fixed w-full z-50 transition-all duration-300 ${scrolled ? 'bg-gray-900 shadow-2xl' : 'bg-transparent'}`}>
<div className="container mx-auto px-4 py-4 flex justify-between items-center">
<div className="text-2xl font-bold tracking-wide text-white">
<a href="#home" className="flex items-center space-x-2">
<i className="fas fa-home text-yellow-400"></i>
<span>Maa Bhagwati Boys Hostel</span>
</a>
</div>
<div className="md:hidden">
<button onClick={() => setIsOpen(!isOpen)} className="text-white focus:outline-none">
<i className={`fas transition-transform duration-300 ${isOpen ? 'fa-times rotate-180' : 'fa-bars'}`}></i>
</button>
</div>
<ul className={`md:flex space-x-8 ${isOpen ? 'block' : 'hidden'} md:block absolute md:static bg-gray-900 md:bg-transparent w-full md:w-auto left-0 md:left-auto top-16 md:top-auto p-4 md:p-0 rounded-b-lg md:rounded-none`}>
{['Home', 'About', 'Rooms', 'Meals', 'Gallery', 'Rules', 'Testimonials', 'Contact'].map((item) => (
<li key={item} className="md:py-0 py-2">
<a
href={`#${item.toLowerCase()}`}
className="nav-link block text-lg text-white hover:text-yellow-400 transition-all duration-300 px-3 py-2 rounded-md"
onClick={() => setIsOpen(false)}
>
{item}
</a>
</li>
))}
</ul>
</div>
</nav>
);
};
// Enhanced Hero Component with Particles
const Hero = () => {
const [particles, setParticles] = useState([]);
useEffect(() => {
const generateParticles = () => {
const newParticles = [];
for (let i = 0; i < 50; i++) {
newParticles.push({
id: i,
left: Math.random() * 100 + '%',
size: Math.random() * 10 + 5 + 'px',
animationDelay: Math.random() * 6 + 's',
animationDuration: (Math.random() * 3 + 3) + 's'
});
}
setParticles(newParticles);
};
generateParticles();
}, []);
return (
<section id="home" className="hero">
<div className="floating-particles">
{particles.map(particle => (
<div
key={particle.id}
className="particle"
style={{
left: particle.left,
width: particle.size,
height: particle.size,
animationDelay: particle.animationDelay,
animationDuration: particle.animationDuration
}}
/>
))}
</div>
<div className="hero-content bg-black bg-opacity-30 p-12 rounded-3xl backdrop-blur-sm fade-in border border-white border-opacity-20">
<h1 className="text-6xl font-extrabold mb-6 bg-gradient-to-r from-yellow-400 to-yellow-600 bg-clip-text text-transparent">
Maa Bhagwati Boys Hostel
</h1>
<p className="text-2xl mb-8 text-gray-200 max-w-2xl mx-auto leading-relaxed">
Your premium home away from home with modern amenities, delicious meals, and a vibrant community!
</p>
<div className="flex flex-col sm:flex-row gap-4 justify-center items-center">
<a href="https://forms.zohopublic.in/maabhagwatihostel1/form/RoomBooking/formperma/RoY4YUE1UiP5C-M6uYP8vOCm6jP8WnUnGUlYiUZn0Y4"
className="cta-button text-gray-900 px-10 py-4 font-semibold text-lg inline-flex items-center">
<i className="fas fa-calendar-check mr-2"></i>
Book Your Stay Now
</a>
<a href="#about"
className="bg-transparent border-2 border-white text-white px-8 py-4 rounded-full hover:bg-white hover:text-gray-900 transition duration-300 font-semibold inline-flex items-center">
<i className="fas fa-arrow-down mr-2"></i>
Learn More
</a>
</div>
</div>
</section>
);
};
// Enhanced About Component with Stats
const About = () => {
const [stats, setStats] = useState([
{ number: 0, target: 500, label: "Happy Students", icon: "fas fa-users" },
{ number: 0, target: 8, label: "Years of Service", icon: "fas fa-calendar" },
{ number: 0, target: 30, label: "Rooms Available", icon: "fas fa-bed" },
{ number: 0, target: 24, label: "24/7 Support", icon: "fas fa-headset" }
]);
const statsRef = useRef(null);
const [hasAnimated, setHasAnimated] = useState(false);
useEffect(() => {
const observer = new IntersectionObserver(
([entry]) => {
if (entry.isIntersecting && !hasAnimated) {
animateStats();
setHasAnimated(true);
}
},
{ threshold: 0.5 }
);
if (statsRef.current) {
observer.observe(statsRef.current);
}
return () => observer.disconnect();
}, [hasAnimated]);
const animateStats = () => {
stats.forEach((stat, index) => {
let current = 0;
const increment = stat.target / 50;
const timer = setInterval(() => {
current += increment;
if (current >= stat.target) {
current = stat.target;
clearInterval(timer);
}
setStats(prevStats => {
const newStats = [...prevStats];
newStats[index].number = Math.floor(current);
return newStats;
});
}, 50);
});
};
return (
<section id="about" className="py-20 bg-gradient-to-br from-white to-blue-50">
<div className="container mx-auto px-4">
<div className="text-center mb-16">
<h2 className="text-5xl font-bold mb-6 fade-in bg-gradient-to-r from-blue-600 to-purple-600 bg-clip-text text-transparent">
About Maa Bhagwati Boys Hostel
</h2>
<div className="w-24 h-1 bg-gradient-to-r from-yellow-400 to-yellow-600 mx-auto mb-8"></div>
</div>
<div className="grid grid-cols-1 lg:grid-cols-2 gap-12 items-center mb-16">
<div className="fade-in">
<h3 className="text-3xl font-semibold mb-6 text-gray-800">Your Trusted Home Away From Home</h3>
<p className="text-lg mb-4 text-gray-600 leading-relaxed">
Established by <span className="font-semibold text-blue-600">Ajay Singh</span>, Maa Bhagwati Boys Hostel has been the premier choice for students, professionals, and travelers seeking comfortable, affordable accommodation in Lucknow.
</p>
<p className="text-lg mb-6 text-gray-600 leading-relaxed">
Our mission is to provide more than just a place to stay – we create a vibrant community where lasting friendships are formed, dreams are pursued, and success is achieved together.
</p>
<div className="grid grid-cols-2 gap-4">
<div className="feature-card p-4 rounded-xl">
<i className="fas fa-wifi text-blue-500 text-2xl mb-2"></i>
<p className="font-semibold">High-Speed Internet</p>
</div>
<div className="feature-card p-4 rounded-xl">
<i className="fas fa-utensils text-green-500 text-2xl mb-2"></i>
<p className="font-semibold">Delicious Meals</p>
</div>
<div className="feature-card p-4 rounded-xl">
<i className="fas fa-shield-alt text-red-500 text-2xl mb-2"></i>
<p className="font-semibold">24/7 Security</p>
</div>
<div className="feature-card p-4 rounded-xl">
<i className="fas fa-broom text-purple-500 text-2xl mb-2"></i>
<p className="font-semibold">Regular Cleaning</p>
</div>
</div>
</div>
<div className="fade-in">
<img src="/images/Main-Door.png"
alt="Hostel Building"
className="rounded-2xl shadow-2xl w-full h-96 object-cover" />
</div>
</div>
{/* Stats Section */}
<div ref={statsRef} className="grid grid-cols-2 md:grid-cols-4 gap-8 fade-in">
{stats.map((stat, index) => (
<div key={index} className="text-center feature-card p-6 rounded-xl">
<i className={`${stat.icon} text-4xl text-blue-500 mb-4`}></i>
<div className="counter mb-2">{stat.number}+</div>
<p className="text-gray-600 font-medium">{stat.label}</p>
</div>
))}
</div>
</div>
</section>
);
};
// Enhanced Parametric Table
const ParametricTable = () => (
<div className="overflow-x-auto fade-in mb-8">
<table className="rates-table w-full max-w-6xl mx-auto text-sm md:text-base">
<thead>
<tr>
<th><i className="fas fa-box mr-2"></i>Package</th>
<th><i className="fas fa-rupee-sign mr-2"></i>Total Cost (Monthly)</th>
<th><i className="fas fa-home mr-2"></i>Room Rent</th>
<th><i className="fas fa-bolt mr-2"></i>Electricity</th>
<th><i className="fas fa-utensils mr-2"></i>Mess Fee</th>
<th><i className="fas fa-bath mr-2"></i>Bathroom</th>
<th><i className="fas fa-bed mr-2"></i>Room Type</th>
</tr>
</thead>
<tbody>
<tr>
<td className="font-semibold text-blue-600">Basic Package</td>
<td className="font-bold text-green-600">₹5,000</td>
<td>₹1,600</td>
<td>₹100</td>
<td>₹3,300</td>
<td>Public Toilet/Bathroom</td>
<td>Double Sharing</td>
</tr>
<tr>
<td className="font-semibold text-blue-600">Premium Package</td>
<td className="font-bold text-green-600">₹5,500</td>
<td>₹2,100</td>
<td>₹100</td>
<td>₹3,300</td>
<td>Private Attached</td>
<td>Double Sharing</td>
</tr>
</tbody>
</table>
</div>
);
// Enhanced Rooms Component
const Rooms = () => (
<section id="rooms" className="py-20 bg-gradient-to-br from-gray-50 to-white">
<div className="container mx-auto px-4">
<div className="text-center mb-16">
<h2 className="text-5xl font-bold mb-6 fade-in bg-gradient-to-r from-blue-600 to-purple-600 bg-clip-text text-transparent">
Rooms & Amenities
</h2>
<div className="w-24 h-1 bg-gradient-to-r from-yellow-400 to-yellow-600 mx-auto mb-8"></div>
</div>
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8 mb-16">
{[
{
title: "Basic Package Room",
desc: "Comfortable shared accommodation with modern furnishing, study table, and personal storage space.",
price: "Starting from ₹5,000",
img: "/images/Room3.png",
features: ["Study Table", "Personal Storage", "High-Speed WiFi", "24/7 Electricity"]
},
{
title: "Premium Package Room",
desc: "Private room with complete privacy, perfect for focused study and personal space.(Attached Bathroom)",
price: "Starting from ₹5,500",
img: "/images/Room1.jpg",
features: ["Complete Privacy", "Attached Bathroom", "Priority Service"]
},
{
title: "Premium Amenities",
desc: "World-class facilities designed to make your stay comfortable and productive.",
price: "Included in All Packages",
img: "/images/Outside.png",
features: ["RO Water", "CCTV Security", "Common Areas", "Parking Space"]
}
].map((item, index) => (
<div key={index} className="feature-card p-6 rounded-2xl fade-in group">
<div className="relative overflow-hidden rounded-xl mb-6">
<img src={item.img} alt={item.title} className="w-full h-48 object-cover group-hover:scale-110 transition-transform duration-500" />
<div className="absolute top-4 right-4 bg-gradient-to-r from-yellow-400 to-yellow-600 text-gray-900 px-3 py-1 rounded-full text-sm font-semibold">
Popular
</div>
</div>
<h3 className="text-2xl font-bold mb-3 text-gray-800">{item.title}</h3>
<p className="text-gray-600 mb-4 leading-relaxed">{item.desc}</p>
<div className="mb-4">
{item.features.map((feature, idx) => (
<span key={idx} className="inline-block bg-blue-100 text-blue-600 px-3 py-1 rounded-full text-xs mr-2 mb-2">
{feature}
</span>
))}
</div>
<p className="font-bold text-xl text-green-600 mb-4">{item.price}</p>
<a href="https://forms.zohopublic.in/maabhagwatihostel1/form/RoomBooking/formperma/RoY4YUE1UiP5C-M6uYP8vOCm6jP8WnUnGUlYiUZn0Y4"
className="w-full bg-gradient-to-r from-blue-500 to-blue-600 text-white py-3 px-6 rounded-xl hover:from-blue-600 hover:to-blue-700 transition-all duration-300 inline-block text-center font-semibold">
Book Now
</a>
</div>
))}
</div>
<h3 className="text-3xl font-semibold text-center mb-8 fade-in text-gray-800">Pricing Plans</h3>
<ParametricTable />
<div className="text-center fade-in bg-gradient-to-r from-blue-50 to-purple-50 p-8 rounded-2xl">
<h4 className="text-2xl font-semibold mb-4 text-gray-800">Additional Information</h4>
<div className="grid grid-cols-1 md:grid-cols-2 gap-6">
<div className="bg-white p-6 rounded-xl shadow-lg">
<i className="fas fa-wifi text-3xl text-blue-500 mb-3"></i>
<h5 className="font-semibold text-lg mb-2">WiFi Access Fee</h5>
<p className="text-2xl font-bold text-blue-600">₹200 <span className="text-sm font-normal text-gray-500">(One-time)</span></p>
</div>
<div className="bg-white p-6 rounded-xl shadow-lg">
<i className="fas fa-shield-alt text-3xl text-green-500 mb-3"></i>
<h5 className="font-semibold text-lg mb-2">Security Deposit</h5>
<p className="text-2xl font-bold text-green-600">₹3,000 <span className="text-sm font-normal text-gray-500">(Refundable after 6 months)</span></p>
</div>
</div>
</div>
</div>
</section>
);
// Enhanced Meal Planner Component
const MealPlanner = () => (
<section id="meals" className="py-20 bg-gradient-to-br from-green-50 to-blue-50">
<div className="container mx-auto px-4">
<div className="text-center mb-16">
<h2 className="text-5xl font-bold mb-6 fade-in bg-gradient-to-r from-green-600 to-blue-600 bg-clip-text text-transparent">
Weekly Meal Planner
</h2>
<p className="text-xl text-gray-600 fade-in max-w-3xl mx-auto leading-relaxed">
Enjoy our carefully crafted weekly menu featuring delicious, nutritious, and home-style meals prepared with love and hygiene.
</p>
<div className="w-24 h-1 bg-gradient-to-r from-yellow-400 to-yellow-600 mx-auto mt-6"></div>
</div>
<div className="overflow-x-auto rounded-2xl shadow-2xl fade-in">
<table className="min-w-full bg-white">
<thead>
<tr className="bg-gradient-to-r from-green-600 to-blue-600 text-white">
<th className="p-6 text-left font-bold"><i className="fas fa-calendar-day mr-2"></i>दिन</th>
<th className="p-6 text-left font-bold"><i className="fas fa-sun mr-2"></i>नाश्ता (8:00 AM)</th>
<th className="p-6 text-left font-bold"><i className="fas fa-clock mr-2"></i>दोपहर का खाना (12:00 PM)</th>
<th className="p-6 text-left font-bold"><i className="fas fa-moon mr-2"></i>रात का खाना (8:00 PM)</th>
</tr>
</thead>
<tbody>
{[
{ day: "सोमवार", breakfast: "पोहा + चाय", lunch: "दाल, सब्जी, रोटी, चावल", dinner: "दाल, सब्जी, रोटी, चावल" },
{ day: "मंगलवार", breakfast: "चना, हलवा + चाय", lunch: "सीजनल सब्जी, दाल, रोटी, चावल", dinner: "सीजनल सब्जी, दाल, रोटी, चावल" },
{ day: "बुधवार", breakfast: "आलू पराठा", lunch: "छोला चावल", dinner: "सीजनल सब्जी, दाल, रोटी, चावल" },
{ day: "गुरुवार", breakfast: "मैकरोनी/पास्ता", lunch: "सीजनल सब्जी, दाल, रोटी, चावल", dinner: "कढ़ी चावल, रोटी" },
{ day: "शुक्रवार", breakfast: "सब्जी पूरी + अचार", lunch: "राजमा चावल", dinner: "सीजनल सब्जी, दाल, रोटी, चावल" },
{ day: "शनिवार", breakfast: "पकोड़ी/कचौड़ी", lunch: "सीजनल सब्जी, दाल, रोटी, चावल", dinner: "सीजनल सब्जी, दाल, रोटी, चावल" },
{ day: "रविवार", breakfast: "समोसा + चाय", lunch: "वेज़ बिरयानी, रायता", dinner: "मटर-पनीर, पूरी, खीर/सेवइं" }
].map((row, index) => (
<tr key={index} className={`${index % 2 === 0 ? 'bg-gray-50' : 'bg-white'} hover:bg-gradient-to-r hover:from-green-50 hover:to-blue-50 transition-all duration-300`}>
<td className="font-bold p-6 text-blue-600 text-lg">{row.day}</td>
<td className="p-6 text-gray-700">{row.breakfast}</td>
<td className="p-6 text-gray-700">{row.lunch}</td>
<td className="p-6 text-gray-700">{row.dinner}</td>
</tr>
))}
</tbody>
</table>
</div>
<div className="mt-12 grid grid-cols-1 md:grid-cols-3 gap-8 fade-in">
<div className="feature-card p-6 rounded-2xl text-center">
<i className="fas fa-leaf text-4xl text-green-500 mb-4"></i>
<h3 className="text-xl font-bold mb-2 text-gray-800">100% Vegetarian</h3>
<p className="text-gray-600">Pure vegetarian meals prepared with fresh ingredients</p>
</div>
<div className="feature-card p-6 rounded-2xl text-center">
<i className="fas fa-heart text-4xl text-red-500 mb-4"></i>
<h3 className="text-xl font-bold mb-2 text-gray-800">Home-Style Cooking</h3>
<p className="text-gray-600">Traditional recipes that taste just like home</p>
</div>
<div className="feature-card p-6 rounded-2xl text-center">
<i className="fas fa-shield-alt text-4xl text-blue-500 mb-4"></i>
<h3 className="text-xl font-bold mb-2 text-gray-800">Hygienic Kitchen</h3>
<p className="text-gray-600">Maintained with highest standards of cleanliness</p>
</div>
</div>
</div>
</section>
);
// Enhanced Hostel Rules Component
const HostelRules = () => (
<section id="rules" className="py-20 bg-gradient-to-br from-blue-50 to-purple-50">
<div className="container mx-auto px-4">
<div id="rules" className="max-w-4xl mx-auto">
<h2 className="fade-in">माँ भगवती हॉस्टल के नियम</h2>
<div className="grid grid-cols-1 md:grid-cols-2 gap-4">
{[
"सभी छात्रों को सूचित किया जाता है कि छात्रावास में सफाई का विशेष ध्यान रखें।",
"गेट खुलने का समय सुबह 5:30 बजे से और बंद होने का समय रात्रि 10:30 बजे तक।",
"छात्रावास का शुल्क आप 01 से 10 तारीख़ प्रति महीने जमा करें।",
"मेस (mess) का मासिक शुल्क ₹3300 प्रति माह है।",
"कृपया छात्रावास में शांति बनाए रखें।",
"विद्युत् उपकरण (टीवी, केटल आदि) पर 500 रुपए का जुर्माना।",
"देर से शुल्क जमा करने पर 200 रुपए का जुर्माना लगेगा।",
"समस्या के लिए संपर्क: 9044706137",
"पूरा साल का पैसा एक साथ जमा करने पर एक महीने की छूट।"
].map((rule, index) => (
<li key={index} className="fade-in">
<i className="fas fa-check-circle text-green-500 mr-3"></i>
{rule}
</li>
))}
</div>
</div>
</div>
</section>
);
// New Testimonials Component
const Testimonials = () => {
const testimonials = [
{
name: "Rahul Kumar",
course: "Engineering Student(B.Tech)",
text: "Best hostel in Lucknow! The hostel is amazing and the facilities are top-notch. Feels like home away from home.",
rating: 5,
image: "https://images.unsplash.com/photo-1552642986-ccb41e7059e7?q=80&w=687&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D"
},
{
name: "Amit Singh",
course: "Medical Student(BPO)",
text: "Great atmosphere for studies. The meal timings are perfect and the internet speed is excellent for online classes.",
rating: 5,
image: "https://images.unsplash.com/photo-1597202992582-9ee5c6672095?w=1000&auto=format&fit=crop&q=60&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8N3x8aW5kaWFuJTIwbWVufGVufDB8fDB8fHww"
},
{
name: "Vikash Sharma",
course: "Polytechnic Student",
text: "Very affordable with all necessary amenities. The location is perfect - close to college and market.",
rating: 4,
image: "https://images.unsplash.com/photo-1601234699305-4771c7949491?w=1000&auto=format&fit=crop&q=60&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8MTl8fGluZGlhbiUyMG1lbnxlbnwwfHwwfHx8MA%3D%3D"
}
];
return (
<section id="testimonials" className="py-20 bg-gradient-to-br from-gray-900 to-blue-900 text-white">
<div className="container mx-auto px-4">
<div className="text-center mb-16">
<h2 className="text-5xl font-bold mb-6 fade-in">What Our Hosteller Say</h2>
<div className="w-24 h-1 bg-gradient-to-r from-yellow-400 to-yellow-600 mx-auto mb-8"></div>
</div>
<div className="grid grid-cols-1 md:grid-cols-3 gap-8">
{testimonials.map((testimonial, index) => (
<div key={index} className="testimonial-card fade-in text-gray-800">
<div className="flex items-center mb-4">
<img src={testimonial.image} alt={testimonial.name}
className="w-16 h-16 rounded-full mr-4 object-cover border-4 border-blue-200" />
<div>
<h4 className="font-bold text-lg">{testimonial.name}</h4>
<p className="text-gray-600 text-sm">{testimonial.course}</p>
</div>
</div>
<div className="flex mb-3">
{[...Array(testimonial.rating)].map((_, i) => (
<i key={i} className="fas fa-star text-yellow-400"></i>
))}
</div>
<p className="text-gray-600 leading-relaxed">"{testimonial.text}"</p>
</div>
))}
</div>
</div>
</section>
);
};
// Enhanced Gallery Component
const Gallery = () => (
<section id="gallery" className="py-20 bg-white">
<div className="container mx-auto px-4">
<div className="text-center mb-16">
<h2 className="text-5xl font-bold mb-6 fade-in bg-gradient-to-r from-blue-600 to-purple-600 bg-clip-text text-transparent">
Photo Gallery
</h2>
<p className="text-xl text-gray-600 fade-in">Take a virtual tour of our facilities</p>
<div className="w-24 h-1 bg-gradient-to-r from-yellow-400 to-yellow-600 mx-auto mt-6"></div>
</div>
<div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6">
{[
{ src: "/images/Outside.png", alt: "Hostel Exterior", caption: "Modern Hostel Building" },
{ src: "/images/Room3.png", alt: "Double Room", caption: "Comfortable Double Sharing Room" },
{ src: "/images/Room1.jpg", alt: "Single Room", caption: "Room with Attached bathroom" },
{ src: "/images/Gallery.jpg", alt: "Common Area", caption: "Gallery" },
{ src: "/images/Main-Door.png", alt: "Main Gate", caption: "Main Gate" }
].map((img, index) => (
<div key={index} className="relative group fade-in">
<img src={img.src} alt={img.alt} className="gallery-img w-full h-64 object-cover" />
<div className="absolute inset-0 bg-gradient-to-t from-black via-transparent to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-300 rounded-2xl">
<div className="absolute bottom-4 left-4 text-white">
<p className="font-semibold text-lg">{img.caption}</p>
</div>
</div>
</div>
))}
</div>
</div>
</section>
);
// Enhanced Contact Component
const Contact = () => (
<section id="contact" className="py-20 bg-gradient-to-br from-gray-900 to-blue-900 text-white">
<div className="container mx-auto px-4">
<div className="text-center mb-16">
<h2 className="text-5xl font-bold mb-6 fade-in">Get In Touch</h2>
<p className="text-xl text-gray-300 fade-in">Ready to make Maa Bhagwati your home? Contact us today!</p>
<div className="w-24 h-1 bg-gradient-to-r from-yellow-400 to-yellow-600 mx-auto mt-6"></div>
</div>
<div className="grid grid-cols-1 lg:grid-cols-2 gap-12">
<div className="fade-in">
<div className="bg-white bg-opacity-10 backdrop-blur-sm p-8 rounded-2xl">
<h3 className="text-3xl font-semibold mb-6 text-yellow-400">Contact Information</h3>
<div className="space-y-6">
<div className="flex items-center">
<i className="fas fa-user-tie text-2xl text-yellow-400 mr-4 w-8"></i>
<div>
<p className="font-semibold">Owner</p>
<p className="text-gray-300">Ajay Singh</p>
</div>
</div>
<div className="flex items-center">
<i className="fas fa-envelope text-2xl text-yellow-400 mr-4 w-8"></i>
<div>
<p className="font-semibold">Email</p>
<p className="text-gray-300">ajayraghuvansi1@gmail.com</p>
</div>
</div>
<div className="flex items-center">
<i className="fas fa-phone text-2xl text-yellow-400 mr-4 w-8"></i>
<div>
<p className="font-semibold">Phone Numbers</p>
<p className="text-gray-300">+91 90447 06137</p>
</div>
</div>
<div className="flex items-start">
<i className="fas fa-map-marker-alt text-2xl text-yellow-400 mr-4 w-8 mt-1"></i>
<div>
<p className="font-semibold">Address</p>
<p className="text-gray-300 leading-relaxed">
Maa Bhagwati Boys Hostel, Pataura mod, Prakash Lok Colony,
Near Dr. Shakuntala Misra National Rehabilitation University,
Lucknow, Uttar Pradesh, 226017
</p>
</div>
</div>
</div>
<div className="mt-8 pt-6 border-t border-white border-opacity-20">
<h4 className="font-semibold mb-4 text-yellow-400">Office Hours</h4>
<p className="text-gray-300">Monday - Saturday: 9:00 AM - 9:00 PM</p>
<p className="text-gray-300">Sunday: 10:00 AM - 11:00 PM</p>
</div>
<div className="mt-8 pt-6 border-t border-white border-opacity-20">
<h4 className="font-semibold mb-4 text-yellow-400">Connect With Us</h4>
<div className="flex space-x-4">
<a href="https://www.instagram.com/ajay_raghuvansi/?utm_source=ig_web_button_share_sheet"
className="bg-gradient-to-r from-pink-500 to-purple-600 p-3 rounded-full hover:scale-110 transition-transform duration-300">
<i className="fab fa-instagram text-xl"></i>
</a>
<a href="whatsapp://send?text=Hello Bhaiya, Kya room available hai?&phone=+916394214116"
className="bg-gradient-to-r from-green-500 to-green-600 p-3 rounded-full hover:scale-110 transition-transform duration-300">
<i className="fab fa-whatsapp text-xl"></i>
</a>
</div>
</div>
</div>
</div>
<div className="fade-in">
<div className="bg-white bg-opacity-10 backdrop-blur-sm p-8 rounded-2xl">
<h3 className="text-3xl font-semibold mb-6 text-yellow-400">Quick Booking</h3>
<p className="text-gray-300 mb-6">Ready to book your room? Click below to fill out our booking form and secure your spot today!</p>
<div className="space-y-4 mb-8">
<div className="flex items-center p-4 bg-green-500 bg-opacity-20 rounded-lg">
<i className="fas fa-check-circle text-green-400 mr-3"></i>
<span>Instant Confirmation</span>
</div>
<div className="flex items-center p-4 bg-blue-500 bg-opacity-20 rounded-lg">
<i className="fas fa-shield-alt text-blue-400 mr-3"></i>
<span>Secure Payment Options</span>
</div>
<div className="flex items-center p-4 bg-purple-500 bg-opacity-20 rounded-lg">
<i className="fas fa-headset text-purple-400 mr-3"></i>
<span>24/7 Customer Support</span>
</div>
</div>
<a href="https://forms.zohopublic.in/maabhagwatihostel1/form/RoomBooking/formperma/RoY4YUE1UiP5C-M6uYP8vOCm6jP8WnUnGUlYiUZn0Y4"
className="cta-button w-full py-4 px-8 text-lg justify-center inline-flex items-center">
<i className="fas fa-calendar-check mr-3"></i>
Book Your Room Now
</a>
<p className="text-center text-gray-400 text-sm mt-4">
<i className="fas fa-clock mr-2"></i>
Booking takes less than 5 minutes
</p>
</div>
</div>
</div>
</div>
</section>
);
// Enhanced Footer Component
const Footer = () => (
<footer className="bg-gray-900 text-white py-12 border-t border-gray-800">
<div className="container mx-auto px-4">
<div className="border-t border-gray-800 pt-8 text-center fade-in">
<p className="text-gray-400">
© 2025 Maa Bhagwati Boys Hostel. All rights reserved. |
<span className="text-yellow-400"> Made with ❤️ for our students</span>
</p>
</div>
</div>
</footer>
);
// Main App Component with Enhanced Animations
const App = () => {
useEffect(() => {
const handleScroll = () => {
document.querySelectorAll('.fade-in').forEach((el) => {
const rect = el.getBoundingClientRect();
if (rect.top < window.innerHeight - 100) {
el.classList.add('visible');
}
});
};
window.addEventListener('scroll', handleScroll);
handleScroll(); // Initial check
return () => window.removeEventListener('scroll', handleScroll);
}, []);