Spaces:
Running
Running
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>About Us | NatureCompare</title> | |
| <link rel="stylesheet" href="style.css"> | |
| <style> | |
| /* General Styles */ | |
| body { | |
| font-family: 'Poppins', sans-serif; | |
| margin: 0; | |
| padding: 0; | |
| text-align: center; | |
| background: #f8f9fa; | |
| color: #333; | |
| } | |
| /* About Us Hero Section */ | |
| .about-hero { | |
| background: url('https://static.vecteezy.com/system/resources/previews/036/185/881/non_2x/ai-generated-green-soft-background-free-photo.jpg') center/cover no-repeat; | |
| height: 60vh; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| position: relative; | |
| } | |
| .about-overlay { | |
| background: rgba(0, 0, 0, 0.5); | |
| padding: 20px 40px; | |
| border-radius: 10px; | |
| } | |
| .about-overlay h2 { | |
| color: white; | |
| font-size: 2.5em; | |
| margin: 0; | |
| } | |
| /* About Us Text */ | |
| .about-content { | |
| padding: 40px 20px; | |
| font-size: 1.2em; | |
| max-width: 600px; | |
| margin: auto; | |
| line-height: 1.6; | |
| } | |
| body { | |
| font-family: 'Poppins', sans-serif; | |
| margin: 0; | |
| padding: 0; | |
| text-align: center; | |
| background: #f8f9fa; | |
| color: #333; | |
| } | |
| .contact-hero { | |
| background: url('https://static.vecteezy.com/system/resources/previews/036/185/881/non_2x/ai-generated-green-soft-background-free-photo.jpg') center/cover no-repeat; | |
| height: 50vh; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| position: relative; | |
| } | |
| .contact-overlay { | |
| background: rgba(0, 0, 0, 0.5); | |
| padding: 30px 50px; | |
| border-radius: 10px; | |
| } | |
| .contact-overlay h2 { | |
| color: white; | |
| font-size: 2.5em; | |
| margin: 0; | |
| } | |
| .contact-form { | |
| padding: 50px 30px; | |
| max-width: 600px; | |
| margin: 40px auto; | |
| background: white; | |
| border-radius: 10px; | |
| box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); | |
| text-align: left; | |
| } | |
| .contact-form h3 { | |
| margin-bottom: 20px; | |
| text-align: center; | |
| } | |
| .contact-form p { | |
| margin-bottom: 20px; | |
| text-align: center; | |
| } | |
| .contact-form input, | |
| .contact-form textarea { | |
| width: calc(100% - 20px); | |
| padding: 10px; | |
| margin: 10px 10px 20px 10px; | |
| border: 1px solid #ddd; | |
| border-radius: 5px; | |
| display: block; | |
| } | |
| .contact-form button { | |
| background: #28a745; | |
| color: white; | |
| border: none; | |
| padding: 12px 25px; | |
| cursor: pointer; | |
| border-radius: 5px; | |
| display: block; | |
| margin: 0 auto; | |
| } | |
| .contact-form button:hover { | |
| background: #218838; | |
| } | |
| /* Dark Mode Navigation Styles */ | |
| body.dark nav { | |
| background-color: #333; | |
| /* Dark background for the navigation bar */ | |
| color: #f1f1f1; | |
| /* Light text color */ | |
| } | |
| body.dark nav a { | |
| color: #f1f1f1; | |
| /* Light text color for links */ | |
| } | |
| body.dark nav a:hover { | |
| color: #4a7c59; | |
| /* Highlight color for hovered links */ | |
| } | |
| body.dark .logo a { | |
| color: #f1f1f1; | |
| /* Light text color for the logo */ | |
| } | |
| body.dark .hamburger span { | |
| background-color: #f1f1f1; | |
| /* Light color for hamburger menu lines */ | |
| } | |
| </style> | |
| <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap" | |
| rel="stylesheet" /> | |
| <script src="script.js"></script> | |
| </head> | |
| <body> | |
| <header> | |
| <nav> | |
| <div class="logo"> | |
| <a href="index.html">NatureCompare</a> | |
| </div> | |
| <div class="hamburger"> | |
| <span></span> | |
| <span></span> | |
| <span></span> | |
| </div> | |
| <ul class="nav-links"> | |
| <li><a href="index.html">Home</a></li> | |
| <li><a href="fruits.html">Fruits</a></li> | |
| <li><a href="vegetables.html">Vegetables</a></li> | |
| <li><a href="about.html">About</a></li> | |
| <li><a href="contact.html" class="active">Contact</a></li> | |
| <li><button id="theme-toggle">🌓</button></li> | |
| </ul> | |
| </nav> | |
| </header> | |
| <!-- Hero Section with About Us --> | |
| <section class="about-hero"> | |
| <div class="about-overlay"> | |
| <h2>Contact Us</h2> | |
| </div> | |
| </section> | |
| <section class="contact-form"> | |
| <h3>Get in Touch</h3> | |
| <p>Have questions? Reach out to us below!</p> | |
| <form> | |
| <input type="text" placeholder="Your Name" required> | |
| <input type="email" placeholder="Your Email" required> | |
| <textarea rows="5" placeholder="Your Message" required></textarea> | |
| <button type="submit">Send Message</button> | |
| </form> | |
| </section> | |
| <style> | |
| /* Footer Styles */ | |
| .footer { | |
| background-color: white; | |
| border-radius: 0.5rem; | |
| box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); | |
| margin: 1rem; | |
| padding: 1.5rem; | |
| transition: background-color 0.3s ease, color 0.3s ease; | |
| } | |
| .footer-content { | |
| width: 100%; | |
| max-width: 1200px; | |
| margin: 0 auto; | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| justify-content: center; | |
| } | |
| .footer-links { | |
| display: flex; | |
| flex-wrap: wrap; | |
| justify-content: center; | |
| font-size: 0.875rem; | |
| color: #4a5568; | |
| margin: 0; | |
| padding: 0; | |
| list-style-type: none; | |
| } | |
| .footer-links li { | |
| margin-right: 1rem; | |
| } | |
| .footer-links a { | |
| text-decoration: none; | |
| color: inherit; | |
| transition: color 0.3s ease; | |
| } | |
| .footer-divider { | |
| margin-top: 1.5rem; | |
| margin-bottom: 1.5rem; | |
| border-color: #e2e8f0; | |
| } | |
| .footer-credit { | |
| text-align: center; | |
| font-size: 0.875rem; | |
| color: #6b7280; | |
| } | |
| .footer-credit a { | |
| text-decoration: none; | |
| color: #4a5568; | |
| } | |
| /* Dark Mode Footer Styles */ | |
| body.dark .footer { | |
| background-color: #333; | |
| color: #f1f1f1; | |
| } | |
| body.dark .footer-links a { | |
| color: #f1f1f1; | |
| } | |
| body.dark .footer-divider { | |
| border-color: #555; | |
| } | |
| body.dark .footer-credit a { | |
| color: #f1f1f1; | |
| } | |
| </style> | |
| <style> | |
| /* Footer Styles */ | |
| .footer { | |
| background-color: white; | |
| border-radius: 0.5rem; | |
| box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); | |
| margin: 1rem; | |
| padding: 1.5rem; | |
| transition: background-color 0.3s ease, color 0.3s ease; | |
| } | |
| .footer-content { | |
| width: 100%; | |
| max-width: 1200px; | |
| margin: 0 auto; | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| justify-content: center; | |
| } | |
| .footer-links { | |
| display: flex; | |
| flex-wrap: wrap; | |
| justify-content: center; | |
| font-size: 0.875rem; | |
| color: #4a5568; | |
| margin: 0; | |
| padding: 0; | |
| list-style-type: none; | |
| } | |
| .footer-links li { | |
| margin-right: 1rem; | |
| } | |
| .footer-links a { | |
| text-decoration: none; | |
| color: inherit; | |
| transition: color 0.3s ease; | |
| } | |
| .footer-divider { | |
| margin-top: 1.5rem; | |
| margin-bottom: 1.5rem; | |
| border-color: #e2e8f0; | |
| } | |
| .footer-credit { | |
| text-align: center; | |
| font-size: 0.875rem; | |
| color: #6b7280; | |
| } | |
| .footer-credit a { | |
| text-decoration: none; | |
| color: #4a5568; | |
| } | |
| /* Dark Mode Footer Styles */ | |
| body.dark .footer { | |
| background-color: #333; | |
| color: #f1f1f1; | |
| } | |
| body.dark .footer-links a { | |
| color: #f1f1f1; | |
| } | |
| body.dark .footer-divider { | |
| border-color: #555; | |
| } | |
| body.dark .footer-credit a { | |
| color: #f1f1f1; | |
| } | |
| </style> | |
| <footer class="footer"> | |
| <div class="footer-content"> | |
| <ul class="footer-links"> | |
| <li><a href="index.html">Home</a></li> | |
| <li><a href="fruits.html">Fruits</a></li> | |
| <li><a href="vegetables.html">Vegetables</a></li> | |
| <li><a href="about.html">About</a></li> | |
| <li><a href="contact.html">Contact</a></li> | |
| </ul> | |
| </div> | |
| <hr class="footer-divider" /> | |
| <div class="footer-credit"> | |
| <span>© 2025 <a href="#">NatureCompare</a>. All Rights Reserved.</span> | |
| </div> | |
| </footer> | |
| <style> | |
| /* Footer Styles */ | |
| .footer { | |
| background-color: white; | |
| border-radius: 0.5rem; | |
| box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); | |
| margin: 1rem; | |
| padding: 1.5rem; | |
| transition: background-color 0.3s ease, color 0.3s ease; | |
| } | |
| .footer-content { | |
| width: 100%; | |
| max-width: 1200px; | |
| margin: 0 auto; | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| justify-content: center; | |
| } | |
| .footer-links { | |
| display: flex; | |
| flex-wrap: wrap; | |
| justify-content: center; | |
| font-size: 0.875rem; | |
| color: #4a5568; | |
| margin: 0; | |
| padding: 0; | |
| list-style-type: none; | |
| } | |
| .footer-links li { | |
| margin-right: 1rem; | |
| } | |
| .footer-links a { | |
| text-decoration: none; | |
| color: inherit; | |
| transition: color 0.3s ease; | |
| } | |
| .footer-divider { | |
| margin-top: 1.5rem; | |
| margin-bottom: 1.5rem; | |
| border-color: #e2e8f0; | |
| } | |
| .footer-credit { | |
| text-align: center; | |
| font-size: 0.875rem; | |
| color: #6b7280; | |
| } | |
| .footer-credit a { | |
| text-decoration: none; | |
| color: #4a5568; | |
| } | |
| /* Dark Mode Footer Styles */ | |
| body.dark .footer { | |
| background-color: #333; | |
| color: #f1f1f1; | |
| } | |
| body.dark .footer-links a { | |
| color: #f1f1f1; | |
| } | |
| body.dark .footer-divider { | |
| border-color: #555; | |
| } | |
| body.dark .footer-credit a { | |
| color: #f1f1f1; | |
| } | |
| </style> | |
| </body> | |
| </html> | |
| </div> |