:root {
    --primary: #b31b1b; 
    --secondary: #e6a817; 
    --bg-light: #fcf9f2;
    --text-dark: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Helper Classes */
.bg-white { background-color: #fff; }
.text-lead { font-size: 1.15rem; line-height: 1.8; color: #444; }
.mb-20 { margin-bottom: 20px; }
.center-img-wrapper { text-align: center; margin-top: 50px; }
.max-w-800 { max-width: 800px; margin: 0 auto; display: block; }

/* Navbar & Premium Mobile Menu */
nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.logo img {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
    mix-blend-mode: multiply; 
}

.logo img:hover { transform: scale(1.05); }

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    transition: all 0.3s ease;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after { width: 100%; }

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}

.hamburger div {
    width: 26px;
    height: 3px;
    background-color: var(--primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* --- Hero Section & 3D Video Magic --- */
.hero-wrapper {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 0 20px;
    overflow: hidden; 
    perspective: 1200px; 
}

.hero-bg {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    object-fit: cover; 
    z-index: -2;
    transition: transform 0.1s ease-out;
    transform-origin: center center;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: -1;
    pointer-events: none;
}

.hero-content {
    background: transparent; 
    padding: 60px 20px;
    max-width: 900px;
    transition: transform 0.1s ease-out;
}

.hero-content h1 {
    font-size: 3.2rem;
    margin-bottom: 20px;
    color: var(--secondary);
    letter-spacing: -1px;
    text-shadow: 2px 2px 20px rgba(0,0,0,0.8), -2px -2px 20px rgba(0,0,0,0.8);
    animation: fadeInDown 1s ease-out;
}

.hero-content p {
    font-size: 1.4rem;
    max-width: 800px;
    margin: 0 auto 35px auto;
    font-weight: 400;
    text-shadow: 2px 2px 15px rgba(0,0,0,0.9);
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

.btn {
    padding: 14px 35px;
    background-color: var(--primary);
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 40px;
    border: 2px solid var(--primary);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: inline-block;
    animation: fadeInUp 1s ease-out 0.6s backwards;
    box-shadow: 0 8px 25px rgba(179, 27, 27, 0.4);
}

.btn:hover {
    background-color: transparent;
    color: var(--secondary);
    border-color: var(--secondary);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(230, 168, 23, 0.3);
}

/* Section Layouts */
section { padding: 100px 5%; }

.section-title {
    text-align: center;
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 60px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--secondary);
    margin: 15px auto 0;
    border-radius: 2px;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 50px;
    align-items: center;
}

.content-card {
    background: #fff;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.04);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.02);
}

.content-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.08);
}

.content-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.6rem;
}

.rounded-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.rounded-img:hover { transform: scale(1.03); }

.straighten-wrapper {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
    position: relative;
    margin-top: 60px;
}

.straighten-img {
    width: 115%;
    height: 115%;
    object-fit: cover;
    position: absolute;
    top: -5%;
    left: -5%;
    transform: rotate(-3deg) scale(1.05);
    cursor: pointer;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.straighten-wrapper:hover .straighten-img { transform: rotate(-3deg) scale(1.1); }

ul.custom-list { list-style: none; }
ul.custom-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 18px;
    font-size: 1.15rem;
    color: #444;
}
ul.custom-list li::before {
    content: '🕉';
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--secondary);
    font-size: 1.2rem;
}

/* Map Container */
.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    line-height: 0;
}
.map-container iframe {
    width: 100%;
    height: 500px;
}

/* Footer */
footer {
    background-color: var(--primary);
    color: #fff;
    text-align: center;
    padding: 60px 20px;
}
footer h2 { font-size: 1.8rem; margin-bottom: 10px; }

/* --- Animations & Effects --- */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Image Modal (Lightbox) --- */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.92);
    backdrop-filter: blur(12px);
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.modal.show .modal-content { transform: scale(1); }

.close-btn {
    position: absolute;
    top: 25px;
    right: 40px;
    color: #fff;
    font-size: 45px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
}

.close-btn:hover {
    color: var(--secondary);
    transform: rotate(90deg);
}

/* --- Ultra Responsive Mobile --- */
@media (max-width: 992px) {
    .hero-content h1 { font-size: 2.8rem; }
    .content-grid { gap: 40px; }
}

