:root {
    /* Authentic Warm Dark Cream Theme matching Jhandewala Devi Mandir */
    --mandir-cream-bg: #F7EEDB;
    --mandir-cream-header: #F7EEDB;
    --mandir-cream-card: #FAF3E5;
    --mandir-maroon: #681116;
    --mandir-maroon-hover: #4F0B0F;
    --mandir-gold: #B88522;
    --mandir-gold-hover: #A0721B;
    --mandir-light-gold: #DFC280;
    --mandir-dark-text: #1F1F1F;
    --mandir-muted: #524B42;
    --mandir-border: #DECFAF;

    /* Typography */
    --font-heading: 'Cinzel', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-tamil: 'Mukta Malar', 'Noto Sans Tamil', sans-serif;
}

/* Global Reset */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body.mandir-theme-page {
    margin: 0;
    padding: 0;
    background-color: var(--mandir-cream-bg);
    color: var(--mandir-dark-text);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Headings in body: Clean, professional, well proportioned */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--mandir-maroon);
    font-weight: 700;
    margin-top: 0;
    letter-spacing: -0.2px;
}

/* Paragraphs, Descriptions, Body Text: Standard, crisp, non-stylish, clean font */
p, span, div, li, a, button, input, select, textarea, label {
    font-family: var(--font-body);
}

a {
    color: var(--mandir-maroon);
    text-decoration: none;
    transition: all 0.2s ease;
}

/* =======================================================
   1. SEAMLESS HEADER (Cleaned up, No Terms, No Admin Button)
   ======================================================= */
.seamless-mandir-header {
    background-color: var(--mandir-cream-header);
    padding: 16px 0 10px;
    position: relative;
    z-index: 100;
    border: none !important;
    box-shadow: none !important;
}

.mandir-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.mandir-brand-logo {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--mandir-gold);
    box-shadow: 0 2px 8px rgba(184, 133, 34, 0.3);
}

.mandir-brand-text {
    display: flex;
    flex-direction: column;
}

.mandir-brand-title {
    font-family: var(--font-heading);
    font-size: 15.5px;
    font-weight: 700;
    color: var(--mandir-maroon);
    line-height: 1.15;
    white-space: nowrap;
}

.mandir-brand-subtitle {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #8C6212;
    line-height: 1.15;
    white-space: nowrap;
}

