/* Spiritual Theme Variables */
:root {
    --spiritual-primary: #DAA520;
    --spiritual-primary-dark: #B8860B;
    --spiritual-secondary: #7C3AED;
    --spiritual-secondary-dark: #6B46C1;
    --spiritual-accent: #14B8A6;
    --spiritual-bg-light: #FFFBF5;
    --spiritual-bg-cream: #FFF8F0;
    --spiritual-text-dark: #3E2723;
    --spiritual-text-muted: #6B5B4F;
}

/* Hinduism-Themed Color Variables */
:root {
    --brand-red: var(--np-saffron);
    --brand-red-light: #a01d1d;
    --sacred-saffron: #F37420;
    --sacred-saffron-light: #F3AF42;
    --sacred-gold: #FFD700;
    --sacred-yellow: #EED062;
    --sacred-white: #FFFFFF;
    --sacred-cream: #FFF8F0;
    --sacred-green: #4B9B5A;
    --text-dark: #3E2723;
    --text-muted: #6B5B4F;
}




/* ==========================================================================
   NEW FOOTER STYLES
   ========================================================================== */

/* From root style.css */
.quick_links_footer a,
.quick_links_footer a:hover {
    color: #fff;
}

.footer-logo {
    max-width: 50vh !important;
}

.footer-heading {
    font-size: 24px;
    display: inline-block;
    margin-bottom: 10px;
    border-bottom: 1px solid;
}

.quick_links li {
    font-size: 14px !important;
    margin-bottom: 1px !important;
    list-style: none;
}

.quick_links li a {
    color: #ffffff !important;
}

.quick_links_footer {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.quick_links_footer li {
    list-style: none;
}

.pandit_copy_right {
    background-color: #f39b59 !important;
}

.footer-container {
    margin-top: 2rem !important;
    background-color: transparent !important;
    background-image: url('https://99pandit.com/wp-content/themes/ninetyninepandit/img/footerbg1.png') !important;
    background-size: cover !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
    padding-top: 25% !important;
}

@media only screen and (max-width: 767px) {
    .footer-container {
        padding-top: 65% !important;
    }
}

@media only screen and (max-width: 767px) {
    .quick_links_footer {
        display: block;
        padding: 0;
    }
}

/* Mobile Footer CTA */
.mobile-footer-cta {
    position: fixed;
    height: 45px;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    z-index: 90;
}

.mobile-footer-cta__btn {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    letter-spacing: 0;
    text-decoration: none;
    width: 50%;
    border-right: 1px solid;
    background: #e51251;
}

.mobile-footer-cta__btn i {
    margin-right: 5px;
}

.mobile-footer-cta__btn:last-child {
    margin-right: 0;
    background: #189d0e;
}

/* Privacy Policy */
.privacy-policy-mobile {
    display: block;
}



/* ============================================================
   FOOTER POPULAR SEARCHES (SEO links) - Desktop Inline
   ============================================================ */
.footer-popular-links {
    border-top: 1px solid rgba(255, 255, 255, 0.25) !important;
    padding-top: 20px !important;
    margin-top: 20px !important;
}

.footer-popular-links .footer-heading {
    font-size: 24px !important;
    font-weight: 500 !important;
    color: #ffffff !important;
    display: inline-block !important;
    margin-bottom: 14px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.7) !important;
    padding-bottom: 4px !important;
}

.footer-popular-links__list {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 8px !important;
    padding-left: 0 !important;
    margin: 6px 0 0 0 !important;
    list-style: none !important;
}

.footer-popular-links__list li {
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    flex-shrink: 0;
}

.footer-popular-links__list li a {
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    white-space: nowrap !important;
    transition: opacity 0.2s ease !important;
}

.footer-popular-links__list li a:hover {
    color: #ffffff !important;
    text-decoration: underline !important;
    opacity: 0.9 !important;
}


/* From css/style.css */
.footer {
    position: relative;
}