@media (max-width: 768px) {
    .hero-content { padding: 40px 15px; }
    .hero-content h1 { font-size: 2rem; letter-spacing: 0; }
    .hero-content p { font-size: 1.15rem; }
    
    .hamburger { display: flex; }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        gap: 40px;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    }

    .nav-links.nav-active { right: 0; }

    .toggle .line1 { transform: rotate(-45deg) translate(-5px, 6px); }
    .toggle .line2 { opacity: 0; }
    .toggle .line3 { transform: rotate(45deg) translate(-5px, -6px); }

    section { padding: 70px 20px; text-align: center; }
    .section-title { font-size: 2.2rem; margin-bottom: 40px; }
    
    .content-grid { grid-template-columns: 1fr; gap: 35px; }
    .content-card { padding: 30px 20px; text-align: center; }

    .text-lead { font-size: 1.05rem; }

    ul.custom-list {
        display: inline-block;
        text-align: left;
        margin: 0 auto;
        padding-left: 20px;
    }
    ul.custom-list li { font-size: 1.05rem; margin-bottom: 15px; }
    
    .map-container iframe { height: 350px; border-radius: 15px; }
    .straighten-wrapper { height: 200px; margin-top: 40px; }
    
    .close-btn { top: 15px; right: 25px; font-size: 40px; }
}
/* ====================================================
   NOTO SERIF KANNADA, DEVOTIONAL FX & LINK HIGHLIGHTS
   ==================================================== */
.kannada-serif-body,
.kannada-serif-body * {
    font-family: 'Noto Serif Kannada', 'Poppins', Georgia, serif;
}

/* Clear Justification for All Content Sections */
.kannada-serif-body p,
.kannada-serif-body .news-lead,
.kannada-serif-body .news-lead p,
.kannada-serif-body .bhajan-text,
.kannada-serif-body .seva-box,
.kannada-serif-body .instruction-item p,
.kannada-serif-body .ritual-card p,
.kannada-serif-body .committee-appeal-card > p {
    text-align: justify;
    text-justify: inter-word;
    line-height: 1.95;
    letter-spacing: 0.2px;
}

/* Ultra Premium Sacred Link Styling */
.sacred-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    position: relative;
    border-bottom: 2px solid rgba(230, 168, 23, 0.4);
    padding-bottom: 1px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.sacred-link:hover {
    color: #8b1111;
    border-bottom-color: var(--primary);
    background: rgba(230, 168, 23, 0.15);
    border-radius: 4px;
    padding: 2px 5px;
}

.article-hero .sacred-link {
    color: #ffd880;
    border-bottom-color: rgba(255, 216, 128, 0.5);
}

.article-hero .sacred-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.article-hero {
    background: linear-gradient(135deg, rgba(36, 10, 10, 0.95), rgba(179, 27, 27, 0.92)), url('/news/beedu_ichilampady.webp') center/cover no-repeat;
    padding: 140px 5% 60px;
    color: #fff;
    text-align: center;
    border-bottom: 4px solid var(--secondary);
}

.article-hero-inner {
    max-width: 950px;
    margin: 0 auto;
}

.article-meta-badge {
    display: inline-block;
    background: var(--secondary);
    color: #1a0505;
    font-weight: 700;
    padding: 6px 20px;
    border-radius: 30px;
    font-size: 0.95rem;
    margin-bottom: 18px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.article-hero h1 {
    font-size: 2.3rem;
    line-height: 1.5;
    color: #fff;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
    margin-bottom: 20px;
    font-weight: 700;
}

.article-date-author {
    font-size: 1rem;
    color: #ffd880;
    font-weight: 600;
}

.article-container {
    max-width: 920px;
    margin: -35px auto 60px;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.featured-media-card {
    background: #fff;
    padding: 16px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
    border: 2px solid rgba(230, 168, 23, 0.4);
    margin-bottom: 40px;
    position: relative;
}

/* ----------------------------------------------------
   DEVOTIONAL ANIMATION TRICK: DEEPA FLAMES & INCENSE
   ---------------------------------------------------- */
.devotional-stage-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 14px;
}

.primary-featured-img {
    width: 100%;
    border-radius: 14px;
    display: block;
    cursor: pointer;
}

/* Deepa Placement Co-ordinates over Peacock Lamps */
.sacred-fx {
    position: absolute;
    width: 20px;
    height: 40px;
    pointer-events: none;
    z-index: 10;
}

.sacred-fx.left-deepa {
    bottom: 16%;
    left: 25.5%;
}

.sacred-fx.right-deepa {
    bottom: 16%;
    right: 25.5%;
}

/* Living Flame (Deepa Jyothi) */
.lamp-flame {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 26px;
    background: radial-gradient(ellipse at bottom, #ffffff 0%, #ffe066 35%, #ff6600 70%, transparent 100%);
    border-radius: 50% 50% 35% 35% / 80% 80% 35% 35%;
    box-shadow: 0 0 16px rgba(255, 170, 0, 0.9), 0 0 32px rgba(255, 90, 0, 0.6);
    animation: flameFlicker 1.8s infinite ease-in-out alternate;
    transform-origin: center bottom;
}

/* Radiant Golden Halo around Flame */
.lamp-halo {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.45) 0%, rgba(255, 120, 0, 0.15) 50%, transparent 75%);
    border-radius: 50%;
    animation: haloGlow 2.4s infinite ease-in-out alternate;
}

