/* Google Fonts loaded non-blocking via <link rel="preload"> in header.php */

:root {
    --color-saffron: #FF9933;
    --color-golden: #FFD700;
    --color-ivory: #FFF8E7;
    --color-krishna-blue: #1E3A8A;
    --color-lotus-pink: #F9A8D4;
    --color-deep-space: #020617;
    --color-cosmic-purple: #2D1B69;
    --color-moonlight: #F8FAFC;
    --color-spiritual-cyan: #67E8F9;
    --color-divine-gold: #FFB700;
    --color-sacred-purple: #7C3AED;

    --bg-light: var(--color-ivory);
    --text-light: var(--color-krishna-blue);
    --accent-light: var(--color-divine-gold);

    --bg-dark: var(--color-deep-space);
    --text-dark: var(--color-moonlight);
    --accent-dark: var(--color-spiritual-cyan);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    background: #0a0e27;
    color: var(--text-dark);
    overflow-x: hidden;
    position: relative;
}

h1,
h2,
h3,
.gayatri-title,
.footer-col h3 {
    font-family: 'Outfit', sans-serif;
}

.bhagavad-gita-verse,
.gayatri-mantra,
.sanskrit-quote,
.footer-quote {
    font-family: 'Noto Serif Devanagari', 'Yatra One', serif;
    font-weight: 500;
}

/* Cosmic Background Elements */
.cosmic-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.krishna-bg-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('../images/krishna_cosmic.jpg') no-repeat right center;
    background-size: contain;
    opacity: 0.18;
    /* Ethereal background presence, slightly stronger on the side */
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 2;
}

.cosmic-sun {
    position: absolute;
    top: 10%;
    left: 5%;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, #FFF5E6 0%, #FFB700 35%, #FF6600 75%, transparent 100%);
    filter: blur(2px);
    box-shadow: 0 0 60px rgba(255, 183, 0, 0.4), 0 0 120px rgba(255, 102, 0, 0.2);
    opacity: 0.22;
    animation: float-sun 12s ease-in-out infinite;
    z-index: 2;
    pointer-events: none;
}

.cosmic-moon {
    position: absolute;
    top: 12%;
    right: 8%;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    box-shadow: -15px 15px 0 0 rgba(248, 250, 252, 0.85);
    /* Silver crescent */
    filter: drop-shadow(0 0 15px rgba(103, 232, 249, 0.6)) drop-shadow(0 0 30px rgba(124, 58, 237, 0.3));
    opacity: 0.22;
    animation: float-moon 15s ease-in-out infinite alternate;
    z-index: 2;
    pointer-events: none;
}

@keyframes float-sun {

    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.22;
    }

    50% {
        transform: translateY(-10px) scale(1.06);
        opacity: 0.32;
    }
}

@keyframes float-moon {

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

    50% {
        transform: translateY(12px) rotate(10deg);
        opacity: 0.3;
    }
}

.stars {
    position: absolute;
    width: 100%;
    height: 100%;
}

.star {
    position: absolute;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8), transparent);
    border-radius: 50%;
    animation: twinkle 3s infinite;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

.nebula {
    position: absolute;
    filter: blur(60px);
    mix-blend-mode: screen;
    opacity: 0.3;
}

.nebula.purple {
    width: 400px;
    height: 400px;
    background: radial-gradient(ellipse at center, rgba(124, 58, 237, 0.5), transparent);
    top: 10%;
    left: 10%;
    animation: float 15s ease-in-out infinite;
}

.nebula.cyan {
    width: 350px;
    height: 350px;
    background: radial-gradient(ellipse at center, rgba(103, 232, 249, 0.4), transparent);
    bottom: 20%;
    right: 5%;
    animation: float 18s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, 30px);
    }
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: float-particle 20s infinite linear;
}

@keyframes float-particle {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100vh) translateX(100px);
        opacity: 0;
    }
}

/* Falling Stars */
.falling-stars {
    position: absolute;
    width: 100%;
    height: 100%;
}

.falling-star {
    position: absolute;
    border-radius: 50%;
    animation: fall-down 15s linear infinite;
    opacity: 0.6;
}

.falling-star.small {
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.6);
}

.falling-star.medium {
    width: 4px;
    height: 4px;
    background: rgba(255, 200, 100, 0.7);
    box-shadow: 0 0 8px rgba(255, 200, 100, 0.5);
}

.falling-star.large {
    width: 6px;
    height: 6px;
    background: rgba(103, 232, 249, 0.8);
    box-shadow: 0 0 12px rgba(103, 232, 249, 0.6);
}

.falling-planet {
    position: absolute;
    border-radius: 50%;
    animation: fall-down 20s linear infinite;
    opacity: 0.15;
}

.falling-planet.planet-1 {
    width: 30px;
    height: 30px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 150, 100, 0.6), rgba(200, 80, 40, 0.8));
    box-shadow: inset -2px -2px 8px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 150, 100, 0.3);
}

.falling-planet.planet-2 {
    width: 40px;
    height: 40px;
    background: radial-gradient(circle at 35% 35%, rgba(103, 150, 200, 0.6), rgba(50, 100, 150, 0.8));
    box-shadow: inset -2px -2px 8px rgba(0, 0, 0, 0.5), 0 0 25px rgba(103, 150, 200, 0.3);
}

.falling-planet.planet-3 {
    width: 25px;
    height: 25px;
    background: radial-gradient(circle at 32% 32%, rgba(255, 200, 100, 0.6), rgba(200, 150, 50, 0.8));
    box-shadow: inset -2px -2px 8px rgba(0, 0, 0, 0.5), 0 0 18px rgba(255, 200, 100, 0.3);
}

@keyframes fall-down {
    from {
        transform: translateY(-100px) translateX(0) rotate(0deg);
        opacity: 0;
    }

    5% {
        opacity: 0.6;
    }

    95% {
        opacity: 0.6;
    }

    to {
        transform: translateY(100vh) translateX(var(--tx, 50px)) rotate(360deg);
        opacity: 0;
    }
}

/* Mandala */
.mandala {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.1;
    animation: spin 60s linear infinite;
    z-index: 2;
}

@keyframes spin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Om Symbol */
.om-symbol {
    position: absolute;
    font-size: 300px;
    opacity: 0.12;
    top: 10%;
    right: 5%;
    color: var(--color-divine-gold);
    z-index: 2;
    animation: pulse 4s ease-in-out infinite;
    filter: drop-shadow(0 0 40px rgba(255, 183, 0, 0.3));
    text-shadow: 0 0 50px rgba(255, 183, 0, 0.2);
}

body.dark-mode .om-symbol {
    color: var(--color-spiritual-cyan);
    filter: drop-shadow(0 0 40px rgba(103, 232, 249, 0.3));
    text-shadow: 0 0 50px rgba(103, 232, 249, 0.2);
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.08;
    }

    50% {
        opacity: 0.15;
    }
}

/* Content Wrapper */
.container {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px 0;
    /* Add top padding to clear the fixed header */
}

/* Premium Header Integration */
header.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 14, 39, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(103, 232, 249, 0.1);
    transition: var(--transition);
}

header.site-header.scrolled {
    background: rgba(5, 7, 20, 0.9);
    border-bottom-color: rgba(103, 232, 249, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

header.site-header nav {
    display: flex;
    align-items: center;
}


header.site-header.scrolled .nav-container {
    padding: 12px 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-spiritual-cyan);
    text-decoration: none;
    text-shadow: 0 0 10px rgba(103, 232, 249, 0.3);
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.nav-logo:hover {
    text-shadow: 0 0 20px rgba(103, 232, 249, 0.8);
}

.nav-logo .om-logo {
    color: var(--color-divine-gold);
    font-size: 1.8rem;
    filter: drop-shadow(0 0 5px rgba(255, 183, 0, 0.5));
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(248, 250, 252, 0.85);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.nav-link:hover {
    color: var(--color-spiritual-cyan);
    text-shadow: 0 0 8px rgba(103, 232, 249, 0.5);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-spiritual-cyan), var(--color-divine-gold));
    transition: var(--transition);
}

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

.nav-cta {
    background: linear-gradient(135deg, rgba(255, 153, 51, 0.2), rgba(124, 58, 237, 0.2));
    border: 1px solid var(--color-saffron);
    color: var(--color-moonlight);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 0 15px rgba(255, 153, 51, 0.15);
}

.nav-cta:hover {
    background: linear-gradient(135deg, rgba(255, 153, 51, 0.45), rgba(124, 58, 237, 0.45));
    box-shadow: 0 0 25px rgba(255, 153, 51, 0.35), inset 0 0 10px rgba(255, 255, 255, 0.2);
    border-color: var(--color-divine-gold);
    transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--color-moonlight);
    border-radius: 10px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Left-aligned content layout */
    min-height: 75vh;
    padding: 0px;
    text-align: left;
    /* Left-aligned typography */
    position: relative;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
    max-width: 650px;
    /* Limit width to keep text clear of the visual element on the right */
    margin: 0;
}