/* Navigation Items (Single neat row) */
.navbar-nav {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.mandir-nav-item {
    color: #2E2822;
    font-weight: 600;
    font-size: 14px;
    padding: 6px 12px !important;
    white-space: nowrap;
    transition: all 0.2s ease;
    border-radius: 4px;
}

.mandir-nav-item:hover,
.mandir-nav-item.active {
    color: var(--mandir-maroon);
    border-bottom: 2px solid var(--mandir-maroon);
}

/* Right Action Buttons (Only Free Ticket button) */
.btn-mandir-free-ticket {
    background: linear-gradient(135deg, #2E7D32, #1B5E20);
    color: #FFFFFF !important;
    font-weight: 700;
    font-size: 13px;
    padding: 8px 18px;
    border-radius: 50px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(46, 125, 50, 0.3);
    transition: all 0.2s;
}

.btn-mandir-free-ticket:hover {
    background: linear-gradient(135deg, #1B5E20, #0E3D12);
    transform: translateY(-1px);
    color: #FFFFFF !important;
}

/* =======================================================
   2. HERO SECTION IN DARK CREAM + WATERMARKS
   Gopuram Moved to the Left Side
   Traditional Tamil Nadu Rangoli Kolam Pattern
   ======================================================= */
.exact-mandir-hero {
    position: relative;
    background-color: var(--mandir-cream-bg);
    padding: 25px 0 40px;
    overflow: hidden;
}

/* Temple Gopuram Artwork Watermark Moved to Left (left: 4%) */
.watermark-gopuram-art {
    position: absolute;
    bottom: -10px;
    left: 4%;
    width: 600px;
    height: 520px;
    background-image: url('../icons/gopuram_watermark.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left bottom;
    opacity: 0.32;
    pointer-events: none;
    z-index: 1;
}

/* Traditional Tamil Nadu Pulli & Kambi Kolam (Tamaraipoo / Sikku Kolam) */
.tamil-kolam-watermark {
    position: absolute;
    width: 120px;
    height: 120px;
    background-image: url('../icons/tamil_kolam.svg');
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 2;
    opacity: 0.50;
}

.kolam-tn-1 {
    top: 25px;
    left: 44%;
}

.kolam-tn-2 {
    bottom: 30px;
    left: 2%;
}

.kolam-tn-3 {
    top: 35px;
    right: 2%;
}

/* Left Hero Column */
.mandir-hero-left {
    position: relative;
    z-index: 5;
    padding-right: 15px;
}

.mandir-tag {
    font-size: 12.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #8C6212;
    margin-bottom: 12px;
}

.mandir-main-title {
    font-size: clamp(2.1rem, 3.2vw, 3.15rem);
    color: var(--mandir-maroon);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.4px;
    margin-bottom: 16px;
}

.mandir-trust-sub {
    display: block;
    font-size: 0.66em;
    font-weight: 800;
    color: #8C6212;
    letter-spacing: 0.2px;
    margin-top: 4px;
}

.mandir-pitch-title {
    font-family: var(--font-body);
    font-size: 1.45rem;
    color: #1F1F1F;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 14px;
}

.mandir-clean-desc {
    font-size: 15px;
    color: var(--mandir-muted);
    line-height: 1.65;
    margin-bottom: 28px;
    max-width: 520px;
}

/* CTA Buttons */
.mandir-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 35px;
}

.btn-mandir-primary {
    background: var(--mandir-maroon);
    color: #FFFFFF !important;
    font-weight: 600;
    font-size: 14.5px;
    padding: 12px 26px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--mandir-maroon);
    box-shadow: 0 4px 15px rgba(104, 17, 22, 0.32);
    transition: all 0.2s;
}

.btn-mandir-primary:hover {
    background: var(--mandir-maroon-hover);
    transform: translateY(-2px);
}

.btn-mandir-secondary {
    background: #FFFFFF;
    color: var(--mandir-maroon) !important;
    font-weight: 600;
    font-size: 14.5px;
    padding: 12px 26px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1.5px solid var(--mandir-border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
}

.btn-mandir-secondary:hover {
    border-color: var(--mandir-maroon);
    background: #FFF9ED;
    transform: translateY(-2px);
}

/* 4 Statistics Metrics */
.mandir-metrics-grid {
    display: flex;
    align-items: center;
    gap: 32px;
    padding-top: 20px;
    border-top: 1px solid rgba(184, 133, 34, 0.35);
}

.metric-item {
    display: flex;
    flex-direction: column;
}

.metric-icon {
    font-size: 21px;
    color: #9C6E15;
    margin-bottom: 3px;
}

.metric-number {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--mandir-maroon);
    margin-bottom: 0;
    line-height: 1.1;
}

.metric-label {
    font-size: 11.5px;
    color: #554E44;
    font-weight: 600;
}

/* =======================================================
   3. RIGHT COLUMN: SPACIOUS DEITY CARD + LIVE FLOATING BADGES
   ======================================================= */
.mandir-image-hero-wrap {
    position: relative;
    display: block;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.mandir-deity-card {
    border-radius: 38px;
    padding: 7px;
    background: linear-gradient(135deg, #F5D98A 0%, #B88522 50%, #8A6013 100%);
    box-shadow: 0 20px 50px rgba(104, 17, 22, 0.22);
    display: block;
    overflow: hidden;
}

.mandir-deity-img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center center;
    border-radius: 32px;
    display: block;
    transition: transform 0.5s ease;
}

.mandir-deity-card:hover .mandir-deity-img {
    transform: scale(1.02);
}

/* Live Darshan Floating Badge */
.mandir-live-badge-card {
    position: absolute;
    bottom: -15px;
    left: -15px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(184, 133, 34, 0.4);
    border-radius: 16px;
    padding: 14px 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    text-align: left;
    min-width: 180px;
    z-index: 10;
}

.live-dot-indicator {
    font-size: 11.5px;
    font-weight: 800;
    color: #D32F2F;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.dot-pulse {
    width: 7px;
    height: 7px;
    background-color: #D32F2F;
    border-radius: 50%;
    display: inline-block;
    animation: blinkPulse 1.5s infinite;
}

@keyframes blinkPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(1.2); }
}

.live-card-title {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 2px;
}

.live-card-status {
    font-size: 11.5px;
    color: #2E7D32;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 8px;
}

.status-green-dot {
    width: 6px;
    height: 6px;
    background: #2E7D32;
    border-radius: 50%;
    display: inline-block;
}

.live-card-link {
    display: block;
    background: #FFF4DC;
    color: #681116 !important;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 8px;
    text-align: center;
}

/* Daily Timings Floating Badge */
.mandir-timings-badge-card {
    position: absolute;
    top: 20px;
    right: -15px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(184, 133, 34, 0.4);
    border-radius: 14px;
    padding: 10px 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    z-index: 10;
}

/* Bottom Devotional Shelf Accent */
.mandir-bottom-shelf {
    height: 6px;
    background: linear-gradient(90deg, transparent, #B88522 30%, #F5D98A 50%, #B88522 70%, transparent);
    margin-top: 35px;
    border-radius: 3px;
}

/* Common Section Components - Perfectly aligned with Dark Cream Devotional Theme */
.temple-section {
    padding: 60px 0;
    position: relative;
    border-bottom: 1px solid var(--mandir-border);
}

.temple-section-alt {
    background-color: #F3E7D1; /* Slightly richer dark cream layer */
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #7A171D;
    background-color: rgba(184, 133, 34, 0.14);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 12px;
    border: 1px solid rgba(184, 133, 34, 0.35);
}

.section-title {
    font-size: 2.1rem;
    color: var(--mandir-maroon);
    margin-bottom: 12px;
    line-height: 1.25;
}

.section-desc {
    color: var(--mandir-muted);
    font-size: 15px;
    line-height: 1.6;
    max-width: 660px;
    margin: 0 auto 30px;
}

/* Devotional Card Style matching Mandir Aesthetic */
.temple-card {
    background: #FFFFFF;
    border: 1px solid #E5D5B8 !important;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 4px 16px rgba(104, 17, 22, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    overflow: hidden;
    position: relative;
}

.temple-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(104, 17, 22, 0.08);
    border-color: #B88522 !important;
}

/* Card Devotional Top Image Banner */
.temple-card-banner {
    position: relative;
    width: 100%;
    height: 195px;
    overflow: hidden;
    background-color: #2A160B;
}

.temple-card-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.temple-card:hover .temple-card-banner img {
    transform: scale(1.03);
}

.temple-card-body {
    padding: 18px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Elegant Devotional Card Header Pill */
.temple-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 12px;
    border-radius: 50px;
    background-color: #FFF3D6;
    color: #8A5B0B;
    border: 1px solid #E8CE93;
}

.temple-card-badge.badge-seva {
    background-color: #FFF3D6;
    color: #8A5B0B;
    border-color: #E8CE93;
}

.temple-card-badge.badge-renovation {
    background-color: #FDE8E9;
    color: #8A151C;
    border-color: #F1B5B9;
}

.temple-card-badge.badge-free {
    background-color: #E6F7EC;
    color: #196934;
    border-color: #A3E2B8;
}

/* Subtle devotional inner block */
.temple-inner-box {
    background-color: #FAF4E8;
    border: 1px solid #ECDCC0;
    border-radius: 10px;
    padding: 14px 16px;
}

/* Button system */
.btn-temple-primary {
    background-color: var(--mandir-maroon);
    color: #FFFFFF !important;
    font-weight: 600;
    font-size: 14.5px;
    padding: 11px 24px;
    border-radius: 50px;
    border: 1px solid var(--mandir-maroon);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.btn-temple-primary:hover {
    background-color: var(--mandir-maroon-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(104, 17, 22, 0.25);
}

.btn-temple-gold {
    background-color: var(--mandir-gold);
    color: #2D1A00 !important;
    font-weight: 700;
    font-size: 14.5px;
    padding: 11px 24px;
    border-radius: 50px;
    border: 1px solid var(--mandir-gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.btn-temple-gold:hover {
    background-color: var(--mandir-gold-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(184, 133, 34, 0.25);
}

.btn-temple-outline {
    background-color: transparent;
    color: var(--mandir-maroon) !important;
    font-weight: 600;
    font-size: 14.5px;
    padding: 10px 22px;
    border-radius: 50px;
    border: 1.5px solid var(--mandir-border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.btn-temple-outline:hover {
    background-color: #FAF3E5;
    border-color: var(--mandir-maroon);
    transform: translateY(-1px);
}

/* Footer */
.temple-footer {
    background: #1C0507;
    color: #E2D3BA;
    padding: 60px 0 25px;
    border-top: 4px solid var(--mandir-gold);
}

.temple-footer h4 {
    color: var(--mandir-gold);
    font-size: 1.25rem;
    margin-bottom: 20px;
}

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

.temple-footer ul li {
    margin-bottom: 10px;
}

.temple-footer ul li a {
    color: #E2D3BA;
    font-size: 14px;
}

.footer-bottom-bar {
    border-top: 1px solid rgba(184, 133, 34, 0.25);
    margin-top: 45px;
    padding-top: 20px;
    font-size: 13px;
    color: #E2D3BA;
}

.temple-footer .text-muted,
.footer-subtitle-text,
.footer-credit-text {
    color: #D7C5AA !important;
}

.temple-footer .footer-credit-link {
    color: #F2C96D !important;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.temple-footer .footer-credit-link:hover {
    color: #FFE39E !important;
}

/* Responsive adjustments */
@media (max-width: 1400px) {
    .mandir-nav-item {
        font-size: 13px;
        padding: 5px 8px !important;
    }
    .mandir-main-title {
        font-size: 3.6rem;
    }
}

@media (max-width: 1199.98px) {
    .seamless-mandir-header {
        position: static;
        z-index: auto;
    }
    .mandir-mobile-drawer {
        width: 290px !important;
        max-width: 82vw !important;
        background-color: var(--mandir-cream-bg) !important;
        border-left: 2px solid var(--mandir-border) !important;
        box-shadow: -8px 0 28px rgba(72, 10, 14, 0.18) !important;
    }
    .mandir-drawer-header {
        padding: 16px 20px;
        border-bottom: 1px solid var(--mandir-border);
        background-color: var(--mandir-cream-card);
    }
    .mandir-mobile-drawer .offcanvas-body {
        padding: 16px 20px 28px;
        overflow-y: auto;
    }
    .mandir-mobile-drawer .navbar-nav {
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 0 !important;
        gap: 4px !important;
        width: 100%;
    }
    .mandir-mobile-drawer .mandir-nav-item {
        display: block;
        width: 100%;
        text-align: left;
        padding: 11px 14px !important;
        border-radius: 8px;
        border-bottom: none !important;
        font-size: 15px;
    }
    .mandir-mobile-drawer .mandir-nav-item.active,
    .mandir-mobile-drawer .mandir-nav-item:hover {
        background-color: rgba(104, 17, 22, 0.08);
        color: var(--mandir-maroon);
        border-left: 3px solid var(--mandir-maroon);
        border-bottom: none !important;
    }
    .mandir-mobile-drawer .btn-mandir-free-ticket {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 1200px) {
    .mandir-main-title {
        font-size: 3rem;
    }
    .mandir-deity-img {
        height: auto;
    }
    .watermark-gopuram-art {
        width: 500px;
        left: 2%;
    }
}

@media (max-width: 991px) {
    .mandir-main-title {
        font-size: 2.6rem;
    }
    .mandir-hero-left {
        padding-right: 0;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .mandir-tag {
        margin: 0 auto 12px auto;
    }
    .mandir-clean-desc {
        margin-left: auto;
        margin-right: auto;
    }
    .mandir-cta-row {
        justify-content: center;
        width: 100%;
        margin-bottom: 22px;
    }
    .mandir-image-hero-wrap {
        margin: 10px auto 25px auto;
        max-width: 390px;
    }
    .mandir-deity-img {
        max-width: 100%;
        height: auto;
        object-position: center center;
    }
    .mandir-metrics-grid {
        justify-content: space-around;
        width: 100%;
    }
}

@media (max-width: 767px) {
    .mandir-hero-left {
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        padding: 0 !important;
    }

    .mandir-tag {
        margin: 0 auto 12px auto !important;
        font-size: 11px !important;
    }

    .mandir-main-title {
        font-size: 1.85rem !important;
        line-height: 1.15 !important;
        margin-bottom: 12px !important;
        text-align: center !important;
    }

    .mandir-pitch-title {
        font-size: 1.2rem !important;
        line-height: 1.35 !important;
        margin-bottom: 12px !important;
        text-align: center !important;
    }

    .mandir-clean-desc {
        font-size: 14px !important;
        line-height: 1.6 !important;
        margin: 0 auto 20px auto !important;
        text-align: center !important;
        max-width: 480px !important;
    }

    .mandir-cta-row {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        max-width: 360px !important;
        margin: 0 auto 20px auto !important;
        gap: 10px !important;
    }

    .btn-mandir-primary,
    .btn-mandir-secondary,
    .btn-mandir-free-ticket.hero-free-ticket-btn,
    .hero-free-ticket-btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 12px 20px !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        text-align: center !important;
        box-sizing: border-box !important;
        border-radius: 50px !important;
    }

    .mandir-hero-social-strip {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        max-width: 360px !important;
        margin: 0 auto 24px auto !important;
        padding: 8px 14px !important;
        border-radius: 50px !important;
        box-sizing: border-box !important;
    }

    .mandir-hero-social-label {
        font-size: 12px !important;
        white-space: nowrap !important;
        letter-spacing: 0.3px !important;
    }

    .mandir-hero-social-strip .header-social-btn {
        width: 32px !important;
        height: 32px !important;
        font-size: 14px !important;
    }

    .mandir-metrics-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 10px !important;
        width: 100% !important;
        max-width: 360px !important;
        margin: 0 auto !important;
        padding-top: 18px !important;
        border-top: 1px solid rgba(184, 133, 34, 0.3) !important;
        text-align: center !important;
    }

    .metric-item {
        width: 100% !important;
        align-items: center !important;
    }

    .mandir-image-hero-wrap {
        max-width: 335px !important;
        margin: 0 auto 15px auto !important;
        position: relative !important;
    }

    .mandir-deity-card {
        border-radius: 28px !important;
        padding: 5px !important;
    }

    .mandir-deity-img {
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
        object-fit: cover !important;
        object-position: center center !important;
        border-radius: 24px !important;
    }

    .mandir-live-badge-card {
        position: absolute !important;
        bottom: 12px !important;
        left: 12px !important;
        margin: 0 !important;
        padding: 6px 12px !important;
        min-width: unset !important;
        width: auto !important;
        border-radius: 12px !important;
        background: rgba(255, 255, 255, 0.94) !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.2) !important;
        z-index: 5 !important;
        text-align: left !important;
    }

    .mandir-live-badge-card .live-card-title {
        font-size: 12px !important;
        margin-bottom: 0 !important;
        display: inline-block !important;
    }

    .mandir-live-badge-card .live-card-status,
    .mandir-live-badge-card .live-card-link,
    .mandir-live-badge-card i.bi-soundwave {
        display: none !important;
    }

    .watermark-gopuram-art {
        width: 280px !important;
        left: 0 !important;
        opacity: 0.12 !important;
    }
}

@media (max-width: 480px) {
    .mandir-main-title {
        font-size: 1.6rem !important;
    }
    .mandir-hero-social-strip {
        padding: 6px 10px !important;
        max-width: 330px !important;
    }
    .mandir-hero-social-label {
        font-size: 11px !important;
    }
    .mandir-hero-social-strip .header-social-btn {
        width: 30px !important;
        height: 30px !important;
        font-size: 13px !important;
    }
    .mandir-cta-row {
        max-width: 330px !important;
    }
    .mandir-metrics-grid {
        max-width: 330px !important;
    }
}


/* ==========================================================
   INNER PAGES ENHANCED DEVOTIONAL STRUCTURE & CARD STYLES
   ========================================================== */

.temple-page-hero {
    background: linear-gradient(180deg, #FAF6EE 0%, #F4ECE0 100%);
    border-bottom: 2px solid #E5D5B8;
    padding: 55px 0 45px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* Authentic Temple Gopuram Artwork Watermark on Left of Hero (Requirement 4) */
.temple-page-hero::before {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 2%;
    width: 340px;
    height: 270px;
    background-image: url('../icons/gopuram_watermark.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left bottom;
    opacity: 0.32;
    pointer-events: none;
    z-index: 1;
}

/* Traditional Tamil Nadu Rangoli Kolam Watermark on Right of Hero (Requirement 4) */
.temple-page-hero::after {
    content: '';
    position: absolute;
    top: 15px;
    right: 3%;
    width: 150px;
    height: 150px;
    background-image: url('../icons/tamil_kolam.svg');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.38;
    pointer-events: none;
    z-index: 1;
}

.temple-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
    background: #FFFFFF;
    border: 1px solid #E8DCBD;
    padding: 6px 16px;
    border-radius: 50px;
    box-shadow: 0 2px 6px rgba(116, 21, 27, 0.04);
}

.temple-breadcrumb a {
    color: #74151B;
    text-decoration: none;
}

.temple-breadcrumb a:hover {
    color: #B88522;
}

.temple-breadcrumb span.active {
    color: #718096;
}

.page-hero-title {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: #5C161B;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    line-height: 1.25;
}

.page-hero-subtitle {
    font-size: 1.05rem;
    color: #5A6270;
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Modern Structured Devotional Card */
.devotional-plan-card {
    background: #FFFFFF;
    border: 1px solid #E8DCBD;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(92, 22, 27, 0.05);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.devotional-plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 32px rgba(92, 22, 27, 0.12);
    border-color: #D4AF37;
}

.devotional-plan-banner {
    position: relative;
    height: 165px;
    overflow: hidden;
    background: #5C161B;
}

.devotional-plan-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.devotional-plan-card:hover .devotional-plan-banner img {
    transform: scale(1.05);
}

.plan-banner-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(92, 22, 27, 0.9);
    color: #FFDF85;
    border: 1px solid #E5A52E;
    backdrop-filter: blur(4px);
    font-size: 12px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
}

.plan-budget-badge {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(255, 255, 255, 0.95);
    color: #5C161B;
    border: 1px solid #E5D5B8;
    backdrop-filter: blur(4px);
    font-size: 12px;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: 50px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.devotional-plan-body {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.plan-card-title {
    font-family: 'Cinzel', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #5C161B;
    margin-bottom: 6px;
    line-height: 1.35;
}

.plan-card-vision {
    color: #A3282F;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    line-height: 1.45;
}

.plan-card-desc {
    color: #555E6D;
    font-size: 13.5px;
    line-height: 1.55;
    margin-bottom: 12px;
}

.facilities-container {
    background: #FAF6ED;
    border: 1px solid #EADBBA;
    border-radius: 12px;
    padding: 10px 14px;
    margin-bottom: 14px;
}

.facilities-label {
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #5C161B;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.facilities-pills-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.facility-pill {
    background: #FFFFFF;
    border: 1px solid #E5D5B8;
    color: #38404F;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.facility-pill i {
    color: #2F855A;
    font-size: 11px;
}

/* Feature Pillars Section */
.pillar-card {
    background: #FFFFFF;
    border: 1px solid #E8DCBD;
    border-radius: 14px;
    padding: 26px 22px;
    text-align: center;
    height: 100%;
    transition: all 0.25s ease;
}

.pillar-card:hover {
    border-color: #D4AF37;
    box-shadow: 0 8px 24px rgba(92, 22, 27, 0.08);
    transform: translateY(-3px);
}

.pillar-icon-box {
    width: 56px;
    height: 56px;
    background: #FFF5DD;
    border: 2px solid #E5A52E;
    color: #74151B;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 22px;
}

.pillar-card h5 {
    font-family: 'Cinzel', serif;
    color: #5C161B;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.pillar-card p {
    color: #64748B;
    font-size: 13.5px;
    line-height: 1.55;
    margin: 0;
}

/* CTA Highlight Bar */
.temple-cta-card {
    background: linear-gradient(135deg, #5C161B 0%, #74151B 100%);
    border: 2px solid #E5A52E;
    border-radius: 18px;
    padding: 35px 30px;
    color: #FFFFFF;
    box-shadow: 0 10px 30px rgba(92, 22, 27, 0.18);
}


/* ==========================================================
   FORM CONTROLS TEMPLE STYLES (Fixes squished / broken inputs)
   ========================================================== */
.form-label-temple {
    display: block !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #5C161B !important;
    margin-bottom: 7px !important;
    letter-spacing: 0.3px;
}

.form-control-temple,
input.form-control-temple,
textarea.form-control-temple,
select.form-control-temple,
.form-select-temple {
    display: block !important;
    width: 100% !important;
    padding: 12px 16px !important;
    font-size: 15px !important;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
    line-height: 1.5 !important;
    color: #2D3748 !important;
    background-color: #FFFFFF !important;
    background-clip: padding-box !important;
    border: 1.5px solid #E5D5B8 !important;
    border-radius: 10px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.form-control-temple:focus,
.form-select-temple:focus {
    border-color: #B88522 !important;
    background-color: #FFFFFF !important;
    outline: 0 !important;
    box-shadow: 0 0 0 3.5px rgba(229, 165, 46, 0.22) !important;
}

.form-control-temple::placeholder {
    color: #A0AEC0 !important;
    font-size: 14px;
}

/* ==========================================================
   INPUT GROUP & PHONE PREFIX FIX (Never wrap to second line)
   ========================================================== */
.input-group {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    position: relative !important;
    width: 100% !important;
}

.input-group > .input-group-text,
.input-group-text.bg-cream {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 16px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #74151B !important;
    background-color: #FAF4E6 !important;
    border: 1.5px solid #E5D5B8 !important;
    border-right: none !important;
    border-top-left-radius: 10px !important;
    border-bottom-left-radius: 10px !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
}

.input-group > .form-control-temple,
.input-group > input.form-control-temple,
.input-group > .form-control {
    flex: 1 1 auto !important;
    width: 1% !important;
    min-width: 0 !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-top-right-radius: 10px !important;
    border-bottom-right-radius: 10px !important;
    margin: 0 !important;
}

/* ==========================================================
   ANIMATED BLINKING FREE TICKET BUTTON (Requirement 3)
   ========================================================== */
@keyframes freeTicketBlinkGlow {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.7), 0 2px 8px rgba(0, 0, 0, 0.15);
    }
    40% {
        transform: scale(1.06);
        box-shadow: 0 0 0 9px rgba(46, 125, 50, 0), 0 4px 14px rgba(46, 125, 50, 0.4);
    }
    60% {
        transform: scale(1.04);
        box-shadow: 0 0 0 5px rgba(46, 125, 50, 0.15), 0 3px 10px rgba(46, 125, 50, 0.3);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(46, 125, 50, 0), 0 2px 8px rgba(0, 0, 0, 0.15);
    }
}

@keyframes giftIconShake {
    0%, 100% { transform: rotate(0deg); }
    20% { transform: rotate(-12deg); }
    40% { transform: rotate(12deg); }
    60% { transform: rotate(-6deg); }
    80% { transform: rotate(6deg); }
}

.btn-mandir-free-ticket {
    animation: freeTicketBlinkGlow 2.2s infinite ease-in-out !important;
    border: 1.5px solid #78D68A !important;
}

.btn-mandir-free-ticket i {
    display: inline-block;
    animation: giftIconShake 2.2s infinite ease-in-out;
}

/* ==========================================================
   HEADER SOCIAL MEDIA ICONS WITH EQUAL STYLING & SYNCHRONIZED BLINK
   ========================================================== */
@keyframes headerIconBlink {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(229, 165, 46, 0.6);
    }
    50% {
        transform: scale(1.12);
        box-shadow: 0 0 0 6px rgba(229, 165, 46, 0);
    }
}

.header-social-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    text-decoration: none !important;
    transition: all 0.25s ease;
    border: 1.5px solid #E5A52E;
    background: #FFFFFF;
    position: relative;
    box-shadow: 0 2px 6px rgba(116, 21, 27, 0.08);
}

.header-social-btn.btn-fb {
    color: #1877F2;
    animation: headerIconBlink 3s infinite ease-in-out;
}

.header-social-btn.btn-yt {
    color: #FF0000;
    animation: headerIconBlink 3s infinite ease-in-out 0.75s;
}

.header-social-btn.btn-insta {
    color: #E1306C;
    animation: headerIconBlink 3s infinite ease-in-out 1.5s;
}

.header-social-btn.btn-wa {
    color: #25D366;
    animation: headerIconBlink 3s infinite ease-in-out 2.25s;
}

.header-social-btn:hover {
    transform: scale(1.18) !important;
    box-shadow: 0 4px 12px rgba(116, 21, 27, 0.25) !important;
    border-color: #74151B;
}

/* ==========================================================
   PAGE HERO WATERMARKS: GOPURAM & TAMIL RANGOLI (Requirement 4)
   Adds unique authentic Gopuram & Kolam art across ALL pages!
   ========================================================== */
.temple-page-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #FAF6EE 0%, #F4ECE0 100%);
    border-bottom: 2px solid #E5D5B8;
    padding: 55px 0 45px;
}

.temple-page-hero.has-hero-banner {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.temple-page-hero.has-hero-banner .page-hero-title {
    color: #FFFFFF !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.95) !important;
}

.temple-page-hero.has-hero-banner .page-hero-subtitle {
    color: #FFFFFF !important;
    opacity: 0.98 !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95) !important;
    font-weight: 500 !important;
    font-size: 1.1rem !important;
}

.temple-page-hero.has-hero-banner .section-badge {
    background: rgba(20, 5, 8, 0.88) !important;
    color: #FFD56B !important;
    border: 1.5px solid #E5A52E !important;
    backdrop-filter: blur(6px) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
}

.temple-page-hero.has-hero-banner .section-badge i {
    color: #FFD56B !important;
}

.temple-page-hero.has-hero-banner .temple-breadcrumb {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(4px) !important;
}

/* Authentic Temple Gopuram Art on Left of Hero */
.hero-gopuram-art {
    position: absolute;
    bottom: -15px;
    left: 2%;
    width: 320px;
    height: 250px;
    background-image: url('../icons/gopuram_watermark.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left bottom;
    opacity: 0.28;
    pointer-events: none;
    z-index: 1;
}

/* Traditional Tamil Nadu Kolam (Rangoli) on Right of Hero */
.hero-kolam-art-right {
    position: absolute;
    top: 15px;
    right: 3%;
    width: 140px;
    height: 140px;
    background-image: url('../icons/tamil_kolam.svg');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.32;
    pointer-events: none;
    z-index: 1;
}

/* Traditional Tamil Nadu Kolam (Rangoli) on Left Center of Hero */
.hero-kolam-art-left {
    position: absolute;
    top: 25px;
    left: 28%;
    width: 90px;
    height: 90px;
    background-image: url('../icons/tamil_kolam.svg');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.22;
    pointer-events: none;
    z-index: 1;
}

@media (max-width: 991px) {
    .hero-gopuram-art {
        width: 200px;
        height: 180px;
        opacity: 0.18;
    }
    .hero-kolam-art-right {
        width: 90px;
        height: 90px;
        opacity: 0.2;
    }
    .hero-kolam-art-left {
        display: none;
    }
}


/* ==========================================================
   BOOKING & DONATION FORM CARDS (Requirement 1 Fix)
   ========================================================== */
.booking-form-box {
    background: #FFFFFF !important;
    border: 1.5px solid #E5D5B8 !important;
    border-radius: 18px !important;
    padding: 35px 32px !important;
    box-shadow: 0 6px 24px rgba(116, 21, 27, 0.06) !important;
    position: relative;
}

.booking-info-box {
    background: #FFFFFF !important;
    border: 1.5px solid #E5D5B8 !important;
    border-radius: 18px !important;
    padding: 28px 24px !important;
    box-shadow: 0 6px 24px rgba(116, 21, 27, 0.06) !important;
    position: relative;
}

@media (max-width: 767px) {
    .booking-form-box {
        padding: 22px 16px !important;
        border-radius: 14px !important;
    }
    .booking-info-box {
        padding: 20px 16px !important;
        border-radius: 14px !important;
    }
}

.donation-preset-btn {
    border: 1.5px solid #E5A52E !important;
    background: #FFF9E8 !important;
    color: #74151B !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    padding: 8px 18px !important;
    border-radius: 50px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.donation-preset-btn:hover,
.donation-preset-btn.active {
    background: #74151B !important;
    color: #FFFFFF !important;
    border-color: #74151B !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(116, 21, 27, 0.25) !important;
}

.btn-temple-primary {
    background: linear-gradient(135deg, #74151B 0%, #520D12 100%) !important;
    color: #FFFFFF !important;
    border: 2px solid #E5A52E !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 4px 15px rgba(116, 21, 27, 0.25) !important;
}

.btn-temple-primary:hover {
    background: linear-gradient(135deg, #520D12 0%, #3A080C 100%) !important;
    color: #FFFFFF !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(116, 21, 27, 0.35) !important;
}

/* ==========================================================================
   SACRED TEMPLE FOOTER SKETCH HORIZON (Natural Hand-Drawn Landscape Etching)
   Edge-to-Edge Full-Bleed Display (Zero Side Gaps across all screens)
   ========================================================================== */
.temple-footer-sketch-skyline {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    height: 165px;
    background-image: url('../icons/temple_natural_sketch.svg');
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: 100% 100%; /* Stretches 100% edge-to-edge: eliminates all side gaps! */
    background-color: transparent;
    opacity: 0.95;
    margin-bottom: -3px; /* Seamless touch with footer top border */
    pointer-events: none;
    position: relative;
    z-index: 5;
    overflow: hidden;
}

.temple-footer {
    position: relative !important;
    background: #1C0507 !important;
    color: #E2D3BA !important;
    padding-top: 50px !important;
    padding-bottom: 30px !important;
    border-top: 4px solid var(--mandir-gold) !important;
    overflow: hidden !important;
}

@media (max-width: 991px) {
    .temple-footer-sketch-skyline {
        height: 125px;
    }
}

@media (max-width: 576px) {
    .temple-footer-sketch-skyline {
        height: 90px;
    }
}

/* ==========================================================
   HERO DEVOTIONAL SOCIAL CHANNELS STRIP
   ========================================================== */
.mandir-hero-social-strip {
    background: rgba(255, 255, 255, 0.78);
    border: 1.5px solid rgba(229, 165, 46, 0.45);
    border-radius: 50px;
    display: inline-flex;
    width: fit-content;
    box-shadow: 0 4px 15px rgba(116, 21, 27, 0.08);
    backdrop-filter: blur(6px);
    transition: all 0.3s ease;
}

.mandir-hero-social-strip:hover {
    background: #FFFFFF;
    border-color: var(--mandir-gold);
    box-shadow: 0 6px 20px rgba(116, 21, 27, 0.14);
}

.mandir-hero-social-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--mandir-maroon);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-family: var(--font-body);
}

.mandir-hero-social-strip .header-social-btn {
    width: 36px;
    height: 36px;
    font-size: 16px;
}

/* ==========================================================
   SHARED UTILITY & DIGITAL PASS CARD STYLES
   ========================================================== */
.text-maroon { color: var(--mandir-maroon) !important; }
.bg-cream { background-color: #FFFDF7 !important; }
.border-gold { border-color: #E5A52E !important; }
.text-light-50 { color: rgba(255, 255, 255, 0.78) !important; }
.max-w-500 { max-width: 500px; }
.max-w-700 { max-width: 700px; }
.max-w-800 { max-width: 800px; }
.max-w-900 { max-width: 900px; }

.ticket-pass-card {
    background: #FFFFFF;
    border: 2px solid #E5A52E;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 12px 32px rgba(104, 17, 22, 0.08);
}

.ticket-header-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    margin-bottom: 20px;
    border-bottom: 2px dashed #E5D5B8;
}

.ticket-badge-free {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #E6F7EC;
    color: #196934;
    border: 1px solid #A3E2B8;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 50px;
    letter-spacing: 0.5px;
}

.ticket-id-tag {
    display: inline-block;
    font-family: monospace;
    font-size: 1rem;
    font-weight: 800;
    background: #FFF4DC;
    color: #74151B;
    border: 1.5px solid #E5A52E;
    padding: 6px 14px;
    border-radius: 8px;
}

@media (max-width: 576px) {
    .ticket-pass-card {
        padding: 18px 14px;
    }
}

@media print {
    .seamless-mandir-header,
    .temple-page-hero,
    .temple-footer-sketch-skyline,
    .temple-footer,
    .btn,
    button {
        display: none !important;
    }
    body.mandir-theme-page {
        background: #FFFFFF !important;
    }
    .ticket-pass-card,
    .booking-info-box {
        box-shadow: none !important;
        border: 1.5px solid #333 !important;
    }
}