/* Incense Smoke Wave Effect */
.smoke-wave {
    position: absolute;
    bottom: 18px;
    left: 50%;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    filter: blur(4px);
    opacity: 0;
    transform: translateX(-50%);
}

.smoke-wave.s1 {
    animation: smokeRise 3.6s infinite ease-out;
}

.smoke-wave.s2 {
    animation: smokeRise 3.6s infinite ease-out 1.8s;
}

/* Temple Light Pulse */
.divine-light-shimmer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 60%, rgba(255, 215, 0, 0.12) 0%, transparent 70%);
    pointer-events: none;
    animation: shimmerBreathe 4s infinite ease-in-out;
}

@keyframes flameFlicker {
    0% { transform: translateX(-50%) scale(0.95, 1) rotate(-1.5deg); opacity: 0.92; }
    25% { transform: translateX(-50%) scale(1.05, 1.08) rotate(1.5deg); opacity: 1; }
    50% { transform: translateX(-50%) scale(0.92, 0.96) rotate(-1deg); opacity: 0.88; }
    75% { transform: translateX(-50%) scale(1.08, 1.04) rotate(2deg); opacity: 1; }
    100% { transform: translateX(-50%) scale(1, 1.02) rotate(-0.5deg); opacity: 0.95; }
}

@keyframes haloGlow {
    0% { transform: translateX(-50%) scale(0.9); opacity: 0.6; }
    100% { transform: translateX(-50%) scale(1.3); opacity: 1; }
}

@keyframes smokeRise {
    0% { opacity: 0.7; transform: translateX(-50%) translateY(0) scale(1); }
    50% { opacity: 0.4; transform: translateX(-15px) translateY(-35px) scale(2.5); }
    100% { opacity: 0; transform: translateX(20px) translateY(-75px) scale(4); }
}

@keyframes shimmerBreathe {
    0%, 100% { opacity: 0.35; }
    50% { opacity: 0.8; }
}

.img-caption {
    text-align: center !important;
    font-size: 0.95rem;
    color: #666;
    margin-top: 12px;
    font-weight: 600;
}

.article-content {
    background: #fff;
    padding: 50px;
    border-radius: 22px;
    box-shadow: 0 10px 45px rgba(0,0,0,0.06);
    border: 1px solid rgba(230, 168, 23, 0.2);
}

.news-lead {
    font-size: 1.18rem;
    color: #222;
    border-left: 5px solid var(--primary);
    padding-left: 22px;
    margin-bottom: 35px;
}

.news-lead p {
    margin-bottom: 15px;
}

.invitation-image-block {
    margin: 40px auto;
    max-width: 680px;
    text-align: center;
    background: linear-gradient(135deg, #fffcf6 0%, #faf3e3 100%);
    padding: 20px;
    border-radius: 18px;
    border: 2px solid #ebd09d;
    box-shadow: 0 12px 35px rgba(179, 27, 27, 0.08);
}

.doc-img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: block;
    margin: 0 auto;
}

.doc-img:hover {
    transform: scale(1.02);
}

.img-badge {
    display: block;
    margin-top: 14px;
    font-size: 0.95rem;
    color: var(--primary);
    font-weight: 700;
}