/* Sattvic Divine Element - Left Side Swastika */
.divine-element-left {
    position: fixed;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    opacity: 0.35;
    transition: var(--transition);
}

/* Sattvic Divine Element - Right Side Om */
.divine-element-right {
    position: fixed;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    opacity: 0.35;
    transition: var(--transition);
}

.divine-element-left:hover,
.divine-element-right:hover {
    opacity: 0.85;
    transform: translateY(-50%) scale(1.1);
}

.sacred-symbol {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background: rgba(10, 14, 39, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1.5px solid rgba(103, 232, 249, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    line-height: 1;
    font-weight: 700;
    color: transparent;
    background-image: linear-gradient(135deg, var(--color-spiritual-cyan), var(--color-sacred-purple));
    -webkit-background-clip: text;
    background-clip: text;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(103, 232, 249, 0.2);
    animation: medallionGlow-left 4s ease-in-out infinite;
    cursor: default;
}

.divine-element-right .sacred-symbol {
    border-color: rgba(255, 183, 0, 0.3);
    background-image: linear-gradient(135deg, var(--color-divine-gold), var(--color-saffron));
    -webkit-background-clip: text;
    background-clip: text;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 183, 0, 0.2);
    animation: medallionGlow-right 4s ease-in-out infinite;
}

@keyframes medallionGlow-left {

    0%,
    100% {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(103, 232, 249, 0.2);
        border-color: rgba(103, 232, 249, 0.3);
    }

    50% {
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 35px rgba(103, 232, 249, 0.5);
        border-color: rgba(103, 232, 249, 0.6);
    }
}

@keyframes medallionGlow-right {

    0%,
    100% {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 183, 0, 0.2);
        border-color: rgba(255, 183, 0, 0.3);
    }

    50% {
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 35px rgba(255, 183, 0, 0.5);
        border-color: rgba(255, 183, 0, 0.6);
    }
}

/* Background Highlight */
.cosmic-highlight {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(103, 232, 249, 0.08) 0%, rgba(124, 58, 237, 0.04) 40%, transparent 70%);
    border-radius: 50%;
    z-index: 2;
    filter: blur(40px);
    pointer-events: none;
    animation: highlightPulse 6s ease-in-out infinite;
}

@keyframes highlightPulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.5;
    }
}

@media (max-width: 1024px) {
    .divine-element-left {
        left: 15px;
    }

    .divine-element-right {
        right: 15px;
    }

    .sacred-symbol {
        font-size: 120px;
    }

    .cosmic-highlight {
        width: 600px;
        height: 600px;
    }
}

@media (max-width: 768px) {

    .divine-element-left,
    .divine-element-right {
        display: none;
    }

    .cosmic-highlight {
        width: 400px;
        height: 400px;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--color-spiritual-cyan);
    letter-spacing: 1px;
    text-shadow: 0 0 20px rgba(103, 232, 249, 0.25);
    filter: drop-shadow(0 0 20px rgba(103, 232, 249, 0.15));
}

.tagline {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--text-dark);
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(248, 250, 252, 0.8);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.sanskrit-quote {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--accent-dark);
    font-weight: 600;
    letter-spacing: 1px;
}

.quote-translation {
    font-size: 1rem;
    color: rgba(248, 250, 252, 0.7);
    font-style: italic;
    margin-bottom: 50px;
}

.bhagavad-gita-verse {
    font-family: 'Noto Serif Devanagari', 'Yatra One', serif;
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    color: var(--color-divine-gold);
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 25px;
    line-height: 1.9;
    text-shadow: 0 0 15px rgba(255, 183, 0, 0.45), 0 0 30px rgba(255, 153, 51, 0.25);
    animation: fadeInUp 1s ease-out;
}

.gita-translation {
    font-size: 0.95rem;
    color: rgba(248, 250, 252, 0.8);
    font-style: italic;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.9;
    margin-bottom: 10px;
    animation: fadeInUp 1.2s ease-out;
}

.gita-translation strong {
    color: var(--color-spiritual-cyan);
    font-style: normal;
    font-weight: 500;
}

.gita-translation em {
    color: var(--color-divine-gold);
    font-size: 0.9rem;
}

.coming-soon {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--color-spiritual-cyan);
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 40px;
    animation: fadeInUp 1.2s ease-out 0.5s both;
    text-shadow: 0 0 20px rgba(103, 232, 249, 0.4);
}

/* Section Separator */
.section-separator {
    position: relative;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.separator-line {
    position: absolute;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(103, 232, 249, 0.3) 25%,
            rgba(103, 232, 249, 0.6) 50%,
            rgba(103, 232, 249, 0.3) 75%,
            transparent 100%);
    top: 50%;
}

.separator-dot {
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, rgba(103, 232, 249, 0.8), rgba(255, 183, 0, 0.3));
    border-radius: 50%;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 12px rgba(103, 232, 249, 0.6);
}

@media (max-width: 768px) {
    .nav-logo {
        font-size: 1.1rem;
    }

    .sacred-ticker-wrap {
        margin-top: 81px;
    }

    .scroll-indicator {
        display: none !important;
    }

    .hero-cta-row>a.portal-btn {
        margin-right: 0px !important;
    }

    .slider-container {
        padding: 0px 10px !important;
    }

    .section-separator {
        height: 50px;
    }

    .separator-dot {
        width: 6px;
        height: 6px;
    }
}

/* Gayatri Mantra Section */
.gayatri-section {
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.gayatri-mantra {
    font-family: 'Noto Serif Devanagari', 'Yatra One', serif;
    font-size: clamp(1.6rem, 4.5vw, 2.4rem);
    color: var(--color-spiritual-cyan);
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 25px;
    line-height: 1.9;
    text-shadow: 0 0 15px rgba(103, 232, 249, 0.4), 0 0 30px rgba(124, 58, 237, 0.2);
    position: relative;
    z-index: 2;
}

.gayatri-title {
    font-size: 1.3rem;
    color: var(--accent-dark);
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.gayatri-translation {
    font-size: 1rem;
    color: rgba(248, 250, 252, 0.75);
    font-style: italic;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.9;
    position: relative;
    z-index: 2;
}

.gayatri-significance {
    font-size: 0.95rem;
    color: rgba(248, 250, 252, 0.7);
    margin-top: 30px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

/* Footer Revamp */
footer#footer {
    padding: 80px 20px 40px;
    border-top: 1px solid rgba(103, 232, 249, 0.15);
    background: linear-gradient(180deg, transparent, rgba(10, 14, 39, 0.8));
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 50px;
    text-align: left;
}

.footer-col h3 {
    color: var(--color-spiritual-cyan);
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
    text-shadow: 0 0 8px rgba(103, 232, 249, 0.2);
    position: relative;
    padding-bottom: 8px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--color-divine-gold);
}

.footer-desc {
    color: rgba(248, 250, 252, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(248, 250, 252, 0.75);
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-block;
}

.footer-col ul li a:hover {
    color: var(--color-divine-gold);
    transform: translateX(5px);
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

.social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-moonlight);
    transition: var(--transition);
    text-decoration: none;
}

.social-btn.facebook {
    background: #1877F2;
    border-color: #1877F2;
    color: #fff;
}

.social-btn.facebook:hover {
    background: #1565C0;
    border-color: #1565C0;
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(24, 119, 242, 0.5);
}

.social-btn.twitter {
    background: #000000;
    border-color: #333;
    color: #fff;
}

.social-btn.twitter:hover {
    background: #222;
    border-color: #555;
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.social-btn.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: transparent;
    color: #fff;
}

.social-btn.instagram:hover {
    filter: brightness(1.1);
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(220, 39, 67, 0.5);
}

.social-btn.youtube {
    background: #FF0000;
    border-color: #FF0000;
    color: #fff;
}

.social-btn.youtube:hover {
    background: #CC0000;
    border-color: #CC0000;
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
}

.footer-separator {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(103, 232, 249, 0.2), transparent);
    margin-bottom: 40px;
}

