/* === Style Block 1 === */
:root {
            /* Light Lavender Theme - Matching Shop */
            --gg-primary: #8b5cf6;
            --gg-primary-light: #a78bfa;
            --gg-primary-dark: #7c3aed;
            --gg-violet: #8b5cf6;
            --gg-purple: #9333ea;
            --gg-fuchsia: #d946ef;
            --gg-bg: #faf8ff;
            --gg-bg-secondary: #f5f3ff;
            --gg-bg-card: rgba(255, 255, 255, 0.95);
            --gg-text: #2d3748;
            --gg-text-muted: #6b7280;
            --gg-border: rgba(139, 92, 246, 0.15);
        }

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

        /* Line clamp utilities for text truncation */
        .line-clamp-1 { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
        .line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

        /* Accessibility: Screen reader only class */
        .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border-width: 0;
        }

        /* Focus visible styles for keyboard navigation (WCAG 2.1) */
        button:focus-visible,
        a:focus-visible,
        input:focus-visible,
        select:focus-visible,
        textarea:focus-visible,
        [tabindex]:focus-visible {
            outline: 2px solid var(--gg-primary, #8b5cf6);
            outline-offset: 2px;
        }

        /* Skip nav focus styles */
        .skip-nav:focus {
            position: absolute;
            top: 1rem;
            left: 1rem;
            z-index: 9999;
            background: var(--gg-primary, #8b5cf6);
            color: white;
            padding: 0.5rem 1rem;
            border-radius: 0.5rem;
            outline: none;
            box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
        }

        body {
            font-family: 'Poppins', Arial, sans-serif;
            background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 25%, #faf8ff 50%, #faf5ff 75%, #f5f3ff 100%);
            background-attachment: fixed;
            color: var(--gg-text);
            overflow-x: hidden;
            position: relative;
            min-height: 100vh;
        }

        .cosmic-font {
            font-family: 'Poppins', sans-serif;
            font-weight: 700;
        }

        /* Hindi Text Support - Prevent Matra Clipping */
        * {
            line-height: 1.7;
        }

        h1, h2, h3, h4, h5, h6 {
            line-height: 1.6;
            padding-top: 0.25rem;
            padding-bottom: 0.15rem;
            color: var(--gg-text);
        }

        p, span, div, a, button, label {
            line-height: 1.7;
        }

        /* Prevent text clipping for Devanagari script */
        [lang="hi"], [data-i18n], .i18n {
            overflow: visible;
            text-overflow: clip;
        }

        /* Content Container - z-index lowered to allow popups to appear on top */
        .content-container {
            position: relative;
            z-index: 1;
            overflow: visible;
        }

        /* Navigation - Light Theme */
        .nav-bar {
            position: sticky;
            top: 0;
            z-index: 1000;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(250, 248, 255, 0.95) 100%);
            border-bottom: 1px solid rgba(139, 92, 246, 0.15);
            backdrop-filter: blur(20px) saturate(180%);
            -webkit-backdrop-filter: blur(20px) saturate(180%);
            box-shadow: 0 4px 20px rgba(139, 92, 246, 0.08);
            overflow: visible !important;
        }

        .nav-bar a, .nav-bar button, .nav-bar span {
            color: var(--gg-text) !important;
        }

        .nav-bar a:hover {
            color: var(--gg-primary) !important;
        }

        /* Glass Cards - Light Lavender Theme */
        .glass-card {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(250, 248, 255, 0.9) 100%);
            border: 1px solid rgba(139, 92, 246, 0.15);
            box-shadow: 0 8px 32px rgba(139, 92, 246, 0.1), inset 0 1px 0 rgba(255,255,255,0.8);
            backdrop-filter: blur(20px) saturate(180%);
            -webkit-backdrop-filter: blur(20px) saturate(180%);
            border-radius: 20px;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            color: var(--gg-text);
        }

        .glass-card:hover {
            border-color: rgba(139, 92, 246, 0.3);
            box-shadow: 0 20px 60px rgba(139, 92, 246, 0.15);
            transform: translateY(-8px);
        }

        /* Glass card text colors */
        .glass-card h2, .glass-card h3, .glass-card h4 {
            color: var(--gg-text);
        }

        .glass-card p, .glass-card span, .glass-card li {
            color: var(--gg-text-muted);
        }

        /* Pricing Cards - Override for explicit Tailwind colors */
        .glass-card .text-white { color: white !important; }
        .glass-card .text-violet-600 { color: #7c3aed !important; }
        .glass-card .text-violet-700 { color: #6d28d9 !important; }
        .glass-card .text-purple-600 { color: #9333ea !important; }
        .glass-card .text-amber-600 { color: #d97706 !important; }
        .glass-card .text-amber-500 { color: #f59e0b !important; }
        .glass-card .text-green-600 { color: #16a34a !important; }
        .glass-card .text-green-700 { color: #15803d !important; }
        .glass-card .text-pink-600 { color: #db2777 !important; }
        .glass-card .text-gray-700 { color: #374151 !important; }
        .glass-card .text-gray-800 { color: #1f2937 !important; }
        .glass-card .text-gray-600 { color: #4b5563 !important; }
        .glass-card .text-gray-500 { color: #6b7280 !important; }
        .glass-card .text-yellow-900 { color: #713f12 !important; }

        /* Violet Glow - For hero section */
        .cosmic-glow {
            background: linear-gradient(135deg, #8b5cf6, #7c3aed, #6d28d9);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        /* Buttons - Lavender Gradient with Animation */
        .btn-cosmic {
            background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
            border: none;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
            color: white;
            position: relative;
            overflow: hidden;
        }

        .btn-cosmic::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: left 0.5s;
        }

        .btn-cosmic:hover::before {
            left: 100%;
        }

        .btn-cosmic:hover {
            background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
            box-shadow: 0 8px 30px rgba(139, 92, 246, 0.45);
            transform: translateY(-3px);
        }

        /* Floating Buttons - Explicit color fixes */
        #whatsappBtn i,
        #whatsappBtn span,
        #aiChatDemoBtn span,
        #backToTopBtn i,
        #backToTop svg {
            color: white !important;
            stroke: white !important;
        }

        #whatsappBtn span {
            background-color: #16a34a !important;
        }

        #aiChatDemoBtn span {
            background-color: #6d28d9 !important;
        }

        /* AI Chat Demo Modal - Explicit text colors */
        #aiChatDemoModal p,
        #aiChatDemoModal span,
        #aiChatMessages p {
            color: #374151 !important;
        }

        #aiChatDemoModal .text-white,
        #aiChatDemoModal .text-white p {
            color: white !important;
        }

        #aiChatDemoModal .bg-violet-600 p,
        #aiChatDemoModal .bg-violet-600 {
            color: white !important;
        }

        /* Modal Styles - Light Theme */
        .modal {
            display: none;
            position: fixed;
            z-index: 9999;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(139, 92, 246, 0.15);
            backdrop-filter: blur(10px);
            align-items: center;
            justify-content: center;
        }

        .modal-content {
            position: relative;
            margin: auto;
            padding: 30px;
            width: 90%;
            max-width: 500px;
            border-radius: 20px;
            background: white;
            box-shadow: 0 25px 80px rgba(139, 92, 246, 0.25);
            animation: modalFadeIn 0.3s ease;
        }

        @keyframes modalFadeIn {
            from { opacity: 0; transform: scale(0.9) translateY(20px); }
            to { opacity: 1; transform: scale(1) translateY(0); }
        }

        .close {
            position: absolute;
            right: 20px;
            top: 15px;
            color: var(--gg-text-muted);
            font-size: 32px;
            font-weight: bold;
            cursor: pointer;
            z-index: 10;
            transition: color 0.3s;
        }

        .close:hover,
        .close:focus {
            color: var(--gg-primary);
        }

        /* Sections - Light lavender theme */
        .section {
            padding: 100px 0;
            position: relative;
            background: transparent;
            color: var(--gg-text);
        }

        .section h2, .section h3, .section h4 {
            color: var(--gg-text);
        }

        .section p, .section span {
            color: var(--gg-text-muted);
        }

        /* Alternate section backgrounds */
        .section:nth-child(even) {
            background: linear-gradient(180deg, rgba(237, 233, 254, 0.5) 0%, rgba(245, 243, 255, 0.5) 100%);
        }

        /* ============================================
           UNIFIED LIGHT LAVENDER THEME
           Clean, consistent backgrounds
           ============================================ */

        /* Main page background - single consistent bg */
        body {
            background: linear-gradient(180deg, #faf8ff 0%, #f5f3ff 50%, #ede9fe 100%);
            background-attachment: fixed;
        }

        /* Hero Section - Responsive for 100% zoom */
        .hero-section {
            min-height: auto;
            display: flex;
            align-items: center;
            justify-content: center;
            background: url('/assets/images/backgrounds/hero-bg.webp') center center / cover no-repeat;
            position: relative;
            overflow: visible;
            padding: 1.5rem 0 2rem;
            max-width: 100vw;
        }

        /* Hero text container - with rotating neon glow */
        .hero-text-container {
            background: rgba(255, 255, 255, 0.85);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-radius: 1rem;
            padding: 1rem;
            position: relative;
            z-index: 1;
        }

        /* Rotating neon purple glow border */
        .hero-text-container::before {
            content: '';
            position: absolute;
            inset: -2px;
            border-radius: 1.1rem;
            background: conic-gradient(
                from var(--glow-angle, 0deg),
                transparent 0%,
                #a855f7 10%,
                #7c3aed 20%,
                #c084fc 30%,
                transparent 40%,
                transparent 60%,
                #8b5cf6 70%,
                #a855f7 80%,
                #d8b4fe 90%,
                transparent 100%
            );
            z-index: -1;
            animation: rotateGlow 4s linear infinite;
            filter: blur(3px);
        }

        /* Inner background to cover the glow */
        .hero-text-container::after {
            content: '';
            position: absolute;
            inset: 1px;
            border-radius: 0.95rem;
            background: rgba(255, 255, 255, 0.9);
            z-index: -1;
        }

        @keyframes rotateGlow {
            0% { --glow-angle: 0deg; }
            100% { --glow-angle: 360deg; }
        }

        @property --glow-angle {
            syntax: '<angle>';
            initial-value: 0deg;
            inherits: false;
        }

        /* Ensure containers don't overflow */
        .container {
            max-width: 100%;
            overflow-x: hidden;
        }

        @media (max-width: 768px) {
            .hero-section {
                padding: 1.5rem 0 2rem;
            }
            .hero-text-container {
                padding: 1rem;
                border-radius: 1rem;
                background: rgba(255, 255, 255, 0.85);
            }
        }

        @media (min-width: 1400px) {
            .hero-section {
                padding: 3rem 0 4rem;
            }
        }

        /* All sections - with DALL-E backgrounds at 30% visibility */
        section {
            position: relative;
            max-width: 100vw;
            overflow-x: hidden;
        }

        /* Background image with 30% visibility (70% white overlay) */
        .bg-hero { background: url('/assets/images/backgrounds/hero-bg.webp') center/cover no-repeat; }
        .bg-features { background: url('/assets/images/backgrounds/features-bg.webp') center/cover no-repeat; }
        .bg-section-1 { background: url('/assets/images/backgrounds/section-bg-1.webp') center/cover no-repeat; }
        .bg-section-2 { background: url('/assets/images/backgrounds/section-bg-2.webp') center/cover no-repeat; }
        .bg-ai-chat { background: url('/assets/images/backgrounds/ai-chat-bg.webp') center/cover no-repeat; }
        .bg-testimonials { background: url('/assets/images/backgrounds/testimonials-bg.webp') center/cover no-repeat; }
        .bg-gemstone-checker { background: url('/assets/images/backgrounds/gemstone-checker-bg.webp') center/cover no-repeat; }
        .bg-pricing { background: url('/assets/images/backgrounds/pricing-bg.webp') center/cover no-repeat; }
        .bg-faq { background: url('/assets/images/backgrounds/faq-bg.webp') center/cover no-repeat; }
        .bg-download { background: url('/assets/images/backgrounds/download-bg.webp') center/cover no-repeat; }
        .bg-footer { background: url('/assets/images/backgrounds/footer-bg.webp') center/cover no-repeat; }
        .bg-vedika-ai { background: url('/assets/images/backgrounds/vedika-ai-bg.webp') center/cover no-repeat; }

        /* Overlay classes - lower number = more image visible */
        .bg-overlay-10::before,
        .bg-overlay-20::before,
        .bg-overlay-30::before {
            content: '';
            position: absolute;
            inset: 0;
            z-index: 1;
        }

        .bg-overlay-10::before { background: rgba(255, 255, 255, 0.9); } /* 10% image visible */
        .bg-overlay-20::before { background: rgba(255, 255, 255, 0.8); } /* 20% image visible */
        .bg-overlay-30::before { background: rgba(255, 255, 255, 0.7); } /* 30% image visible */

        .bg-overlay-10 > *,
        .bg-overlay-20 > *,
        .bg-overlay-30 > * {
            position: relative;
            z-index: 2;
        }

        /* Fallback for sections without specific bg class */
        section:not([class*="bg-"]):nth-child(odd) {
            background: rgba(245, 243, 255, 0.3);
        }

        section:not([class*="bg-"]):nth-child(even) {
            background: rgba(237, 233, 254, 0.3);
        }

        /* Footer - with background image */
        footer {
            background: url('/assets/images/backgrounds/footer-bg.webp') center/cover no-repeat;
            position: relative;
        }

        footer::before {
            content: '';
            position: absolute;
            inset: 0;
            background: rgba(255, 255, 255, 0.8); /* 80% white = 20% image visible */
            z-index: 0;
        }

        footer > * {
            position: relative;
            z-index: 1;
        }

        /* Glass Cards - consistent style */
        .glass-card {
            background: rgba(255, 255, 255, 0.8) !important;
            backdrop-filter: blur(16px) !important;
            -webkit-backdrop-filter: blur(16px) !important;
            border: 1px solid rgba(255, 255, 255, 0.9) !important;
            box-shadow: 0 4px 24px rgba(139, 92, 246, 0.08) !important;
            border-radius: 1rem;
        }

        .glass-card:hover {
            box-shadow: 0 8px 32px rgba(139, 92, 246, 0.15) !important;
            transform: translateY(-2px);
        }

        /* Typography - Poppins font (matching shop.grahaguru.in) */
        body {
            font-family: 'Poppins', Arial, sans-serif;
            color: #1e1b4b; /* Very dark purple-black */
            line-height: 1.7;
        }

        h1, h2, h3, h4, h5, h6 {
            font-family: 'Poppins', sans-serif;
            color: #1e1b4b !important;
            font-weight: 700;
        }

        /* Content text - only in content areas */
        section p, section li, .glass-card p {
            color: #374151; /* gray-700 - better readability */
        }

        /* IMPORTANT: Preserve white text on colored backgrounds */
        .text-white, [class*="text-white"] {
            color: white !important;
        }

        /* Step numbers in colored boxes */
        .bg-gradient-to-br.text-white,
        [class*="from-violet"] .text-white,
        [class*="from-purple"] .text-white,
        [class*="from-pink"] .text-white {
            color: white !important;
        }

        /* Muted text - better contrast */
        .text-gray-600 {
            color: #4b5563 !important;
        }

        .text-gray-500 {
            color: #6b7280 !important;
        }

        .text-gray-700 {
            color: #374151 !important;
        }

        /* Keep white text on buttons */
        .btn-cosmic, .btn-cosmic * {
            color: white !important;
        }

        /* Footer text */
        footer, footer p, footer span, footer li {
            color: #4338ca !important;
        }

        footer h3, footer h4 {
            color: #1e1b4b !important;
        }

        footer a {
            color: #6d28d9 !important;
        }

        footer a:hover {
            color: #8b5cf6 !important;
        }

        /* White Phone Mockup */
        .phone-mockup {
            background: linear-gradient(180deg, #ffffff 0%, #f8f7ff 50%, #f0eeff 100%) !important;
            border: 3px solid #e9e5ff;
            box-shadow: 0 25px 60px rgba(139, 92, 246, 0.25);
        }

        /* Floating Animation */
        @keyframes float {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-20px); }
        }

        @keyframes floatSlow {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            50% { transform: translateY(-15px) rotate(3deg); }
        }

        @keyframes pulse-glow {
            0%, 100% { box-shadow: 0 0 20px rgba(139, 92, 246, 0.3); }
            50% { box-shadow: 0 0 40px rgba(139, 92, 246, 0.5); }
        }

        @keyframes shimmer {
            0% { background-position: -200% 0; }
            100% { background-position: 200% 0; }
        }

        .animate-float {
            animation: float 6s ease-in-out infinite;
        }

        .animate-float-slow {
            animation: floatSlow 8s ease-in-out infinite;
        }

        .animate-pulse-glow {
            animation: pulse-glow 3s ease-in-out infinite;
        }

        /* Fade in on scroll animation */
        .fade-in-up {
            opacity: 0;
            transform: translateY(40px);
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .fade-in-up.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* Hero section should always be visible — never hidden by observer race */
        .hero-section.fade-in-up {
            opacity: 1 !important;
            transform: translateY(0) !important;
        }
        .hero-section .stagger-children > * {
            opacity: 1 !important;
            transform: translateY(0) !important;
        }

        /* Stagger animation for children */
        .stagger-children > * {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .stagger-children.visible > *:nth-child(1) { transition-delay: 0.1s; }
        .stagger-children.visible > *:nth-child(2) { transition-delay: 0.2s; }
        .stagger-children.visible > *:nth-child(3) { transition-delay: 0.3s; }
        .stagger-children.visible > *:nth-child(4) { transition-delay: 0.4s; }
        .stagger-children.visible > *:nth-child(5) { transition-delay: 0.5s; }
        .stagger-children.visible > *:nth-child(6) { transition-delay: 0.6s; }

        .stagger-children.visible > * {
            opacity: 1;
            transform: translateY(0);
        }

        /* Gradient text */
        .gradient-text {
            background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 50%, #6d28d9 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        /* Shimmer effect for CTAs */
        .shimmer-btn {
            background: linear-gradient(90deg, #8b5cf6 0%, #a78bfa 25%, #8b5cf6 50%, #a78bfa 75%, #8b5cf6 100%);
            background-size: 200% auto;
            animation: shimmer 3s linear infinite;
        }

        /* Hero background handled by section gradient */

        /* Floating Animation */
        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-20px); }
        }

        .floating {
            animation: float 6s ease-in-out infinite;
        }

        /* Scroll Fade Animation */
        .fade-in-scroll {
            opacity: 0;
            transform: translateY(50px);
            transition: opacity 0.8s ease-out, transform 0.8s ease-out;
        }

        .fade-in-scroll.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* Download Buttons */
        .download-btn {
            display: inline-block;
            text-decoration: none;
            transition: transform 0.3s ease;
        }

        .download-btn:hover {
            transform: translateY(-5px);
        }

        /* Mobile Responsive */
        @media (max-width: 768px) {
            .section {
                padding: 40px 0;
            }

            .hero-section {
                min-height: 100vh;
                padding: 60px 0 40px;
            }

            .hero-section h1 {
                font-size: 2.5rem;
                line-height: 1.2;
            }

            .hero-section p {
                font-size: 1rem;
            }

            .glass-card {
                padding: 1.5rem !important;
            }

            .download-card {
                padding: 2rem !important;
            }

            .download-btn div {
                padding: 12px 20px !important;
            }

            /* Hide desktop nav on mobile */
            .hidden.md\\:flex {
                display: none !important;
            }

            /* Stack buttons vertically on mobile */
            .flex-col.sm\\:flex-row {
                flex-direction: column;
            }

            /* Reduce font sizes */
            .text-4xl {
                font-size: 1.875rem;
            }

            .text-5xl {
                font-size: 2.25rem;
            }

            /* Reduce section padding */
            .p-8, .p-10, .p-12 {
                padding: 1.5rem !important;
            }

            /* Mobile optimizations - light theme */

            /* Ensure touch-friendly buttons */
            button, .btn-cosmic {
                min-height: 48px;
                font-size: 1rem;
            }
        }

        @media (max-width: 480px) {
            .hero-section h1 {
                font-size: 2rem;
            }

            .container {
                padding-left: 1rem;
                padding-right: 1rem;
            }
        }

        /* ========================================
           GEM SHOP MEGA MENU STYLES
           ======================================== */

        .gem-shop-menu {
            position: relative;
        }

        .gem-shop-menu > a {
            position: relative;
            display: inline-block;
        }

        .new-badge {
            position: absolute;
            top: -8px;
            right: -12px;
            background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
            color: white;
            font-size: 9px;
            font-weight: 700;
            padding: 2px 6px;
            border-radius: 10px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0%, 100% {
                transform: scale(1);
                box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
            }
            50% {
                transform: scale(1.05);
                box-shadow: 0 4px 12px rgba(255, 107, 107, 0.6);
            }
        }

        .mega-menu {
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%);
            width: 900px;
            max-width: 95vw;
            background: rgb(255, 250, 245);
            border: 1px solid rgb(217, 213, 208);
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
            display: none;
            opacity: 0;
            transition: all 0.3s ease;
            padding: 32px 24px;
            gap: 24px;
            z-index: 1000;
            margin-top: 12px;
        }

        .gem-shop-menu:hover .mega-menu {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            opacity: 1;
        }

        .mega-menu-category {
            padding: 0 16px;
        }

        .mega-menu-category:not(:last-child) {
            border-right: 1px solid rgb(217, 213, 208);
        }

        .mega-menu-category h3 {
            color: #333;
            font-size: 15px;
            font-weight: 700;
            margin-bottom: 16px;
            padding-bottom: 12px;
            border-bottom: 2px solid rgb(217, 213, 208);
        }

        .mega-menu-items {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .mega-menu-items a {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 8px;
            border-radius: 8px;
            text-decoration: none;
            transition: all 0.2s ease;
            background: transparent;
        }

        .mega-menu-items a:hover {
            background: rgba(144, 144, 144, 0.08);
            transform: translateX(4px);
        }

        .mega-menu-items a img {
            width: 50px;
            height: 50px;
            object-fit: cover;
            border-radius: 6px;
            border: 1px solid rgb(217, 213, 208);
            flex-shrink: 0;
        }

        .mega-menu-items a .name {
            color: #333;
            font-size: 13px;
            font-weight: 500;
            line-height: 1.3;
        }

        .mega-menu-footer {
            grid-column: 1 / -1;
            margin-top: 16px;
            padding-top: 20px;
            border-top: 1px solid rgb(217, 213, 208);
            text-align: center;
        }

        .mega-menu-footer a {
            display: inline-block;
            padding: 0.75rem 2rem;
            background: linear-gradient(135deg, #707070, #505050);
            color: white;
            text-decoration: none;
            border-radius: 50px;
            font-weight: 600;
            transition: all 0.3s ease;
            box-shadow: none;
        }

        .mega-menu-footer a:hover {
            background: linear-gradient(135deg, #909090, #707070);
            transform: translateY(-2px);
            box-shadow: none;
        }

        /* Mobile Mega Menu */
        @media (max-width: 768px) {
            .mega-menu {
                width: calc(100vw - 3rem);
                grid-template-columns: 1fr;
                gap: 1.5rem;
                padding: 1.5rem;
            }

            .mega-menu-items a {
                font-size: 0.8125rem;
            }

            .new-badge {
                font-size: 8px;
                padding: 2px 5px;
            }
        }

/* === Style Block 2 === */
@keyframes gradientShift {
            0%, 100% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
        }
        @keyframes slideText {
            0% { transform: translateX(0); }
            100% { transform: translateX(-50%); }
        }
        .sliding-text:hover {
            animation-play-state: paused;
        }

/* === Style Block 3 === */
.product-slideshow img {
                    transition: opacity 0.5s ease;
                }
                /* Marquee animation for product carousel */
                @keyframes marquee {
                    0% { transform: translateX(0); }
                    100% { transform: translateX(-50%); }
                }
                .product-carousel {
                    animation: marquee 120s linear infinite;
                    will-change: transform;
                }
                .product-carousel:hover {
                    animation-play-state: paused;
                }

/* === Style Block 4 === */
.testimonials-carousel-wrapper {
                    max-width: 1200px;
                    margin: 0 auto;
                    position: relative;
                    padding: 0 60px;
                }

                .testimonials-carousel {
                    display: flex;
                    gap: 24px;
                }

                .testimonial-card {
                    min-width: calc(100% - 120px);
                    flex-shrink: 0;
                    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(250, 248, 255, 0.9) 100%);
                    backdrop-filter: blur(20px);
                    border: 1px solid rgba(139, 92, 246, 0.15);
                    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.08);
                }

                @media (min-width: 768px) {
                    .testimonial-card {
                        min-width: calc(50% - 72px);
                    }
                }

                @media (min-width: 1024px) {
                    .testimonial-card {
                        min-width: calc(33.333% - 76px);
                    }
                }

                .carousel-indicators .dot {
                    width: 10px;
                    height: 10px;
                    border-radius: 50%;
                    background: rgba(139, 92, 246, 0.3);
                    cursor: pointer;
                    transition: all 0.3s ease;
                }

                .carousel-indicators .dot.active {
                    background: #8b5cf6;
                    width: 30px;
                    border-radius: 5px;
                }

                .language-badge {
                    display: inline-block;
                    padding: 4px 12px;
                    border-radius: 12px;
                    font-size: 11px;
                    font-weight: 600;
                    margin-bottom: 8px;
                }

                .lang-hindi { background: rgba(255, 153, 0, 0.15); color: #d97706; border: 1px solid rgba(255, 153, 0, 0.3); }
                .lang-english { background: rgba(76, 175, 80, 0.15); color: #16a34a; border: 1px solid rgba(76, 175, 80, 0.3); }
                .lang-marathi { background: rgba(233, 30, 99, 0.15); color: #db2777; border: 1px solid rgba(233, 30, 99, 0.3); }
                .lang-tamil { background: rgba(33, 150, 243, 0.15); color: #2563eb; border: 1px solid rgba(33, 150, 243, 0.3); }
                .lang-telugu { background: rgba(156, 39, 176, 0.15); color: #9333ea; border: 1px solid rgba(156, 39, 176, 0.3); }

                .pandit-badge {
                    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 140, 0, 0.15));
                    color: #b45309;
                    border: 1px solid rgba(255, 215, 0, 0.4);
                    padding: 4px 12px;
                    border-radius: 12px;
                    font-size: 11px;
                    font-weight: 600;
                    display: inline-flex;
                    align-items: center;
                    gap: 4px;
                }

/* === Style Block 5 === */
#exitIntentPopup::backdrop {
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(4px);
        }

/* === Style Block 6 === */
@keyframes popup {
            from { transform: scale(0.8); opacity: 0; }
            to { transform: scale(1); opacity: 1; }
        }
        .animate-popup { animation: popup 0.3s ease-out forwards; }

        @keyframes slideInLeft {
            from { transform: translateX(-100%); opacity: 0; }
            to { transform: translateX(0); opacity: 1; }
        }
        .activity-notification {
            animation: slideInLeft 0.5s ease-out forwards;
        }

/* === Style Block 7 === */
.gemstone-popup-dialog {
            border: none;
            border-radius: 24px;
            padding: 0;
            max-width: 420px;
            width: 90%;
            background: transparent;
            /* Center dialog properly */
            position: fixed;
            inset: 0;
            margin: auto;
            height: fit-content;
            z-index: 10000;
        }
        .gemstone-popup-dialog[open] {
            display: block;
        }
        .gemstone-popup-dialog::backdrop {
            background: rgba(30, 20, 60, 0.85);
            backdrop-filter: blur(8px);
        }
        .gemstone-popup-content {
            background: linear-gradient(145deg, #ffffff 0%, #f8f5ff 50%, #fff5f8 100%);
            border-radius: 24px;
            padding: 32px 28px;
            box-shadow: 0 25px 80px rgba(139, 92, 246, 0.4), 0 0 0 1px rgba(139, 92, 246, 0.1);
            position: relative;
            width: 100%;
            animation: popupSlideIn 0.3s ease-out;
        }
        @keyframes popupSlideIn {
            from { opacity: 0; transform: scale(0.9) translateY(20px); }
            to { opacity: 1; transform: scale(1) translateY(0); }
        }
        .gemstone-popup-close {
            position: absolute;
            top: 16px;
            right: 16px;
            width: 36px;
            height: 36px;
            background: #f3f4f6;
            border: none;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #6b7280;
            transition: all 0.2s;
        }
        .gemstone-popup-close:hover {
            background: #e5e7eb;
            color: #374151;
        }
        .gemstone-popup-header {
            text-align: center;
            margin-bottom: 20px;
        }
        .gemstone-popup-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: linear-gradient(135deg, #10b981, #059669);
            color: white;
            padding: 6px 16px;
            border-radius: 20px;
            font-size: 14px;
            font-weight: 700;
            margin-bottom: 12px;
            box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
            animation: pulse 2s infinite;
        }
        .gemstone-popup-header h3 {
            font-size: 24px;
            font-weight: 700;
            color: #1f2937;
            margin: 0 0 8px 0;
        }
        .gemstone-popup-header p {
            font-size: 15px;
            color: #6b7280;
            margin: 0;
        }
        .gemstone-popup-image {
            background: linear-gradient(135deg, #faf5ff, #fdf2f8);
            border-radius: 16px;
            padding: 16px;
            margin-bottom: 20px;
            border: 1px solid rgba(139, 92, 246, 0.15);
        }
        .gemstone-popup-image img {
            width: 100%;
            height: auto;
            border-radius: 12px;
        }
        .gemstone-popup-features {
            display: flex;
            justify-content: center;
            gap: 16px;
            margin-bottom: 24px;
            flex-wrap: wrap;
        }
        .gemstone-popup-features .feature {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 13px;
            color: #4b5563;
            background: white;
            padding: 8px 12px;
            border-radius: 20px;
            border: 1px solid #e5e7eb;
        }
        .gemstone-popup-cta {
            display: block;
            width: 100%;
            background: linear-gradient(135deg, #8b5cf6, #7c3aed);
            color: white;
            text-align: center;
            padding: 16px 24px;
            border-radius: 16px;
            font-size: 17px;
            font-weight: 600;
            text-decoration: none;
            box-shadow: 0 8px 25px rgba(139, 92, 246, 0.35);
            transition: all 0.2s;
        }
        .gemstone-popup-cta:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 30px rgba(139, 92, 246, 0.45);
        }
        .gemstone-popup-dismiss {
            display: block;
            width: 100%;
            background: transparent;
            border: none;
            color: #9ca3af;
            font-size: 14px;
            padding: 12px;
            cursor: pointer;
            margin-top: 8px;
        }
        .gemstone-popup-dismiss:hover {
            color: #6b7280;
        }
        @media (max-width: 480px) {
            .gemstone-popup-content {
                padding: 24px 20px;
            }
            .gemstone-popup-header h3 {
                font-size: 20px;
            }
            .gemstone-popup-features {
                gap: 8px;
            }
            .gemstone-popup-features .feature {
                font-size: 11px;
                padding: 6px 10px;
            }
        }

/* === Style Block 8 === */
/* Dialog backdrop styling */
        #newUserPopup::backdrop {
            background: rgba(0, 0, 0, 0.75);
            backdrop-filter: blur(4px);
            -webkit-backdrop-filter: blur(4px);
        }