forked from omroy07/AgriTech
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html.bak
More file actions
474 lines (400 loc) · 15.2 KB
/
index.html.bak
File metadata and controls
474 lines (400 loc) · 15.2 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0, user-scalable=yes" />
<meta name="description"
content="AgriTech - Empowering Agriculture Through Technology. Connect farmers, buyers, and suppliers in India's agricultural ecosystem." />
<title>AgriTech - Revolutionizing Agriculture with Technology</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css" />
<link rel="icon" type="image/png" href="images/logo.png">
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&family=Libertinus+Serif:wght@400;600&display=swap"
rel="stylesheet" />
<link href="style.css" rel="stylesheet" />
<style>
/* Services Toggle Styles */
.services-toggle-container {
position: relative;
display: inline-block;
}
.services-toggle {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.5rem 1rem;
background: var(--button-bg, #1e293b);
color: var(--button-text, white);
border: none;
border-radius: 0.375rem;
cursor: pointer;
transition: all 0.3s ease;
font-size: 0.875rem;
white-space: nowrap;
}
.services-toggle:hover {
background: var(--button-hover-bg, #1e293b);
transform: translateY(-1px);
}
.services-arrow {
transition: transform 0.3s ease;
font-size: 0.75rem;
}
.services-arrow.rotated {
transform: rotate(180deg);
}
.services-dropdown {
position: absolute;
top: 100%;
left: 0;
background: var(--dropdown-bg, white);
border: 1px solid var(--border-color, #e5e7eb);
border-radius: 0.5rem;
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
opacity: 0;
visibility: hidden;
transform: translateY(-10px);
transition: all 0.3s ease;
z-index: 1000;
min-width: 250px;
margin-top: 0.5rem;
}
.services-dropdown.active {
opacity: 1;
visibility: visible;
transform: translateY(0);
}
.services-list {
list-style: none;
padding: 0.5rem 0;
margin: 0;
}
.services-list li {
margin: 0;
}
.services-list a {
display: flex;
align-items: center;
gap: 0.75rem;
padding: 0.75rem 1rem;
color: var(--text-color, #374151);
text-decoration: none;
transition: all 0.2s ease;
border-radius: 0.25rem;
margin: 0 0.5rem;
}
.services-list a:hover {
background: var(--hover-bg, #f3f4f6);
color: var(--primary-color, #2563eb);
transform: translateX(4px);
}
.services-list i {
width: 16px;
text-align: center;
color: var(--icon-color, #6b7280);
}
.services-list a:hover i {
color: var(--primary-color, #2563eb);
}
/* Dark theme support */
[data-theme="dark"] .services-dropdown {
--dropdown-bg: #1f2937;
--border-color: #374151;
--text-color: #d1d5db;
--hover-bg: #374151;
--icon-color: #9ca3af;
}
/* Responsive adjustments */
@media (max-width: 768px) {
.services-toggle {
padding: 0.4rem 0.8rem;
font-size: 0.8rem;
}
.services-text {
display: none;
}
.services-dropdown {
min-width: 200px;
right: 0;
left: auto;
}
}
@media (max-width: 480px) {
.services-dropdown {
min-width: 180px;
}
.services-list a {
padding: 0.6rem 0.8rem;
font-size: 0.85rem;
}
}
</style>
</head>
<body>
<nav class="navbar">
<div class="navbar-content">
<div class="brand">
<a href="#" class="logo">AgriTech</a>
</div>
<div class="nav-buttons">
<!-- Responsive Search Bar -->
<div class="search-container">
<input type="text" placeholder="Search..." class="search-input" autocomplete="off" />
<button class="search-button">
<i class="fas fa-search"></i>
</button>
<div class="live-suggest-list" style="display:none;"></div>
</div>
<!-- Services Toggle -->
<div class="services-toggle-container">
<button class="services-toggle btn" aria-label="Toggle services menu">
<i class="fas fa-cogs"></i>
<span class="services-text">Services</span>
<i class="fas fa-chevron-down services-arrow"></i>
</button>
<div class="services-dropdown">
<ul class="services-list">
<li><a href="crop.html"><i class="fas fa-seedling"></i> Smart Crop Monitoring</a></li>
<li><a href="supply-chain.html"><i class="fas fa-truck"></i> Supply Chain Support</a></li>
<li><a href="sustainable-farming.html"><i class="fas fa-leaf"></i> Sustainable Farming Guidance</a></li>
<li><a href="marketplace.html"><i class="fas fa-store"></i> Marketplace Services</a></li>
<li><a href="financial-support.html"><i class="fas fa-dollar-sign"></i> Financial & Insurance Support</a></li>
</ul>
</div>
</div>
<button class="theme-toggle btn" aria-label="Toggle dark/light mode">
<i class="fas fa-sun sun-icon"></i>
<i class="fas fa-moon moon-icon"></i>
<span class="theme-text">Dark</span>
</button>
<a href="about.html" class="btn btn-secondary">About</a>
<a href="blog.html" class="btn btn-secondary">Blog</a>
<a href="login.html" class="btn btn-secondary">Login</a>
<a href="faq.html" class="btn btn-secondary">FAQ</a>
<a href="register.html" class="btn btn-primary">Register</a>
</div>
</div>
</nav>
<section class="hero">
<div class="hero-content">
<h2 class="serif">Empowering Agriculture Through Technology</h2>
<p>
AgriTech connects <strong>Farmers</strong>, <strong>Buyers</strong>,
<strong>Equipment Suppliers</strong>, and
<strong>Grocery Sellers</strong> to revolutionize India's agricultural
ecosystem with smart solutions and seamless collaboration.
</p>
</div>
</section>
<section class="features loading">
<div class="features-container">
<h2 class="features-title serif">Our Platform Benefits</h2>
<div class="features-grid">
<div class="feature-card">
<div class="feature-icon">🌱</div>
<h3 class="feature-title serif">For Farmers</h3>
<p class="feature-description">
Direct access to buyers, fair pricing, and modern equipment rental
services to maximize your harvest potential.
</p>
</div>
<div class="feature-card">
<div class="feature-icon">🏪</div>
<h3 class="feature-title serif">For Buyers</h3>
<p class="feature-description">
Source fresh produce directly from verified farmers with
transparent pricing and quality assurance.
</p>
</div>
<div class="feature-card">
<div class="feature-icon">🚜</div>
<h3 class="feature-title serif">Equipment Suppliers</h3>
<p class="feature-description">
Expand your reach and connect with farmers who need modern
agricultural equipment and services.
</p>
</div>
<div class="feature-card">
<div class="feature-icon">🛒</div>
<h3 class="feature-title serif">Grocery Sellers</h3>
<p class="feature-description">
Access fresh produce supply chain with competitive rates and
reliable delivery systems.
</p>
</div>
</div>
</div>
</section>
<section class="carousel" aria-label="Featured agricultural images">
<h2 class="carousel-title serif">Agriculture in Action</h2>
<div class="slider">
<div class="slide-track">
<!-- Original 6 images -->
<img src="images/AgriActImg1.jpeg" alt="Farmers working in a lush green field" />
<img src="images/AgriActImg2.jpeg" alt="Harvested crops ready for market" />
<img src="images/AgriActImg3.jpeg" alt="Modern agricultural equipment in use" />
<img src="images/AgriActImg1.jpeg" alt="Farmers working in a lush green field" />
<img src="images/AgriActImg2.jpeg" alt="Harvested crops ready for market" />
<img src="images/AgriActImg3.jpeg" alt="Modern agricultural equipment in use" />
<!-- Duplicate the same 6 images again -->
<img src="images/AgriActImg1.jpeg" alt="Farmers working in a lush green field" />
<img src="images/AgriActImg2.jpeg" alt="Harvested crops ready for market" />
<img src="images/AgriActImg3.jpeg" alt="Modern agricultural equipment in use" />
<img src="images/AgriActImg1.jpeg" alt="Farmers working in a lush green field" />
<img src="images/AgriActImg2.jpeg" alt="Harvested crops ready for market" />
<img src="images/AgriActImg3.jpeg" alt="Modern agricultural equipment in use" />
</div>
</div>
</section>
<section class="cta">
<div class="cta-content">
<h3 class="serif">Ready to Transform Agriculture?</h3>
<p>
Join thousands of farmers, buyers, and suppliers who are already
benefiting from our platform.
</p>
<a href="register.html" class="cta-button">Get Started Today</a>
</div>
</section>
<footer class="site-footer">
<div class="footer-inner">
<div class="footer-brand">
<div class="brand-header">
<img src="images/logo.png" alt="AgriTech logo" class="footer-logo">
<h3 class="serif">AgriTech</h3>
</div>
<div class="mission-statement">
<p>Empowering India's Farming Future with innovative <span class="no-break">technology</span> solutions that connect every stakeholder in the <span class="no-break">agricultural</span> ecosystem</p>
</div>
</div>
<div class="footer-links">
<h4 class="serif">Quick Links</h4>
<nav aria-label="Footer navigation">
<ul>
<li><a href="index.html"><i class="fas fa-home"></i> Home</a></li>
<li><a href="login.html" title="Login first to access dashboard"><i class="fas fa-tachometer-alt"></i> Dashboard</a></li>
<li><a href="feed-back.html"><i class="fas fa-comment-dots"></i> Feedback</a></li>
<li><a href="chat.html"><i class="fas fa-robot"></i> AI Assistant</a></li>
<li><a href="terms-and-service.html"><i class="fas fa-file-contract"></i> Terms & Service</a></li>
</ul>
</nav>
</div>
<div class="footer-links">
<h4 class="serif">About AgriTech</h4>
<nav aria-label="About navigation">
<ul>
<li><a href="about.html"><i class="fas fa-info-circle"></i> About Us</a></li>
<li><a href="contact.html"><i class="fas fa-envelope"></i> Contact</a></li>
<li><a href="team.html"><i class="fas fa-users"></i> Our Team</a></li>
<li><a href="mission.html"><i class="fas fa-bullseye"></i> Our Mission</a></li>
<li><a href="careers.html"><i class="fas fa-briefcase"></i> Careers</a></li>
</ul>
</nav>
</div>
</div>
<div class="footer-bottom">
<div class="footer-bottom-content">
<p class="copyright">© 2025 AgriTech. All rights reserved.</p>
<div class="footer-bottom-links">
<a href="terms-and-service.html">Terms of Service</a>
<span class="separator">•</span>
<a href="privacy-policy.html">Privacy Policy</a>
<span class="separator">•</span>
<a href="contact.html">Contact Us</a>
</div>
</div>
</div>
</footer>
<!-- Floating Chatbot Button -->
<a href="chat.html" id="chatbotBtn" title="Chat with us" aria-label="AI Assistant">
<i class="fas fa-robot"></i>
</a>
<!-- Scroll Button -->
<button class="scroll-btn" id="scrollBtn" title="Scroll">
<i class="fas fa-arrow-down" id="scrollIcon"></i>
</button>
<script>
const scrollBtn = document.getElementById("scrollBtn");
const scrollIcon = document.getElementById("scrollIcon");
window.addEventListener("scroll", () => {
// If near top, show "scroll down" button
if (window.scrollY < 300) {
scrollBtn.classList.add("visible");
scrollIcon.classList.replace("fa-arrow-up", "fa-arrow-down");
}
// If scrolled down, show "scroll up" button
else {
scrollBtn.classList.add("visible");
scrollIcon.classList.replace("fa-arrow-down", "fa-arrow-up");
}
});
scrollBtn.addEventListener("click", () => {
if (scrollIcon.classList.contains("fa-arrow-down")) {
// Scroll to bottom
window.scrollTo({
top: document.body.scrollHeight,
behavior: "smooth",
});
} else {
// Scroll to top
window.scrollTo({
top: 0,
behavior: "smooth",
});
}
});
</script>
<script>
// Theme toggle functionality
const themeToggle = document.querySelector('.theme-toggle');
const themeText = document.querySelector('.theme-text');
// Check for saved theme preference
const currentTheme = localStorage.getItem('theme') || 'dark';
document.documentElement.setAttribute('data-theme', currentTheme);
themeText.textContent = currentTheme === 'dark' ? 'Light' : 'Dark';
themeToggle.addEventListener('click', () => {
const currentTheme = document.documentElement.getAttribute('data-theme');
const newTheme = currentTheme === 'light' ? 'dark' : 'light';
document.documentElement.setAttribute('data-theme', newTheme);
localStorage.setItem('theme', newTheme);
themeText.textContent = newTheme === 'dark' ? 'Light' : 'Dark';
});
// Services toggle functionality
const servicesToggle = document.querySelector('.services-toggle');
const servicesDropdown = document.querySelector('.services-dropdown');
const servicesArrow = document.querySelector('.services-arrow');
servicesToggle.addEventListener('click', () => {
servicesDropdown.classList.toggle('active');
servicesArrow.classList.toggle('rotated');
});
// Close services dropdown when clicking outside
document.addEventListener('click', (e) => {
if (!servicesToggle.contains(e.target) && !servicesDropdown.contains(e.target)) {
servicesDropdown.classList.remove('active');
servicesArrow.classList.remove('rotated');
}
});
// Intersection Observer for animations
const observerOptions = {
threshold: 0.1,
rootMargin: "0px 0px -50px 0px",
};
const observer = new IntersectionObserver((entries) => {
entries.forEach((entry) => {
if (entry.isIntersecting) {
entry.target.style.animationPlayState = "running";
}
});
}, observerOptions);
document.querySelectorAll("section").forEach((section) => {
observer.observe(section);
});
window.addEventListener("load", () => {
document.body.style.opacity = "1";
});
</script>
</body>
</body>
<script src="script.js" defer></script>
</html>