.footer-bottom {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.footer-quote {
    font-size: 1.6rem;
    margin-bottom: 8px;
    color: var(--color-divine-gold);
    font-weight: 600;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(255, 183, 0, 0.2);
}

.footer-quote-translation {
    font-size: 0.95rem;
    font-style: italic;
    color: rgba(248, 250, 252, 0.6);
    margin-bottom: 25px;
}

.footer-subjects {
    font-size: 0.85rem;
    color: rgba(248, 250, 252, 0.5);
    line-height: 1.6;
    margin-bottom: 25px;
}

.footer-copyright {
    font-size: 0.85rem;
    color: rgba(248, 250, 252, 0.4);
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    header.site-header nav {
        display: contents;
    }

    .menu-toggle {
        display: flex;
        order: 3;
    }

    .nav-logo {
        order: 1;
    }


    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(5, 7, 20, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 12px;
        padding: 60px 25px 30px;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        z-index: 1050;
        overflow-y: auto;
    }

    .nav-links li {
        width: 100%;
        text-align: left;
    }

    .nav-link {
        display: block;
        width: 100%;
        text-align: left;
        padding: 4px 0;
    }



    .nav-links.active {
        right: 0;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
        background-color: var(--color-spiritual-cyan);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
        background-color: var(--color-spiritual-cyan);
    }

    .hero {
        padding: 20px 20px 40px;
        text-align: center;
        justify-content: center;
    }

    .hero-content {
        max-width: 100%;
        margin: 0 auto;
    }

    .krishna-bg-overlay {
        width: 100%;
        left: 0;
        right: 0;
        background-position: center center;
        background-size: cover;
        opacity: 0.06;
        /* Lower opacity on mobile to maintain contrast */
    }

    .cosmic-sun {
        width: 80px;
        height: 80px;
        top: 5%;
        left: 2%;
        opacity: 0.14;
    }

    .cosmic-moon {
        width: 50px;
        height: 50px;
        top: 8%;
        right: 4%;
        box-shadow: -10px 10px 0 0 rgba(248, 250, 252, 0.85);
        opacity: 0.14;
    }

    .om-symbol {
        font-size: 150px;
        top: 5%;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }

    .hero h1 {
        font-size: 2rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Premium Divine Card Container */
.divine-card {
    background: rgba(10, 14, 39, 0.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(103, 232, 249, 0.12);
    border-radius: 24px;
    padding: 50px 40px;
    margin: 40px auto;
    max-width: 1100px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    transition: var(--transition);
    position: relative;
    z-index: 5;
}

.divine-card:hover {
    border-color: rgba(255, 183, 0, 0.28);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 35px rgba(103, 232, 249, 0.08);
    transform: translateY(-4px);
}

/* Spiritual Loading Animations */
.load-ram,
.load-shiv {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 30px auto 10px;
    padding: 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    max-width: 300px;
    backdrop-filter: blur(5px);
    box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.01);
}

.load-ram .spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 183, 0, 0.1);
    border-top: 3px solid var(--color-divine-gold);
    border-right: 3px solid var(--color-saffron);
    border-radius: 50%;
    animation: loadingSpin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.load-shiv .spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(103, 232, 249, 0.1);
    border-top: 3px solid var(--color-spiritual-cyan);
    border-right: 3px solid var(--color-sacred-purple);
    border-radius: 50%;
    animation: loadingSpin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.load-text {
    margin-top: 15px;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.load-ram .load-text {
    color: var(--color-divine-gold);
    text-shadow: 0 0 8px rgba(255, 183, 0, 0.3);
}

.load-shiv .load-text {
    color: var(--color-spiritual-cyan);
    text-shadow: 0 0 8px rgba(103, 232, 249, 0.3);
}

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

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

/* Scroll Indicator Styles */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(248, 250, 252, 0.4);
    border-radius: 20px;
    position: relative;
    display: block;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background-color: var(--color-spiritual-cyan);
    border-radius: 50%;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-anim 1.8s ease-in-out infinite;
}

@keyframes scroll-anim {
    0% {
        top: 6px;
        opacity: 1;
    }

    50% {
        top: 16px;
        opacity: 0.3;
    }

    100% {
        top: 6px;
        opacity: 1;
    }
}

/* Newsletter Section */
.newsletter-section {
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10;
}

.newsletter-card {
    max-width: 700px;
    width: 100%;
    padding: 50px 40px;
    border-radius: 24px;
    background: rgba(10, 14, 39, 0.45);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(103, 232, 249, 0.15);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(103, 232, 249, 0.05);
    text-align: center;
    transition: var(--transition);
}

.newsletter-card:hover {
    border-color: rgba(255, 183, 0, 0.3);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 183, 0, 0.1);
    transform: translateY(-2px);
}

.newsletter-card h2 {
    font-size: 2rem;
    color: var(--color-spiritual-cyan);
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(103, 232, 249, 0.2);
}

.newsletter-desc {
    font-size: 1rem;
    color: rgba(248, 250, 252, 0.85);
    margin-bottom: 30px;
    line-height: 1.7;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 580px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 15px 25px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-moonlight);
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}

.newsletter-input:focus {
    border-color: var(--color-spiritual-cyan);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(103, 232, 249, 0.25);
}

.newsletter-btn {
    padding: 15px 35px;
    border-radius: 50px;
    border: 1px solid var(--color-saffron);
    background: linear-gradient(135deg, rgba(255, 153, 51, 0.8), rgba(124, 58, 237, 0.8));
    color: var(--color-moonlight);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 0 15px rgba(255, 153, 51, 0.2);
}

.newsletter-btn:hover {
    background: linear-gradient(135deg, #FF9933, #7C3AED);
    box-shadow: 0 0 25px rgba(255, 153, 51, 0.4), inset 0 0 10px rgba(255, 255, 255, 0.2);
    border-color: var(--color-divine-gold);
    transform: translateY(-1px);
}

@media (max-width: 576px) {
    .newsletter-card {
        padding: 40px 20px;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 12px;
    }

    .newsletter-input,
    .newsletter-btn {
        width: 100%;
        text-align: center;
    }
}

/* Smooth scrolling override */
a {
    text-decoration: none;
    color: inherit;
}

/* Section Visual Container */
.section-visual-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px auto 40px;
}

.section-image-wrapper {
    position: relative;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    padding: 8px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(255, 183, 0, 0.2));
    border: 2px solid rgba(255, 183, 0, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 30px rgba(103, 232, 249, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: var(--transition);
}

.section-image-wrapper:hover {
    transform: translateY(-5px);
    border-color: var(--color-divine-gold);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 40px rgba(255, 183, 0, 0.4);
}

.section-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: var(--transition);
}

.section-image-wrapper:hover .section-img {
    transform: scale(1.05);
}

.glow-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 183, 0, 0.3) 0%, rgba(103, 232, 249, 0.15) 50%, transparent 70%);
    border-radius: 50%;
    filter: blur(20px);
    z-index: -1;
    pointer-events: none;
    animation: sectionPulse 4s ease-in-out infinite;
}

@keyframes sectionPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.9;
    }
}

/* Quote Card Premium Styling */
.quote-card {
    max-width: 500px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-left: 4px solid var(--color-divine-gold);
    border-radius: 0 16px 16px 0;
    margin-left: 40px;
    text-align: left;
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.quote-text {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--color-moonlight);
    line-height: 1.6;
    margin-bottom: 12px;
}