.schedule-timing-box {
    background: linear-gradient(135deg, #fff8eb, #f9efe0);
    border: 2px dashed var(--secondary);
    border-radius: 16px;
    padding: 25px 30px;
    margin: 35px 0;
}

.timing-badge {
    background: var(--primary);
    color: #fff;
    display: inline-block;
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.schedule-timing-box ul {
    list-style: none;
    padding: 0;
}

.schedule-timing-box li {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: #2c2c2c;
}

.schedule-timing-box li span {
    font-weight: 700;
    color: var(--primary);
}

.sub-headline {
    color: var(--primary);
    font-size: 1.7rem;
    margin: 45px 0 30px;
    text-align: center;
    font-weight: 700;
}

.sub-headline::after {
    content: '';
    display: block;
    width: 70px;
    height: 4px;
    background: var(--secondary);
    margin: 10px auto 0;
    border-radius: 2px;
}

.schedule-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 35px;
}

.day-card {
    background: #fff;
    border: 1px solid #ebd8b5;
    border-radius: 14px;
    padding: 20px 24px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
}

.day-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.07);
}

.day-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.day-badge {
    background: var(--primary);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 14px;
}

.day-header h3 {
    font-size: 1.25rem;
    color: #1a1a1a;
    margin: 0;
    font-weight: 700;
}

.bhajan-text {
    font-size: 1.05rem;
    color: #333;
    margin-bottom: 8px;
}

.seva-box {
    background: #faf7f2;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 1rem;
    color: #444;
    border-left: 3px solid var(--secondary);
}

.highlight-card {
    border-left: 5px solid var(--primary);
}

.special-card {
    background: #fffcf5;
    border-left: 5px solid var(--secondary);
}

.ritual-feature-box {
    background: #200707;
    color: #fff;
    padding: 35px;
    border-radius: 18px;
    margin: 45px 0;
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
    border: 2px solid rgba(230, 168, 23, 0.4);
}

.ritual-feature-box h2 {
    color: var(--secondary);
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.7rem;
    font-weight: 700;
}

.ritual-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.ritual-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(230, 168, 23, 0.3);
    border-radius: 14px;
    padding: 22px;
}

.ritual-card h3 {
    color: var(--secondary);
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.pooja-items-list {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed rgba(255,255,255,0.25);
    font-size: 0.95rem;
    color: #ffdba3;
}

.instructions-section {
    margin: 45px 0;
}

.instructions-section h2 {
    color: var(--primary);
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.7rem;
    font-weight: 700;
}

.instruction-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.instruction-item {
    background: #faf8f5;
    border-radius: 14px;
    padding: 22px;
    border: 1px solid #ebdcc4;
}

.instruction-item h4 {
    color: var(--primary);
    font-size: 1.15rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.instruction-item p {
    font-size: 1.05rem;
    margin: 0;
}

.seva-rates-section {
    margin: 45px 0;
}

.seva-rates-section h2 {
    color: var(--primary);
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.7rem;
    font-weight: 700;
}

.seva-table-wrapper {
    overflow-x: auto;
}

.seva-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04);
}

.seva-table th, .seva-table td {
    padding: 15px 22px;
    text-align: left;
    border-bottom: 1px solid #f0e6d6;
    font-size: 1.05rem;
}

.seva-table th {
    background: var(--primary);
    color: #fff;
    font-weight: 700;
}

.seva-table tr:hover {
    background-color: #fdf8ee;
}

.committee-appeal-card {
    background: #fff8f0;
    border: 2px solid var(--secondary);
    border-radius: 18px;
    padding: 35px;
    margin: 45px 0;
}

.committee-appeal-card h2 {
    color: var(--primary);
    text-align: center;
    font-size: 1.6rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.officials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 15px;
    font-size: 1rem;
    color: #2b2b2b;
}

.officials-grid div {
    background: #fff;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid #e8dec8;
}

.back-home-wrap {
    text-align: center;
    margin: 45px 0 15px;
}

.article-footer-credits {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0d5c0;
    font-size: 0.95rem;
    color: #666;
}

@media (max-width: 768px) {
    .article-hero {
        padding: 110px 15px 40px;
    }
    .article-hero h1 {
        font-size: 1.65rem;
    }
    .article-content {
        padding: 25px 18px;
    }
    .news-lead {
        font-size: 1.05rem;
        padding-left: 14px;
    }
    .sub-headline {
        font-size: 1.35rem;
    }
    .sacred-fx.left-deepa {
        left: 24%;
        bottom: 15%;
    }
    .sacred-fx.right-deepa {
        right: 24%;
        bottom: 15%;
    }
}
/* ====================================================
   ULTRA-PREMIUM TEMPLE FOOTER & SCROLL TO TOP
   ==================================================== */
