/* SMOOTH SCROLL & OFFSET FIX */
        html {
            scroll-behavior: smooth;
            scroll-padding-top: 90px;
        }

        :root {
            --primary: #E67E22;
            --primary-light: #FAD7A0;
            --accent: #B9770E;
            --bg-body: #FDFBF7;
            --bg-card: #FFFFFF;
            --text-main: #4E342E;
            --text-light: #795548;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }

        body {
            font-family: 'Outfit', sans-serif;
            background-color: var(--bg-body);
            color: var(--text-main);
            line-height: 1.6;
        }

        h1, h2, h3, h4 { font-family: 'Lora', serif; }

        a { text-decoration: none; cursor: pointer; }
        ul { list-style: none; }

        /* --- NAVIGATION --- */
        nav {
            background: rgba(255, 255, 255, 0.98);
            box-shadow: 0 4px 20px rgba(0,0,0,0.03);
            position: sticky;
            top: 0;
            z-index: 1000;
            width: 100%;
        }

        .nav-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 10px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 1.6rem;
            font-weight: 600;
            color: var(--primary);
            display: flex;
            align-items: center;
            gap: 12px;
            flex-shrink: 0;
            text-decoration: none;
        }

        .logo img {
            height: 45px;
            width: auto;
            object-fit: contain;
        }

        .nav-links {
            display: flex;
            gap: 40px;
            margin-left: auto;
            margin-right: 40px;
        }

        .nav-links a {
            color: var(--text-main);
            font-weight: 400;
            font-size: 0.95rem;
            transition: 0.3s;
            position: relative;
        }

        .nav-links a:hover { color: var(--primary); }

        .nav-links a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -4px;
            left: 0;
            background-color: var(--primary);
            transition: width 0.3s;
        }

        .nav-links a:hover::after { width: 100%; }

        .cta-btn {
            background-color: var(--primary);
            color: white;
            padding: 10px 25px;
            border-radius: 50px;
            font-weight: 500;
            letter-spacing: 0.5px;
            transition: 0.3s;
            white-space: nowrap;
            box-shadow: 0 4px 10px rgba(230, 126, 34, 0.2);
        }

        .cta-btn:hover {
            background-color: var(--accent);
            transform: translateY(-2px);
            box-shadow: 0 6px 15px rgba(230, 126, 34, 0.4);
        }

        /* --- HERO SECTION --- */
        .hero {
            height: 85vh;
            /* HERO IMAGE (Kept as JPG) */
            background: linear-gradient(rgba(253, 251, 247, 0.85), rgba(253, 251, 247, 0.7)), url('img/hero.webp');
            background-size: cover;
            background-position: center;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 0 20px;
        }

        .hero h1 {
            font-size: 3.5rem;
            margin-bottom: 20px;
            font-style: italic;
        }

        .hero p {
            font-size: 1.2rem;
            max-width: 600px;
            margin-bottom: 35px;
            color: var(--text-light);
        }

        .hero-btns {
            display: flex;
            gap: 15px;
        }

        /* --- CATEGORIES --- */
        .categories-bar {
            background-color: var(--primary-light);
            padding: 40px 5%;
            text-align: center;
            margin-top: -25px;
            position: relative;
            z-index: 10;
            border-radius: 8px;
            margin-left: 5%;
            margin-right: 5%;
            box-shadow: 0 5px 20px rgba(0,0,0,0.05);
            display: flex;
            justify-content: space-around;
            flex-wrap: wrap;
            gap: 20px;
        }

        .cat-item {
            display: flex;
            align-items: center;
            gap: 10px;
            font-weight: 500;
            color: var(--text-main);
        }
        
        .cat-item i { color: var(--primary); font-size: 1.2rem; }

        /* --- PRODUCTS --- */
        .products { padding: 100px 10%; }

        .section-header { text-align: center; margin-bottom: 60px; }
        .section-header h2 { font-size: 2.5rem; margin-bottom: 10px; }
        .section-header p { color: var(--text-light); }

        .product-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 40px;
        }

        .product-card {
            background: var(--bg-card);
            border: 1px solid rgba(0,0,0,0.05);
            border-radius: 8px;
            overflow: hidden;
            transition: 0.3s;
        }

        .product-card:hover {
            box-shadow: 0 10px 25px rgba(0,0,0,0.08);
            transform: translateY(-5px);
        }

        .product-img {
            height: 220px;
            width: 100%;
            background-color: #f0f0f0;
        }
        
        .product-img img { 
            width: 100%; 
            height: 100%; 
            object-fit: cover;
        }

        .product-info { padding: 20px; text-align: center; }
        .product-info h3 { font-size: 1.2rem; margin-bottom: 8px; color: var(--accent); }
        .product-info p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 15px; }

        /* --- FESTIVAL BANNER --- */
        .festival-banner {
            background-color: var(--text-main);
            color: #fff;
            padding: 60px 10%;
            text-align: center;
        }
        
        .festival-banner h2 { color: var(--primary-light); margin-bottom: 15px; }
        .festival-banner p { opacity: 0.8; max-width: 700px; margin: 0 auto 30px; }

        /* --- ABOUT SECTION --- */
        .about-section {
            background-color: #fff;
            padding: 80px 10%;
            display: flex;
            align-items: center;
            gap: 50px;
        }

        .about-text { flex: 1; }
        .about-text h2 { font-size: 2.5rem; margin-bottom: 20px; color: var(--text-main); font-family: 'Lora', serif; }
        .about-text p { margin-bottom: 15px; color: var(--text-light); font-size: 1rem; }
        
        .about-img { flex: 1; text-align: center; display: flex; justify-content: center; }
        .about-img img { 
            max-width: 300px; 
            width: 100%; 
            border-radius: 10px; 
            box-shadow: 0 10px 30px rgba(0,0,0,0.08); 
        }

        /* --- FOOTER --- */
        footer {
            background: #fffaf3;
            border-top: 1px solid #eee;
            padding: 35px 5% 15px;
        }

        .footer-grid {
            max-width: 1200px;
            margin: auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 25px;
            align-items: start;
        }

        .footer-col h4 {
            color: var(--accent);
            margin-bottom: 12px;
            font-size: 1rem;
            font-weight: 600;
        }

        .footer-col ul li { margin-bottom: 8px; color: var(--text-light); font-size: 0.9rem; }
        .footer-col a { color: var(--text-light); transition: 0.3s; }
        .footer-col a:hover { color: var(--primary); }
        .footer-col i { color: var(--primary); margin-right: 6px; }

        .copyright {
            text-align: center;
            margin-top: 18px;
            padding-top: 8px;
            border-top: 1px solid #eee;
            font-size: 0.8rem;
            color: #999;
        }

        /* --- MOBILE FIXES --- */
        @media (max-width: 768px) {

            .nav-container {
                flex-direction: column;
                gap: 8px;
                padding: 10px 12px;
            }

            .logo { font-size: 1.3rem; }
            .logo img { height: 40px; }

            .nav-links {
                justify-content: center;
                gap: 15px;
                margin: 0;
                width: 100%;
                flex-wrap: wrap;
            }

            .nav-links a { font-size: 0.85rem; }

            .cta-btn {
                width: auto;
                padding: 8px 18px;
                font-size: 0.85rem;
            }

            .hero { 
                height: auto; 
                min-height: 60vh; 
                padding: 50px 20px; 
                background-position: 15% center !important; 
            }
            
            .hero h1 { font-size: 2.4rem; }
            .hero p { font-size: 1.05rem; }

            .categories-bar {
                margin-top: 20px;
                display: grid;
                grid-template-columns: 1fr 1fr;
                gap: 15px;
                padding: 20px;
            }

            .cat-item { flex-direction: column; text-align: center; font-size: 0.95rem; }

            .products { padding: 50px 5%; }
            .section-header h2 { font-size: 2.1rem; }
            .festival-banner { padding: 45px 5%; }
            
            .about-section { flex-direction: column-reverse; padding: 50px 5%; text-align: center; }
            .about-text h2 { font-size: 2.1rem; }
            .about-img img { max-width: 200px; margin-bottom: 20px; }

            .footer-grid { text-align: center; }
        }

        @media (max-width: 480px) {
            .categories-bar { grid-template-columns: 1fr 1fr; }
            footer iframe { height: 110px; border-radius: 6px; }
            .cta-btn { padding: 12px 20px; font-size: 0.9rem; }
        }

        .whatsapp-float {
            position: fixed;
            bottom: 18px;
            right: 18px;
            background: #25D366;
            color: white;
            width: 54px;
            height: 54px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
            box-shadow: 0 6px 15px rgba(0,0,0,0.25);
            z-index: 9999;
        }