.quote-author {
    display: block;
    font-size: 0.9rem;
    color: var(--color-spiritual-cyan);
    font-weight: 600;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
}

@media (max-width: 768px) {

    .section-visual-container,
    .chamunda-visual-container {
        flex-direction: column !important;
        gap: 30px;
    }

    .quote-card {
        margin-left: 0 !important;
        border-left: none !important;
        border-top: 4px solid var(--color-divine-gold);
        border-radius: 0 0 16px 16px;
        text-align: center;
    }

    .divine-card {
        padding: 30px 15px !important;
        margin: 25px 0 !important;
        border-radius: 16px !important;
    }
}

/* Submenu & Dropdown styles */
.nav-dropdown {
    position: relative;
}

.nav-dropdown .arrow {
    font-size: 0.75rem;
    margin-left: 4px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    opacity: 0;
    visibility: hidden;
    min-width: 220px;
    background: rgba(8, 11, 30, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(103, 232, 249, 0.15);
    border-radius: 12px;
    padding: 10px 0;
    list-style: none;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(103, 232, 249, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.submenu li {
    width: 100%;
}

.submenu li a {
    display: block;
    padding: 10px 20px;
    font-size: 0.9rem;
    color: rgba(248, 250, 252, 0.85);
    text-decoration: none;
    text-align: left;
    transition: var(--transition);
}

.submenu li a:hover {
    color: var(--color-divine-gold);
    background: rgba(255, 255, 255, 0.03);
    padding-left: 25px;
    text-shadow: 0 0 8px rgba(255, 183, 0, 0.4);
}

/* Hover triggers active submenu on desktop */
@media (min-width: 769px) {
    .nav-dropdown:hover .submenu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }

    .nav-dropdown:hover .arrow {
        transform: rotate(180deg);
        color: var(--color-spiritual-cyan);
    }
}

/* Mobile responsive accordion for dropdown submenus */
@media (max-width: 768px) {
    .nav-links {
        overflow-y: auto;
    }

    .nav-dropdown .arrow {
        float: right;
        margin-top: 5px;
    }

    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: 0;
        overflow: hidden;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: none;
        box-shadow: none;
        padding: 0;
        margin-left: 15px;
        transition: max-height 0.4s ease-out;
    }

    .nav-dropdown.active .submenu {
        max-height: 800px;
        margin-top: 10px;
        border-left: 1px solid rgba(103, 232, 249, 0.2);
        padding-left: 10px;
    }

    .nav-dropdown.active .arrow {
        transform: rotate(180deg);
        color: var(--color-spiritual-cyan);
    }
}

/* Category Portal Grid & Cards Styling */
.portal-section {
    padding: 80px 20px;
    text-align: center;
    position: relative;
    z-index: 5;
}

.portal-heading {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--color-spiritual-cyan);
    margin-bottom: 50px;
    font-weight: 700;
    text-shadow: 0 0 15px rgba(103, 232, 249, 0.25);
    text-align: center;
}

.portal-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.portal-card {
    background: rgba(10, 14, 39, 0.45);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(103, 232, 249, 0.12);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
}

.portal-card:hover {
    border-color: rgba(255, 183, 0, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.55), 0 0 30px rgba(255, 183, 0, 0.1);
    transform: translateY(-8px);
}

.portal-card-img-wrapper {
    position: relative;
    height: 220px;
    width: 100%;
    overflow: hidden;
}

.portal-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
}

.portal-card:hover .portal-card-img {
    transform: scale(1.08);
}

.portal-card-glow-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 50%, rgba(10, 14, 39, 0.8) 100%);
    pointer-events: none;
}

.portal-card-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
}

.portal-card-content h3 {
    font-size: 1.4rem;
    color: var(--color-divine-gold);
    margin-bottom: 15px;
    font-weight: 600;
    text-shadow: 0 0 8px rgba(255, 183, 0, 0.2);
}

.portal-card-content p {
    font-size: 0.95rem;
    color: rgba(248, 250, 252, 0.75);
    line-height: 1.7;
    margin-bottom: 25px;
    flex-grow: 1;
}

.portal-btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    background: linear-gradient(135deg, rgba(255, 153, 51, 0.15), rgba(124, 58, 237, 0.15));
    border: 1px solid var(--color-saffron);
    color: var(--color-moonlight);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 0 15px rgba(255, 153, 51, 0.15);
    transition: var(--transition);
}

.portal-btn:hover {
    background: linear-gradient(135deg, rgba(255, 153, 51, 0.4), rgba(124, 58, 237, 0.4));
    border-color: var(--color-divine-gold);
    box-shadow: 0 0 25px rgba(255, 153, 51, 0.35), inset 0 0 10px rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

@media (max-width: 992px) {
    .portal-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 600px) {
    .portal-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .portal-section {
        padding: 50px 15px;
    }

    .portal-card-img-wrapper {
        height: 180px;
    }
}

/* Pillars of Sanatan Dharma */
.pillars-section {
    padding: 80px 20px;
    text-align: center;
    position: relative;
    z-index: 5;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.pillar-card {
    background: rgba(10, 14, 39, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(103, 232, 249, 0.1);
    border-radius: 20px;
    padding: 35px 25px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pillar-card:hover {
    border-color: rgba(255, 183, 0, 0.25);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 25px rgba(255, 183, 0, 0.05);
    transform: translateY(-6px);
}

.pillar-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1.5px solid var(--color-divine-gold);
    box-shadow: 0 0 15px rgba(255, 183, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--color-divine-gold);
    margin-bottom: 20px;
    transition: var(--transition);
}

.pillar-card:hover .pillar-icon {
    background: rgba(255, 183, 0, 0.1);
    box-shadow: 0 0 25px rgba(255, 183, 0, 0.4);
    transform: scale(1.1);
}

.pillar-card h3 {
    font-size: 1.25rem;
    color: var(--color-spiritual-cyan);
    margin-bottom: 12px;
    font-weight: 600;
}

.pillar-card p {
    font-size: 0.9rem;
    color: rgba(248, 250, 252, 0.75);
    line-height: 1.6;
}

/* Cosmic OM Banner */
.cosmic-om-banner {
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.6), rgba(45, 27, 105, 0.4));
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(103, 232, 249, 0.15);
    border-radius: 24px;
    padding: 50px;
    max-width: 1200px;
    margin: 80px auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    text-align: left;
    position: relative;
    z-index: 5;
    overflow: hidden;
}

.cosmic-om-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 183, 0, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.om-banner-content {
    flex: 1;
}

.om-banner-content h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--color-spiritual-cyan);
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(103, 232, 249, 0.2);
}

.om-banner-content p {
    font-size: 1rem;
    color: rgba(248, 250, 252, 0.8);
    line-height: 1.7;
    margin-bottom: 25px;
}

/* Interactive Soundwave animation */
.om-visualizer {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 30px;
    border-radius: 16px;
    box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.02);
}

.om-badge {
    font-size: 3rem;
    color: var(--color-divine-gold);
    filter: drop-shadow(0 0 8px rgba(255, 183, 0, 0.4));
    animation: omPulse 3s ease-in-out infinite;
}

@keyframes omPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.9;
    }

    50% {
        transform: scale(1.08);
        opacity: 1;
        filter: drop-shadow(0 0 15px rgba(255, 183, 0, 0.6));
    }
}

.soundwave {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 40px;
}

.soundwave-bar {
    width: 3px;
    height: 100%;
    background-color: var(--color-spiritual-cyan);
    border-radius: 3px;
    animation: bounce 1.2s ease-in-out infinite;
    transform-origin: bottom;
}

.soundwave-bar:nth-child(2) {
    animation-delay: 0.15s;
    background-color: var(--color-divine-gold);
}

.soundwave-bar:nth-child(3) {
    animation-delay: 0.3s;
}

.soundwave-bar:nth-child(4) {
    animation-delay: 0.45s;
    background-color: var(--color-divine-gold);
}

.soundwave-bar:nth-child(5) {
    animation-delay: 0.6s;
}

@keyframes bounce {

    0%,
    100% {
        transform: scaleY(0.3);
    }

    50% {
        transform: scaleY(1);
    }
}