.sacred-footer {
    position: relative;
    background: radial-gradient(circle at 50% 0%, #290a0a 0%, #120202 100%);
    color: #f2e9db;
    padding: 0;
    margin-top: 50px;
    border-top: 1px solid rgba(230, 168, 23, 0.3);
}

.footer-top-accent {
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, var(--secondary) 50%, transparent 100%);
    width: 100%;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 70px 5% 50px;
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.5fr;
    gap: 50px;
}

.footer-col h2 {
    color: var(--secondary);
    font-size: 1.5rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.footer-sub-title {
    color: #e0d5c0;
    font-size: 1.05rem;
    font-weight: 400;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.footer-om {
    font-size: 2.2rem;
    color: var(--secondary);
    margin-bottom: 8px;
    text-shadow: 0 0 15px rgba(230, 168, 23, 0.6);
}

.temple-location-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #d8cbbe;
    margin-bottom: 18px;
}

.deity-blessing {
    background: rgba(255, 255, 255, 0.04);
    border-left: 3px solid var(--secondary);
    padding: 10px 14px;
    border-radius: 4px;
    font-size: 0.85rem;
    color: #ffd880;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
}

.footer-col h4 {
    color: var(--secondary);
    font-size: 1.2rem;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: var(--primary);
}

.links-col ul {
    list-style: none;
    padding: 0;
}

.links-col li {
    margin-bottom: 12px;
}

.links-col a {
    color: #e6ded3;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.links-col a:hover {
    color: var(--secondary);
    transform: translateX(6px);
}

.contact-col p {
    font-size: 0.92rem;
    margin-bottom: 14px;
    line-height: 1.6;
    color: #e0d5c0;
}

.contact-col strong {
    color: var(--secondary);
}

/* Footer Bottom Bar */
.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #090101;
    padding: 22px 5%;
}

.footer-bottom-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.copyright-text {
    font-size: 0.9rem;
    color: #aaa;
    margin: 0;
}

.copyright-text strong {
    color: #ddd;
}

.powered-by-text {
    font-size: 0.9rem;
    color: #bbb;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Glowing GA Software Pill Badge */
.gasoftware-badge {
    background: linear-gradient(135deg, rgba(179, 27, 27, 0.4), rgba(230, 168, 23, 0.25));
    border: 1px solid rgba(230, 168, 23, 0.5);
    color: #fff;
    padding: 4px 14px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.35s ease;
    box-shadow: 0 0 12px rgba(230, 168, 23, 0.2);
}

.gasoftware-badge:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 18px rgba(230, 168, 23, 0.5);
}

.ga-dot {
    width: 7px;
    height: 7px;
    background: var(--secondary);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--secondary);
}

/* --- Floating Scroll-To-Top Button --- */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), #d82323);
    color: var(--secondary);
    border: 2px solid var(--secondary);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(230, 168, 23, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1500;
}

.scroll-top-btn.show-scroll {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.scroll-top-btn:hover {
    transform: translateY(-5px) scale(1.08);
    background: var(--secondary);
    color: #1a0505;
    border-color: #fff;
    box-shadow: 0 10px 25px rgba(230, 168, 23, 0.6);
}

.scroll-arrow {
    font-size: 13px;
    line-height: 1;
}

.scroll-text {
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1;
    margin-top: 2px;
}

/* Responsive Footer */
@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-top: 50px;
    }
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
    .scroll-top-btn {
        bottom: 20px;
        right: 20px;
    }
}
/* ====================================================
   MAGICAL CALL BUTTON & CONTACT MODAL WINDOW
   ==================================================== */

/* Floating Call Button on Bottom Left */
.floating-call-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    height: 52px;
    padding: 0 20px;
    background: linear-gradient(135deg, #1f7a1f, #2eb82e);
    color: #fff;
    border: 2px solid #ffd880;
    border-radius: 30px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35), 0 0 18px rgba(46, 184, 46, 0.4);
    z-index: 1500;
    font-family: 'Noto Serif Kannada', 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.floating-call-btn:hover {
    transform: translateY(-4px) scale(1.05);
    background: linear-gradient(135deg, #248f24, #33cc33);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 25px rgba(46, 184, 46, 0.7);
    color: #fff;
}

.call-icon {
    font-size: 1.15rem;
    display: inline-block;
    animation: phoneRing 2.2s infinite ease-in-out;
}

/* Pulsing Aura Ring */
.call-pulse-ring {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 35px;
    border: 2px solid rgba(46, 184, 46, 0.6);
    animation: pulseExpand 2s infinite cubic-bezier(0.25, 0.8, 0.25, 1);
    pointer-events: none;
}

@keyframes phoneRing {
    0%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(-15deg); }
    20%, 40% { transform: rotate(15deg); }
    50% { transform: rotate(0deg); }
}

