aniket2025 commited on
Commit
f003331
·
verified ·
1 Parent(s): c2b12d9

Redesign a modern, professional portal homepage for the Official Website of West Bengal. Scene 1 – Hero Banner: full-width hero showcasing a vibrant collage of WB heritage (Victoria Memorial, Howrah Bridge), overlaid with a glassmorphic nav bar featuring links: “Home • About WB • Services • Schemes • Departments • Contact Us”. Include a central search bar (“Search government services, departments…”) with focus animation and a “Go” button. Scene 2 – Quick Services Dashboard: a grid of interactive icons/cards for popular services (“Ration Card”, “Apply for Permit”, “Health Schemes”, “E-district Services”), hover reveals brief desc and “Apply Now” action, cards slide/appear sequentially. Scene 3 – Interactive Map & Department Directory: split-screen with a stylized map of WB showing clickable pins for divisional offices and a searchable department list on the right, list highlights correspond on hover. Scene 4 – News & Announcements Ticker: a horizontal marquee banner displaying live government alerts (“Flood warning, Scholarship deadlines, Covid updates”), plus a secondary carousel below for featured news with images and “Read More”. Scene 5 – Stats & Impact Counters: a row of animated counters on scroll (“1500+ services”, “500+ dept offices”, “10 million+ users”), with iconography and counting animation. Scene 6 – Resources & Downloads Section: card grid linking to PDFs (“Forms, Reports, Budget Documents”) with icons and hover download animation. Scene 7 – Citizen Feedback & Helpline: testimonial-style card showing citizen feedback and a live helpline/WhatsApp chatbot widget; smooth fade on scroll. Scene 8 – Footer & Mobile Nav: desktop footer uses glassmorphism with government badges (India.gov.in, NIC, Logo), language toggle (English/Bengali), quick links and social icons; mobile view shows sticky bottom nav icons (“Home, Services, Feedback, Profile, More”). Use a trustworthy and culturally resonant palette: white, deep Bengal saffron, green-blue accents; modern sans‑serif typography. Include glassmorphic cards, subtle drop shadows, soft transitions, responsive micro‑interactions, and ensure accessibility (WCAG contrast, tap‑friendly spacing). - Initial Deployment

Browse files
Files changed (2) hide show
  1. README.md +7 -5
  2. index.html +805 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Third Website
3
- emoji: 🐠
4
- colorFrom: pink
5
- colorTo: green
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: third-website
3
+ emoji: 🐳
4
+ colorFrom: red
5
+ colorTo: red
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite
10
  ---