@media (max-width: 992px) {
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .cosmic-om-banner {
        flex-direction: column;
        padding: 40px 30px;
        text-align: center;
        gap: 30px;
    }

    .cosmic-om-banner::before {
        display: none;
    }

    .om-visualizer {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pillars-section {
        padding: 50px 15px;
    }
}

/* Subpage Hero Banners */
.subpage-hero {
    padding: 100px 20px 30px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
    position: relative;
    z-index: 5;
}

.subpage-hero h1 {
    font-size: clamp(2.2rem, 6vw, 3.8rem);
    color: var(--color-spiritual-cyan);
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    text-shadow: 0 0 25px rgba(103, 232, 249, 0.3);
}

.subpage-hero p {
    font-size: 1.15rem;
    color: rgba(248, 250, 252, 0.85);
    line-height: 1.8;
}

/* Split Card Layout for background image */
.divine-card.split-card {
    display: grid;
    grid-template-columns: 350px 1fr;
    padding: 0;
    overflow: hidden;
}

.card-bg-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 100%;
}

.card-bg-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 75%, rgba(10, 14, 39, 0.5) 100%);
    pointer-events: none;
}

.card-content-area {
    padding: 45px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

@media (max-width: 900px) {
    .divine-card.split-card {
        grid-template-columns: 1fr;
    }

    .card-bg-image {
        height: 280px;
        min-height: 280px;
    }

    .card-bg-image::after {
        background: linear-gradient(180deg, transparent 75%, rgba(10, 14, 39, 0.5) 100%);
    }

    .card-content-area {
        padding: 35px 20px;
    }
}

/* Optimized Sanskrit Mantra/Sloka Box */
.sanskrit-mantra-box {
    padding: 10px 0;
    margin: 15px 0;
    text-align: center;
    position: relative;
}

.sanskrit-mantra-box::before,
.sanskrit-mantra-box::after {
    display: none !important;
}

.sanskrit-mantra-box .gayatri-mantra,
.sanskrit-mantra-box .bhagavad-gita-verse {
    margin-bottom: 0 !important;
}

/* ==================== Custom Translation Button ==================== */
.header-actions {
    display: flex;
    align-items: center;
    margin-left: 15px;
}


.translate-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(103, 232, 249, 0.08);
    border: 1.5px solid rgba(103, 232, 249, 0.25);
    border-radius: 20px;
    color: var(--color-moonlight);
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.translate-btn:hover,
.translate-btn.active {
    background: rgba(255, 183, 0, 0.15);
    border-color: var(--color-divine-gold);
    color: var(--color-divine-gold);
    box-shadow: 0 0 12px rgba(255, 183, 0, 0.3);
    transform: translateY(-1px);
}

.translate-icon {
    font-size: 0.95rem;
}

/* Hide Google Translate top bar frame and UI clutter */
.skiptranslate,
iframe.skiptranslate,
.goog-te-banner-frame {
    display: none !important;
}

body {
    top: 0 !important;
}

#goog-gt-tt,
.goog-te-balloon-frame {
    display: none !important;
}

.goog-text-highlight {
    background: transparent !important;
    box-shadow: none !important;
}

/* Responsive adjustment for Mobile Menu Drawer */
@media (max-width: 768px) {
    .header-actions {
        order: 2;
        margin-left: auto;
        margin-right: 15px;
        margin-top: 0;
        width: auto;
        display: flex;
        align-items: center;
    }

    .translate-btn {
        width: auto;
        padding: 5px 12px;
        font-size: 0.8rem;
    }
}



/* ==================== Pujari Themed Footer Redesign ==================== */
footer#footer {
    padding: 90px 20px 50px;
    border-top: 2.5px solid rgba(255, 153, 51, 0.45);
    /* Saffron top border */
    background: linear-gradient(180deg, rgba(10, 14, 39, 0.8) 0%, rgba(5, 7, 20, 0.98) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 -20px 50px rgba(255, 153, 51, 0.08);
    /* Warm glowing aura */
    margin-top: 80px;
    position: relative;
    z-index: 10;
}

/* Temple arch shape at the top of the footer */
.temple-arch-divider {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #0a0e27;
    border: 2px solid rgba(255, 153, 51, 0.45);
    border-bottom: none;
    border-radius: 50px 50px 0 0;
    width: 120px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--color-divine-gold);
    text-shadow: 0 0 8px rgba(255, 183, 0, 0.5);
    box-shadow: 0 -5px 15px rgba(255, 153, 51, 0.15);
    z-index: 12;
}

.footer-col h3 {
    color: var(--color-divine-gold) !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 1.15rem;
    border-bottom: 1.5px solid rgba(255, 153, 51, 0.2);
    padding-bottom: 10px;
    margin-bottom: 25px;
    font-weight: 700;
}

.footer-col h3::after {
    display: none !important;
    /* remove old underline */
}

/* Holy symbols next to column titles */
.footer-col h3::before {
    font-size: 1rem;
    margin-right: 5px;
    filter: drop-shadow(0 0 5px rgba(255, 153, 51, 0.6));
}

.footer-col.about-col h3::before {
    content: '🕉️ ';
}

.footer-col.links-col h3::before {
    content: '📜 ';
}

.footer-col.info-col h3::before {
    content: '📿 ';
}

.footer-col.social-col h3::before {
    content: '🔔 ';
}

.footer-desc {
    font-family: 'Inter', sans-serif;
    color: rgba(248, 250, 252, 0.8);
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-col ul li a {
    color: rgba(248, 250, 252, 0.8) !important;
    transition: all 0.3s ease;
    font-weight: 500;
}

.footer-col ul li a:hover {
    color: var(--color-saffron) !important;
    transform: translateX(8px);
    text-shadow: 0 0 10px rgba(255, 153, 51, 0.5);
}

/* Divine Blessing Quote styling */
.footer-blessing-quote-container {
    margin-bottom: 50px;
}

.footer-blessing-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 40px auto 30px;
    max-width: 600px;
}

.footer-blessing-separator .sep-line {
    flex: 1;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, rgba(255, 153, 51, 0.7), transparent);
}


.footer-blessing-separator .sep-symbol {
    font-size: 1.5rem;
    color: var(--color-divine-gold);
    text-shadow: 0 0 10px rgba(255, 153, 51, 0.6);
    animation: diyaPulse 2.2s ease-in-out infinite alternate;
    display: inline-block;
}

@keyframes diyaPulse {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 5px rgba(255, 153, 51, 0.5));
    }

    100% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 15px rgba(255, 183, 0, 0.8));
    }
}

.footer-blessing-quote {
    text-align: center;
    margin: 0 auto;
    max-width: 800px;
    padding: 0 20px;
}

.footer-blessing-quote .blessing-title {
    font-family: 'Outfit', sans-serif;
    color: var(--color-divine-gold);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-shadow: 0 0 8px rgba(255, 183, 0, 0.3);
}

.footer-blessing-quote .blessing-sanskrit {
    font-family: 'Noto Serif Devanagari', serif;
    font-size: clamp(1.15rem, 2.5vw, 1.45rem);
    line-height: 1.9;
    color: var(--color-moonlight);
    margin-bottom: 15px;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.1);
}

.footer-blessing-quote .blessing-translation {
    font-size: 0.95rem;
    color: rgba(248, 250, 252, 0.7);
    font-style: italic;
    line-height: 1.75;
    margin-bottom: 15px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.footer-blessing-quote .blessing-shanti {
    font-family: 'Noto Serif Devanagari', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-saffron);
    text-shadow: 0 0 8px rgba(255, 153, 51, 0.4);
    letter-spacing: 1px;
}


.footer-quote {
    font-family: 'Noto Serif Devanagari', serif;
    font-size: 1.8rem;
    color: var(--color-divine-gold) !important;
}

.footer-quote-translation {
    font-size: 0.95rem;
    color: rgba(248, 250, 252, 0.7);
    margin-bottom: 30px;
}

/* Custom saffron/gold theme for social icons in footer */
.social-links .social-btn:hover {
    background: var(--color-saffron) !important;
    border-color: var(--color-divine-gold) !important;
    box-shadow: 0 0 15px rgba(255, 153, 51, 0.6) !important;
    color: #0a0e27 !important;
}

