<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>VitaBoost - Your Path to a Healthier You</title>
<!-- Font Awesome for icons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
<!-- Google Fonts (e.g., Montserrat and Open Sans) -->
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Open+Sans:wght@400;600&display=swap" rel="stylesheet">
<!-- AOS Library for Scroll Animations CSS -->
<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
<style>
/* Global Styles */
:root {
--primary-color: #4CAF50; /* Healthy Green */
--secondary-color: #FF9800; /* Warm Orange Accent */
--dark-color: #333;
--light-color: #f4f4f4;
--text-color: #555;
--heading-font: 'Montserrat', sans-serif;
--body-font: 'Open Sans', sans-serif;
}
body {
font-family: var(--body-font);
line-height: 1.7;
margin: 0;
padding: 0;
color: var(--text-color);
background-color: #fff;
overflow-x: hidden; /* Prevent horizontal scrollbar from animations */
}
.container {
width: 90%;
max-width: 1200px;
margin: auto;
overflow: hidden;
padding: 0 20px;
}
h1, h2, h3 {
font-family: var(--heading-font);
color: var(--dark-color);
font-weight: 700;
}
/* Header */
#main-header {
background: #fff;
color: var(--dark-color);
padding: 1rem 0;
position: fixed;
width: 100%;
top: 0;
z-index: 1000;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
transition: background-color 0.3s ease, padding 0.3s ease;
}
#main-header .container {
display: flex;
justify-content: space-between;
align-items: center;
}
#main-header .logo h1 {
margin: 0;
font-size: 1.8rem;
color: var(--primary-color);
}
#main-header .logo span {
color: var(--secondary-color);
font-weight: 400;
}
#main-header nav ul {
padding: 0;
list-style: none;
margin: 0;
}
#main-header nav ul li {
display: inline;
margin-left: 25px;
}
#main-header nav a {
color: var(--dark-color);
text-decoration: none;
font-weight: 600;
transition: color 0.3s ease;
font-family: var(--heading-font);
}
#main-header nav a:hover {
color: var(--primary-color);
}
/* Scrolled Header Style */
#main-header.scrolled {
background-color: rgba(255, 255, 255, 0.95);
padding: 0.75rem 0;
box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
/* Hero Section */
#hero {
/* Replace with your actual Base64 encoded hero background image - e.g., a vibrant healthy lifestyle shot */
background: url("https://plus.unsplash.com/premium_photo-1675808577247-2281dc17147a?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D' width='1920' height='1080'%3E%3Crect width='100%25' height='100%25' fill='%23e0f2f1'/%3E%3Ctext x='50%25' y='50%25' font-family='Arial' font-size='40' fill='%234CAF50' text-anchor='middle' dy='.3em'%3EHealthy Lifestyle BG%3C/text%3E%3C/svg%3E") no-repeat center center/cover;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
color: #fff; /* Text color for hero */
padding: 0 20px;
position: relative;
margin-top: 60px; /* Initial offset for header */
}
#hero::before { /* Overlay for better text readability */
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.4); /* Darker overlay for better contrast */
}
.hero-content {
position: relative;
z-index: 1;
max-width: 800px;
}
#hero h1 {
font-size: 3.8rem;
margin-bottom: 20px;
color: #fff;
text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
animation: slideInFromLeft 1s ease-out;
}
#hero p {
font-size: 1.4rem;
margin-bottom: 30px;
color: #f0f0f0;
text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
animation: slideInFromRight 1s ease-out 0.3s;
animation-fill-mode: backwards;
}
.btn {
display: inline-block;
padding: 12px 30px;
text-decoration: none;
border-radius: 25px; /* Rounded buttons */
font-weight: 600;
transition: all 0.3s ease;
font-family: var(--heading-font);
letter-spacing: 0.5px;
}
.btn-primary {
background: var(--primary-color);
color: #fff;
border: 2px solid var(--primary-color);
}
.btn-primary:hover {
background: #fff;
color: var(--primary-color);
transform: translateY(-3px);
box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.btn-secondary {
background: var(--secondary-color);
color: #fff;
border: 2px solid var(--secondary-color);
}
.btn-secondary:hover {
background: #fff;
color: var(--secondary-color);
transform: translateY(-3px);
box-shadow: 0 5px 10px rgba(0,0,0,0.15);
}
.animated-button {
animation: pulse 2s infinite ease-in-out 1s;
}
/* Keyframe Animations */
@keyframes slideInFromLeft {
0% { transform: translateX(-100px); opacity: 0; }
100% { transform: translateX(0); opacity: 1; }
}
@keyframes slideInFromRight {
0% { transform: translateX(100px); opacity: 0; }
100% { transform: translateX(0); opacity: 1; }
}
@keyframes pulse {
0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7); }
70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(76, 175, 80, 0); }
100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
}
/* Section Styling */
.section {
padding: 80px 0;
text-align: center;
}
.section-title {
font-size: 2.8rem;
margin-bottom: 50px;
position: relative;
display: inline-block;
padding-bottom: 15px;
}
.section-title::after {
content: '';
position: absolute;
width: 80px;
height: 4px;
background: var(--primary-color);
bottom: 0;
left: 50%;
transform: translateX(-50%);
border-radius: 2px;
}
.bg-light {
background-color: var(--light-color);
}
/* Product Categories Section */
#products .container {
max-width: 1300px; /* Wider container for more cards if needed */
}
.category-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 30px;
margin-top: 30px;
}
.category-card {
background: #fff;
border-radius: 10px;
box-shadow: 0 8px 25px rgba(0,0,0,0.08);
overflow: hidden;
text-align: left;
transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
display: flex;
flex-direction: column;
}
.category-card:hover {
transform: translateY(-12px) scale(1.02);
box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}
.category-card img {
width: 100%;
height: 220px;
object-fit: cover;
transition: transform 0.4s ease;
border-bottom: 3px solid var(--primary-color);
}
.category-card:hover img {
transform: scale(1.1);
}
.img-container { /* To contain the image scaling */
overflow: hidden;
border-radius: 10px 10px 0 0;
}
.category-info {
padding: 25px;
flex-grow: 1; /* Allows button to be at the bottom */
display: flex;
flex-direction: column;
justify-content: space-between;
}
.category-info h3 {
font-size: 1.6rem;
margin-top: 0;
margin-bottom: 10px;
color: var(--primary-color);
}
.category-info p {
font-size: 0.95rem;
margin-bottom: 20px;
color: #666;
flex-grow: 1;
}
.category-info .btn {
align-self: flex-start; /* Align button to the left */
}
/* Why Choose Us Section */
#why-choose-us {
background-color: var(--primary-color);
color: #fff;
padding: 60px 0;
}
#why-choose-us .section-title {
color: #fff;
}
#why-choose-us .section-title::after {
background: #fff;
}
.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 30px;
margin-top: 40px;
text-align: left;
}
.feature-item {
background: rgba(255,255,255,0.1);
padding: 25px;
border-radius: 8px;
transition: transform 0.3s ease;
}
.feature-item:hover {
transform: translateY(-5px);
}
.feature-item i {
font-size: 2.5rem;
color: var(--secondary-color);
margin-bottom: 15px;
display: block;
}
.feature-item h3 {
font-size: 1.3rem;
color: #fff;
margin-bottom: 10px;
}
.feature-item p {
font-size: 0.9rem;
color: #e0e0e0;
}
/* About & Contact Section */
#about p, #contact p {
font-size: 1.1rem;
max-width: 800px;
margin: 0 auto 20px auto;
}
#contact a {
color: var(--primary-color);
text-decoration: none;
}
#contact a:hover {
text-decoration: underline;
}
.social-icons {
margin-top: 20px;
}
.social-icons a {
color: var(--dark-color);
font-size: 1.8rem;
margin: 0 12px;
transition: color 0.3s ease, transform 0.3s ease;
}
.social-icons a:hover {
color: var(--primary-color);
transform: scale(1.2);
}
/* Footer */
#main-footer {
background: var(--dark-color);
color: #ccc;
text-align: center;
padding: 30px 0;
margin-top: 40px;
}
#main-footer p {
margin: 0;
font-size: 0.9rem;
}
#main-footer a {
color: var(--primary-color);
text-decoration: none;
}
/* Responsive Design */
@media (max-width: 992px) {
#hero h1 {
font-size: 3rem;
}
#hero p {
font-size: 1.2rem;
}
.section-title {
font-size: 2.3rem;
}
}
@media (max-width: 768px) {
#main-header .container {
flex-direction: column;
}
#main-header nav {
margin-top: 10px;
}
#main-header nav ul li {
display: block;
margin: 10px 0;
text-align: center;
}
#hero {
margin-top: 100px; /* Adjust for taller collapsed header */
}
#hero h1 {
font-size: 2.5rem;
}
#hero p {
font-size: 1.1rem;
}
.section-title {
font-size: 2rem;
}
.category-grid {
grid-template-columns: 1fr; /* Stack cards */
}
.features-grid {
grid-template-columns: 1fr;
}
}
</style>
</head>
<body>
<!-- Header Section -->
<header id="main-header">
<div class="container">
<div class="logo">
<h1>Vita<span>Boost</span></h1>
</div>
<nav>
<ul>
<li><a href="#hero">Home</a></li>
<li><a href="#products">Products</a></li>
<li><a href="#why-choose-us">Why Us</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</nav>
</div>
</header>
<!-- Hero Section -->
<section id="hero">
<div class="hero-content">
<h1>Achieve Your Health Goals, Naturally!</h1>
<p>Discover our premium range of health products designed to help you live a healthier, happier life. Quality you can trust.</p>
<a href="#products" class="btn btn-primary animated-button">Explore Products</a>
</div>
</section>
<!-- Products Section -->
<section id="products" class="section"> <center> techpk </center>
<div class="container">
<h2 class="section-title">Our Product Categories</h2>
<div class="category-grid">
<!-- Weight Loss Card -->
<div class="category-card" data-aos="fade-up">
<div class="img-container">
<!-- Replace with your Base64 encoded image for Weight Loss -->
<img src="https://images.unsplash.com/photo-1646829873498-e874cfa27933?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D" alt="Weight Loss Products">
</div>
<div class="category-info">
<div>
<h3>Weight Loss Solutions</h3>
<p>Effective, natural products to help you manage your weight and reach your fitness targets safely.</p>
</div>
<a href="techpk1249" target="_blank" class="btn btn-secondary">Learn More</a>
</div>
</div>
<!-- Weight Gain Card -->
<div class="category-card" data-aos="fade-up" data-aos-delay="100">
<div class="img-container">
<!-- Replace with your Base64 encoded image for Weight Gain -->
<img src="https://plus.unsplash.com/premium_photo-1664910003783-43edbeb8163b?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D' width='300' height='220'%3E%3Crect width='100%25' height='100%25' fill='%23ffecb3'/%3E%3Ctext x='50%25' y='50%25' font-family='Arial' font-size='16' fill='%23ffa000' text-anchor='middle' dy='.3em'%3EWeight Gain Image%3C/text%3E%3C/svg%3E" alt="Weight Gain Products">
</div>
<div class="category-info">
<div>
<h3>Healthy Weight Gain</h3>
<p>Nourishing supplements and plans for building lean muscle and gaining healthy weight effectively.</p>
</div>
<a href="techpk1249" target="_blank" class="btn btn-secondary">Discover Now</a>
</div>
</div>
<!-- Vitamins & Supplements Card -->
<div class="category-card" data-aos="fade-up" data-aos-delay="200">
<div class="img-container">
<!-- Replace with your Base64 encoded image for Vitamins -->
<img src="https://plus.unsplash.com/premium_photo-1732689834566-a7c313f00478?q=80&w=1932&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D' width='300' height='220'%3E%3Crect width='100%25' height='100%25' fill='%23bbdefb'/%3E%3Ctext x='50%25' y='50%25' font-family='Arial' font-size='16' fill='%231976d2' text-anchor='middle' dy='.3em'%3EVitamins Image%3C/text%3E%3C/svg%3E" alt="Vitamins and Supplements">
</div>
<div class="category-info">
<div>
<h3>Vitamins & Supplements</h3>
<p>Boost your immunity and overall well-being with our range of essential vitamins and minerals.</p>
</div>
<a href="techpk1249" target="_blank" class="btn btn-secondary">Shop Vitamins</a>
</div>
</div>
<!-- Fitness & Performance Card -->
<div class="category-card" data-aos="fade-up" data-aos-delay="300">
<div class="img-container">
<!-- Replace with your Base64 encoded image for Fitness -->
<img src="https://images.unsplash.com/photo-1687041568037-dab13851ea14?q=80&w=1932&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D' height='220'%3E%3Crect width='100%25' height='100%25' fill='%23ffcdd2'/%3E%3Ctext x='50%25' y='50%25' font-family='Arial' font-size='16' fill='%23d32f2f' text-anchor='middle' dy='.3em'%3EFitness Product Image%3C/text%3E%3C/svg%3E" alt="Fitness and Performance">
</div>
<div class="category-info">
<div>
<h3>Fitness & Performance</h3>
<p>Enhance your workouts, improve recovery, and boost energy with our performance line.</p>
</div>
<a href="techpk1249" target="_blank" class="btn btn-secondary">Boost Performance</a>
</div>
</div>
</div>
</div>
</section>
<!-- Why Choose Us Section -->
<section id="why-choose-us" class="section"> <center>techpk </center>
<div class="container">
<h2 class="section-title">Why Choose VitaBoost?</h2>
<div class="features-grid">
<div class="feature-item" data-aos="zoom-in">
<i class="fas fa-leaf"></i>
<h3>Natural Ingredients</h3>
<p>We use only the highest quality, natural ingredients sourced responsibly.</p>
</div>
<div class="feature-item" data-aos="zoom-in" data-aos-delay="100">
<i class="fas fa-award"></i>
<h3>Scientifically Formulated</h3>
<p>Our products are backed by research and formulated for maximum efficacy.</p>
</div>
<div class="feature-item" data-aos="zoom-in" data-aos-delay="200">
<i class="fas fa-thumbs-up"></i>
<h3>Customer Satisfaction</h3>
<p>Thousands of happy customers trust us for their health and wellness needs.</p>
</div>
<div class="feature-item" data-aos="zoom-in" data-aos-delay="300">
<i class="fas fa-truck-fast"></i>
<h3>Fast & Reliable Shipping</h3>
<p>Get your favorite products delivered quickly and reliably to your doorstep.</p>
</div>
</div>
</div>
</section>
<!-- Contact Section -->
<section id="contact" class="section"><center>techpk </center>
<div class="container">
<h2 class="section-title">Get In Touch</h2>
<p>Have questions about our products or need assistance? We're here to help!</p>
<p>Email us at: <a href="mailto:support@vitaboost.com">support@vitaboost.com</a></p>
<div class="social-icons">
<a href="#" target="_blank" aria-label="Facebook"><i class="fab fa-facebook-f"></i></a>
<a href="#" target="_blank" aria-label="Instagram"><i class="fab fa-instagram"></i></a>
<a href="#" target="_blank" aria-label="Twitter"><i class="fab fa-twitter"></i></a>
<a href="#" target="_blank" aria-label="Pinterest"><i class="fab fa-pinterest"></i></a>
</div>
</div>
</section>
<!-- Footer Section -->
<footer id="main-footer">
<div class="container">
<p>© <span id="currentYear"></span> VitaBoost Health Products. All Rights Reserved.</p>
<p>Designed with <i class="fas fa-heart" style="color: var(--primary-color);"></i> for a Healthier You</p>
</div>
</footer>
<!-- AOS Library for Scroll Animations JS -->
<script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
<script>
document.addEventListener('DOMContentLoaded', function() {
// Initialize AOS (Animate On Scroll Library)
AOS.init({
duration: 800, // Animation duration
once: true, // Animation happens only once
offset: 50, // Offset (in px) from the original trigger point
});
// Smooth scroll for navigation links
const navLinks = document.querySelectorAll('#main-header nav a');
navLinks.forEach(link => {
link.addEventListener('click', function(e) {
const href = this.getAttribute('href');
if (href.startsWith('#')) {
e.preventDefault();
const targetId = href.substring(1);
const targetElement = document.getElementById(targetId);
if (targetElement) {
const headerOffset = document.getElementById('main-header').offsetHeight;
const elementPosition = targetElement.getBoundingClientRect().top;
const offsetPosition = elementPosition + window.pageYOffset - headerOffset;
window.scrollTo({
top: offsetPosition,
behavior: "smooth"
});
}
}
});
});
// Header shrink on scroll
const header = document.getElementById('main-header');
window.addEventListener('scroll', () => {
if (window.scrollY > 50) {
header.classList.add('scrolled');
} else {
header.classList.remove('scrolled');
}
});
// Set current year in footer
document.getElementById('currentYear').textContent = new Date().getFullYear();
});
</script>
</body>
</html>
No comments:
Post a Comment
If you have any question you can ask me feelfree.