HTML
979 lines
33.9 KB
Panchakarma Detox Therapy — 5-Step Ayurvedic Cleansing Guide
Complete guide to Panchakarma detox therapy — the 5-step Ayurvedic detoxification process. Learn about treatments, benefits, and what to expect.
Live Preview
Source Code
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Complete guide to Panchakarma detox therapy — the 5-step Ayurvedic detoxification process. Learn about treatments, benefits, and what to expect.">
<title>Panchakarma Detox Therapy — 5-Step Ayurvedic Cleansing Guide</title>
<!-- Google Fonts -->
<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=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap" rel="stylesheet">
<!-- Font Awesome -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
--primary-color: #2d5f4f;
--secondary-color: #8b7355;
--accent-color: #c9a96e;
--text-dark: #2c3e50;
--text-light: #6c757d;
--bg-light: #f8f9fa;
--bg-white: #ffffff;
--border-color: #e9ecef;
}
body {
font-family: 'Inter', sans-serif;
color: var(--text-dark);
line-height: 1.6;
overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
font-family: 'Playfair Display', serif;
font-weight: 600;
line-height: 1.3;
}
/* Navigation */
.navbar {
position: sticky;
top: 0;
background: var(--bg-white);
box-shadow: 0 2px 10px rgba(0,0,0,0.05);
z-index: 1000;
padding: 1rem 0;
}
.nav-container {
max-width: 1200px;
margin: 0 auto;
padding: 0 2rem;
display: flex;
justify-content: space-between;
align-items: center;
}
.logo {
font-family: 'Playfair Display', serif;
font-size: 1.5rem;
font-weight: 700;
color: var(--primary-color);
text-decoration: none;
}
.nav-menu {
display: flex;
list-style: none;
gap: 2rem;
}
.nav-menu a {
color: var(--text-dark);
text-decoration: none;
font-weight: 500;
font-size: 0.95rem;
transition: color 0.3s ease;
}
.nav-menu a:hover {
color: var(--primary-color);
}
.mobile-toggle {
display: none;
background: none;
border: none;
font-size: 1.5rem;
color: var(--text-dark);
cursor: pointer;
}
/* Hero Section */
.hero {
background: linear-gradient(135deg, rgba(45, 95, 79, 0.9), rgba(139, 115, 85, 0.85)),
url('https://images.unsplash.com/photo-1600334129228-209d20d80dc9?w=1600') center/cover;
color: white;
padding: 8rem 2rem 6rem;
text-align: center;
}
.hero-content {
max-width: 800px;
margin: 0 auto;
}
.hero h1 {
font-size: 3rem;
margin-bottom: 1.5rem;
font-weight: 700;
}
.hero p {
font-size: 1.25rem;
margin-bottom: 2rem;
opacity: 0.95;
font-weight: 300;
}
/* Container */
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 2rem;
}
/* Section Styles */
section {
padding: 5rem 0;
}
.section-header {
text-align: center;
margin-bottom: 4rem;
}
.section-header h2 {
font-size: 2.5rem;
color: var(--primary-color);
margin-bottom: 1rem;
}
.section-header p {
font-size: 1.1rem;
color: var(--text-light);
max-width: 700px;
margin: 0 auto;
}
/* About Section */
.about {
background: var(--bg-white);
}
.about-content {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 4rem;
align-items: center;
}
.about-image {
border-radius: 8px;
overflow: hidden;
box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}
.about-image img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
.about-text h3 {
font-size: 2rem;
color: var(--primary-color);
margin-bottom: 1.5rem;
}
.about-text p {
color: var(--text-light);
margin-bottom: 1rem;
line-height: 1.8;
}
/* Steps Section */
.steps {
background: var(--bg-light);
}
.steps-timeline {
display: grid;
gap: 2rem;
max-width: 900px;
margin: 0 auto;
}
.step-card {
background: var(--bg-white);
border-radius: 12px;
padding: 2.5rem;
border: 1px solid var(--border-color);
display: grid;
grid-template-columns: 80px 1fr;
gap: 2rem;
align-items: start;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step-card:hover {
transform: translateY(-3px);
box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.step-number {
width: 70px;
height: 70px;
border-radius: 50%;
background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
color: white;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.75rem;
font-weight: 700;
font-family: 'Playfair Display', serif;
}
.step-content h3 {
font-size: 1.5rem;
color: var(--primary-color);
margin-bottom: 0.5rem;
}
.step-content .sanskrit {
font-style: italic;
color: var(--accent-color);
font-size: 0.95rem;
margin-bottom: 1rem;
}
.step-content p {
color: var(--text-light);
line-height: 1.8;
margin-bottom: 1rem;
}
.step-content ul {
list-style: none;
padding: 0;
}
.step-content ul li {
color: var(--text-light);
padding: 0.3rem 0;
padding-left: 1.5rem;
position: relative;
}
.step-content ul li::before {
content: '\f058';
font-family: 'Font Awesome 6 Free';
font-weight: 900;
color: var(--accent-color);
position: absolute;
left: 0;
font-size: 0.85rem;
}
/* Trust Section */
.trust {
background: var(--bg-white);
}
.trust-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 3rem;
margin-top: 3rem;
}
.trust-item {
text-align: center;
}
.trust-number {
font-size: 3rem;
font-weight: 700;
color: var(--primary-color);
font-family: 'Playfair Display', serif;
margin-bottom: 0.5rem;
}
.trust-label {
font-size: 1.1rem;
color: var(--text-light);
font-weight: 500;
}
/* Content Section */
.content-section {
background: var(--bg-light);
}
.content-grid {
display: grid;
gap: 3rem;
}
.content-article {
background: var(--bg-white);
border-radius: 8px;
overflow: hidden;
display: grid;
grid-template-columns: 300px 1fr;
gap: 2rem;
border: 1px solid var(--border-color);
}
.article-image {
height: 100%;
min-height: 250px;
}
.article-image img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
.article-content {
padding: 2rem 2rem 2rem 0;
}
.article-content h3 {
font-size: 1.75rem;
color: var(--primary-color);
margin-bottom: 1rem;
}
.article-content p {
color: var(--text-light);
line-height: 1.8;
margin-bottom: 1rem;
}
.article-meta {
display: flex;
gap: 1.5rem;
font-size: 0.9rem;
color: var(--text-light);
margin-top: 1.5rem;
}
.article-meta i {
margin-right: 0.5rem;
color: var(--accent-color);
}
/* Contact Section */
.contact {
background: var(--bg-white);
}
.contact-wrapper {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 4rem;
max-width: 1000px;
margin: 0 auto;
}
.contact-info h3 {
font-size: 1.75rem;
color: var(--primary-color);
margin-bottom: 1.5rem;
}
.contact-info p {
color: var(--text-light);
margin-bottom: 2rem;
line-height: 1.8;
}
.contact-details {
display: flex;
flex-direction: column;
gap: 1.5rem;
}
.contact-item {
display: flex;
align-items: start;
gap: 1rem;
}
.contact-item i {
font-size: 1.25rem;
color: var(--primary-color);
margin-top: 0.25rem;
}
.contact-item-content h4 {
font-size: 1rem;
margin-bottom: 0.25rem;
color: var(--text-dark);
}
.contact-item-content p {
margin: 0;
color: var(--text-light);
}
.contact-form {
background: var(--bg-light);
padding: 2.5rem;
border-radius: 8px;
}
.form-group {
margin-bottom: 1.5rem;
}
.form-group label {
display: block;
margin-bottom: 0.5rem;
color: var(--text-dark);
font-weight: 500;
}
.form-group input,
.form-group textarea {
width: 100%;
padding: 0.875rem 1rem;
border: 1px solid var(--border-color);
border-radius: 4px;
font-family: 'Inter', sans-serif;
font-size: 1rem;
transition: border-color 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus {
outline: none;
border-color: var(--primary-color);
}
.form-group textarea {
resize: vertical;
min-height: 120px;
}
.submit-btn {
background: var(--primary-color);
color: white;
padding: 1rem 2.5rem;
border: none;
border-radius: 4px;
font-size: 1rem;
font-weight: 500;
cursor: pointer;
transition: background 0.3s ease;
width: 100%;
}
.submit-btn:hover {
background: #234a3d;
}
/* Footer */
footer {
background: var(--text-dark);
color: white;
padding: 3rem 0 1.5rem;
}
.footer-content {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 3rem;
margin-bottom: 2rem;
}
.footer-section h3 {
font-size: 1.25rem;
margin-bottom: 1.5rem;
color: var(--accent-color);
}
.footer-section p {
color: rgba(255,255,255,0.7);
line-height: 1.8;
}
.footer-links {
list-style: none;
}
.footer-links li {
margin-bottom: 0.75rem;
}
.footer-links a {
color: rgba(255,255,255,0.7);
text-decoration: none;
transition: color 0.3s ease;
}
.footer-links a:hover {
color: var(--accent-color);
}
.footer-bottom {
border-top: 1px solid rgba(255,255,255,0.1);
padding-top: 1.5rem;
text-align: center;
color: rgba(255,255,255,0.6);
font-size: 0.9rem;
}
/* Responsive Design */
@media (max-width: 768px) {
.mobile-toggle {
display: block;
}
.nav-menu {
position: absolute;
top: 100%;
left: 0;
right: 0;
background: var(--bg-white);
flex-direction: column;
padding: 1rem 2rem;
box-shadow: 0 5px 10px rgba(0,0,0,0.1);
display: none;
}
.nav-menu.active {
display: flex;
}
.hero h1 {
font-size: 2rem;
}
.hero p {
font-size: 1rem;
}
.section-header h2 {
font-size: 2rem;
}
.about-content,
.contact-wrapper {
grid-template-columns: 1fr;
gap: 2rem;
}
.step-card {
grid-template-columns: 1fr;
gap: 1rem;
}
.content-article {
grid-template-columns: 1fr;
}
.article-image {
height: 250px;
}
.article-content {
padding: 2rem;
}
section {
padding: 3rem 0;
}
}
</style>
</head>
<body>
<!-- Navigation -->
<nav class="navbar">
<div class="nav-container">
<a href="#" class="logo">Panchakarma Therapy</a>
<button class="mobile-toggle" aria-label="Toggle menu">
<i class="fas fa-bars"></i>
</button>
<ul class="nav-menu">
<li><a href="#home">Home</a></li>
<li><a href="#about">About</a></li>
<li><a href="#steps">5 Steps</a></li>
<li><a href="#knowledge">Knowledge</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</div>
</nav>
<!-- Hero Section -->
<section id="home" class="hero">
<div class="hero-content">
<h1>Panchakarma Detox Therapy</h1>
<p>Experience the ultimate Ayurvedic detoxification — a comprehensive 5-step cleansing process that removes deep-seated toxins, restores balance, and rejuvenates body and mind.</p>
</div>
</section>
<!-- About Section -->
<section id="about" class="about">
<div class="container">
<div class="about-content">
<div class="about-image">
<img src="https://images.unsplash.com/photo-1600334129228-209d20d80dc9?w=800" alt="Panchakarma therapy treatment">
</div>
<div class="about-text">
<h3>What Is Panchakarma?</h3>
<p>Panchakarma, meaning "five actions" in Sanskrit, is the cornerstone of Ayurvedic detoxification. It is a comprehensive therapeutic protocol designed to eliminate accumulated toxins (ama) from the body and restore dosha balance.</p>
<p>The process begins with preparatory treatments called Purvakarma — oil therapy (Snehana) and sweat therapy (Swedana) — which loosen toxins and mobilize them toward the digestive tract for elimination.</p>
<p>The main five procedures then systematically remove these toxins through different channels. Panchakarma is not merely a physical cleanse but a profound rejuvenation that touches every level of the being.</p>
</div>
</div>
</div>
</section>
<!-- 5 Steps Section -->
<section id="steps" class="steps">
<div class="container">
<div class="section-header">
<h2>The Five Actions of Panchakarma</h2>
<p>Each step targets specific toxins and dosha imbalances for comprehensive cleansing</p>
</div>
<div class="steps-timeline">
<!-- Step 1 -->
<div class="step-card">
<div class="step-number">1</div>
<div class="step-content">
<h3>Vamana — Therapeutic Emesis</h3>
<div class="sanskrit">Upward Elimination</div>
<p>Vamana is a controlled therapeutic vomiting procedure primarily used to eliminate excess Kapha dosha from the upper body. It is particularly effective for respiratory conditions, asthma, and skin disorders.</p>
<ul>
<li>Best for Kapha-related disorders</li>
<li>Clears respiratory congestion</li>
<li>Treats chronic asthma and bronchitis</li>
<li>Performed under strict medical supervision</li>
</ul>
</div>
</div>
<!-- Step 2 -->
<div class="step-card">
<div class="step-number">2</div>
<div class="step-content">
<h3>Virechana — Purgation Therapy</h3>
<div class="sanskrit">Downward Elimination</div>
<p>Virechana is a therapeutic purgation that removes excess Pitta dosha from the body through the lower digestive tract. It cleanses the liver, gallbladder, and intestines of accumulated heat and toxins.</p>
<ul>
<li>Best for Pitta-related disorders</li>
<li>Cleanses liver and gallbladder</li>
<li>Treats skin conditions and inflammation</li>
<li>Improves digestion and metabolism</li>
</ul>
</div>
</div>
<!-- Step 3 -->
<div class="step-card">
<div class="step-number">3</div>
<div class="step-content">
<h3>Basti — Medicated Enema</h3>
<div class="sanskrit">Niruha & Anuvasana</div>
<p>Basti is considered the most important Panchakarma procedure. It involves administering medicated oils or herbal decoctions through the rectum to eliminate excess Vata dosha and nourish the colon.</p>
<ul>
<li>Best for Vata-related disorders</li>
<li>Treats constipation and neurological issues</li>
<li>Strengthens colon and reproductive tissues</li>
<li>Can be oil-based (Anuvasana) or decoction-based (Niruha)</li>
</ul>
</div>
</div>
<!-- Step 4 -->
<div class="step-card">
<div class="step-number">4</div>
<div class="step-content">
<h3>Nasya — Nasal Administration</h3>
<div class="sanskrit">Head & Sinus Cleansing</div>
<p>Nasya involves the administration of medicated oils or powders through the nasal passages. It is the primary treatment for disorders of the head, neck, and sinuses, clearing channels and improving mental clarity.</p>
<ul>
<li>Treats chronic sinusitis and migraines</li>
<li>Improves memory and concentration</li>
<li>Clears respiratory passages</li>
<li>Beneficial for hair and skin health</li>
</ul>
</div>
</div>
<!-- Step 5 -->
<div class="step-card">
<div class="step-number">5</div>
<div class="step-content">
<h3>Raktamokshana — Blood Letting</h3>
<div class="sanskrit">Blood Purification</div>
<p>Raktamokshana is the therapeutic removal of small amounts of blood to eliminate toxins from the bloodstream. It is used selectively for conditions involving blood impurities, skin disorders, and localized inflammation.</p>
<ul>
<li>Treats chronic skin disorders</li>
<li>Purifies blood and reduces inflammation</li>
<li>Used for localized pain and swelling</li>
<li>Performed with sterile, modern techniques</li>
</ul>
</div>
</div>
</div>
</div>
</section>
<!-- Trust Section -->
<section class="trust">
<div class="container">
<div class="section-header">
<h2>Our Panchakarma Center</h2>
<p>Dedicated facilities with experienced therapists for authentic Panchakarma treatment</p>
</div>
<div class="trust-grid">
<div class="trust-item">
<div class="trust-number">25+</div>
<div class="trust-label">Years of Practice</div>
</div>
<div class="trust-item">
<div class="trust-number">8000+</div>
<div class="trust-label">Treatments Completed</div>
</div>
<div class="trust-item">
<div class="trust-number">5</div>
<div class="trust-label">Therapy Steps</div>
</div>
<div class="trust-item">
<div class="trust-number">15</div>
<div class="trust-label">Expert Therapists</div>
</div>
</div>
</div>
</section>
<!-- Content Section -->
<section id="knowledge" class="content-section">
<div class="container">
<div class="section-header">
<h2>Panchakarma Knowledge</h2>
<p>Learn what to expect before, during, and after your Panchakarma journey</p>
</div>
<div class="content-grid">
<article class="content-article">
<div class="article-image">
<img src="https://images.unsplash.com/photo-1544161515-4ab6ce6db874?w=600" alt="Panchakarma preparation">
</div>
<div class="article-content">
<h3>Preparing for Panchakarma: What You Need to Know</h3>
<p>Proper preparation is essential for a successful Panchakarma. The preparatory phase (Purvakarma) includes internal and external oleation (Snehana) followed by sweat therapy (Swedana). During this period, you consume medicated ghee and receive oil massages to loosen toxins.</p>
<p>Diet should be light and warm during preparation. Avoid cold drinks, raw foods, and heavy meals. It is recommended to take time off work, as the body needs rest during the entire process. A typical Panchakarma program lasts 7 to 21 days depending on individual needs.</p>
<div class="article-meta">
<span><i class="far fa-clock"></i>8 min read</span>
<span><i class="far fa-folder"></i>Preparation</span>
</div>
</div>
</article>
<article class="content-article">
<div class="article-image">
<img src="https://images.unsplash.com/photo-1600334129228-209d20d80dc9?w=600" alt="Post-treatment care">
</div>
<div class="article-content">
<h3>Post-Panchakarma: Rebuilding and Rejuvenation</h3>
<p>The post-treatment phase (Paschatkarma) is just as important as the main procedures. After Panchakarma, your digestive system is delicate and needs gradual rebuilding through a structured diet called Samsarjana Krama.</p>
<p>This involves progressively moving from liquid to semi-solid to solid foods, starting with rice gruel (peya) and gradually adding more substance. This allows agni (digestive fire) to recover fully. Rasayana (rejuvenation) therapies are often prescribed afterward to rebuild tissues and strengthen immunity.</p>
<div class="article-meta">
<span><i class="far fa-clock"></i>7 min read</span>
<span><i class="far fa-folder"></i>Recovery</span>
</div>
</div>
</article>
<article class="content-article">
<div class="article-image">
<img src="https://images.unsplash.com/photo-1515377905703-c4788e51af15?w=600" alt="Panchakarma benefits">
</div>
<div class="article-content">
<h3>Health Benefits of Panchakarma Therapy</h3>
<p>Panchakarma offers profound benefits beyond simple detoxification. It strengthens the immune system, improves digestion, enhances mental clarity, and restores natural energy levels. Many chronic conditions respond well to Panchakarma when conventional treatments have limited results.</p>
<p>Regular Panchakarma, ideally once a year, serves as preventive medicine. It removes accumulated toxins before they manifest as disease, keeping the doshas balanced and the body functioning optimally. The therapy also promotes emotional release and spiritual well-being.</p>
<div class="article-meta">
<span><i class="far fa-clock"></i>6 min read</span>
<span><i class="far fa-folder"></i>Benefits</span>
</div>
</div>
</article>
</div>
</div>
</section>
<!-- Contact Section -->
<section id="contact" class="contact">
<div class="container">
<div class="section-header">
<h2>Book Your Panchakarma</h2>
<p>Schedule a consultation to begin your detoxification journey with our expert team</p>
</div>
<div class="contact-wrapper">
<div class="contact-info">
<h3>Contact Information</h3>
<p>Our Panchakarma center offers authentic treatments in a serene, supportive environment. Contact us to learn more about our programs and availability.</p>
<div class="contact-details">
<div class="contact-item">
<i class="fas fa-map-marker-alt"></i>
<div class="contact-item-content">
<h4>Location</h4>
<p>123 Wellness Street<br>Health District, City 12345</p>
</div>
</div>
<div class="contact-item">
<i class="fas fa-phone"></i>
<div class="contact-item-content">
<h4>Phone</h4>
<p>+1 (555) 123-4567</p>
</div>
</div>
<div class="contact-item">
<i class="fas fa-envelope"></i>
<div class="contact-item-content">
<h4>Email</h4>
<p>info@panchakarma center.com</p>
</div>
</div>
<div class="contact-item">
<i class="fas fa-clock"></i>
<div class="contact-item-content">
<h4>Hours</h4>
<p>Monday - Friday: 9:00 AM - 6:00 PM<br>Saturday: 10:00 AM - 4:00 PM</p>
</div>
</div>
</div>
</div>
<div class="contact-form">
<form id="enquiryForm">
<div class="form-group">
<label for="name">Full Name</label>
<input type="text" id="name" name="name" required>
</div>
<div class="form-group">
<label for="email">Email Address</label>
<input type="email" id="email" name="email" required>
</div>
<div class="form-group">
<label for="phone">Phone Number</label>
<input type="tel" id="phone" name="phone">
</div>
<div class="form-group">
<label for="message">Your Message</label>
<textarea id="message" name="message" required></textarea>
</div>
<button type="submit" class="submit-btn">Send Enquiry</button>
</form>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer>
<div class="container">
<div class="footer-content">
<div class="footer-section">
<h3>Panchakarma Therapy</h3>
<p>Offering authentic Ayurvedic detoxification and rejuvenation in a tranquil, healing environment with experienced practitioners.</p>
</div>
<div class="footer-section">
<h3>Quick Links</h3>
<ul class="footer-links">
<li><a href="#about">About Panchakarma</a></li>
<li><a href="#steps">5 Steps</a></li>
<li><a href="#knowledge">Knowledge Base</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</div>
<div class="footer-section">
<h3>Resources</h3>
<ul class="footer-links">
<li><a href="#">Treatment Programs</a></li>
<li><a href="#">Preparation Guide</a></li>
<li><a href="#">Recovery Protocol</a></li>
<li><a href="#">FAQ</a></li>
</ul>
</div>
<div class="footer-section">
<h3>Legal</h3>
<ul class="footer-links">
<li><a href="#">Privacy Policy</a></li>
<li><a href="#">Terms of Service</a></li>
<li><a href="#">Disclaimer</a></li>
<li><a href="#">Professional Standards</a></li>
</ul>
</div>
</div>
<div class="footer-bottom">
<p>© 2026 Panchakarma Therapy Center. All rights reserved. This website is for informational purposes only and does not constitute medical advice.</p>
</div>
</div>
</footer>
<script>
// Mobile menu toggle
const mobileToggle = document.querySelector('.mobile-toggle');
const navMenu = document.querySelector('.nav-menu');
mobileToggle.addEventListener('click', () => {
navMenu.classList.toggle('active');
});
// Smooth scrolling for navigation links
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function (e) {
e.preventDefault();
const target = document.querySelector(this.getAttribute('href'));
if (target) {
target.scrollIntoView({
behavior: 'smooth',
block: 'start'
});
navMenu.classList.remove('active');
}
});
});
// Form submission handler
const form = document.getElementById('enquiryForm');
form.addEventListener('submit', (e) => {
e.preventDefault();
const formData = new FormData(form);
const data = Object.fromEntries(formData);
console.log('Form submitted:', data);
alert('Thank you for your enquiry. We will get back to you within 24 hours.');
form.reset();
});
// Add scroll effect to navbar
let lastScroll = 0;
const navbar = document.querySelector('.navbar');
window.addEventListener('scroll', () => {
const currentScroll = window.pageYOffset;
if (currentScroll > 100) {
navbar.style.boxShadow = '0 2px 20px rgba(0,0,0,0.1)';
} else {
navbar.style.boxShadow = '0 2px 10px rgba(0,0,0,0.05)';
}
lastScroll = currentScroll;
});
</script>
</body>
</html>