/* Premium Slider / Carousel Styles */
.slider-container {
    position: relative;
    max-width: 1050px;
    margin: 0 auto;
    padding: 0 45px;
}

.slider-wrapper {
    overflow: hidden;
    width: 100%;
    padding: 15px 0;
}

.slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.slider-slide {
    flex: 0 0 33.333%;
    padding: 10px;
    box-sizing: border-box;
    display: flex;
}

/* Adjust slide sizes based on items shown */
@media (max-width: 992px) {
    .slider-slide {
        flex: 0 0 50%;
    }
}

@media (max-width: 600px) {
    .slider-slide {
        flex: 0 0 100%;
    }
}

/* Slide inner content matches card styles */
.slider-slide>a,
.slider-slide>div {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    background: rgba(10, 14, 39, 0.5);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 183, 0, 0.18);
    border-radius: 20px;
    padding: 35px 24px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.slider-slide>a:hover,
.slider-slide>div:hover {
    border-color: rgba(255, 183, 0, 0.6);
    box-shadow: 0 15px 35px rgba(255, 183, 0, 0.15), 0 0 20px rgba(103, 232, 249, 0.05);
    transform: translateY(-5px);
}

/* Control Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(10, 14, 39, 0.85);
    border: 1px solid rgba(255, 183, 0, 0.3);
    color: var(--color-divine-gold);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.slider-btn:hover {
    background: var(--color-divine-gold);
    color: #0a0e27;
    border-color: var(--color-divine-gold);
    box-shadow: 0 0 20px rgba(255, 183, 0, 0.6);
}

.slider-btn.prev-btn {
    left: -5px;
}

.slider-btn.next-btn {
    right: -5px;
}

/* Dots Indicators */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(248, 250, 252, 0.25);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-dot.active {
    background: var(--color-divine-gold);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(255, 183, 0, 0.8);
}

/* ==================== Core Layout Components — Removing Inline CSS ==================== */

/* Theme Scopes */
.theme-saffron {
    --theme-color: var(--color-saffron);
    --theme-color-rgb: 255, 153, 51;
    --theme-border-color: rgba(255, 153, 51, 0.18);
    --theme-glow-color: rgba(255, 153, 51, 0.1);
    --theme-hover-border: rgba(255, 153, 51, 0.5);
    --theme-shadow-glow: rgba(255, 153, 51, 0.08);
}

.theme-cyan {
    --theme-color: var(--color-spiritual-cyan);
    --theme-color-rgb: 103, 232, 249;
    --theme-border-color: rgba(103, 232, 249, 0.18);
    --theme-glow-color: rgba(103, 232, 249, 0.1);
    --theme-hover-border: rgba(103, 232, 249, 0.5);
    --theme-shadow-glow: rgba(103, 232, 249, 0.08);
}

.theme-gold {
    --theme-color: var(--color-divine-gold);
    --theme-color-rgb: 255, 183, 0;
    --theme-border-color: rgba(255, 183, 0, 0.18);
    --theme-glow-color: rgba(255, 183, 0, 0.1);
    --theme-hover-border: rgba(255, 183, 0, 0.5);
    --theme-shadow-glow: rgba(255, 183, 0, 0.08);
}

.theme-purple {
    --theme-color: var(--color-sacred-purple);
    --theme-color-rgb: 124, 58, 237;
    --theme-border-color: rgba(124, 58, 237, 0.18);
    --theme-glow-color: rgba(124, 58, 237, 0.1);
    --theme-hover-border: rgba(124, 58, 237, 0.5);
    --theme-shadow-glow: rgba(124, 58, 237, 0.08);
}

.subpage-hero {
    border-bottom: 2px solid rgba(var(--theme-color-rgb), 0.3);
    padding: 60px 0 40px;
    margin-bottom: 40px;
}

.subpage-hero-label {
    font-size: 0.78rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(var(--theme-color-rgb), 0.6);
    margin-bottom: 12px;
    font-weight: 600;
}

.subpage-hero-title {
    color: var(--theme-color);
    text-shadow: 0 0 30px rgba(var(--theme-color-rgb), 0.25);
    font-size: clamp(2rem, 5vw, 3.2rem);
    margin-bottom: 15px;
    font-weight: 800;
}

.subpage-hero-desc {
    font-size: 1.05rem;
    color: rgba(248, 250, 252, 0.8);
    line-height: 1.75;
    max-width: 900px;
}

.subpage-hero-quote {
    font-family: 'Noto Serif Devanagari', serif;
    font-size: 1.15rem;
    color: rgba(var(--theme-color-rgb), 0.7);
    margin-top: 12px;
}

/* Divine Card (Mantras & Consorts) */
.divine-card {
    border: 1px solid rgba(var(--theme-color-rgb), 0.22);
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 50px 40px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    background-color: rgba(10, 14, 39, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.divine-card-title {
    font-size: clamp(1.3rem, 3.5vw, 1.8rem);
    margin-bottom: 25px;
    color: var(--theme-color);
    text-shadow: 0 0 10px rgba(var(--theme-color-rgb), 0.3);
}

.sanskrit-mantra-box {
    margin: 20px 0;
}

.gayatri-mantra {
    font-size: clamp(1rem, 2.8vw, 1.55rem);
    line-height: 2;
    color: var(--color-moonlight);
}

.mantra-label {
    font-size: 0.85rem;
    color: rgba(248, 250, 252, 0.55);
    font-style: italic;
    margin-bottom: 25px;
}

.divine-card-translation {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(248, 250, 252, 0.85);
    margin-top: 25px;
}

.divine-card-significance {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(248, 250, 252, 0.7);
    margin-top: 25px;
    border-top: 1px solid rgba(var(--theme-color-rgb), 0.1);
    padding-top: 20px;
}

/* Chapter Navigation Pills */
.chapter-nav-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 30px auto 40px;
    max-width: 1050px;
}

.chapter-nav-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    padding: 6px 18px;
    font-size: 0.8rem;
    color: rgba(248, 250, 252, 0.55);
    text-decoration: none;
    transition: var(--transition);
}

.chapter-nav-pill:hover {
    border-color: rgba(var(--theme-color-rgb), 0.5);
    color: var(--theme-color);
}

.chapter-nav-pill.active {
    background: rgba(var(--theme-color-rgb), 0.15);
    border: 1px solid var(--theme-color);
    color: var(--theme-color);
    font-weight: 700;
}

/* Timeline Components */
.timeline-container {
    display: flex;
    flex-direction: column;
    gap: 28px;
    max-width: 950px;
    margin: 0 auto;
}

.timeline-row {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 0;
}

.timeline-badge-col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timeline-badge {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(var(--theme-color-rgb), 0.12);
    border: 2px solid var(--theme-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    z-index: 2;
}

.timeline-connector {
    flex: 1;
    width: 2px;
    background: linear-gradient(to bottom, rgba(var(--theme-color-rgb), 0.4), rgba(var(--theme-color-rgb), 0.05));
    margin: 6px 0;
}

.timeline-card {
    background: rgba(10, 14, 39, 0.5);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(var(--theme-color-rgb), 0.15);
    border-radius: 18px;
    padding: 26px 28px;
    margin-left: 16px;
    transition: var(--transition);
}

.timeline-card:hover {
    border-color: rgba(var(--theme-color-rgb), 0.5);
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(var(--theme-color-rgb), 0.1);
}

.timeline-card-label {
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--theme-color);
    margin-bottom: 6px;
    font-weight: 700;
}

.timeline-card-title {
    font-family: 'Noto Serif Devanagari', serif;
    font-size: 1.2rem;
    color: var(--color-moonlight);
    margin-bottom: 12px;
}

.timeline-card-desc {
    font-size: 0.9rem;
    color: rgba(248, 250, 252, 0.75);
    line-height: 1.75;
}

/* Subpage Featured Cards and Grid */
.subpage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.featured-row-container {
    max-width: 900px;
    margin: 0 auto 40px;
}