@keyframes pulseExpand {
    0% { transform: scale(0.95); opacity: 0.9; }
    100% { transform: scale(1.25); opacity: 0; }
}

/* Modal Overlay */
.contact-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
}

.contact-modal.open {
    opacity: 1;
    visibility: visible;
}

.contact-modal-backdrop {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(15, 2, 2, 0.85);
    backdrop-filter: blur(8px);
}

/* Modal Content Card */
.contact-modal-box {
    position: relative;
    background: #fffdfa;
    border: 2px solid var(--secondary);
    border-radius: 20px;
    width: 90%;
    max-width: 460px;
    padding: 30px 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    transform: translateY(30px) scale(0.92);
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-family: 'Noto Serif Kannada', 'Poppins', sans-serif;
    z-index: 1;
}

.contact-modal.open .contact-modal-box {
    transform: translateY(0) scale(1);
}

.contact-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 2rem;
    color: #888;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease, transform 0.2s ease;
}

.contact-modal-close:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.contact-modal-header {
    text-align: center;
    margin-bottom: 22px;
}

.modal-om {
    font-size: 2.2rem;
    color: var(--secondary);
    display: block;
    line-height: 1;
    margin-bottom: 6px;
}

.contact-modal-header h3 {
    color: var(--primary);
    font-size: 1.45rem;
    margin-bottom: 4px;
}

.contact-modal-header p {
    font-size: 0.92rem;
    color: #666;
}

/* Contact Cards inside Modal */
.contact-cards-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-entry-card {
    background: #fff;
    border: 1px solid #ebd8b5;
    border-radius: 12px;
    padding: 14px 16px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.contact-entry-card:hover {
    transform: translateY(-2px);
    border-color: var(--secondary);
}

.contact-badge {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary);
    background: #fdf1e6;
    padding: 2px 8px;
    border-radius: 6px;
    margin-bottom: 4px;
}

.contact-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
}

.phone-dial-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #1f7a1f, #2eb82e);
    color: #fff;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