.frame_1 {
    position: absolute;
    right: 0;
    top: 0;
    height: 290px;
}

.frame_2 {
    position: absolute;
    left: 0;
    top: 0;
    height: 290px;
    transform: scaleX(-1);
}

.footer-uper {
    height: 0 !important;
    display: none !important;
}

/* From css/home-desktop.css */
.puja-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.recentPost-cards-footer a {
    font-size: 18px;
    font-weight: 700;
    line-height: 26.4px;
    text-decoration: none;
    color: #000;
    font-family: Noto Sans;
    text-align: left;
}

/* New Footer Links Section (Verified Pandits, etc.) */
/* .links-footer-urls {
    display: block !important;
} */

.links-footer {
    text-align: right;
    color: var(--text-dark, #3e2723) !important;
}

.blog-category-url {
    display: flex;
    align-items: center;
    gap: 9px;
    text-align: left;
    flex-wrap: wrap;
}

.links-footer-blog {
    text-align: left;
}

.links-footer-blog p {
    color: var(--text-dark) !important;
    font-size: 10px !important;
}

/* ── SEO text block (replaces old .links-footer-blog first div) ─────────── */
.np-footer-seo {
    margin-top: 0.75rem;
    padding: 0.875rem 1rem;
    background: #FFFBF5;
    border-radius: 8px;
    border-left: 3px solid #F37420;
}

.np-footer-seo__block {
    padding-bottom: 0.625rem;
    margin-bottom: 0.625rem;
    border-bottom: 1px solid rgba(243, 116, 32, 0.15);
}

.np-footer-seo__block:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}

