/* ==========================================================================
   DEVOTIONAL AESTHETIC & CRO (LEAD CONVERSION) SYSTEM
   Bangalore Hindi Pandit - https://northpanditjibangalore.top
   ========================================================================== */

:root {
    --devo-maroon: #8B1538;
    --devo-maroon-dark: #5C0E26;
    --devo-maroon-deep: #3D0616;
    --devo-gold: #FFB627;
    --devo-gold-light: #FFD93D;
    --devo-gold-glow: rgba(255, 182, 39, 0.4);
    --devo-saffron: #FF6B35;
    --devo-saffron-light: #FF8C42;
    --devo-cream: #FFFDF8;
    --devo-cream-card: #FFF8EE;
    --devo-whatsapp: #25D366;
    --devo-whatsapp-dark: #128C7E;
    --devo-text-dark: #2C1810;
}

/* --------------------------------------------------------------------------
   1. Raining Devotional Icons Canvas Overlay
   -------------------------------------------------------------------------- */
#devotional-rain-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none !important;
    z-index: 999;
    opacity: 0.85;
    transition: opacity 0.5s ease;
}

/* Toggle button for rain effect */
.rain-toggle-btn {
    position: fixed;
    bottom: 85px;
    left: 15px;
    z-index: 1001;
    background: rgba(44, 24, 16, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 182, 39, 0.5);
    color: #FFD93D;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 30px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    user-select: none;
}
.rain-toggle-btn:hover {
    background: var(--devo-maroon);
    border-color: var(--devo-gold);
    color: #FFF;
    transform: translateY(-2px);
}
@media (max-width: 768px) {
    .rain-toggle-btn {
        bottom: 80px;
        left: 10px;
        font-size: 0.72rem;
        padding: 5px 10px;
    }
}

/* --------------------------------------------------------------------------
   2. Live Devotional Top Announcement Ticker (Instant Urgency & Trust)
   -------------------------------------------------------------------------- */