.phone-dial-btn:hover {
    background: linear-gradient(135deg, #186618, #248f24);
    box-shadow: 0 4px 14px rgba(46, 184, 46, 0.4);
    color: #fff;
}

.contact-modal-footer {
    text-align: center;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px dashed #e8dac0;
}

.contact-modal-footer p {
    font-size: 0.85rem;
    color: #777;
    margin: 0;
}

@media (max-width: 600px) {
    .floating-call-btn {
        bottom: 20px;
        left: 15px;
        height: 48px;
        padding: 0 16px;
        font-size: 0.9rem;
    }
    .scroll-top-btn {
        bottom: 20px;
        right: 15px;
    }
}
/* ====================================================
   ಆಯುಧ ಪೂಜೆ & ಅಕ್ಷರಾಭ್ಯಾಸ ಮೊಬೈಲ್ ಫಿಕ್ಸ್ (MOBILE FIT FIX)
   ==================================================== */
.ritual-feature-box {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.ritual-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 15px;
    width: 100%;
    box-sizing: border-box;
}

.ritual-card {
    box-sizing: border-box;
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* ಮೊಬೈಲ್ ಸ್ಕ್ರೀನ್‌ಗಳಿಗಾಗಿ ವಿಶೇಷ ಸರಿಪಡಿಸುವಿಕೆ */
@media (max-width: 768px) {
    .ritual-feature-box {
        padding: 22px 14px !important;
        margin: 30px 0 !important;
        border-radius: 14px !important;
    }

    .ritual-feature-box h2 {
        font-size: 1.35rem !important;
        line-height: 1.4 !important;
        margin-bottom: 18px !important;
    }

    .ritual-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .ritual-card {
        padding: 16px 12px !important;
        border-radius: 10px !important;
    }

    .ritual-card h3 {
        font-size: 1.15rem !important;
        margin-bottom: 8px !important;
    }

    .ritual-card p {
        font-size: 0.95rem !important;
        line-height: 1.7 !important;
    }

    .pooja-items-list {
        font-size: 0.88rem !important;
        line-height: 1.6 !important;
        margin-top: 10px !important;
        padding-top: 10px !important;
    }
}
/* ====================================================
   ಆಡಳಿತ ಸಮಿತಿ ವಿನಂತಿ ಮೊಬೈಲ್ ಫಿಕ್ಸ್ (COMMITTEE APPEAL FIX)
   ==================================================== */
.committee-appeal-card {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.officials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
}

.officials-grid div {
    box-sizing: border-box;
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

@media (max-width: 768px) {
    .committee-appeal-card {
        padding: 22px 14px !important;
        margin: 30px 0 !important;
        border-radius: 14px !important;
    }

    .committee-appeal-card h2 {
        font-size: 1.35rem !important;
        line-height: 1.4 !important;
        margin-bottom: 10px !important;
    }

    .committee-appeal-card > p {
        font-size: 0.95rem !important;
        line-height: 1.7 !important;
        margin-bottom: 20px !important;
    }

    .officials-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .officials-grid div {
        padding: 10px 12px !important;
        font-size: 0.9rem !important;
        line-height: 1.6 !important;
    }
}
/* ====================================================
   ULTRA-PREMIUM DUAL-IMAGE INTERACTIVE GALLERY WINDOW
   ==================================================== */
.sacred-gallery-window {
    background: linear-gradient(135deg, #fffdf8 0%, #faf3e2 100%);
    border: 2px solid var(--secondary);
    border-radius: 20px;
    padding: 30px 24px;
    margin: 45px 0 25px;
    box-shadow: 0 15px 45px rgba(179, 27, 27, 0.08), 0 0 20px rgba(230, 168, 23, 0.2);
    box-sizing: border-box;
    width: 100%;
    text-align: center;
}

.gallery-window-header {
    margin-bottom: 20px;
}

.gallery-om {
    font-size: 2rem;
    color: var(--secondary);
    display: block;
    margin-bottom: 4px;
}

.gallery-window-header h3 {
    color: var(--primary);
    font-size: 1.45rem;
    margin-bottom: 6px;
    font-weight: 700;
}

.gallery-window-header p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
    text-align: center !important;
}

.gallery-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 15px 0;
}

.gallery-image-wrapper {
    position: relative;
    max-width: 620px;
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    padding: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #ead8b7;
    cursor: pointer;
}

.sacred-gallery-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-image-wrapper:hover .sacred-gallery-img {
    transform: scale(1.015);
}

.gallery-zoom-hint {
    position: absolute;
    bottom: 18px;
    right: 18px;
    background: rgba(15, 2, 2, 0.75);
    color: #ffd880;
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(230, 168, 23, 0.5);
    pointer-events: none;
    backdrop-filter: blur(4px);
}

/* Nav Arrows */
.gallery-nav-btn {
    background: var(--primary);
    color: var(--secondary);
    border: 2px solid var(--secondary);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.gallery-nav-btn:hover {
    background: var(--secondary);
    color: #1a0505;
    border-color: #fff;
    transform: scale(1.1);
}

/* Page Indicator Switcher Buttons */
.gallery-dot-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
}

.gallery-dot {
    background: #fff;
    border: 1.5px solid #d8be92;
    color: #555;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.88rem;
    font-family: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-dot:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.gallery-dot.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--secondary);
    box-shadow: 0 3px 12px rgba(179, 27, 27, 0.3);
}

/* Modal Gallery Controls */
.modal-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 2, 2, 0.75);
    color: var(--secondary);
    border: 2px solid var(--secondary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 2050;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.modal-nav-btn:hover {
    background: var(--secondary);
    color: #1a0505;
}

.modal-prev-btn { left: 25px; }
.modal-next-btn { right: 25px; }

.modal.show .modal-nav-btn {
    display: flex;
}

@media (max-width: 768px) {
    .sacred-gallery-window {
        padding: 20px 12px !important;
        margin: 30px 0 20px !important;
        border-radius: 14px !important;
    }
    .gallery-stage {
        gap: 6px;
    }
    .gallery-nav-btn {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
    .gallery-image-wrapper {
        padding: 6px;
    }
    .modal-prev-btn { left: 10px; width: 42px; height: 42px; }
    .modal-next-btn { right: 10px; width: 42px; height: 42px; }
}