/* --- PUJA GUIDES HUB & INDIVIDUAL PAGES STYLES --- */
.guides-hero { height: 50vh; background: linear-gradient(rgba(253, 251, 247, 0.9), rgba(253, 251, 247, 0.8)), url('img/hero.webp'); background-size: cover; background-position: center; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 0 20px; border-bottom: 1px solid rgba(0,0,0,0.05); }
.guides-hero h1 { font-size: 3rem; color: var(--accent); margin-bottom: 15px; font-family: 'Lora', serif; }
.guides-hero p { font-size: 1.1rem; color: var(--text-light); max-width: 700px; margin-bottom: 35px; }
.search-container { width: 100%; max-width: 550px; position: relative; }
.search-container input { width: 100%; padding: 15px 60px 15px 25px; border-radius: 50px; border: 2px solid var(--primary-light); font-size: 1rem; font-family: 'Outfit', sans-serif; outline: none; box-shadow: 0 8px 25px rgba(0,0,0,0.05); transition: 0.3s; color: var(--text-main); text-overflow: ellipsis; }
.search-container input:focus { border-color: var(--primary); box-shadow: 0 8px 30px rgba(230, 126, 34, 0.2); }
.search-container i { position: absolute; right: 25px; top: 50%; transform: translateY(-50%); color: var(--primary); font-size: 1.2rem; }
.guide-category { padding: 70px 10%; }
.guide-category-header { margin-bottom: 40px; border-bottom: 2px solid var(--primary-light); padding-bottom: 15px; display: flex; align-items: center; gap: 15px; }
.guide-category-header h2 { font-size: 2.2rem; color: var(--text-main); font-family: 'Lora', serif; }
.guide-category-header i { color: var(--primary); font-size: 2rem; }
.guide-card { background: var(--bg-card); border: 1px solid rgba(230, 126, 34, 0.15); border-radius: 12px; padding: 30px; transition: 0.3s; cursor: pointer; display: flex; flex-direction: column; justify-content: space-between; height: 100%; position: relative; overflow: hidden; }
.guide-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease; }
.guide-card:hover { box-shadow: 0 15px 35px rgba(230, 126, 34, 0.15); transform: translateY(-8px); border-color: transparent; }
.guide-card:hover::before { transform: scaleX(1); }
.guide-card h3 { font-size: 1.4rem; color: var(--accent); margin-bottom: 12px; font-family: 'Lora', serif; }
.guide-card p { font-size: 1rem; color: var(--text-light); margin-bottom: 25px; line-height: 1.6; }
.guide-link { color: var(--primary); font-weight: 600; display: flex; align-items: center; gap: 8px; margin-top: auto; font-size: 0.95rem; text-transform: uppercase; }
.guide-card:hover .guide-link i { transform: translateX(8px); }
.bg-alt { background-color: #fdf5ea; }
.guide-header { padding: 80px 5% 50px; text-align: center; background-color: var(--primary-light); background-image: linear-gradient(rgba(253, 251, 247, 0.95), rgba(253, 251, 247, 0.95)), url('img/hero.webp'); background-size: cover; border-bottom: 2px solid rgba(230, 126, 34, 0.2); }
.guide-header h1 { font-size: 3.5rem; color: var(--accent); margin-bottom: 15px; font-family: 'Lora', serif; }
.breadcrumb { color: var(--text-light); font-size: 0.95rem; margin-bottom: 20px; }
.breadcrumb a { color: var(--primary); text-decoration: none; }
.guide-content { max-width: 900px; margin: 0 auto; padding: 50px 20px; }
.intro-text { font-size: 1.15rem; line-height: 1.8; color: var(--text-main); margin-bottom: 50px; text-align: justify; }
.samagri-section { background: #fff; border: 1px solid rgba(230, 126, 34, 0.2); border-radius: 12px; padding: 40px; box-shadow: 0 10px 30px rgba(0,0,0,0.03); margin-bottom: 40px; }
.section-title { font-family: 'Lora', serif; font-size: 2.2rem; color: var(--accent); margin-bottom: 25px; display: flex; align-items: center; gap: 12px; border-bottom: 2px dashed var(--primary-light); padding-bottom: 15px; }
.checklist-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 15px 30px; }
.checklist-item { display: flex; align-items: flex-start; gap: 12px; font-size: 1.05rem; color: var(--text-main); line-height: 1.4; }
.checklist-item input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--primary); cursor: pointer; flex-shrink: 0; margin-top: 3px; }
.guide-cta { background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: 12px; padding: 35px; text-align: center; color: white; box-shadow: 0 15px 30px rgba(230, 126, 34, 0.3); margin-bottom: 60px; }
.guide-cta h3 { font-size: 1.8rem; margin-bottom: 10px; font-family: 'Lora', serif; }
.guide-cta p { font-size: 1.1rem; margin-bottom: 25px; opacity: 0.9; }
.btn-white { background: white; color: var(--accent); padding: 12px 30px; border-radius: 50px; font-weight: 600; font-size: 1.1rem; display: inline-block; transition: 0.3s; text-decoration: none; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.vidhi-step { display: flex; gap: 20px; margin-bottom: 30px; background: #fafafa; padding: 25px; border-radius: 8px; border-left: 4px solid var(--primary); }
.step-number { width: 45px; height: 45px; background: var(--primary-light); color: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 600; flex-shrink: 0; font-family: 'Lora', serif; }
.step-content h4 { font-size: 1.3rem; color: var(--text-main); margin-bottom: 8px; font-family: 'Lora', serif; }
.step-content p { color: var(--text-light); line-height: 1.7; }

/* --- ENHANCED MOBILE RESPONSIVENESS (for all pages) --- */
@media (max-width: 768px) {
    /* Hub Page Fixes */
    .guides-hero { height: auto; min-height: 40vh; padding: 40px 15px; }
    .guides-hero h1 { font-size: 2rem; }
    .guides-hero p { font-size: 1rem; margin-bottom: 20px; }
    .guide-category { padding: 40px 5%; }
    .guide-category-header h2 { font-size: 1.8rem; }
    .guide-category-header i { font-size: 1.5rem; }
    .guide-card { padding: 20px; }
    
    /* Individual Guide Page Fixes */
    .guide-header { padding: 40px 5% 30px; }
    .guide-header h1 { font-size: 2rem; }
    .breadcrumb { font-size: 0.85rem; line-height: 1.4; }
    .guide-content { padding: 30px 15px; }
    .intro-text { font-size: 1rem; text-align: left; }
    .samagri-section { padding: 20px; margin-bottom: 30px; }
    .section-title { font-size: 1.5rem; flex-wrap: wrap; }
    .checklist-grid { grid-template-columns: 1fr; gap: 12px; }
    .checklist-item { font-size: 0.95rem; }
    .guide-cta { padding: 25px 15px; margin-bottom: 40px; }
    .guide-cta h3 { font-size: 1.4rem; }
    .guide-cta p { font-size: 0.95rem; }
    .btn-white { padding: 10px 20px; font-size: 1rem; }
    .vidhi-step { flex-direction: column; gap: 12px; padding: 15px; }
    .step-number { width: 35px; height: 35px; font-size: 1.2rem; }
    .step-content h4 { font-size: 1.1rem; }
    
    /* General Navbar Mobile Tweaks */
    .logo { text-align: center; justify-content: center; font-size: 1.2rem; }
    .nav-links { gap: 8px 15px; justify-content: center; flex-wrap: wrap; }
    .nav-links a { font-size: 0.95rem; }
    .cta-btn { margin-top: 5px; }
}

@media print {
    nav, footer, .guide-cta, .whatsapp-float { display: none !important; }
    body { background: white; }
    .samagri-section { border: 1px solid black; box-shadow: none; }
}

/* --- SCROLL REVEAL ANIMATIONS --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
/* Stagger delays for product cards for a cascading effect */
.product-card.reveal { transition-delay: 0.1s; }