11
 
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
index.html CHANGED
@@ -1,19 +1,805 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Official Portal of West Bengal Government</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
9
+ <script src="https://cdn.jsdelivr.net/npm/gsap@3.12.2/dist/gsap.min.js"></script>
10
+ <script src="https://cdn.jsdelivr.net/npm/gsap@3.12.2/dist/ScrollTrigger.min.js"></script>
11
+ <style>
12
+ @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
13
+
14
+ :root {
15
+ --primary: #FF9933;
16
+ --secondary: #138808;
17
+ --accent: #0066B3;
18
+ --dark: #1E293B;
19
+ }
20
+
21
+ body {
22
+ font-family: 'Poppins', sans-serif;
23
+ background-color: #F8FAFC;
24
+ color: #1E293B;
25
+ }
26
+
27
+ .glass-nav {
28
+ background: rgba(255, 255, 255, 0.85);
29
+ backdrop-filter: blur(10px);
30
+ -webkit-backdrop-filter: blur(10px);
31
+ box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
32
+ }
33
+
34
+ .glass-card {
35
+ background: rgba(255, 255, 255, 0.7);
36
+ backdrop-filter: blur(5px);
37
+ -webkit-backdrop-filter: blur(5px);
38
+ border: 1px solid rgba(255, 255, 255, 0.2);
39
+ }
40
+
41
+ .hero-overlay {
42
+ background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%);
43
+ }
44
+
45
+ .service-card:hover .service-overlay {
46
+ opacity: 1;
47
+ transform: translateY(0);
48
+ }
49
+
50
+ .service-overlay {
51
+ opacity: 0;
52
+ transform: translateY(20px);
53
+ transition: all 0.3s ease;
54
+ }
55
+
56
+ .map-pin {
57
+ position: absolute;
58
+ width: 20px;
59
+ height: 20px;
60
+ background-color: var(--primary);
61
+ border-radius: 50% 50% 50% 0;
62
+ transform: rotate(-45deg);
63
+ cursor: pointer;
64
+ }
65
+
66
+ .map-pin::after {
67
+ content: '';
68
+ position: absolute;
69
+ width: 10px;
70
+ height: 10px;
71
+ background-color: white;
72
+ border-radius: 50%;
73
+ top: 5px;
74
+ left: 5px;
75
+ }
76
+
77
+ .map-pin:hover {
78
+ transform: rotate(-45deg) scale(1.2);
79
+ }
80
+
81
+ .news-ticker {
82
+ animation: ticker 30s linear infinite;
83
+ }
84
+
85
+ @keyframes ticker {
86
+ 0% { transform: translateX(100%); }
87
+ 100% { transform: translateX(-100%); }
88
+ }
89
+
90
+ .counter {
91
+ transition: all 0.5s ease;
92
+ }
93
+
94
+ .download-card:hover .download-icon {
95
+ transform: translateY(-5px);
96
+ }
97
+
98
+ .download-icon {
99
+ transition: all 0.3s ease;
100
+ }
101
+
102
+ .feedback-card {
103
+ background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(248,250,252,0.9) 100%);
104
+ }
105
+
106
+ .mobile-nav {
107
+ background: rgba(255, 255, 255, 0.95);
108
+ box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
109
+ }
110
+
111
+ .department-item:hover {
112
+ background-color: rgba(19, 136, 8, 0.1);
113
+ border-left: 4px solid var(--secondary);
114
+ }
115
+
116
+ .search-bar:focus {
117
+ box-shadow: 0 0 0 3px rgba(0, 102, 179, 0.3);
118
+ }
119
+
120
+ @media (max-width: 768px) {
121
+ .hero-title {
122
+ font-size: 2rem;
123
+ }
124
+
125
+ .news-ticker {
126
+ animation: ticker 20s linear infinite;
127
+ }
128
+ }
129
+ </style>
130
+ </head>
131
+ <body class="overflow-x-hidden">
132
+ <!-- Scene 1: Hero Banner -->
133
+ <section class="relative h-screen w-full overflow-hidden">
134
+ <!-- Hero Image Collage -->
135
+ <div class="absolute inset-0">
136
+ <div class="grid grid-cols-3 grid-rows-2 h-full w-full">
137
+ <div class="bg-[url('https://images.unsplash.com/photo-1582972236019-ea6a5d5e32e3?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80')] bg-cover bg-center"></div>
138
+ <div class="bg-[url('https://images.unsplash.com/photo-1566438480900-0609be27a4be?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1889&q=80')] bg-cover bg-center"></div>
139
+ <div class="bg-[url('https://images.unsplash.com/photo-1587474260584-136574528ed5?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80')] bg-cover bg-center"></div>
140
+ <div class="bg-[url('https://images.unsplash.com/photo-1600712242805-8f5a837ab6e9?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80')] bg-cover bg-center"></div>
141
+ <div class="bg-[url('https://images.unsplash.com/photo-1602216056096-3b40cc0c9944?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1932&q=80')] bg-cover bg-center"></div>
142
+ <div class="bg-[url('https://images.unsplash.com/photo-1600711725408-2052d4433ac4?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80')] bg-cover bg-center"></div>
143
+ </div>
144
+ <div class="absolute inset-0 hero-overlay"></div>
145
+ </div>
146
+
147
+ <!-- Glassmorphic Navigation -->
148
+ <nav class="glass-nav fixed top-0 left-0 right-0 z-50 py-4 px-6 flex justify-between items-center">
149
+ <div class="flex items-center">
150
+ <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/5/55/Emblem_of_West_Bengal.svg/1200px-Emblem_of_West_Bengal.svg.png" alt="West Bengal Government Logo" class="h-12 mr-4">
151
+ <h1 class="text-xl font-bold text-gray-800 hidden md:block">Government of West Bengal</h1>
152
+ </div>
153
+
154
+ <div class="hidden md:flex space-x-6">
155
+ <a href="#" class="text-gray-800 hover:text-[#FF9933] font-medium">Home</a>
156
+ <a href="#" class="text-gray-800 hover:text-[#FF9933] font-medium">About WB</a>
157
+ <a href="#" class="text-gray-800 hover:text-[#FF9933] font-medium">Services</a>
158
+ <a href="#" class="text-gray-800 hover:text-[#FF9933] font-medium">Schemes</a>
159
+ <a href="#" class="text-gray-800 hover:text-[#FF9933] font-medium">Departments</a>
160
+ <a href="#" class="text-gray-800 hover:text-[#FF9933] font-medium">Contact Us</a>
161
+ </div>
162
+
163
+ <button class="md:hidden text-gray-800">
164
+ <i class="fas fa-bars text-2xl"></i>
165
+ </button>
166
+ </nav>
167
+
168
+ <!-- Hero Content -->
169
+ <div class="relative h-full flex flex-col justify-center items-center text-center px-4 z-10">
170
+ <div class="max-w-4xl mx-auto">
171
+ <h1 class="hero-title text-5xl md:text-6xl font-bold text-white mb-6 drop-shadow-lg">Welcome to West Bengal</h1>
172
+ <p class="text-xl text-white mb-8 drop-shadow-md">Gateway to Eastern India's Rich Heritage & Progress</p>
173
+
174
+ <div class="relative max-w-2xl mx-auto">
175
+ <input type="text" placeholder="Search government services, departments..."
176
+ class="search-bar w-full py-4 px-6 rounded-full bg-white bg-opacity-90 text-gray-800 placeholder-gray-500 focus:outline-none focus:ring-2 focus:ring-[#0066B3] transition-all duration-300">
177
+ <button class="absolute right-2 top-2 bg-[#FF9933] text-white py-2 px-6 rounded-full hover:bg-opacity-90 transition-all">
178
+ Go
179
+ </button>
180
+ </div>
181
+ </div>
182
+ </div>
183
+ </section>
184
+
185
+ <!-- Scene 2: Quick Services Dashboard -->
186
+ <section class="py-16 px-4 bg-gray-50">
187
+ <div class="max-w-7xl mx-auto">
188
+ <h2 class="text-3xl font-bold text-center mb-4 text-gray-800">Citizen Services</h2>
189
+ <p class="text-center text-gray-600 mb-12 max-w-2xl mx-auto">Access essential government services with just a few clicks</p>
190
+
191
+ <div class="grid grid-cols-2 md:grid-cols-4 gap-6">
192
+ <!-- Service Card 1 -->
193
+ <div class="service-card relative bg-white rounded-xl shadow-md overflow-hidden h-48 cursor-pointer transition-all duration-300 hover:shadow-lg">
194
+ <div class="absolute inset-0 bg-[#138808] opacity-10"></div>
195
+ <div class="h-full flex flex-col items-center justify-center p-6">
196
+ <div class="bg-[#138808] bg-opacity-10 p-4 rounded-full mb-4">
197
+ <i class="fas fa-id-card text-3xl text-[#138808]"></i>
198
+ </div>
199
+ <h3 class="text-lg font-semibold text-center text-gray-800">Ration Card</h3>
200
+ </div>
201
+
202
+ <div class="service-overlay absolute inset-0 bg-[#138808] bg-opacity-90 flex flex-col items-center justify-center p-6 text-white">
203
+ <h3 class="text-xl font-semibold mb-2">Ration Card</h3>
204
+ <p class="text-sm text-center mb-4">Apply for new ration card or update existing one</p>
205
+ <button class="bg-white text-[#138808] py-2 px-6 rounded-full font-medium hover:bg-opacity-90 transition-all">
206
+ Apply Now
207
+ </button>
208
+ </div>
209
+ </div>
210
+
211
+ <!-- Service Card 2 -->
212
+ <div class="service-card relative bg-white rounded-xl shadow-md overflow-hidden h-48 cursor-pointer transition-all duration-300 hover:shadow-lg">
213
+ <div class="absolute inset-0 bg-[#0066B3] opacity-10"></div>
214
+ <div class="h-full flex flex-col items-center justify-center p-6">
215
+ <div class="bg-[#0066B3] bg-opacity-10 p-4 rounded-full mb-4">
216
+ <i class="fas fa-file-alt text-3xl text-[#0066B3]"></i>
217
+ </div>
218
+ <h3 class="text-lg font-semibold text-center text-gray-800">Apply for Permit</h3>
219
+ </div>
220
+
221
+ <div class="service-overlay absolute inset-0 bg-[#0066B3] bg-opacity-90 flex flex-col items-center justify-center p-6 text-white">
222
+ <h3 class="text-xl font-semibold mb-2">Apply for Permit</h3>
223
+ <p class="text-sm text-center mb-4">Apply for various government permits and licenses</p>
224
+ <button class="bg-white text-[#0066B3] py-2 px-6 rounded-full font-medium hover:bg-opacity-90 transition-all">
225
+ Apply Now
226
+ </button>
227
+ </div>
228
+ </div>
229
+
230
+ <!-- Service Card 3 -->
231
+ <div class="service-card relative bg-white rounded-xl shadow-md overflow-hidden h-48 cursor-pointer transition-all duration-300 hover:shadow-lg">
232
+ <div class="absolute inset-0 bg-[#FF9933] opacity-10"></div>
233
+ <div class="h-full flex flex-col items-center justify-center p-6">
234
+ <div class="bg-[#FF9933] bg-opacity-10 p-4 rounded-full mb-4">
235
+ <i class="fas fa-heartbeat text-3xl text-[#FF9933]"></i>
236
+ </div>
237
+ <h3 class="text-lg font-semibold text-center text-gray-800">Health Schemes</h3>
238
+ </div>
239
+
240
+ <div class="service-overlay absolute inset-0 bg-[#FF9933] bg-opacity-90 flex flex-col items-center justify-center p-6 text-white">
241
+ <h3 class="text-xl font-semibold mb-2">Health Schemes</h3>
242
+ <p class="text-sm text-center mb-4">Access various health insurance and welfare schemes</p>
243
+ <button class="bg-white text-[#FF9933] py-2 px-6 rounded-full font-medium hover:bg-opacity-90 transition-all">
244
+ Apply Now
245
+ </button>
246
+ </div>
247
+ </div>
248
+
249
+ <!-- Service Card 4 -->
250
+ <div class="service-card relative bg-white rounded-xl shadow-md overflow-hidden h-48 cursor-pointer transition-all duration-300 hover:shadow-lg">
251
+ <div class="absolute inset-0 bg-[#6B46C1] opacity-10"></div>
252
+ <div class="h-full flex flex-col items-center justify-center p-6">
253
+ <div class="bg-[#6B46C1] bg-opacity-10 p-4 rounded-full mb-4">
254
+ <i class="fas fa-laptop text-3xl text-[#6B46C1]"></i>
255
+ </div>
256
+ <h3 class="text-lg font-semibold text-center text-gray-800">E-district Services</h3>
257
+ </div>
258
+
259
+ <div class="service-overlay absolute inset-0 bg-[#6B46C1] bg-opacity-90 flex flex-col items-center justify-center p-6 text-white">
260
+ <h3 class="text-xl font-semibold mb-2">E-district Services</h3>
261
+ <p class="text-sm text-center mb-4">Access all district-level services online</p>
262
+ <button class="bg-white text-[#6B46C1] py-2 px-6 rounded-full font-medium hover:bg-opacity-90 transition-all">
263
+ Apply Now
264
+ </button>
265
+ </div>
266
+ </div>
267
+ </div>
268
+
269
+ <div class="text-center mt-12">
270
+ <button class="bg-[#0066B3] text-white py-3 px-8 rounded-full font-medium hover:bg-opacity-90 transition-all inline-flex items-center">
271
+ View All Services <i class="fas fa-arrow-right ml-2"></i>
272
+ </button>
273
+ </div>
274
+ </div>
275
+ </section>
276
+
277
+ <!-- Scene 3: Interactive Map & Department Directory -->
278
+ <section class="py-16 px-4 bg-white">
279
+ <div class="max-w-7xl mx-auto">
280
+ <h2 class="text-3xl font-bold text-center mb-4 text-gray-800">Explore West Bengal</h2>
281
+ <p class="text-center text-gray-600 mb-12 max-w-2xl mx-auto">Find government offices and departments across the state</p>
282
+
283
+ <div class="flex flex-col lg:flex-row gap-8">
284
+ <!-- Map Section -->
285
+ <div class="lg:w-1/2 relative bg-gray-100 rounded-xl overflow-hidden h-96">
286
+ <div class="absolute inset-0 bg-[url('https://upload.wikimedia.org/wikipedia/commons/thumb/2/2c/West_Bengal_district_map.svg/1200px-West_Bengal_district_map.svg.png')] bg-contain bg-center bg-no-repeat"></div>
287
+
288
+ <!-- Map Pins -->
289
+ <div class="map-pin" style="top: 30%; left: 45%;" data-department="kolkata"></div>
290
+ <div class="map-pin" style="top: 40%; left: 35%;" data-department="bardhaman"></div>
291
+ <div class="map-pin" style="top: 50%; left: 25%;" data-department="medinipur"></div>
292
+ <div class="map-pin" style="top: 60%; left: 55%;" data-department="siliguri"></div>
293
+ <div class="map-pin" style="top: 70%; left: 40%;" data-department="durgapur"></div>
294
+
295
+ <div class="absolute bottom-4 left-4 right-4 glass-card p-4 rounded-lg">
296
+ <h3 class="font-medium text-gray-800 mb-2">Click on pins to view offices</h3>
297
+ <div class="flex items-center text-sm text-gray-600">
298
+ <i class="fas fa-info-circle mr-2"></i>
299
+ <span>Offices are color-coded by department type</span>
300
+ </div>
301
+ </div>
302
+ </div>
303
+
304
+ <!-- Department Directory -->
305
+ <div class="lg:w-1/2">
306
+ <div class="glass-card rounded-xl p-6 h-96 overflow-y-auto">
307
+ <div class="flex items-center mb-6">
308
+ <div class="relative flex-grow">
309
+ <input type="text" placeholder="Search departments..." class="w-full py-2 px-4 pl-10 rounded-lg border border-gray-300 focus:outline-none focus:ring-2 focus:ring-[#0066B3] focus:border-transparent">
310
+ <i class="fas fa-search absolute left-3 top-3 text-gray-400"></i>
311
+ </div>
312
+ </div>
313
+
314
+ <div class="space-y-2">
315
+ <div class="department-item p-3 rounded-lg transition-all cursor-pointer" data-department="kolkata">
316
+ <h3 class="font-medium text-gray-800">Kolkata Municipal Corporation</h3>
317
+ <p class="text-sm text-gray-600">Urban Development, Municipal Services</p>
318
+ </div>
319
+ <div class="department-item p-3 rounded-lg transition-all cursor-pointer" data-department="bardhaman">
320
+ <h3 class="font-medium text-gray-800">Bardhaman District Office</h3>
321
+ <p class="text-sm text-gray-600">Agriculture, Rural Development</p>
322
+ </div>
323
+ <div class="department-item p-3 rounded-lg transition-all cursor-pointer" data-department="medinipur">
324
+ <h3 class="font-medium text-gray-800">Medinipur Health Directorate</h3>
325
+ <p class="text-sm text-gray-600">Public Health, Medical Services</p>
326
+ </div>
327
+ <div class="department-item p-3 rounded-lg transition-all cursor-pointer" data-department="siliguri">
328
+ <h3 class="font-medium text-gray-800">Siliguri Transport Office</h3>
329
+ <p class="text-sm text-gray-600">Transportation, Vehicle Registration</p>
330
+ </div>
331
+ <div class="department-item p-3 rounded-lg transition-all cursor-pointer" data-department="durgapur">
332
+ <h3 class="font-medium text-gray-800">Durgapur Industrial Office</h3>
333
+ <p class="text-sm text-gray-600">Industry, Commerce, Employment</p>
334
+ </div>
335
+ <div class="department-item p-3 rounded-lg transition-all cursor-pointer">
336
+ <h3 class="font-medium text-gray-800">Education Department</h3>
337
+ <p class="text-sm text-gray-600">Schools, Colleges, Scholarships</p>
338
+ </div>
339
+ <div class="department-item p-3 rounded-lg transition-all cursor-pointer">
340
+ <h3 class="font-medium text-gray-800">Police Headquarters</h3>
341
+ <p class="text-sm text-gray-600">Law & Order, Public Safety</p>
342
+ </div>
343
+ </div>
344
+ </div>
345
+ </div>
346
+ </div>
347
+ </div>
348
+ </section>
349
+
350
+ <!-- Scene 4: News & Announcements Ticker -->
351
+ <section class="py-8 bg-[#FF9933] text-white">
352
+ <div class="max-w-7xl mx-auto px-4">
353
+ <div class="flex items-center mb-2">
354
+ <div class="bg-white text-[#FF9933] py-1 px-3 rounded-full font-bold mr-4 whitespace-nowrap">
355
+ <i class="fas fa-bullhorn mr-2"></i> ALERTS
356
+ </div>
357
+ <div class="overflow-hidden w-full">
358
+ <div class="news-ticker whitespace-nowrap">
359
+ <span class="mr-8">⚠️ Flood warning issued for North Bengal districts</span>
360
+ <span class="mr-8">📢 Last date for Swasthya Sathi registration extended to 30th June</span>
361
+ <span class="mr-8">🎓 Scholarship applications open for SC/ST students</span>
362
+ <span class="mr-8">🏗️ Tender notice for construction of new hospital in Asansol</span>
363
+ <span class="mr-8">🚧 Traffic diversion on NH-16 from 15th to 20th June</span>
364
+ </div>
365
+ </div>
366
+ </div>
367
+ </div>
368
+ </section>
369
+
370
+ <section class="py-12 px-4 bg-gray-50">
371
+ <div class="max-w-7xl mx-auto">
372
+ <h2 class="text-3xl font-bold text-center mb-4 text-gray-800">News & Updates</h2>
373
+ <p class="text-center text-gray-600 mb-12 max-w-2xl mx-auto">Stay informed with the latest from the West Bengal Government</p>
374
+
375
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-6">
376
+ <!-- News Card 1 -->
377
+ <div class="bg-white rounded-xl shadow-md overflow-hidden transition-all hover:shadow-lg">
378
+ <div class="h-48 bg-[url('https://images.unsplash.com/photo-1584036561566-baf8f5f1b144?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1932&q=80')] bg-cover bg-center"></div>
379
+ <div class="p-6">
380
+ <div class="text-sm text-[#0066B3] font-medium mb-2">June 10, 2023</div>
381
+ <h3 class="text-xl font-bold text-gray-800 mb-3">New Industrial Policy to Boost Employment</h3>
382
+ <p class="text-gray-600 mb-4">The state government announces a new industrial policy aimed at creating 50,000 jobs in the next two years...</p>
383
+ <a href="#" class="text-[#FF9933] font-medium inline-flex items-center">
384
+ Read More <i class="fas fa-arrow-right ml-2"></i>
385
+ </a>
386
+ </div>
387
+ </div>
388
+
389
+ <!-- News Card 2 -->
390
+ <div class="bg-white rounded-xl shadow-md overflow-hidden transition-all hover:shadow-lg">
391
+ <div class="h-48 bg-[url('https://images.unsplash.com/photo-1579684385127-1ef15d508118?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80')] bg-cover bg-center"></div>
392
+ <div class="p-6">
393
+ <div class="text-sm text-[#0066B3] font-medium mb-2">June 8, 2023</div>
394
+ <h3 class="text-xl font-bold text-gray-800 mb-3">Health Camps in Rural Areas</h3>
395
+ <p class="text-gray-600 mb-4">Free health check-up camps to be organized across 100 villages in West Bengal under the Swasthya Sathi scheme...</p>
396
+ <a href="#" class="text-[#FF9933] font-medium inline-flex items-center">
397
+ Read More <i class="fas fa-arrow-right ml-2"></i>
398
+ </a>
399
+ </div>
400
+ </div>
401
+
402
+ <!-- News Card 3 -->
403
+ <div class="bg-white rounded-xl shadow-md overflow-hidden transition-all hover:shadow-lg">
404
+ <div class="h-48 bg-[url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80')] bg-cover bg-center"></div>
405
+ <div class="p-6">
406
+ <div class="text-sm text-[#0066B3] font-medium mb-2">June 5, 2023</div>
407
+ <h3 class="text-xl font-bold text-gray-800 mb-3">Digital Education Initiative</h3>
408
+ <p class="text-gray-600 mb-4">Government schools to receive smart classrooms and digital learning tools as part of new education initiative...</p>
409
+ <a href="#" class="text-[#FF9933] font-medium inline-flex items-center">
410
+ Read More <i class="fas fa-arrow-right ml-2"></i>
411
+ </a>
412
+ </div>
413
+ </div>
414
+ </div>
415
+
416
+ <div class="text-center mt-12">
417
+ <button class="border-2 border-[#0066B3] text-[#0066B3] py-2 px-8 rounded-full font-medium hover:bg-[#0066B3] hover:text-white transition-all inline-flex items-center">
418
+ View All News <i class="fas fa-arrow-right ml-2"></i>
419
+ </button>
420
+ </div>
421
+ </div>
422
+ </section>
423
+
424
+ <!-- Scene 5: Stats & Impact Counters -->
425
+ <section class="py-16 px-4 bg-[#0066B3] text-white">
426
+ <div class="max-w-7xl mx-auto">
427
+ <h2 class="text-3xl font-bold text-center mb-12">West Bengal in Numbers</h2>
428
+
429
+ <div class="grid grid-cols-2 md:grid-cols-4 gap-8">
430
+ <div class="text-center">
431
+ <div class="counter text-5xl font-bold mb-2" data-target="1500">0</div>
432
+ <div class="text-lg">Government Services</div>
433
+ </div>
434
+ <div class="text-center">
435
+ <div class="counter text-5xl font-bold mb-2" data-target="500">0</div>
436
+ <div class="text-lg">Department Offices</div>
437
+ </div>
438
+ <div class="text-center">
439
+ <div class="counter text-5xl font-bold mb-2" data-target="10">0</div>
440
+ <div class="text-lg">Million+ Users</div>
441
+ </div>
442
+ <div class="text-center">
443
+ <div class="counter text-5xl font-bold mb-2" data-target="23">0</div>
444
+ <div class="text-lg">Districts Covered</div>
445
+ </div>
446
+ </div>
447
+ </div>
448
+ </section>
449
+
450
+ <!-- Scene 6: Resources & Downloads Section -->
451
+ <section class="py-16 px-4 bg-white">
452
+ <div class="max-w-7xl mx-auto">
453
+ <h2 class="text-3xl font-bold text-center mb-4 text-gray-800">Resources & Downloads</h2>
454
+ <p class="text-center text-gray-600 mb-12 max-w-2xl mx-auto">Access important government documents, forms and reports</p>
455
+
456
+ <div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6">
457
+ <!-- Download Card 1 -->
458
+ <div class="download-card bg-white rounded-xl shadow-md overflow-hidden transition-all hover:shadow-lg">
459
+ <div class="p-6">
460
+ <div class="download-icon bg-[#138808] bg-opacity-10 p-4 rounded-full mb-4 inline-block">
461
+ <i class="fas fa-file-pdf text-3xl text-[#138808]"></i>
462
+ </div>
463
+ <h3 class="text-lg font-semibold text-gray-800 mb-2">Application Forms</h3>
464
+ <p class="text-sm text-gray-600 mb-4">All government application forms in one place</p>
465
+ <button class="w-full bg-gray-100 text-gray-800 py-2 px-4 rounded-lg font-medium hover:bg-gray-200 transition-all inline-flex items-center justify-center">
466
+ <i class="fas fa-download mr-2"></i> Download
467
+ </button>
468
+ </div>
469
+ </div>
470
+
471
+ <!-- Download Card 2 -->
472
+ <div class="download-card bg-white rounded-xl shadow-md overflow-hidden transition-all hover:shadow-lg">
473
+ <div class="p-6">
474
+ <div class="download-icon bg-[#0066B3] bg-opacity-10 p-4 rounded-full mb-4 inline-block">
475
+ <i class="fas fa-chart-bar text-3xl text-[#0066B3]"></i>
476
+ </div>
477
+ <h3 class="text-lg font-semibold text-gray-800 mb-2">Annual Reports</h3>
478
+ <p class="text-sm text-gray-600 mb-4">Department-wise annual performance reports</p>
479
+ <button class="w-full bg-gray-100 text-gray-800 py-2 px-4 rounded-lg font-medium hover:bg-gray-200 transition-all inline-flex items-center justify-center">
480
+ <i class="fas fa-download mr-2"></i> Download
481
+ </button>
482
+ </div>
483
+ </div>
484
+
485
+ <!-- Download Card 3 -->
486
+ <div class="download-card bg-white rounded-xl shadow-md overflow-hidden transition-all hover:shadow-lg">
487
+ <div class="p-6">
488
+ <div class="download-icon bg-[#FF9933] bg-opacity-10 p-4 rounded-full mb-4 inline-block">
489
+ <i class="fas fa-file-invoice-dollar text-3xl text-[#FF9933]"></i>
490
+ </div>
491
+ <h3 class="text-lg font-semibold text-gray-800 mb-2">Budget Documents</h3>
492
+ <p class="text-sm text-gray-600 mb-4">State budget and financial statements</p>
493
+ <button class="w-full bg-gray-100 text-gray-800 py-2 px-4 rounded-lg font-medium hover:bg-gray-200 transition-all inline-flex items-center justify-center">
494
+ <i class="fas fa-download mr-2"></i> Download
495
+ </button>
496
+ </div>
497
+ </div>
498
+
499
+ <!-- Download Card 4 -->
500
+ <div class="download-card bg-white rounded-xl shadow-md overflow-hidden transition-all hover:shadow-lg">
501
+ <div class="p-6">
502
+ <div class="download-icon bg-[#6B46C1] bg-opacity-10 p-4 rounded-full mb-4 inline-block">
503
+ <i class="fas fa-book text-3xl text-[#6B46C1]"></i>
504
+ </div>
505
+ <h3 class="text-lg font-semibold text-gray-800 mb-2">Policy Documents</h3>
506
+ <p class="text-sm text-gray-600 mb-4">Government policies and guidelines</p>
507
+ <button class="w-full bg-gray-100 text-gray-800 py-2 px-4 rounded-lg font-medium hover:bg-gray-200 transition-all inline-flex items-center justify-center">
508
+ <i class="fas fa-download mr-2"></i> Download
509
+ </button>
510
+ </div>
511
+ </div>
512
+ </div>
513
+ </div>
514
+ </section>
515
+
516
+ <!-- Scene 7: Citizen Feedback & Helpline -->
517
+ <section class="py-16 px-4 bg-gray-100">
518
+ <div class="max-w-7xl mx-auto">
519
+ <div class="grid grid-cols-1 lg:grid-cols-2 gap-12">
520
+ <!-- Feedback Section -->
521
+ <div class="feedback-card rounded-xl p-8 shadow-md">
522
+ <h2 class="text-3xl font-bold mb-6 text-gray-800">Citizen Feedback</h2>
523
+
524
+ <div class="mb-8">
525
+ <div class="flex items-start mb-6">
526
+ <img src="https://randomuser.me/api/portraits/women/42.jpg" alt="User" class="h-12 w-12 rounded-full mr-4">
527
+ <div>
528
+ <div class="flex items-center mb-1">
529
+ <h4 class="font-medium text-gray-800 mr-2">Priya Banerjee</h4>
530
+ <div class="flex text-[#FF9933]">
531
+ <i class="fas fa-star"></i>
532
+ <i class="fas fa-star"></i>
533
+ <i class="fas fa-star"></i>
534
+ <i class="fas fa-star"></i>
535
+ <i class="fas fa-star"></i>
536
+ </div>
537
+ </div>
538
+ <p class="text-gray-600">"The online ration card application was processed in just 3 days. Very efficient service!"</p>
539
+ </div>
540
+ </div>
541
+
542
+ <div class="flex items-start">
543
+ <img src="https://randomuser.me/api/portraits/men/32.jpg" alt="User" class="h-12 w-12 rounded-full mr-4">
544
+ <div>
545
+ <div class="flex items-center mb-1">
546
+ <h4 class="font-medium text-gray-800 mr-2">Sourav Das</h4>
547
+ <div class="flex text-[#FF9933]">
548
+ <i class="fas fa-star"></i>
549
+ <i class="fas fa-star"></i>
550
+ <i class="fas fa-star"></i>
551
+ <i class="fas fa-star"></i>
552
+ <i class="far fa-star"></i>
553
+ </div>
554
+ </div>
555
+ <p class="text-gray-600">"Good initiative but the website could be faster. The services are very useful though."</p>
556
+ </div>
557
+ </div>
558
+ </div>
559
+
560
+ <button class="w-full bg-[#0066B3] text-white py-3 rounded-full font-medium hover:bg-opacity-90 transition-all">
561
+ Share Your Feedback
562
+ </button>
563
+ </div>
564
+
565
+ <!-- Helpline Section -->
566
+ <div class="bg-white rounded-xl p-8 shadow-md">
567
+ <h2 class="text-3xl font-bold mb-6 text-gray-800">Need Help?</h2>
568
+
569
+ <div class="space-y-6">
570
+ <div class="flex items-start">
571
+ <div class="bg-[#138808] bg-opacity-10 p-3 rounded-full mr-4">
572
+ <i class="fas fa-phone-alt text-xl text-[#138808]"></i>
573
+ </div>
574
+ <div>
575
+ <h3 class="font-medium text-gray-800 mb-1">24x7 Helpline</h3>
576
+ <p class="text-gray-600">Call our toll-free number for any assistance</p>
577
+ <a href="tel:18003456789" class="text-[#0066B3] font-medium">1800 345 6789</a>
578
+ </div>
579
+ </div>
580
+
581
+ <div class="flex items-start">
582
+ <div class="bg-[#FF9933] bg-opacity-10 p-3 rounded-full mr-4">
583
+ <i class="fab fa-whatsapp text-xl text-[#138808]"></i>
584
+ </div>
585
+ <div>
586
+ <h3 class="font-medium text-gray-800 mb-1">WhatsApp Support</h3>
587
+ <p class="text-gray-600">Chat with our support team on WhatsApp</p>
588
+ <a href="https://wa.me/919876543210" class="text-[#0066B3] font-medium">+91 98765 43210</a>
589
+ </div>
590
+ </div>
591
+
592
+ <div class="flex items-start">
593
+ <div class="bg-[#0066B3] bg-opacity-10 p-3 rounded-full mr-4">
594
+ <i class="fas fa-envelope text-xl text-[#0066B3]"></i>
595
+ </div>
596
+ <div>
597
+ <h3 class="font-medium text-gray-800 mb-1">Email Support</h3>
598
+ <p class="text-gray-600">Write to us for any queries or complaints</p>
599
+ <a href="mailto:support@wb.gov.in" class="text-[#0066B3] font-medium">support@wb.gov.in</a>
600
+ </div>
601
+ </div>
602
+ </div>
603
+ </div>
604
+ </div>
605
+ </div>
606
+ </section>
607
+
608
+ <!-- Scene 8: Footer & Mobile Nav -->
609
+ <footer class="bg-gray-900 text-white pt-12 pb-6 px-4">
610
+ <div class="max-w-7xl mx-auto">
611
+ <div class="grid grid-cols-1 md:grid-cols-4 gap-8 mb-8">
612
+ <div>
613
+ <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/5/55/Emblem_of_West_Bengal.svg/1200px-Emblem_of_West_Bengal.svg.png" alt="West Bengal Government Logo" class="h-16 mb-4">
614
+ <p class="text-gray-400 mb-4">The Official Portal of Government of West Bengal</p>
615
+ <div class="flex space-x-4">
616
+ <a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-facebook-f"></i></a>
617
+ <a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-twitter"></i></a>
618
+ <a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-instagram"></i></a>
619
+ <a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-youtube"></i></a>
620
+ </div>
621
+ </div>
622
+
623
+ <div>
624
+ <h3 class="text-lg font-semibold mb-4">Quick Links</h3>
625
+ <ul class="space-y-2">
626
+ <li><a href="#" class="text-gray-400 hover:text-white">Chief Minister's Office</a></li>
627
+ <li><a href="#" class="text-gray-400 hover:text-white">Cabinet Ministers</a></li>
628
+ <li><a href="#" class="text-gray-400 hover:text-white">Tenders</a></li>
629
+ <li><a href="#" class="text-gray-400 hover:text-white">RTI</a></li>
630
+ <li><a href="#" class="text-gray-400 hover:text-white">Election Commission</a></li>
631
+ </ul>
632
+ </div>
633
+
634
+ <div>
635
+ <h3 class="text-lg font-semibold mb-4">Departments</h3>
636
+ <ul class="space-y-2">
637
+ <li><a href="#" class="text-gray-400 hover:text-white">Health & Family Welfare</a></li>
638
+ <li><a href="#" class="text-gray-400 hover:text-white">Education</a></li>
639
+ <li><a href="#" class="text-gray-400 hover:text-white">Finance</a></li>
640
+ <li><a href="#" class="text-gray-400 hover:text-white">Agriculture</a></li>
641
+ <li><a href="#" class="text-gray-400 hover:text-white">Transport</a></li>
642
+ </ul>
643
+ </div>
644
+
645
+ <div>
646
+ <h3 class="text-lg font-semibold mb-4">Government</h3>
647
+ <ul class="space-y-2">
648
+ <li><a href="#" class="text-gray-400 hover:text-white">Constitution of India</a></li>
649
+ <li><a href="#" class="text-gray-400 hover:text-white">India.gov.in</a></li>
650
+ <li><a href="#" class="text-gray-400 hover:text-white">National Portal</a></li>
651
+ <li><a href="#" class="text-gray-400 hover:text-white">NIC</a></li>
652
+ <li><a href="#" class="text-gray-400 hover:text-white">Digital India</a></li>
653
+ </ul>
654
+ </div>
655
+ </div>
656
+
657
+ <div class="border-t border-gray-800 pt-6 flex flex-col md:flex-row justify-between items-center">
658
+ <div class="flex items-center space-x-4 mb-4 md:mb-0">
659
+ <span class="text-gray-400">© 2023 Government of West Bengal</span>
660
+ <a href="#" class="text-gray-400 hover:text-white">Privacy Policy</a>
661
+ <a href="#" class="text-gray-400 hover:text-white">Terms of Use</a>
662
+ </div>
663
+
664
+ <div class="flex items-center">
665
+ <span class="text-gray-400 mr-2">Language:</span>
666
+ <select class="bg-gray-800 text-white px-3 py-1 rounded">
667
+ <option>English</option>
668
+ <option>বাংলা</option>
669
+ </select>
670
+ </div>
671
+ </div>
672
+ </div>
673
+ </footer>
674
+
675
+ <!-- Mobile Navigation -->
676
+ <div class="md:hidden fixed bottom-0 left-0 right-0 mobile-nav z-50">
677
+ <div class="flex justify-around items-center py-3">
678
+ <a href="#" class="flex flex-col items-center text-[#0066B3]">
679
+ <i class="fas fa-home text-xl mb-1"></i>
680
+ <span class="text-xs">Home</span>
681
+ </a>
682
+ <a href="#" class="flex flex-col items-center text-gray-600">
683
+ <i class="fas fa-bolt text-xl mb-1"></i>
684
+ <span class="text-xs">Services</span>
685
+ </a>
686
+ <a href="#" class="flex flex-col items-center text-gray-600">
687
+ <i class="fas fa-comment-alt text-xl mb-1"></i>
688
+ <span class="text-xs">Feedback</span>
689
+ </a>
690
+ <a href="#" class="flex flex-col items-center text-gray-600">
691
+ <i class="fas fa-user text-xl mb-1"></i>
692
+ <span class="text-xs">Profile</span>
693
+ </a>
694
+ <a href="#" class="flex flex-col items-center text-gray-600">
695
+ <i class="fas fa-ellipsis-h text-xl mb-1"></i>
696
+ <span class="text-xs">More</span>
697
+ </a>
698
+ </div>
699
+ </div>
700
+
701
+ <script>
702
+ // Counter Animation
703
+ document.addEventListener('DOMContentLoaded', function() {
704
+ const counters = document.querySelectorAll('.counter');
705
+ const speed = 200;
706
+
707
+ function animateCounters() {
708
+ counters.forEach(counter => {
709
+ const target = +counter.getAttribute('data-target');
710
+ const count = +counter.innerText;
711
+ const increment = target / speed;
712
+
713
+ if(count < target) {
714
+ counter.innerText = Math.ceil(count + increment);
715
+ setTimeout(animateCounters, 1);
716
+ } else {
717
+ counter.innerText = target + (counter.getAttribute('data-target') === '10' ? 'M' : '+');
718
+ }
719
+ });
720
+ }
721
+
722
+ // GSAP Scroll Trigger for counter animation
723
+ gsap.registerPlugin(ScrollTrigger);
724
+
725
+ gsap.to(".counter", {
726
+ scrollTrigger: {
727
+ trigger: ".counter",
728
+ start: "top 80%",
729
+ onEnter: animateCounters,
730
+ once: true
731
+ }
732
+ });
733
+
734
+ // Map and Department interaction
735
+ const mapPins = document.querySelectorAll('.map-pin');
736
+ const departmentItems = document.querySelectorAll('.department-item');
737
+
738
+ mapPins.forEach(pin => {
739
+ pin.addEventListener('click', function() {
740
+ const department = this.getAttribute('data-department');
741
+ highlightDepartment(department);
742
+ });
743
+ });
744
+
745
+ departmentItems.forEach(item => {
746
+ item.addEventListener('click', function() {
747
+ const department = this.getAttribute('data-department');
748
+ if(department) {
749
+ highlightDepartment(department);
750
+ }
751
+ });
752
+ });
753
+
754
+ function highlightDepartment(department) {
755
+ // Reset all highlights
756
+ departmentItems.forEach(item => {
757
+ item.classList.remove('bg-[#138808]', 'bg-opacity-10', 'border-l-4', 'border-[#138808]');
758
+ });
759
+
760
+ // Highlight the selected department
761
+ const selectedItem = document.querySelector(`.department-item[data-department="${department}"]`);
762
+ if(selectedItem) {
763
+ selectedItem.classList.add('bg-[#138808]', 'bg-opacity-10', 'border-l-4', 'border-[#138808]');
764
+ }
765
+ }
766
+
767
+ // Service card animations
768
+ gsap.from(".service-card", {
769
+ scrollTrigger: {
770
+ trigger: ".service-card",
771
+ start: "top 90%",
772
+ toggleActions: "play none none none"
773
+ },
774
+ y: 50,
775
+ opacity: 0,
776
+ duration: 0.8,
777
+ stagger: 0.2
778
+ });
779
+
780
+ // Feedback section animation
781
+ gsap.from(".feedback-card", {
782
+ scrollTrigger: {
783
+ trigger: ".feedback-card",
784
+ start: "top 80%",
785
+ toggleActions: "play none none none"
786
+ },
787
+ x: -100,
788
+ opacity: 0,
789
+ duration: 0.8
790
+ });
791
+
792
+ gsap.from(".feedback-card + div", {
793
+ scrollTrigger: {
794
+ trigger: ".feedback-card + div",
795
+ start: "top 80%",
796
+ toggleActions: "play none none none"
797
+ },
798
+ x: 100,
799
+ opacity: 0,
800
+ duration: 0.8
801
+ });
802
+ });
803
+ </script>
804
+ <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=aniket2025/third-website" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
805
+ </html>