.featured-card {
    background: rgba(10, 14, 39, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(var(--theme-color-rgb), 0.2);
    border-radius: 22px;
    padding: 40px 36px;
    text-align: center;
    transition: var(--transition);
}

.featured-card:hover {
    border-color: rgba(var(--theme-color-rgb), 0.5);
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 20px rgba(var(--theme-color-rgb), 0.08);
}

.featured-card-title {
    font-family: 'Noto Serif Devanagari', serif;
    font-size: clamp(1rem, 2.5vw, 1.45rem);
    line-height: 2;
    color: var(--color-moonlight);
    margin-bottom: 14px;
}

.featured-card-desc {
    font-size: 0.88rem;
    color: rgba(248, 250, 252, 0.68);
    line-height: 1.7;
    font-style: italic;
}

/* Katha Hub Grid styling */
.katha-hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.katha-hub-card {
    background: rgba(10, 14, 39, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(var(--theme-color-rgb), 0.15);
    border-radius: 22px;
    padding: 30px 26px;
    transition: all 0.35s ease;
    height: 100%;
    box-sizing: border-box;
}

.katha-hub-card:hover {
    border-color: rgba(var(--theme-color-rgb), 0.5);
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45), 0 0 20px rgba(var(--theme-color-rgb), 0.1);
}

.katha-hub-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.katha-hub-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(var(--theme-color-rgb), 0.12);
    border: 2px solid rgba(var(--theme-color-rgb), 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.katha-hub-card-chapter {
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--theme-color);
    font-weight: 700;
}

.katha-hub-card-sanskrit {
    font-family: 'Noto Serif Devanagari', serif;
    font-size: 1.15rem;
    color: var(--color-moonlight);
    font-weight: 700;
    margin-top: 2px;
}

.katha-hub-card-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--theme-color);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.katha-hub-card-desc {
    font-size: 0.875rem;
    color: rgba(248, 250, 252, 0.7);
    line-height: 1.65;
    margin-bottom: 16px;
}

.katha-hub-card-link {
    font-size: 0.78rem;
    color: rgba(var(--theme-color-rgb), 0.7);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.katha-hub-card-featured {
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.6), rgba(10, 14, 39, 0.5));
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(var(--theme-color-rgb), 0.18);
    border-radius: 22px;
    padding: 30px 32px;
    transition: all 0.35s ease;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 24px;
    align-items: center;
}

.katha-hub-card-featured:hover {
    border-color: rgba(var(--theme-color-rgb), 0.5);
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45), 0 0 25px rgba(var(--theme-color-rgb), 0.08);
}

.katha-hub-card-featured-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(var(--theme-color-rgb), 0.1);
    border: 2px solid rgba(var(--theme-color-rgb), 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}

.katha-hub-card-featured-title {
    font-family: 'Noto Serif Devanagari', serif;
    font-size: 1.25rem;
    color: var(--color-moonlight);
    font-weight: 700;
    margin-bottom: 6px;
}

.katha-hub-card-featured-subtitle {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--theme-color);
    margin-bottom: 8px;
}

.katha-hub-card-featured-desc {
    font-size: 0.875rem;
    color: rgba(248, 250, 252, 0.65);
    line-height: 1.6;
    margin: 0;
}

.katha-hub-card-featured-link {
    font-size: 0.82rem;
    color: rgba(var(--theme-color-rgb), 0.7);
    font-weight: 600;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* ==================== Footer Directory and Layout ==================== */
.footer-directory {
    margin-top: 40px;
    border-top: 1.5px solid rgba(255, 153, 51, 0.15);
    padding-top: 40px;
    text-align: left;
}

.footer-directory-title {
    font-family: 'Outfit', sans-serif;
    color: var(--color-divine-gold);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-align: center;
    text-shadow: 0 0 8px rgba(255, 183, 0, 0.3);
}

.footer-directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-directory-col h4 {
    color: var(--color-spiritual-cyan);
    font-size: 0.95rem;
    margin-bottom: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-directory-col ul {
    list-style: none;
    padding: 0;
}

.footer-directory-col ul li {
    margin-bottom: 8px;
    font-size: 0.88rem;
}

.footer-directory-col ul li a {
    color: rgba(248, 250, 252, 0.6) !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-directory-col ul li a:hover {
    color: var(--color-saffron) !important;
    padding-left: 4px;
    text-shadow: 0 0 8px rgba(255, 153, 51, 0.4);
}

@media (max-width: 768px) {
    .timeline-row {
        grid-template-columns: 50px 1fr;
    }

    .timeline-badge {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }

    .timeline-card {
        padding: 20px 22px;
        margin-left: 10px;
    }

    .katha-hub-card-featured {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
        gap: 16px;
        padding: 30px 24px;
    }

    .katha-hub-card-featured-link {
        margin-top: 10px;
    }

    .footer-directory-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .footer-directory-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== Newly Added Modular Classes for Inline CSS Cleanup ==================== */

.divine-grid-card {
    background: rgba(10, 14, 39, 0.5);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--theme-border-color, rgba(103, 232, 249, 0.18));
    border-radius: 24px;
    padding: 35px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.divine-grid-card:hover {
    border-color: var(--theme-hover-border, rgba(103, 232, 249, 0.5));
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45), 0 0 20px var(--theme-shadow-glow, rgba(103, 232, 249, 0.1));
}

.card-badge {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--theme-color);
    background: rgba(var(--theme-color-rgb), 0.1);
    padding: 4px 10px;
    border-radius: 12px;
}

.card-icon {
    font-size: 2.8rem;
    margin-bottom: 12px;
}

.divine-grid-card h3 {
    font-family: 'Noto Serif Devanagari', serif;
    font-size: 1.3rem;
    color: var(--theme-color, var(--color-moonlight));
    margin-bottom: 8px;
    text-shadow: 0 0 10px var(--theme-glow-color, rgba(255, 255, 255, 0.15));
}

.divine-grid-card .card-subtitle {
    font-size: 0.78rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(248, 250, 252, 0.45);
    margin-bottom: 14px;
}

.divine-grid-card p {
    font-size: 0.88rem;
    color: rgba(248, 250, 252, 0.68);
    line-height: 1.6;
    margin-bottom: 20px;
}

.divine-grid-card .card-btn {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(var(--theme-color-rgb), 0.12);
    border: 1px solid rgba(var(--theme-color-rgb), 0.35);
    border-radius: 20px;
    color: var(--theme-color);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.divine-grid-card .card-btn:hover {
    background: rgba(var(--theme-color-rgb), 0.25);
    border-color: var(--theme-color);
    box-shadow: 0 0 15px var(--theme-glow-color, rgba(255, 255, 255, 0.1));
}

.quote-card-themed {
    margin: 0 auto 25px;
    max-width: 700px;
    text-align: center;
    border-left: none;
    border-top: 2px solid var(--theme-color);
    border-bottom: 2px solid var(--theme-color);
    border-radius: 0;
    padding: 15px 10px;
    background: rgba(var(--theme-color-rgb), 0.02);
}

.quote-card-themed .quote-text {
    font-style: italic;
    font-size: 1.05rem;
    color: var(--text-dark);
}

.quote-card-themed .quote-author {
    margin-top: 5px;
    font-size: 0.85rem;
    color: rgba(248, 250, 252, 0.6);
}

.gita-portal-section {
    background: linear-gradient(rgba(10, 14, 39, 0.92), rgba(10, 14, 39, 0.92)), url('../images/gita_section.jpg') no-repeat center center;
    background-size: cover;
    border: 1px solid var(--theme-border-color, rgba(103, 232, 249, 0.22));
    max-width: 900px;
    margin: 40px auto;
    text-align: center;
    padding: 50px 40px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.gita-portal-title {
    font-size: clamp(1.3rem, 3.5vw, 1.8rem);
    margin-bottom: 20px;
    color: var(--theme-color);
    text-shadow: 0 0 10px var(--theme-glow-color, rgba(103, 232, 249, 0.3));
}

.gita-portal-desc {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(248, 250, 252, 0.85);
    max-width: 750px;
    margin: 0 auto 25px;
}

.gita-portal-btn-wrap {
    margin-bottom: 25px;
}

.gita-verse-label {
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(var(--theme-color-rgb), 0.65);
    margin-bottom: 12px;
    font-weight: 600;
}

.gita-verse-sanskrit {
    font-family: 'Noto Serif Devanagari', serif;
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--color-moonlight);
    margin-bottom: 14px;
}

.gita-verse-translation {
    font-size: 0.88rem;
    color: rgba(248, 250, 252, 0.75);
    line-height: 1.6;
    font-style: italic;
}

/* ==================== Home, About, and Policy Page Styles ==================== */

.hero-pretitle {
    font-size: 0.95rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-divine-gold);
    margin-bottom: 12px;
    opacity: 0.9;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(255, 183, 0, 0.3);
}

.hero-cta-row a:first-child {
    margin-right: 15px;
}

.hero-cta-row a.portal-btn-cyan {
    background: linear-gradient(135deg, rgba(103, 232, 249, 0.15), rgba(124, 58, 237, 0.15));
    border-color: var(--color-spiritual-cyan);
}

.shloka-slider-section .portal-heading {
    margin-bottom: 30px;
}

.mahavakya-section p {
    text-align: center;
    color: rgba(248, 250, 252, 0.55);
    font-size: 0.9rem;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

/* Text color utilities */
.text-gold {
    color: var(--color-divine-gold) !important;
}

.text-cyan {
    color: var(--color-spiritual-cyan) !important;
}

.text-saffron {
    color: var(--color-saffron) !important;
}

.text-purple {
    color: var(--color-sacred-purple) !important;
}

/* About Page styles */
.about-page-vision-title {
    color: var(--color-spiritual-cyan);
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-family: 'Outfit', sans-serif;
}

.about-page-desc {
    margin-bottom: 20px;
    line-height: 1.8;
    color: rgba(248, 250, 252, 0.85);
}

.about-page-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    color: rgba(248, 250, 252, 0.85);
}

.about-page-list-item {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

/* Policy Page styles */
.policy-page-container {
    text-align: left;
    max-width: 850px;
    margin: 0 auto;
    font-style: normal;
    line-height: 1.8;
}

.policy-page-header-text {
    color: rgba(248, 250, 252, 0.7);
    font-size: 0.9rem;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(103, 232, 249, 0.1);
    padding-bottom: 15px;
}

.policy-page-section-title {
    color: var(--color-spiritual-cyan);
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-family: 'Outfit', sans-serif;
}

.policy-page-text {
    margin-bottom: 25px;
    color: rgba(248, 250, 252, 0.85);
}

.policy-page-text-short {
    margin-bottom: 15px;
    color: rgba(248, 250, 252, 0.85);
}

.policy-page-email-link {
    color: var(--color-divine-gold);
    text-decoration: underline;
}

/* ==================== Gita Verses Box Redesign (UI/UX) ==================== */
.gita-verse-box {
    background: rgba(10, 14, 39, 0.45);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 20px;
    padding: 35px 30px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.gita-verse-box:hover {
    border-color: rgba(255, 183, 0, 0.45);
    transform: translateY(-6px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.55), 0 0 30px rgba(255, 153, 51, 0.15);
}

.gita-verse-box::before {
    content: '🕉️';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8rem;
    opacity: 0.03;
    color: var(--color-divine-gold);
    pointer-events: none;
    transition: var(--transition);
    z-index: 1;
}

.gita-verse-box:hover::before {
    opacity: 0.06;
    transform: translate(-50%, -50%) scale(1.1);
}

.gita-verse-header {
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.gita-verse-number {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-saffron);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 6px;
    text-shadow: 0 0 10px rgba(255, 153, 51, 0.4);
}

.gita-verse-theme {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-divine-gold);
    opacity: 0.9;
    letter-spacing: 0.5px;
}

.gita-verse-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 12px 0;
    opacity: 0.65;
    position: relative;
    z-index: 2;
}

.gita-verse-divider .line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-divine-gold), transparent);
}