.np-footer-seo__heading {
    display: block;
    font-size: 0.8125rem;
    /* 13px */
    font-weight: 600;
    color: #3E2723 !important;
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.np-footer-seo__text {
    font-size: 0.75rem;
    /* 12px */
    line-height: 1.65;
    color: #6B5B4F !important;
    margin: 0;
}

.links-footer-icon {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: end;
}

.links-footer-icon span {
    cursor: pointer;
    width: 35px;
    height: 35px;
    background-color: var(--np-saffron);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.links-footer-urls a {
    color: var(--text-dark) !important;
    font-size: 10px;
    text-decoration: underline !important;
}

.links-footer-icon-txt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    font-weight: 600;
    font-size: 18px;
}

.links-footer-icon-txt h3 {
    color: var(--text-dark) !important;
    font-size: 20px;
    font-family: 'Noto Sans', sans-serif;
}

.links-footer-blog h4 {
    font-size: 14px;
    font-family: 'Noto Sans', sans-serif;
}

.footer-category-group .footer-category-title {
    color: var(--text-dark) !important;
    font-size: 16px;
    margin-top: 15px;
}

.blog-category-collapsible {
    line-height: 1.6;
    max-height: calc(1.6em * 3);
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.blog-category-collapsible.expanded {
    max-height: 5000px;
}

.see-more-toggle {
    background: none;
    border: none;
    color: var(--text-dark) !important;
    font-size: 13px;
    cursor: pointer;
    margin-top: 6px;
    padding: 0;
    text-decoration: underline;
}

.footer-ll {
    color: var(--text-dark) !important;
    font-size: 16px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .links-footer-icon-txt h3 {
        font-size: 15px;
    }

    .links-footer-blog h4 {
        font-size: 12px !important;
    }

    .links-footer-blog p {
        color: var(--np-saffron);
        font-size: 9px !important;
    }

    .links-footer-urls a {
        font-size: 9px !important;
    }

    .blog-category-url {
        gap: 6px;
    }

    .footer-category-group .footer-category-title {
        font-size: 14px;
    }

    .links-footer-icon span {
        cursor: pointer;
        width: 30px;
        height: 30px;
        font-size: 20px;
    }
}

.footer-quick-links .quick_links_footer {
    margin-bottom: 0;
}

.footer-quick-links .quick_links_footer li {
    font-size: 13px !important;
}

.puja_cards_btns {
    background: linear-gradient(135deg, var(--np-saffron) 0%, var(--np-saffron) 100%);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.3);
}

.mobilecardbody {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.footer-text {
    margin-top: 50px;
    color: #666;
    font-size: 14px;
}

.footer-tagline {
    font-size: 13px;
    margin-top: 6px;
}

.footer-links-show,
.footer-links-show-1,
.footer-links-show-2,
.footer-links-show-3 {
    position: relative;
    top: 5px;
    display: flex;
    justify-content: space-between;
    font-size: clamp(0.75rem, 2.5vw, 0.875rem) !important;
}

.mobile-border {
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
}

.mobile-border:nth-child(4) {
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
}

.pandit-for-reg-mobile {
    display: none;
}

@media (max-width: 767px) {
    .pandit-for-reg-mobile {
        display: block;
    }
}

.enquire_book_pandit,
.book_pandit,
.book_pandit.btnIndia {
    display: none !important;
}


/* 🔥 Smart Attention Animation */
@keyframes autoAttention {

    /* ===== START BURST (0s–4s) ===== */
    0% {
        padding-right: 28px;
    }

    5% {
        padding-right: 40px;
    }

    10% {
        padding-right: 28px;
    }

    15% {
        padding-right: 40px;
    }

    20% {
        padding-right: 28px;
    }

    25% {
        padding-right: 40px;
    }

    30% {
        padding-right: 28px;
    }

    /* ===== Calm Period ===== */
    31% {
        padding-right: 28px;
    }

    /* ===== Auto Hover at 9s ===== */
    90% {
        padding-right: 40px;
    }

    95% {
        padding-right: 28px;
    }

    100% {
        padding-right: 28px;
    }
}

.bg-saffron {
    background: var(--sacred-saffron) !important;
}

.btn-saffron {
    background: var(--sacred-saffron) !important;
}

/* ── Brand Social links (Under Logo) ─────────────────────────────────────────── */
.logo_social_links_mobile .social_links {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    padding-left: 0 !important;
    margin-top: 1rem !important;
    margin-bottom: 0 !important;
    list-style: none !important;
}

.logo_social_links_mobile .social_links li {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-right: 10px !important;
    margin-bottom: 0 !important;
    list-style: none !important;
}

.logo_social_links_mobile .social_links li a {
    height: 40px !important;
    width: 40px !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 50% !important;
    color: #fff !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.logo_social_links_mobile .social_links li a img {
    width: 40px !important;
    height: 40px !important;
    display: block !important;
    border-radius: 50% !important;
}

.logo_social_links_mobile .social_links li a.pinterest {
    width: 40px !important;
    height: 40px !important;
    padding: 0 !important;
    margin: 0 !important;
    background-color: #ffffff !important;
    border: 2px solid #e60023 !important;
    box-sizing: border-box !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.logo_social_links_mobile .social_links li a.pinterest .np-icon-svg {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    line-height: 1 !important;
}

.logo_social_links_mobile .social_links li a.pinterest svg {
    display: block !important;
}

/* ── App Store Badges (Right Column: For Pandits App) ────────────────────────── */
.social_links_decktop .social_links {
    display: block !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.social_links_decktop .social_links li {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}
.social_links_decktop .social_links li a {
    display: block !important;
    width: 150px !important;
    height: auto !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}
.social_links_decktop .social_links li a img {
    width: 150px !important;
    height: 50px !important;
    display: block !important;
    border-radius: 4px !important;
    object-fit: contain !important;
}

/* ── Pandit registration links ───────────────────────────────────────────── */
.pandit_registration li a {
    display: inline;
    width: 100%;
}

.pandit_registration li {
    margin-right: 0;
}

/* ── Quick links list ────────────────────────────────────────────────────── */
.quick_links {
    padding-left: 0;
}

/* ── Footer quick-links bar ──────────────────────────────────────────────── */
.footer-quick-links .quick_links_footer {
    margin-bottom: 0;
}

.footer-quick-links .quick_links_footer li {
    font-size: 13px !important;
}

.desktop-footer-links li {
    color: #fff !important;
}

@media only screen and (min-width: 992px) and (max-width: 1024px) {
    .footer-heading {
        font-size: 20px;
    }
}

.pinterest span.np-icon-svg svg {
    fill: #e60023;
}

/* ==========================================================================
   MOBILE FOOTER SPECIFIC STYLES (MATCHES USER SCREENSHOT 1:1)
   ========================================================================== */
.np-mobile-footer-wrap {
    background: #ffffff;
    width: 100%;
}

.np-footer-top {
    background: #ffdec8 !important;
    padding: 24px 16px 20px 16px !important;
}

.np-footer-brand {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

.np-footer-logo {
    width: 140px !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
}

.np-mobile-social-links {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 0 !important;
    margin: 16px 0 0 0 !important;
    list-style: none !important;
}

.np-mobile-social-links li {
    display: inline-block !important;
    margin: 0 !important;
}

.np-mobile-social-links li a {
    width: 42px !important;
    height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    padding: 0 !important;
    text-decoration: none !important;
}

.np-mobile-social-links li a img {
    width: 42px !important;
    height: 42px !important;
}

.np-mobile-social-links li a.pinterest {
    background-color: #ffffff !important;
    border: 2px solid #e60023 !important;
}

.np-mobile-popular-box {
    margin-top: 18px;
    margin-bottom: 20px;
    text-align: left;
}

.np-mobile-popular-title {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #2b2523 !important;
    margin-bottom: 10px !important;
    display: block !important;
}

.np-mobile-popular-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px 12px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

.np-mobile-popular-grid li {
    list-style: none !important;
    margin: 0 !important;
}

.np-mobile-popular-grid li a {
    color: #2b2523 !important;
    font-size: 12.5px !important;
    line-height: 1.35 !important;
    text-decoration: none !important;
    display: block !important;
}

.np-mobile-popular-grid li a:hover {
    text-decoration: underline !important;
}

.np-mobile-contact-info {
    text-align: center !important;
    margin-top: 14px !important;
}

.np-mobile-company-name {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #3e2723 !important;
    margin-bottom: 6px !important;
}

.np-mobile-contact-line {
    font-size: 12px !important;
    color: #3e2723 !important;
    margin: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 18px !important;
    flex-wrap: wrap !important;
}

.np-mobile-contact-line b {
    font-weight: 700 !important;
}

.np-footer-copyright {
    background: #f6f4f4 !important;
    padding: 10px 16px !important;
    text-align: center !important;
    color: #222222 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}

.np-footer-bar {
    background-color: var(--np-saffron, #f37420) !important;
    padding: 10px 12px !important;
    text-align: center !important;
}

.np-footer-legal__list {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    column-gap: 14px !important;
    row-gap: 6px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.np-footer-legal__list li {
    margin: 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
}

.np-footer-legal__list li:after {
    content: "|" !important;
    color: rgba(255, 255, 255, 0.7) !important;
    margin-left: 14px !important;
    font-size: 11px !important;
}

.np-footer-legal__list li:last-child:after {
    content: "" !important;
    margin: 0 !important;
}

.np-footer-legal__list li a {
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.np-footer-seo-wrap {
    padding: 16px 16px 36px 16px !important;
    background: #ffffff !important;
    text-align: left !important;
}

.np-footer-seo-wrap__head {
    font-size: 15.5px !important;
    font-weight: 700 !important;
    color: #222222 !important;
    margin-bottom: 12px !important;
    line-height: 1.4 !important;
}

.np-footer-seo__heading {
    display: block !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #333333 !important;
    margin-top: 12px !important;
    margin-bottom: 4px !important;
    line-height: 1.4 !important;
}

.np-footer-seo__text {
    font-size: 11.5px !important;
    line-height: 1.65 !important;
    color: #666666 !important;
    margin: 0 0 8px 0 !important;
}