
        /* Custom Styles & Mandala Backgrounds */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            background-color: #FFFBF5;
            color: #2D241E;
            font-family: 'Hind', sans-serif;
        }

        .heading-font {
            font-family: 'Cinzel', serif;
        }

        /* --------------------------------------------------
   PRELOADER STYLES (SLOW & BALANCED)
-------/* Rotating Golden Ring (Speed set to 1.8s) */
        .preloader-ring {
            position: absolute;
            width: 100%;
            height: 100%;
            border: 3px solid transparent;
            border-top: 3px solid #d4a017;
            border-right: 3px solid #d4a017;
            border-radius: 50%;
            animation: spin 1.8s linear infinite;
        }

        #preloader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background-color: #080102;
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 99999;
            opacity: 1;
            visibility: visible;
            transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
        }

        .preloader-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

        .logo-wrapper {
            position: relative;
            width: 180px;
            height: 180px;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        /* Rotating Golden Ring (Speed Slowed to 3s) */

        /* Center Logo Image */
        .preloader-logo {
            width: 155px;
            height: 155px;
            border-radius: 50%;
            object-fit: cover;
            box-shadow: 0 0 20px rgba(212, 160, 23, 0.4);
        }

        .preloader-text {
            margin-top: 25px;
            font-family: 'Cinzel', serif;
            color: #d4a017;
            font-size: 1.1rem;
            letter-spacing: 2px;
            text-transform: uppercase;
            text-align: center;
        }

        @keyframes spin {
            0% {
                transform: rotate(0deg);
            }

            100% {
                transform: rotate(360deg);
            }
        }

        /* Hide Class applied by JS */
        #preloader.preloader-hidden {
            opacity: 0 !important;
            visibility: hidden !important;
            pointer-events: none;
        }

        /* Custom Animations */
        @keyframes floatSlow {

            0%,
            100% {
                transform: translateY(0px) rotate(0deg);
            }

            50% {
                transform: translateY(-12px) rotate(2deg);
            }
        }

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

        /* Glassmorphism Effect for Map Frame */
        .glass-card {
            background: rgba(255, 255, 255, 0.7);
            backdrop-filter: blur(10px);
        }

        
    
        /* ===================================
   KASHYAP SAMAJ - COMMUNITY SECTION
=================================== */

        #pillars .community-card {
            position: relative;
            overflow: hidden;
            isolation: isolate;
            background: #fffaf0;
            border: 1px solid rgba(212, 175, 55, 0.3);
            border-radius: 18px;
            box-shadow: 0 5px 18px rgba(80, 20, 30, 0.08);
            transition:
                transform 0.4s ease,
                box-shadow 0.4s ease,
                border-color 0.4s ease;
        }

        /* Animated gold border */
        #pillars .community-card::before {
            content: "";
            position: absolute;
            inset: 0;
            border-radius: inherit;
            padding: 1.5px;
            background: linear-gradient(135deg,
                    #d4af37,
                    #fff0bd,
                    #800020,
                    #d4af37);
            background-size: 300% 300%;

            -webkit-mask:
                linear-gradient(#fff 0 0) content-box,
                linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;

            opacity: 0;
            pointer-events: none;
            transition: opacity 0.35s ease;
            z-index: 2;
        }

        #pillars .community-card:hover {
            transform: translateY(-9px);
            border-color: #d4af37;
            box-shadow:
                0 22px 40px rgba(80, 20, 30, 0.17),
                0 8px 22px rgba(128, 0, 32, 0.12),
                0 0 18px rgba(212, 175, 55, 0.2);
        }

        #pillars .community-card:hover::before {
            opacity: 1;
            animation: communityGoldBorder 3s linear infinite;
        }

        @keyframes communityGoldBorder {
            0% {
                background-position: 0% 50%;
            }

            50% {
                background-position: 100% 50%;
            }

            100% {
                background-position: 0% 50%;
            }
        }

        /* Card image */
        #pillars .community-image {
            width: 100%;
            height: 220px;
            object-fit: cover;
            display: block;
            transition: transform 0.6s ease;
        }

        #pillars .community-card:hover .community-image {
            transform: scale(1.06);
        }

        /* Image wrapper */
        #pillars .community-image-wrap {
            position: relative;
            overflow: hidden;
            background: #eee2cc;
        }

        /* Subtle image overlay */
        #pillars .community-image-wrap::after {
            content: "";
            position: absolute;
            inset: 45% 0 0;
            background: linear-gradient(to bottom,
                    transparent,
                    rgba(48, 13, 22, 0.25));
            pointer-events: none;
        }

        /* Card text area */
        #pillars .community-content {
            padding: 25px;
        }

        #pillars .community-title {
            color: #800020;
            font-size: 20px;
            font-weight: 700;
            line-height: 1.4;
            margin-bottom: 12px;
            transition: color 0.3s ease;
        }

        #pillars .community-card:hover .community-title {
            color: #a34b18;
        }

        #pillars .community-description {
            color: #65554b;
            font-size: 14px;
            line-height: 1.8;
            margin-bottom: 18px;
        }

        /* Text link */
        #pillars .community-link {
            display: inline-flex;
            align-items: center;
            gap: 7px;
            color: #a34b18;
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        #pillars .community-link i {
            font-size: 11px;
            transition: transform 0.3s ease;
        }

        #pillars .community-card:hover .community-link {
            color: #800020;
        }

        #pillars .community-card:hover .community-link i {
            transform: translateX(5px);
        }

        /* Responsive images */
        @media (max-width: 640px) {
            #pillars .community-image {
                height: 210px;
            }

            #pillars .community-content {
                padding: 21px;
            }

            #pillars .community-title {
                font-size: 19px;
            }
        }

        /* Reduced motion accessibility */
        @media (prefers-reduced-motion: reduce) {

            #pillars .community-card,
            #pillars .community-card::before,
            #pillars .community-image,
            #pillars .community-title,
            #pillars .community-link,
            #pillars .community-link i {
                animation: none !important;
                transition: none !important;
            }

            #pillars .community-card:hover {
                transform: none;
            }

            #pillars .community-card:hover .community-image {
                transform: none;
            }
        }


        /* =========================================
   6. NEWS SECTION
========================================= */

        .news-section {
            padding: 75px 0 85px;
        }

        .section-heading {
            max-width: 720px;
            margin: 0 auto 42px;
            text-align: center;
        }

        .section-kicker {
            display: inline-block;
            margin-bottom: 9px;
            color: var(--saffron);
            font-family: 'Cinzel', serif;
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 2px;
        }

        .section-heading h2 {
            margin-bottom: 13px;
            color: var(--maroon);
            font-family: 'Cinzel', serif;
            font-size: clamp(26px, 3.5vw, 38px);
            font-weight: 800;
            line-height: 1.35;
        }

        .section-heading p {
            color: var(--muted);
            font-size: 15px;
        }


        /* =========================================
   7. FEATURED NEWS
========================================= */

        .featured-news {
            display: grid;
            grid-template-columns: 1.08fr 1fr;
            overflow: hidden;
            margin-bottom: 65px;
            border: 1px solid rgba(212, 175, 55, 0.45);
            border-radius: 18px;
            background: white;
            box-shadow: var(--shadow);
        }

        .featured-image {
            position: relative;
            min-height: 350px;
            overflow: hidden;
            background: #eee2d2;
        }

        .featured-image img {
            width: 100%;
            height: 100%;
            min-height: 350px;
            object-fit: cover;
            transition: transform 0.6s ease;
        }

        .featured-news:hover .featured-image img {
            transform: scale(1.04);
        }

        .featured-label {
            position: absolute;
            top: 18px;
            left: 18px;
            display: inline-flex;
            align-items: center;
            gap: 7px;
            padding: 8px 13px;
            border-radius: 30px;
            background: var(--maroon);
            color: var(--gold);
            font-size: 11px;
            font-weight: 700;
        }

        .featured-content {
            align-self: center;
            padding: clamp(24px, 4vw, 45px);
        }

        .news-category {
            display: inline-block;
            padding: 5px 12px;
            border-radius: 5px;
            background: #fbf1d6;
            color: var(--maroon);
            font-size: 11px;
            font-weight: 700;
        }

        .news-date {
            display: flex;
            align-items: center;
            gap: 8px;
            margin: 13px 0;
            color: var(--muted);
            font-size: 12px;
        }

        .news-date i {
            color: var(--saffron);
        }

        .featured-content h2 {
            margin-bottom: 15px;
            color: var(--maroon);
            font-family: 'Cinzel', serif;
            font-size: clamp(22px, 2.5vw, 29px);
            font-weight: 800;
            line-height: 1.45;
        }

        .featured-description {
            margin-bottom: 22px;
            color: var(--muted);
            font-size: 14px;
        }

        .read-more,
        .card-read-more {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            color: var(--maroon);
            font-size: 13px;
            font-weight: 700;
        }

        .read-more i,
        .card-read-more i {
            color: var(--saffron);
            transition: transform 0.2s ease;
        }

        .read-more:hover i,
        .card-read-more:hover i {
            transform: translateX(5px);
        }

        /* =========================================
   8. SEARCH TOOLBAR
========================================= */

        .news-toolbar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 25px;
            margin-bottom: 24px;
        }

        .news-toolbar-heading h3 {
            color: var(--maroon);
            font-family: 'Cinzel', serif;
            font-size: 22px;
            font-weight: 800;
        }

        .news-toolbar-heading p {
            color: var(--muted);
            font-size: 13px;
        }

        .news-search {
            width: min(410px, 100%);
            min-height: 48px;
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 0 14px;
            border: 1px solid rgba(74, 14, 23, 0.16);
            border-radius: 9px;
            background: white;
            transition: border-color 0.2s ease, box-shadow 0.2s ease;
        }

        .news-search:focus-within {
            border-color: var(--gold);
            box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.13);
        }

        .news-search>i {
            color: var(--saffron);
        }

        .news-search input {
            flex: 1;
            width: 100%;
            min-width: 0;
            padding: 11px 0;
            border: 0;
            outline: none;
            background: transparent;
            color: var(--earth);
            font-size: 13px;
        }

        .news-search input:focus-visible {
            outline: none;
        }

        .news-search button {
            display: none;
            border: 0;
            background: transparent;
            color: var(--muted);
            cursor: pointer;
        }

        .news-search.has-value button {
            display: inline-flex;
        }

        /* =========================================
   9. CATEGORY FILTERS
========================================= */

        .news-filters {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 32px;
        }

        .filter-btn {
            padding: 9px 17px;
            border: 1px solid rgba(74, 14, 23, 0.17);
            border-radius: 30px;
            background: white;
            color: var(--earth);
            font-size: 12px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.25s ease;
        }

        .filter-btn:hover,
        .filter-btn.active {
            border-color: var(--gold);
            background: var(--maroon);
            color: var(--gold);
            box-shadow: 0 5px 14px rgba(74, 14, 23, 0.12);
        }


        /* =========================================
   10. NEWS CARDS
========================================= */

        .news-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 26px;
            align-items: stretch;
        }

        .news-card {
            min-width: 0;
            display: flex;
            flex-direction: column;
            overflow: hidden;
            border: 1px solid rgba(212, 175, 55, 0.35);
            border-radius: 13px;
            background: white;
            box-shadow: 0 5px 18px rgba(45, 36, 30, 0.055);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            animation: cardEnter 0.35s ease both;
        }

        .news-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 13px 28px rgba(74, 14, 23, 0.13);
        }

        @keyframes cardEnter {
            from {
                opacity: 0;
                transform: translateY(10px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .news-card[hidden] {
            display: none !important;
        }

        .news-image-link {
            position: relative;
            display: block;
            aspect-ratio: 3 / 2;
            overflow: hidden;
            background: #f0e7da;
        }

        .news-image-link img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .news-card:hover .news-image-link img {
            transform: scale(1.06);
        }

        .image-category {
            position: absolute;
            bottom: 12px;
            left: 12px;
            max-width: calc(100% - 24px);
            padding: 5px 11px;
            border-radius: 5px;
            background: var(--maroon);
            color: var(--gold);
            font-size: 10px;
            font-weight: 700;
        }

        .news-card-content {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            padding: 19px 20px 22px;
        }

        .news-card-content .news-date {
            margin: 0 0 12px;
        }

        .news-card-content h3 {
            margin-bottom: 12px;
            color: var(--maroon);
            font-family: 'Cinzel', serif;
            font-size: 16px;
            font-weight: 800;
            line-height: 1.55;
        }

        .news-card-content>p:not(.news-date) {
            margin-bottom: 20px;
            color: var(--muted);
            font-size: 13px;
            line-height: 1.8;
        }

        .card-read-more {
            margin-top: auto;
            padding-top: 5px;
        }


        /* =========================================

        
   11. EMPTY RESULTS & PAGINATION
========================================= */

        .no-results {
            padding: 45px 20px;
            text-align: center;
            border: 1px dashed rgba(74, 14, 23, 0.2);
            border-radius: 14px;
            background: white;
        }

        .no-results[hidden] {
            display: none;
        }

        .no-results>i {
            margin-bottom: 12px;
            color: var(--saffron);
            font-size: 36px;
        }

        .no-results h3 {
            color: var(--maroon);
            font-family: 'Cinzel', serif;
            font-size: 22px;
        }

        .no-results p {
            margin: 8px 0 18px;
            color: var(--muted);
            font-size: 13px;
        }

        .no-results button {
            padding: 9px 17px;
            border: 0;
            border-radius: 7px;
            background: var(--maroon);
            color: var(--gold);
            font-weight: 700;
            cursor: pointer;
        }

        .pagination {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 38px;
        }

        .pagination:empty {
            display: none;
        }

        .page-btn {
            min-width: 41px;
            height: 41px;
            padding: 0 12px;
            border: 1px solid rgba(74, 14, 23, 0.2);
            border-radius: 8px;
            background: white;
            color: var(--maroon);
            font-size: 13px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .page-btn:hover:not(:disabled),
        .page-btn.active {
            border-color: var(--gold);
            background: var(--maroon);
            color: var(--gold);
        }

        .page-btn:disabled {
            opacity: 0.4;
            cursor: not-allowed;
        }

        /* =========================================
   12. COMMUNITY CTA
========================================= */

        .community-cta {
            padding: 45px 0;
            border-block: 1px solid rgba(212, 175, 55, 0.25);
            background:
                linear-gradient(115deg, #fff8e9, #f8ead4);
        }

        .cta-content {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 30px;
        }

        .cta-content .section-kicker {
            margin-bottom: 5px;
        }

        .cta-content h2 {
            margin-bottom: 8px;
            color: var(--maroon);
            font-family: 'Cinzel', serif;
            font-size: clamp(22px, 3vw, 31px);
            font-weight: 800;
        }

        .cta-content p {
            color: var(--muted);
            font-size: 14px;
        }

        .cta-button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            flex-shrink: 0;
            padding: 13px 22px;
            border: 1px solid var(--gold);
            border-radius: 8px;
            background: var(--maroon);
            color: var(--gold);
            font-size: 13px;
            font-weight: 700;
            transition: all 0.25s ease;
        }

        .cta-button:hover {
            background: var(--maroon-dark);
            transform: translateY(-2px);
        }

        /* ================= महर्षि कश्यप इतिहास सेक्शन शैलियाँ ================= */
.gold-glow {
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.45);
}

.timeline-line {
    background: linear-gradient(180deg, #D4AF37 0%, #D97706 50%, #4A0E17 100%);
}

.kashyap-card {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}

.kashyap-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px -10px rgba(74, 14, 23, 0.18), 0 0 15px rgba(212, 175, 55, 0.2);
}

.tab-btn.active {
    background: linear-gradient(135deg, #4A0E17, #32080E);
    color: #D4AF37;
    border-color: #D4AF37;
    box-shadow: 0 6px 15px rgba(74, 14, 23, 0.25);
}

/* Scroll Triggered Animations */
.reveal-item {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-item.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ================= STORYTELLING TABBED SECTION STYLES ================= */
.story-tab-btn {
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.story-tab-btn .tab-arrow {
    transition: transform 0.35s ease, background-color 0.35s ease, color 0.35s ease;
}

/* इन-एक्टिव टैब */
.story-tab-btn:not(.active) {
    background-color: #FFFFFF;
    color: #2D241E;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.story-tab-btn:not(.active):hover {
    transform: translateX(6px);
    border-color: #D4AF37;
}

.story-tab-btn:not(.active) .tab-arrow {
    background-color: #4A0E17;
    color: #D4AF37;
}

/* एक्टिव टैब (रेफरेंस इमेज स्टाइल) */
.story-tab-btn.active {
    background: linear-gradient(135deg, #D4AF37 0%, #D97706 100%);
    color: #FFFFFF;
    font-weight: 700;
    box-shadow: 0 10px 22px rgba(217, 119, 6, 0.28);
    transform: scale(1.02);
}

.story-tab-btn.active .tab-arrow {
    background-color: #FFFFFF;
    color: #4A0E17;
    transform: rotate(45deg);
}

/* इमेज और कंटेंट के लिए स्मूथ स्टोरीटेलिंग एनिमेशन */
.story-pane {
    display: none;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.45s ease-out, transform 0.45s ease-out;
}

.story-pane.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.story-image-wrap {
    animation: imageZoomIn 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes imageZoomIn {
    0% {
        opacity: 0.6;
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}
/* ================= IMPRESSIVE STORYTELLING SECTION BACKGROUNDS ================= */
.story-wrapper-bg {
    position: relative;
    background: radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.12) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(74, 14, 23, 0.14) 0%, transparent 45%),
                linear-gradient(135deg, #FBF8F1 0%, #F5EFEB 50%, #ECE4DC 100%);
    overflow: hidden;
}

/* फ्लोटिंग बैकग्राउंड ऑरा लाइट्स */
.aura-orb-1 {
    position: absolute;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(217, 119, 6, 0.18) 0%, rgba(212, 175, 55, 0.05) 60%, transparent 80%);
    filter: blur(55px);
    top: -80px;
    left: -100px;
    pointer-events: none;
    animation: floatAura 9s ease-in-out infinite alternate;
}

.aura-orb-2 {
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(74, 14, 23, 0.16) 0%, rgba(217, 119, 6, 0.06) 60%, transparent 80%);
    filter: blur(65px);
    bottom: -100px;
    right: -120px;
    pointer-events: none;
    animation: floatAura 12s ease-in-out infinite alternate-reverse;
}

@keyframes floatAura {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 40px) scale(1.1); }
}

/* वाटरमार्क दिव्य मंत्र प्रभाव */
.sacred-watermark {
    position: absolute;
    font-family: 'Cinzel', serif;
    font-size: 24rem;
    font-weight: 900;
    color: rgba(74, 14, 23, 0.025);
    line-height: 1;
    user-select: none;
    pointer-events: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

/* ग्लास-इफेक्ट स्टोरी बॉक्स */
.story-glass-card {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(212, 175, 55, 0.35);
    box-shadow: 0 20px 45px -15px rgba(74, 14, 23, 0.12),
                0 0 25px rgba(212, 175, 55, 0.15);
}

/* टैब बटन शैलियाँ */
.story-tab-btn {
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.story-tab-btn:not(.active) {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    color: #2D241E;
    box-shadow: 0 4px 15px rgba(45, 36, 30, 0.06);
    border: 1px solid rgba(212, 175, 55, 0.25);
}

.story-tab-btn:not(.active):hover {
    transform: translateX(6px);
    border-color: #D4AF37;
    background: #FFFFFF;
}

.story-tab-btn:not(.active) .tab-arrow {
    background-color: #4A0E17;
    color: #D4AF37;
}

.story-tab-btn.active {
    background: linear-gradient(135deg, #D4AF37 0%, #B8860B 40%, #8B1E2D 100%);
    color: #FFFFFF;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(139, 30, 45, 0.32);
    transform: scale(1.02);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.story-tab-btn.active .tab-arrow {
    background-color: #FFFFFF;
    color: #4A0E17;
    transform: rotate(45deg);
}

/* कंटेंट और इमेज ट्रांज़िशन */
.story-pane {
    display: none;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.45s ease-out, transform 0.45s ease-out;
}

.story-pane.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.story-image-wrap {
    animation: imageZoomIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes imageZoomIn {
    0% {
        opacity: 0.4;
        transform: scale(0.94);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}
   