.gita-verse-divider .symbol {
    color: var(--color-divine-gold);
    font-size: 0.85rem;
    filter: drop-shadow(0 0 3px rgba(255, 215, 0, 0.5));
}

.gita-verse-sanskrit-container {
    padding: 8px 0;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.gita-verse-sanskrit-text {
    font-family: 'Noto Serif Devanagari', serif;
    font-size: clamp(1.15rem, 2.5vw, 1.20rem);
    line-height: 1.95;
    font-weight: 600;
    background: linear-gradient(135deg, var(--color-divine-gold) 30%, var(--color-saffron) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.gita-verse-meaning-container {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.gita-verse-meaning-text {
    font-size: 0.92rem;
    line-height: 1.7;
    color: rgba(248, 250, 252, 0.85);
    font-style: italic;
    margin: 0;
}

/* ==================== Collapsible Footer Directory ==================== */
.footer-collapsible-directory {
    margin-top: 50px;
    border-top: 1.5px solid rgba(255, 153, 51, 0.15);
    padding-top: 30px;
    text-align: center;
    position: relative;
    z-index: 10;
}

.directory-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 30px;
    border-radius: 50px;
    background: rgba(10, 14, 39, 0.6);
    border: 1.5px solid rgba(255, 153, 51, 0.35);
    color: var(--color-divine-gold);
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 0 15px rgba(255, 153, 51, 0.1);
    outline: none;
}

.directory-toggle-btn:hover,
.directory-toggle-btn.active {
    background: rgba(255, 153, 51, 0.1);
    border-color: var(--color-saffron);
    color: var(--color-moonlight);
    box-shadow: 0 0 25px rgba(255, 153, 51, 0.25), inset 0 0 10px rgba(255, 255, 255, 0.05);
}

.directory-toggle-btn .btn-icon {
    font-size: 0.75rem;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.directory-toggle-btn.active .btn-icon {
    transform: rotate(180deg);
    color: var(--color-spiritual-cyan);
}

.directory-content-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Redesigned Sitemap Directory Grid inside the drawer */
.footer-directory-grid-new {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.footer-directory-row {
    background: rgba(10, 14, 39, 0.45);
    border: 1px solid rgba(255, 183, 0, 0.15);
    border-radius: 16px;
    padding: 20px 24px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.footer-directory-row:hover {
    border-color: var(--color-saffron);
    background: rgba(10, 14, 39, 0.65);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35), 0 0 15px rgba(255, 153, 51, 0.08);
}

.directory-label {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-divine-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
    display: inline-block;
}

.directory-label a {
    color: var(--color-divine-gold);
    text-decoration: none;
    transition: var(--transition);
}

.directory-label a:hover {
    color: var(--color-saffron);
    text-shadow: 0 0 8px rgba(255, 153, 51, 0.4);
}

.directory-desc {
    font-size: 0.88rem;
    color: rgba(248, 250, 252, 0.7);
    line-height: 1.6;
    margin-bottom: 12px;
    font-style: italic;
    /* quote style */
    border-left: 2px solid rgba(255, 153, 51, 0.3);
    padding-left: 10px;
}

.directory-anchors {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: rgba(248, 250, 252, 0.45);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 10px;
}

.directory-anchors a {
    color: var(--color-spiritual-cyan);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.directory-anchors a:hover {
    color: var(--color-divine-gold);
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

.directory-bullet {
    color: rgba(255, 255, 255, 0.20);
    font-size: 0.7rem;
}

@media (max-width: 992px) {
    .footer-directory-grid-new {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* ==================== Mobile: Chapter 7 Full-Width Card ==================== */
.katha-ch7-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 24px;
    align-items: center;
}

@media (max-width: 768px) {
    .katha-ch7-card {
        grid-template-columns: 1fr !important;
        gap: 16px;
        text-align: center;
    }

    .katha-ch7-card .ch7-icon {
        margin: 0 auto;
    }

    .katha-ch7-card .ch7-read-link {
        display: block;
        text-align: center;
        margin-top: 4px;
        white-space: normal !important;
    }
}

/* ==================== Mobile: Navigation Buttons Stack ==================== */
@media (max-width: 768px) {
    .page-nav-buttons {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 0 20px;
    }

    .page-nav-buttons a.portal-btn {
        display: block !important;
        text-align: center;
        margin-right: 0 !important;
        width: 100%;
        box-sizing: border-box;
    }
}