.devotional-top-ribbon {
    background: linear-gradient(90deg, #2D0510 0%, #7A1230 50%, #2D0510 100%);
    border-bottom: 1px solid rgba(255, 182, 39, 0.4);
    color: #FFF;
    padding: 6px 0;
    font-size: 0.82rem;
    font-weight: 500;
    position: relative;
    z-index: 1001;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.devotional-top-ribbon .ribbon-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}
.devotional-top-ribbon .ribbon-left {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.devotional-top-ribbon .ribbon-right {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.devotional-top-ribbon a {
    color: var(--devo-gold-light, #FFD93D);
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s ease, text-decoration 0.2s ease;
}
.devotional-top-ribbon a:hover {
    color: #FFF;
    text-decoration: underline;
}
.devotional-top-ribbon .ribbon-sep {
    opacity: 0.4;
    color: #FFD93D;
}
.devotional-top-ribbon .pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #25D366;
    border-radius: 50%;
    margin-right: 4px;
    vertical-align: -1px;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    animation: devo-pulse-green 1.8s infinite;
    flex-shrink: 0;
}
@media (max-width: 768px) {
    .devotional-top-ribbon {
        padding: 5px 10px;
        font-size: 0.72rem;
        line-height: 1.35;
        text-align: center;
    }
    .devotional-top-ribbon .ribbon-container {
        display: block;
        padding: 0 4px;
    }
    .devotional-top-ribbon .ribbon-left {
        display: inline;
    }
    .devotional-top-ribbon .ribbon-right {
        display: inline;
        margin-left: 4px;
    }
    .devotional-top-ribbon a {
        display: inline;
        margin: 0 2px;
    }
}

@keyframes devo-pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(37, 211, 102, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* --------------------------------------------------------------------------
   3. Sticky High-Converting Mobile Bottom Action Bar (Dual Action CRO)
   -------------------------------------------------------------------------- */
.mobile-conversion-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: linear-gradient(180deg, rgba(44, 24, 16, 0.98) 0%, rgba(26, 15, 10, 0.99) 100%);
    border-top: 2px solid var(--devo-gold);
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.45);
    padding: 8px 10px 10px;
    backdrop-filter: blur(10px);
    display: none;
}
@media (max-width: 900px) {
    .mobile-conversion-bar {
        display: block !important;
    }
    .mobile-bottom-nav {
        display: none !important; /* Hide old non-converting nav on mobile */
    }
    body {
        padding-bottom: 76px !important;
    }
}
.mobile-conversion-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    max-width: 480px;
    margin: 0 auto;
}
.mcb-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 10px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    line-height: 1.2;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.mcb-btn-call {
    background: linear-gradient(135deg, #FFB627 0%, #FF8C42 100%);
    color: #3D0616 !important;
    border: 1px solid #FFE49E;
}
.mcb-btn-call:active, .mcb-btn-call:hover {
    background: linear-gradient(135deg, #FFC44D 0%, #FFA05C 100%);
    transform: scale(0.98);
}
.mcb-btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #FFF !important;
    border: 1px solid #68FFA1;
    position: relative;
    overflow: hidden;
    animation: devo-glow-wa 2s infinite alternate;
}
.mcb-btn-whatsapp::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(60deg, transparent 30%, rgba(255,255,255,0.3) 50%, transparent 70%);
    transform: rotate(25deg);
    animation: devo-shimmer 3s infinite;
}
.mcb-btn-whatsapp:active, .mcb-btn-whatsapp:hover {
    transform: scale(0.98);
}
.mcb-label {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}
.mcb-label .main-txt {
    font-size: 0.92rem;
    font-weight: 800;
}
.mcb-label .sub-txt {
    font-size: 0.65rem;
    opacity: 0.9;
    font-weight: 500;
}
.mcb-icon {
    font-size: 1.35rem;
    flex-shrink: 0;
}

@keyframes devo-shimmer {
    0% { transform: translateX(-100%) rotate(25deg); }
    100% { transform: translateX(100%) rotate(25deg); }
}
@keyframes devo-glow-wa {
    0% { box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); }
    100% { box-shadow: 0 4px 25px rgba(37, 211, 102, 0.8), 0 0 10px #25D366; }
}

/* --------------------------------------------------------------------------
   4. Floating Quick Pandit Contact Avatar & Drawer Button
   -------------------------------------------------------------------------- */
.devo-floating-whatsapp {
    position: fixed;
    bottom: 85px;
    right: 16px;
    z-index: 10001;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.devo-floating-whatsapp:hover {
    transform: scale(1.05);
}
.devo-float-badge {
    background: rgba(26, 15, 10, 0.92);
    color: #FFF;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    border: 1px solid var(--devo-gold);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    animation: devo-bounce 3s infinite ease-in-out;
}
.devo-float-icon {
    width: 58px;
    height: 58px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border: 3px solid #FFD93D;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    font-size: 1.85rem;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.55);
    position: relative;
}
.devo-float-icon .live-dot {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    background: #00FF66;
    border: 2px solid #FFF;
    border-radius: 50%;
    animation: devo-pulse-green 1.5s infinite;
}
@media (max-width: 768px) {
    .devo-floating-whatsapp {
        bottom: 80px;
        right: 12px;
    }
    .devo-float-badge {
        display: none; /* Keep clean on small mobile */
    }
    .devo-float-icon {
        width: 52px;
        height: 52px;
        font-size: 1.6rem;
    }
}
@keyframes devo-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* --------------------------------------------------------------------------
   5. Devotional Trust & Instant Booking Lead Drawer (Quick Booking Form)
   -------------------------------------------------------------------------- */
.devo-lead-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
    z-index: 20000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.devo-lead-modal-overlay.active {
    display: flex;
    opacity: 1;
}
.devo-lead-modal {
    background: linear-gradient(180deg, #FFFDF8 0%, #FFF8EE 100%);
    border: 2px solid var(--devo-gold);
    border-radius: 20px;
    max-width: 480px;
    width: 100%;
    padding: 26px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    max-height: 90vh;
    overflow-y: auto;
    animation: devo-slide-up 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes devo-slide-up {
    from { transform: translateY(40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.devo-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: rgba(139, 21, 56, 0.1);
    color: var(--devo-maroon);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.devo-modal-close:hover {
    background: var(--devo-maroon);
    color: #FFF;
}
.devo-modal-header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px dashed rgba(255, 182, 39, 0.5);
}
.devo-modal-header .devo-shloka-mini {
    color: var(--devo-maroon);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}
.devo-modal-header h3 {
    color: var(--devo-maroon);
    font-size: 1.35rem;
    font-weight: 800;
    margin: 4px 0;
}
.devo-modal-header p {
    color: #555;
    font-size: 0.85rem;
    margin: 0;
}
.devo-form-group {
    margin-bottom: 14px;
}
.devo-form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--devo-text-dark);
    margin-bottom: 6px;
}
.devo-form-group input,
.devo-form-group select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #D1C7BD;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    background: #FFF;
    color: #2C1810;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}
.devo-form-group input:focus,
.devo-form-group select:focus {
    outline: none;
    border-color: var(--devo-maroon);
    box-shadow: 0 0 0 3px rgba(139, 21, 56, 0.15);
}
.devo-submit-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #FFF;
    border: none;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    margin-top: 10px;
}
.devo-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}
.devo-modal-trust {
    display: flex;
    justify-content: space-around;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(0,0,0,0.06);
    font-size: 0.76rem;
    color: #665;
    text-align: center;
}
.devo-modal-trust span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.devo-modal-trust i {
    color: #FFB627;
}

/* --------------------------------------------------------------------------
   6. Live Devotional Social Proof Toast (Urgency for Ads Visitors)
   -------------------------------------------------------------------------- */
.devo-proof-toast {
    position: fixed;
    bottom: 90px;
    left: 20px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid #FFD93D;
    border-left: 4px solid #8B1538;
    border-radius: 12px;
    padding: 10px 14px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    z-index: 9990;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 320px;
    transform: translateY(120%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}
.devo-proof-toast.visible {
    transform: translateY(0);
    opacity: 1;
}
.devo-proof-icon {
    font-size: 1.4rem;
    color: #FFB627;
    flex-shrink: 0;
}
.devo-proof-text {
    font-size: 0.78rem;
    color: #2C1810;
    line-height: 1.35;
}
.devo-proof-text strong {
    color: #8B1538;
    display: block;
}
.devo-proof-text span {
    color: #777;
    font-size: 0.7rem;
}
@media (max-width: 768px) {
    .devo-proof-toast {
        bottom: 80px;
        left: 10px;
        max-width: 270px;
        padding: 8px 10px;
    }
}

/* --------------------------------------------------------------------------
   7. 1-Tap Quick Booking Pills (High Conversion Section for Mobile)
   -------------------------------------------------------------------------- */
.cro-quick-pills-wrap {
    margin: 22px 0 10px;
    padding: 16px 14px;
    background: linear-gradient(135deg, rgba(255, 182, 39, 0.15) 0%, rgba(255, 107, 53, 0.12) 100%);
    border: 1.5px dashed rgba(255, 182, 39, 0.6);
    border-radius: 16px;
    text-align: center;
}
.cro-quick-pills-title {
    color: var(--devo-maroon);
    font-size: 0.92rem;
    font-weight: 800;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.cro-quick-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}
.cro-pill-btn {
    background: #FFF;
    border: 1px solid rgba(139, 21, 56, 0.25);
    color: var(--devo-maroon);
    padding: 7px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    transition: all 0.2s ease;
}
.cro-pill-btn:hover, .cro-pill-btn:active {
    background: var(--devo-maroon);
    color: #FFF !important;
    border-color: var(--devo-maroon);
    transform: translateY(-2px);
}
.cro-pill-btn i {
    color: var(--devo-gold);
}

/* --------------------------------------------------------------------------
   8. Sacred Devotional Value Badges (Overcoming Customer Objections)
   -------------------------------------------------------------------------- */
.devo-trust-bar {
    background: #FFFDF8;
    border: 1px solid rgba(255, 182, 39, 0.35);
    border-radius: 14px;
    padding: 14px 12px;
    margin: 18px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
    box-shadow: 0 4px 15px rgba(139, 21, 56, 0.05);
}
.devo-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--devo-text-dark);
}
.devo-trust-item i {
    color: var(--devo-maroon);
    font-size: 1rem;
    flex-shrink: 0;
}
