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 
 
 
 
 
 
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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Contact Us - Idukki Spices</title>
    <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
    <script src="https://cdn.tailwindcss.com"></script>
    <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
    <script src="https://unpkg.com/feather-icons"></script>
    <script>
      tailwind.config = {
        theme: {
          extend: {
            colors: {
              primary: {
                50: '#fef2f2',
                100: '#fee2e2',
                200: '#fecaca',
                300: '#fca5a5',
                400: '#f87171',
                500: '#ef4444',
                600: '#dc2626',
                700: '#b91c1c',
                800: '#991b1b',
                900: '#7f1d1d',
              },
              secondary: {
                50: '#f8fafc',
                100: '#f1f5f9',
                200: '#e2e8f0',
                300: '#cbd5e1',
                400: '#94a3b8',
                500: '#64748b',
                600: '#475569',
                700: '#334155',
                800: '#1e293b',
                900: '#0f172a',
              }
            }
          }
        }
      }
    </script>
    <style>
      @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
      body {
        font-family: 'Poppins', sans-serif;
      }
      #map {
        height: 400px;
        width: 100%;
      }
      .contact-icon {
        width: 50px;
        height: 50px;
        background-color: rgba(239, 68, 68, 0.1);
      }
    </style>
</head>
<body class="bg-gray-50">
  <!-- Navigation -->
  <nav class="bg-primary-600 text-white shadow-lg">
    <div class="container mx-auto px-4 py-3">
      <div class="flex justify-between items-center">
        <div class="flex items-center space-x-2">
          <i data-feather="coffee" class="text-yellow-300"></i>
          <span class="text-xl font-bold">Idukki Spices</span>
        </div>
        <div class="hidden md:flex space-x-6">
          <a href="index.html" class="hover:text-yellow-200">Home</a>
          <a href="products.html" class="hover:text-yellow-200">Products</a>
          <a href="#" class="hover:text-yellow-200">About Us</a>
          <a href="contact.html" class="hover:text-yellow-200 font-semibold underline">Contact</a>
        </div>
        <div class="flex items-center space-x-4">
          <i data-feather="shopping-cart" class="hover:text-yellow-200 cursor-pointer"></i>
          <i data-feather="user" class="hover:text-yellow-200 cursor-pointer"></i>
          <button class="md:hidden focus:outline-none">
            <i data-feather="menu"></i>
          </button>
        </div>
      </div>
    </div>
  </nav>

  <!-- Contact Header -->
  <section class="bg-primary-800 text-white py-16">
    <div class="container mx-auto px-4 text-center">
      <h1 class="text-4xl md:text-5xl font-bold mb-4">Get In Touch</h1>
      <p class="text-xl text-primary-200 max-w-3xl mx-auto">We'd love to hear from you! Reach out for inquiries, bulk orders, or just to say hello.</p>
    </div>
  </section>

  <!-- Contact Section -->
  <section class="py-16">
    <div class="container mx-auto px-4">
      <div class="flex flex-col md:flex-row gap-8">
        <!-- Contact Form -->
        <div class="md:w-1/2 bg-white p-8 rounded-xl shadow-md">
          <h2 class="text-2xl font-bold text-primary-800 mb-6">Send Us a Message</h2>
          <form>
            <div class="mb-4">
              <label for="name" class="block text-secondary-600 mb-2">Your Name</label>
              <input type="text" id="name" class="w-full px-4 py-2 border border-secondary-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-primary-500">
            </div>
            <div class="mb-4">
              <label for="email" class="block text-secondary-600 mb-2">Email Address</label>
              <input type="email" id="email" class="w-full px-4 py-2 border border-secondary-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-primary-500">
            </div>
            <div class="mb-4">
              <label for="phone" class="block text-secondary-600 mb-2">Phone Number</label>
              <input type="tel" id="phone" class="w-full px-4 py-2 border border-secondary-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-primary-500">
            </div>
            <div class="mb-4">
              <label for="subject" class="block text-secondary-600 mb-2">Subject</label>
              <select id="subject" class="w-full px-4 py-2 border border-secondary-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-primary-500">
                <option>General Inquiry</option>
                <option>Wholesale Order</option>
                <option>Product Question</option>
                <option>Feedback</option>
              </select>
            </div>
            <div class="mb-6">
              <label for="message" class="block text-secondary-600 mb-2">Your Message</label>
              <textarea id="message" rows="4" class="w-full px-4 py-2 border border-secondary-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-primary-500"></textarea>
            </div>
            <button type="submit" class="w-full bg-primary-600 hover:bg-primary-700 text-white py-3 rounded-lg font-medium transition">
              Send Message
            </button>
          </form>
        </div>

        <!-- Contact Info -->
        <div class="md:w-1/2">
          <div class="bg-white p-8 rounded-xl shadow-md mb-8">
            <h2 class="text-2xl font-bold text-primary-800 mb-6">Contact Information</h2>
            <div class="space-y-6">
              <div class="flex items-start">
                <div class="contact-icon rounded-full flex items-center justify-center mr-4">
                  <i data-feather="map-pin" class="text-primary-600"></i>
                </div>
                <div>
                  <h3 class="font-bold text-lg text-primary-800 mb-1">Our Location</h3>
                  <p class="text-secondary-600">Spice Valley, Peyad, Trivandrum, Kerala 695573</p>
                </div>
              </div>
              <div class="flex items-start">
                <div class="contact-icon rounded-full flex items-center justify-center mr-4">
                  <i data-feather="mail" class="text-primary-600"></i>
                </div>
                <div>
                  <h3 class="font-bold text-lg text-primary-800 mb-1">Email Us</h3>
                  <p class="text-secondary-600">info@idukkispices.com</p>
                  <p class="text-secondary-600">sales@idukkispices.com</p>
                </div>
              </div>
              <div class="flex items-start">
                <div class="contact-icon rounded-full flex items-center justify-center mr-4">
                  <i data-feather="phone" class="text-primary-600"></i>
                </div>
                <div>
                  <h3 class="font-bold text-lg text-primary-800 mb-1">Call Us</h3>
                  <p class="text-secondary-600">+91 9876543210 (Customer Care)</p>
                  <p class="text-secondary-600">+91 9876543211 (Wholesale Inquiries)</p>
                </div>
              </div>
              <div class="flex items-start">
                <div class="contact-icon rounded-full flex items-center justify-center mr-4">
                  <i data-feather="clock" class="text-primary-600"></i>
                </div>
                <div>
                  <h3 class="font-bold text-lg text-primary-800 mb-1">Working Hours</h3>
                  <p class="text-secondary-600">Monday - Saturday: 9:00 AM - 7:00 PM</p>
                  <p class="text-secondary-600">Sunday: 10:00 AM - 4:00 PM</p>
                </div>
              </div>
            </div>
          </div>

          <!-- Social Media -->
          <div class="bg-white p-8 rounded-xl shadow-md">
            <h2 class="text-2xl font-bold text-primary-800 mb-6">Connect With Us</h2>
            <div class="flex space-x-4">
              <a href="#" class="w-12 h-12 bg-primary-100 rounded-full flex items-center justify-center hover:bg-primary-200 transition">
                <i data-feather="facebook" class="text-primary-600"></i>
              </a>
              <a href="#" class="w-12 h-12 bg-primary-100 rounded-full flex items-center justify-center hover:bg-primary-200 transition">
                <i data-feather="instagram" class="text-primary-600"></i>
              </a>
              <a href="#" class="w-12 h-12 bg-primary-100 rounded-full flex items-center justify-center hover:bg-primary-200 transition">
                <i data-feather="twitter" class="text-primary-600"></i>
              </a>
              <a href="#" class="w-12 h-12 bg-primary-100 rounded-full flex items-center justify-center hover:bg-primary-200 transition">
                <i data-feather="youtube" class="text-primary-600"></i>
              </a>
            </div>
          </div>
        </div>
      </div>
    </div>
  </section>

  <!-- Map Section -->
  <section class="py-8 bg-primary-50">
    <div class="container mx-auto px-4">
      <div id="map" class="rounded-xl shadow-lg"></div>
    </div>
  </section>

  <!-- FAQ Section -->
  <section class="py-16 bg-white">
    <div class="container mx-auto px-4">
      <div class="text-center mb-12">
        <h2 class="text-3xl font-bold text-primary-800 mb-2">Frequently Asked Questions</h2>
        <div class="w-20 h-1 bg-primary-600 mx-auto"></div>
      </div>
      <div class="max-w-3xl mx-auto space-y-4">
        <!-- FAQ Item 1 -->
        <div class="border border-secondary-200 rounded-lg overflow-hidden">
          <button class="faq-btn w-full text-left p-4 bg-primary-50 hover:bg-primary-100 transition">
            <div class="flex justify-between items-center">
              <h3 class="font-medium text-primary-800">What payment methods do you accept?</h3>
              <i data-feather="chevron-down" class="transition-transform duration-300"></i>
            </div>
          </button>
          <div class="faq-content hidden p-4 text-secondary-600">
            We accept all major credit and debit cards (Visa, MasterCard, American Express), net banking, UPI payments (Google Pay, PhonePe, Paytm), and cash on delivery for local orders in Trivandrum.
          </div>
        </div>
        
        <!-- FAQ Item 2 -->
        <div class="border border-secondary-200 rounded-lg overflow-hidden">
          <button class="faq-btn w-full text-left p-4 bg-primary-50 hover:bg-primary-100 transition">
            <div class="flex justify-between items-center">
              <h3 class="font-medium text-primary-800">Do you offer wholesale pricing?</h3>
              <i data-feather="chevron-down" class="transition-transform duration-300"></i>
            </div>
          </button>
          <div class="faq-content hidden p-4 text-secondary-600">
            Yes! We offer special wholesale pricing for restaurants, retailers, and bulk buyers. Please contact our sales team at sales@idukkispices.com or call +91 9876543211 for wholesale inquiries and pricing.
          </div>
        </div>
        
        <!-- FAQ Item 3 -->
        <div class="border border-secondary-200 rounded-lg overflow-hidden">
          <button class="faq-btn w-full text-left p-4 bg-primary-50 hover:bg-primary-100 transition">
            <div class="flex justify-between items-center">
              <h3 class="font-medium text-primary-800">How do you ensure the quality of your spices?</h3>
              <i data-feather="chevron-down" class="transition-transform duration-300"></i>
            </div>
          </button>
          <div class="faq-content hidden p-4 text-secondary-600">
            Our spices are sourced directly from certified organic farms in Idukki. We follow traditional harvesting and processing methods, and each batch undergoes rigorous quality checks before packaging. We never use artificial additives or preservatives.
          </div>
        </div>
        
        <!-- FAQ Item 4 -->
        <div class="border border-secondary-200 rounded-lg overflow-hidden">
          <button class="faq-btn w-full text-left p-4 bg-primary-50 hover:bg-primary-100 transition">
            <div class="flex justify-between items-center">
              <h3 class="font-medium text-primary-800">What is your shipping policy?</h3>
              <i data-feather="chevron-down" class="transition-transform duration-300"></i>
            </div>
          </button>
          <div class="faq-content hidden p-4 text-secondary-600">
            We ship nationwide within India. Orders placed before 2 PM are processed the same day. Delivery typically takes 3-7 business days depending on the location. Shipping charges vary based on weight and destination. Free shipping is available for orders above ₹2000.
          </div>
        </div>
      </div>
    </div>
  </section>

  <!-- Footer -->
  <footer class="bg-secondary-800 text-white py-12">
    <div class="container mx-auto px-4">
      <div class="grid grid-cols-1 md:grid-cols-4 gap-8">
        <div>
          <div class="flex items-center space-x-2 mb-4">
            <i data-feather="coffee" class="text-yellow-300"></i>
            <span class="text-xl font-bold">Idukki Spices</span>
          </div>
          <p class="text-secondary-300 mb-4">Bringing the authentic taste of Kerala to your kitchen since 2005.</p>
          <div class="flex space-x-4">
            <a href="#" class="text-secondary-300 hover:text-white"><i data-feather="facebook"></i></a>
            <a href="#" class="text-secondary-300 hover:text-white"><i data-feather="instagram"></i></a>
            <a href="#" class="text-secondary-300 hover:text-white"><i data-feather="twitter"></i></a>
          </div>
        </div>
        <div>
          <h4 class="font-bold text-lg mb-4">Quick Links</h4>
          <ul class="space-y-2">
            <li><a href="index.html" class="text-secondary-300 hover:text-white">Home</a></li>
            <li><a href="products.html" class="text-secondary-300 hover:text-white">Products</a></li>
            <li><a href="#" class="text-secondary-300 hover:text-white">About Us</a></li>
            <li><a href="contact.html" class="text-secondary-300 hover:text-white">Contact</a></li>
          </ul>
        </div>
        <div>
          <h4 class="font-bold text-lg mb-4">Products</h4>
          <ul class="space-y-2">
            <li><a href="#" class="text-secondary-300 hover:text-white">Black Pepper</a></li>
            <li><a href="#" class="text-secondary-300 hover:text-white">Cardamom</a></li>
            <li><a href="#" class="text-secondary-300 hover:text-white">Turmeric</a></li>
            <li><a href="#" class="text-secondary-300 hover:text-white">Cinnamon</a></li>
          </ul>
        </div>
        <div>
          <h4 class="font-bold text-lg mb-4">Contact Us</h4>
          <ul class="space-y-2 text-secondary-300">
            <li class="flex items-start">
              <i data-feather="map-pin" class="mr-2 mt-1"></i>
              <span>Spice Valley, Peyad, Trivandrum, Kerala 695573</span>
            </li>
            <li class="flex items-center">
              <i data-feather="phone" class="mr-2"></i>
              <span>+91 9876543210</span>
            </li>
            <li class="flex items-center">
              <i data-feather="mail" class="mr-2"></i>
              <span>info@idukkispices.com</span>
            </li>
          </ul>
        </div>
      </div>
      <div class="border-t border-secondary-700 mt-8 pt-8 text-center text-secondary-400">
        <p>© 2023 Idukki Spices. All rights reserved.</p>
      </div>
    </div>
  </footer>

  <!-- Google Maps API -->
  <script>
    feather.replace();
    // Initialize Google Map
    function initMap() {
      // Center on Peyad, Trivandrum
      const center = { lat: 8.5075, lng: 76.9730 };
      const map = new google.maps.Map(document.getElementById("map"), {
        zoom: 15,
        center: center,
        styles: [
          {
            "featureType": "all",
            "elementType": "labels.text.fill",
            "stylers": [
              {
                "color": "#7c93a3"
              },
              {
                "lightness": "-10"
              }
            ]
          },
          {
            "featureType": "administrative.country",
            "elementType": "geometry",
            "stylers": [
              {
                "visibility": "on"
              }
            ]
          },
          {
            "featureType": "administrative.country",
            "elementType": "geometry.stroke",
            "stylers": [
              {
                "color": "#a0a4a5"
              }
            ]
          },
          {
            "featureType": "administrative.province",
            "elementType": "geometry.stroke",
            "stylers": [
              {
                "color": "#62838e"
              }
            ]
          },
          {
            "featureType": "landscape",
            "elementType": "geometry.fill",
            "stylers": [
              {
                "color": "#dde3e3"
              }
            ]
          },
          {
            "featureType": "landscape.man_made",
            "elementType": "geometry.stroke",
            "stylers": [
              {
                "color": "#334f87"
              }
            ]
          },
          {
            "featureType": "poi",
            "elementType": "all",
            "stylers": [
              {
                "visibility": "off"
              }
            ]
          },
          {
            "featureType": "road",
            "elementType": "all",
            "stylers": [
              {
                "saturation": -100
              },
              {
                "lightness": 45
              }
            ]
          },
          {
            "featureType": "road.highway",
            "elementType": "all",
            "stylers": [
              {
                "visibility": "simplified"
              }
            ]
          },
          {
            "featureType": "road.arterial",
            "elementType": "labels.icon",
            "stylers": [
              {
                "visibility": "off"
              }
            ]
          },
          {
            "featureType": "transit",
            "elementType": "all",
            "stylers": [
              {
                "visibility": "off"
              }
            ]
          },
          {
            "featureType": "water",
            "elementType": "all",
            "stylers": [
              {
                "color": "#eaf6f8"
              },
              {
                "visibility": "on"
              }
            ]
          }
        ]
      });
      
      // Add marker
      new google.maps.Marker({
        position: center,
        map: map,
        title: "Idukki Spices",
        icon: {
          url: "https://maps.google.com/mapfiles/ms/icons/red-dot.png"
        }
      });
    }

    // Load Google Maps API
    function loadGoogleMaps() {
      const script = document.createElement('script');
      script.src = `https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&callback=initMap`;
      script.defer = true;
      script.async = true;
      document.head.appendChild(script);
    }

    // FAQ toggle functionality
    document.querySelectorAll('.faq-btn').forEach(btn => {
      btn.addEventListener('click', function() {
        const content = this.nextElementSibling;
        const icon = this.querySelector('i');
        
        // Toggle content
        content.classList.toggle('hidden');
        
        // Rotate icon
        if (content.classList.contains('hidden')) {
          icon.style.transform = 'rotate(0deg)';
        } else {
          icon.style.transform = 'rotate(180deg)';
        }
      });
    });

    // Load Google Maps when page is loaded
    window.addEventListener('load', loadGoogleMaps);
  </script>
</body>
</html>