/* ==========================================================================
   NativeSeva pages (NRI Social-giving Service, Puja Service)
   Shared by resources/views/nativeseva*.blade.php
   ========================================================================== */

.ns-page {
    --ns-blue: #0065b9;
    --ns-blue-dark: #0a3d7a;
    --ns-orange: #f68b1f;
    --ns-orange-soft: #fff4e8;
    --ns-blue-soft: #eef5fc;
    --ns-green: #1f8a5b;
    --ns-green-soft: #e8f6ef;
    --ns-purple: #5b3fb5;
    --ns-purple-soft: #f0ecfb;
    --ns-ink: #101828;
    --ns-muted: #5b6474;
    --ns-line: #e3e8ef;
}
.ns-page section { scroll-margin-top: 100px; }
.ns-eyebrow {
    display: inline-block; font-size: 14px; font-weight: 600; letter-spacing: .08em;
    text-transform: uppercase; color: var(--ns-orange); margin-bottom: 10px;
}
.ns-title { color: var(--ns-ink); font-weight: 700; line-height: 1.2; margin-bottom: 14px; }
.ns-lead { color: var(--ns-muted); font-size: 17px; line-height: 1.7; max-width: 760px; }
.ns-center { text-align: center; }
.ns-center .ns-lead { margin-left: auto; margin-right: auto; }

.ns-btn {
    display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 6px;
    font-weight: 600; font-size: 16px; line-height: 1; transition: all .2s ease; border: 2px solid transparent;
}
.ns-btn-primary { background: var(--ns-orange); color: #fff; }
.ns-btn-primary:hover, .ns-btn-primary:focus { background: #e07a10; color: #fff; }
.ns-btn-outline { border-color: var(--ns-blue); color: var(--ns-blue); background: #fff; }
.ns-btn-outline:hover, .ns-btn-outline:focus { background: var(--ns-blue); color: #fff; }
.ns-btn:focus-visible, .ns-link:focus-visible { outline: 3px solid var(--ns-orange); outline-offset: 3px; }

/* Hero */
.ns-hero {
    margin-top: 90px; padding: 70px 0 80px;
    background: linear-gradient(135deg, var(--ns-blue-soft) 0%, #fff 55%, var(--ns-orange-soft) 100%);
}
.ns-hero { position: relative; overflow: hidden; }
/* No z-index here: it would isolate the logo's multiply blend from the hero background */
.ns-hero > .container { position: relative; }
/* Faded community-meal illustration behind the hero, fading out towards the text */
.ns-hero-art {
    position: absolute; inset: 0; pointer-events: none; opacity: .28;
    background: url("../img/nativeseva/hero-community-meal.svg") right bottom / auto 68% no-repeat;
    -webkit-mask-image: linear-gradient(to right, transparent 15%, #000 60%);
    mask-image: linear-gradient(to right, transparent 15%, #000 60%);
}
.ns-hero-logo { max-width: 400px; width: 100%; height: auto; margin-bottom: 26px; mix-blend-mode: multiply; }
.ns-service-title {
    display: flex; width: fit-content; align-items: center; gap: 12px; margin: 0 0 22px; padding: 10px 22px 10px 12px;
    border-radius: 40px; background: var(--ns-blue); color: #fff; font-size: 24px; font-weight: 700; line-height: 1.2; text-transform: none;
    box-shadow: 0 10px 24px rgba(0, 101, 185, .22);
}
.ns-service-title i {
    width: 40px; height: 40px; border-radius: 50%; background: var(--ns-orange); color: #fff;
    display: inline-flex; align-items: center; justify-content: center; font-size: 18px; flex: 0 0 auto;
}
.ns-hero .ns-headline { font-size: 46px; color: var(--ns-blue); font-weight: 700; line-height: 1.15; margin-bottom: 18px; }
.ns-hero .ns-headline span { color: var(--ns-orange); }
.ns-hero .ns-lead { margin-bottom: 12px; }
.ns-hero-promise { font-weight: 600; color: var(--ns-blue-dark); font-size: 17px; line-height: 1.6; margin-top: 16px; }
.ns-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 26px; }
.ns-highlights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; max-width: 560px; }
.ns-highlights span { display: flex; align-items: center; gap: 9px; color: var(--ns-ink); font-weight: 500; font-size: 15px; }
.ns-highlights i { color: var(--ns-green); }
.ns-hero-visual {
    background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); border-radius: 16px; padding: 30px; box-shadow: 0 20px 50px rgba(0, 101, 185, .12);
}
.ns-hero-visual .ns-tag { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ns-orange); }
.ns-hero-visual ul { list-style: none; padding: 0; margin: 10px 0 0; }
.ns-hero-visual li { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; border-bottom: 1px dashed var(--ns-line); }
.ns-hero-visual li:last-child { border-bottom: 0; }
.ns-hero-visual h6 { margin: 0 0 4px; color: var(--ns-ink); font-size: 17px; }
.ns-hero-visual p { margin: 0; color: var(--ns-muted); font-size: 15px; line-height: 1.5; }

.ns-icon {
    flex: 0 0 auto; width: 52px; height: 52px; border-radius: 12px; display: inline-flex;
    align-items: center; justify-content: center; font-size: 22px;
    background: var(--ns-blue-soft); color: var(--ns-blue);
}
.ns-icon.alt { background: var(--ns-orange-soft); color: var(--ns-orange); }

.ns-section { padding: 90px 0; }
.ns-section.tint { background: #f7f9fc; }
.ns-head { margin-bottom: 45px; }

/* Cards */
.ns-card {
    height: 100%; background: #fff; border: 1px solid var(--ns-line); border-radius: 14px; padding: 28px;
    display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease;
}
.ns-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(16, 24, 40, .08); }
.ns-card h4 { font-size: 20px; color: var(--ns-ink); margin: 18px 0 10px; }
.ns-card p { color: var(--ns-muted); line-height: 1.65; margin-bottom: 18px; }
.ns-link { margin-top: auto; color: var(--ns-blue); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0; }
.ns-link:hover { color: var(--ns-orange); }

/* Challenges */
.ns-question { height: 100%; background: #fff; border-radius: 14px; padding: 26px; border-left: 4px solid var(--ns-orange); box-shadow: 0 8px 24px rgba(16, 24, 40, .05); }
.ns-question h4 { font-size: 19px; color: var(--ns-ink); margin: 0 0 10px; display: flex; gap: 10px; align-items: center; }
.ns-question h4 i { color: var(--ns-orange); }
.ns-question p { color: var(--ns-muted); line-height: 1.65; margin: 0; }
.ns-answer {
    margin-top: 40px; border-radius: 16px; padding: 34px 38px; color: #fff;
    background: linear-gradient(135deg, var(--ns-blue) 0%, var(--ns-blue-dark) 100%);
    display: flex; gap: 24px; align-items: center;
}
.ns-answer i { font-size: 44px; color: #ffc98f; flex: 0 0 auto; }
.ns-answer h3 { color: #fff; font-size: 24px; margin-bottom: 8px; }
.ns-answer p { color: rgba(255, 255, 255, .88); margin: 0; line-height: 1.65; }

/* Pillars */
.ns-pillars-flow { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 14px; margin-top: 18px; font-weight: 700; letter-spacing: .08em; font-size: 15px; }
.ns-pillars-flow span { color: var(--ns-blue); }
.ns-pillars-flow i { color: var(--ns-orange); font-size: 13px; }
.ns-pillar {
    --c: var(--ns-blue); --c-soft: var(--ns-blue-soft);
    height: 100%; background: #fff; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column;
    border: 1px solid var(--ns-line); box-shadow: 0 12px 32px rgba(16, 24, 40, .06);
}
.ns-pillar.p2 { --c: var(--ns-orange); --c-soft: var(--ns-orange-soft); }
.ns-pillar.p3 { --c: var(--ns-green); --c-soft: var(--ns-green-soft); }
.ns-pillar.p4 { --c: var(--ns-purple); --c-soft: var(--ns-purple-soft); }
.ns-pillar-top { background: var(--c); color: #fff; padding: 24px 26px; display: flex; align-items: center; gap: 16px; }
.ns-pillar-top .ns-pillar-icon { width: 56px; height: 56px; border-radius: 50%; background: rgba(255, 255, 255, .18); display: flex; align-items: center; justify-content: center; font-size: 24px; flex: 0 0 auto; }
.ns-pillar-top small { display: block; opacity: .85; font-size: 13px; font-weight: 600; letter-spacing: .08em; }
.ns-pillar-top h3 { color: #fff; font-size: 24px; letter-spacing: .06em; margin: 0; }
.ns-pillar-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.ns-pillar-body h5 { color: var(--c); font-size: 18px; margin-bottom: 12px; }
.ns-pillar-body p { color: var(--ns-muted); line-height: 1.65; font-size: 15.5px; margin-bottom: 12px; }
.ns-pillar-body ul { list-style: none; padding: 16px 18px; margin: auto 0 0; background: var(--c-soft); border-radius: 10px; }
.ns-pillar-body li { position: relative; padding: 5px 0 5px 24px; color: var(--ns-ink); font-size: 15px; }
/* Four pillars side by side leave ~260px per card: stack the icon above the title so
   "TRANSPARENCY" and "COMMITMENT" get the full width */
@media (min-width: 1200px) {
    .ns-pillar-top { flex-direction: column; align-items: flex-start; gap: 12px; padding: 22px 24px; }
    .ns-pillar-top .ns-pillar-icon { width: 48px; height: 48px; font-size: 21px; }
    .ns-pillar-top h3 { font-size: 21px; letter-spacing: .04em; }
    .ns-pillar-body { padding: 22px 24px 26px; }
}
.ns-pillar-body li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 6px; color: var(--c); font-size: 13px; }

/* Beneficiary categories */
.ns-cat .ns-tags { margin: 0 0 12px; }
.ns-cat .ns-status { margin-bottom: 18px; }
.ns-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.ns-tags span { font-size: 12.5px; background: var(--ns-blue-soft); color: var(--ns-blue-dark); padding: 4px 10px; border-radius: 20px; }
.ns-status { font-size: 13.5px; font-weight: 600; color: #a35a00; display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px; }
.ns-status.shield { color: var(--ns-purple); }
.ns-note { font-size: 14px; color: var(--ns-muted); margin-top: 22px; }
.ns-notice {
    display: flex; gap: 14px; align-items: flex-start; background: var(--ns-purple-soft); color: #3d2a7d;
    border-radius: 12px; padding: 18px 22px; margin-top: 30px; font-size: 15px; line-height: 1.6;
}
.ns-notice i { font-size: 20px; margin-top: 2px; }
.ns-notice a { color: inherit; font-weight: 600; text-decoration: underline; }
.ns-notice.ship { background: var(--ns-green-soft); color: #134e36; margin-top: 0; margin-bottom: 18px; }

/* Locations */
.ns-loc-panel { max-width: 900px; margin: 0 auto; background: #fff; border: 1px solid var(--ns-line); border-radius: 16px; overflow: hidden; }
.ns-loc-services { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 18px 24px; background: var(--ns-blue-soft); }
.ns-loc-services-label { font-weight: 600; color: var(--ns-blue-dark); font-size: 15px; }
.ns-loc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ns-loc-list li { border-top: 1px solid var(--ns-line); }
.ns-loc-list li:nth-child(odd) { border-right: 1px solid var(--ns-line); }
.ns-loc-row {
    width: 100%; display: flex; align-items: center; gap: 12px; padding: 18px 24px; text-align: left;
    background: none; border: 0; cursor: pointer; transition: background .2s ease;
}
.ns-loc-row:hover { background: var(--ns-blue-soft); }
.ns-loc-row:focus-visible { outline: 3px solid var(--ns-orange); outline-offset: -3px; }
.ns-loc-row > .fa-location-dot, .ns-loc-row > .fa-circle-plus { color: var(--ns-orange); font-size: 18px; }
.ns-loc-text { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.ns-loc-name { font-weight: 600; color: var(--ns-ink); font-size: 16px; }
.ns-loc-go { color: var(--ns-blue); transition: transform .2s ease; }
.ns-loc-row:hover .ns-loc-go { transform: translateX(4px); }
.ns-loc-row.other .ns-loc-name { color: var(--ns-blue); }

/* Process infographic */
.ns-flow {
    position: relative; display: grid; --steps: 5; grid-template-columns: 90px repeat(var(--steps), minmax(0, 1fr)) 90px; gap: 10px;
    align-items: start; margin: 0 auto 60px; padding: 34px 20px 30px; border-radius: 20px;
    background: linear-gradient(135deg, var(--ns-blue-soft) 0%, #fff 50%, var(--ns-orange-soft) 100%);
}
.ns-flow::before {
    content: ""; position: absolute; left: 60px; right: 60px; top: 78px; height: 0;
    border-top: 3px dashed #b9cde3;
}
.ns-flow-end { position: relative; text-align: center; padding-top: 18px; }
.ns-flow-end i {
    width: 52px; height: 52px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    font-size: 22px; background: #fff; color: var(--ns-blue); box-shadow: 0 6px 16px rgba(0, 101, 185, .15);
}
.ns-flow-end.finish i { color: var(--ns-orange); box-shadow: 0 6px 16px rgba(246, 139, 31, .2); }
.ns-flow-end span { display: block; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--ns-blue-dark); }
.ns-flow-step { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.ns-flow-icon {
    --c: var(--ns-blue); position: relative; width: 88px; height: 88px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 32px; color: #fff;
    background: var(--c);
    background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--c) 75%, #fff), var(--c));
    box-shadow: 0 0 0 8px #fff, 0 12px 26px rgba(16, 24, 40, .15);
    transition: transform .25s ease;
}
.ns-flow-step.alt .ns-flow-icon { --c: var(--ns-orange); }
/* An optional step: green, with a dashed ring */
.ns-flow-step.optional .ns-flow-icon { --c: var(--ns-green); outline: 2px dashed #8cc9a9; outline-offset: 9px; }
.ns-flow-step.optional .ns-flow-num { background: var(--ns-green); }
.ns-flow-step.optional .ns-flow-actor { color: var(--ns-green); }
.ns-flow-step:hover .ns-flow-icon { transform: translateY(-4px) scale(1.04); }
.ns-flow-num {
    position: absolute; top: -6px; right: -6px; width: 30px; height: 30px; border-radius: 50%;
    background: var(--ns-ink); color: #fff; font-size: 14px; font-weight: 700;
    display: flex; align-items: center; justify-content: center; border: 3px solid #fff;
}
.ns-flow-actor {
    margin-top: 18px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    color: var(--ns-muted);
}
.ns-flow-step h5 { font-size: 16.5px; color: var(--ns-ink); margin: 6px 0 10px; line-height: 1.3; }
.ns-flow-get {
    display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; line-height: 1.3;
    padding: 6px 10px; border-radius: 20px; background: var(--ns-green-soft); color: var(--ns-green);
}

/* Live updates band */
.ns-band { background: linear-gradient(135deg, var(--ns-blue) 0%, var(--ns-blue-dark) 100%); color: #fff; }
.ns-band .ns-title { color: #fff; }
.ns-band .ns-eyebrow { color: #ffc98f; }
.ns-band .ns-lead { color: rgba(255, 255, 255, .88); }
.ns-glass { height: 100%; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); border-radius: 14px; padding: 26px; }
.ns-glass i { font-size: 30px; color: #ffc98f; margin-bottom: 14px; }
.ns-glass h5 { color: #fff; font-size: 18px; margin-bottom: 8px; }
.ns-glass p { color: rgba(255, 255, 255, .82); font-size: 15px; line-height: 1.6; margin: 0; }
.ns-band .ns-notice { background: rgba(255, 255, 255, .95); }

/* Pricing */
.ns-table-wrap { background: #fff; border-radius: 14px; border: 1px solid var(--ns-line); overflow: hidden; }
.ns-table { width: 100%; border-collapse: collapse; margin: 0; }
.ns-table caption { caption-side: top; padding: 18px 22px 0; color: var(--ns-muted); font-size: 14px; }
.ns-table th, .ns-table td { padding: 16px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--ns-line); font-size: 15.5px; }
.ns-table thead th { background: var(--ns-blue); color: #fff; font-weight: 600; }
.ns-table tbody th { color: var(--ns-ink); font-weight: 600; white-space: nowrap; }
.ns-table td { color: var(--ns-muted); }
.ns-table tbody tr:last-child th, .ns-table tbody tr:last-child td { border-bottom: 0; }
.ns-table tfoot td { background: var(--ns-orange-soft); color: #6b3f00; font-size: 14px; border-bottom: 0; }
.ns-principles { height: 100%; background: var(--ns-blue-soft); border-radius: 14px; padding: 28px; }
.ns-principles h4 { font-size: 20px; color: var(--ns-ink); margin-bottom: 14px; }
.ns-check { list-style: none; padding: 0; margin: 0; }
.ns-check li { position: relative; padding: 7px 0 7px 28px; color: var(--ns-ink); line-height: 1.5; }
.ns-check li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 8px; color: var(--ns-green); font-size: 14px; }

/* Commitment */
.ns-record { background: #fff; border: 1px solid var(--ns-line); border-radius: 14px; padding: 28px; height: 100%; }
.ns-record h4 { font-size: 20px; color: var(--ns-ink); margin-bottom: 14px; }
.ns-quote {
    height: 100%; border-radius: 14px; padding: 34px; background: var(--ns-orange-soft);
    display: flex; flex-direction: column; justify-content: center;
}
.ns-quote i { font-size: 34px; color: var(--ns-orange); margin-bottom: 14px; }
.ns-quote blockquote { font-size: 20px; line-height: 1.6; color: var(--ns-ink); font-weight: 500; margin: 0 0 16px; }
.ns-quote p { color: var(--ns-muted); margin: 0; line-height: 1.65; }

/* Form */
.ns-form-wrap { background: #fff; border-radius: 16px; padding: 40px; box-shadow: 0 20px 50px rgba(16, 24, 40, .08); }
.ns-form label { display: block; font-weight: 600; color: var(--ns-ink); font-size: 15px; margin-bottom: 7px; }
.ns-form label .req { color: #c0392b; }
.ns-form label .opt { color: var(--ns-muted); font-weight: 400; font-size: 13px; }
.ns-form input, .ns-form select, .ns-form textarea {
    width: 100%; border: 1px solid #cfd6e0; border-radius: 8px; padding: 12px 14px; font-size: 15px;
    color: var(--ns-ink); background: #fff; outline: none; transition: border-color .2s ease, box-shadow .2s ease;
}
.ns-form input:not([type="checkbox"]), .ns-form select { height: 50px; font-size: 15px; line-height: 1.4; }
.ns-form select { appearance: auto; }
.ns-form textarea { min-height: 110px; resize: vertical; }
.ns-form input:focus, .ns-form select:focus, .ns-form textarea:focus { border-color: var(--ns-blue); box-shadow: 0 0 0 3px rgba(0, 101, 185, .15); }
.ns-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ns-muted); line-height: 1.55; }
.ns-consent input { width: 18px; height: 18px; margin-top: 3px; flex: 0 0 auto; }
.ns-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ns-form-msg { display: none; margin-top: 18px; padding: 14px 16px; border-radius: 8px; font-size: 15px; }
.ns-form-msg.error { display: block; background: #fdecea; color: #8a1f11; }
.ns-side-note { background: var(--ns-orange-soft); border-radius: 12px; padding: 22px; margin-top: 26px; color: #6b3f00; font-size: 15px; line-height: 1.6; }

/* FAQ */
.ns-faq .accordion-item { border: 1px solid var(--ns-line); border-radius: 10px !important; margin-bottom: 14px; overflow: hidden; }
.ns-faq .accordion-button { font-weight: 600; font-size: 17px; color: var(--ns-ink); padding: 20px 22px; background: #fff; box-shadow: none; }
.ns-faq .accordion-button:not(.collapsed) { color: var(--ns-blue); background: var(--ns-blue-soft); }
.ns-faq .accordion-body { color: var(--ns-muted); line-height: 1.7; padding: 18px 22px 22px; }

/* Final CTA */
.ns-final { padding: 90px 0; background: linear-gradient(135deg, var(--ns-orange-soft) 0%, #fff 50%, var(--ns-blue-soft) 100%); }
.ns-final h2 { font-size: 42px; color: var(--ns-blue); font-weight: 700; margin-bottom: 16px; }
.ns-final .ns-hero-actions { justify-content: center; }
.ns-tagline { margin-top: 30px; font-weight: 600; color: var(--ns-blue-dark); }

@media (max-width: 991px) {
    .ns-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 34px; }
    .ns-flow::before, .ns-flow-end { display: none; }
    .ns-hero { padding: 50px 0 60px; }
    .ns-hero .ns-headline { font-size: 38px; }
    .ns-hero-visual { margin-top: 40px; }
    .ns-hero-art { opacity: .2; background-size: auto 40%; -webkit-mask-image: linear-gradient(to bottom, transparent 55%, #000 85%); mask-image: linear-gradient(to bottom, transparent 55%, #000 85%); }
    .ns-section, .ns-final { padding: 70px 0; }
}
@media (max-width: 575px) {
    .ns-hero .ns-headline { font-size: 30px; }
    .ns-service-title { font-size: 19px; padding-right: 18px; }
    .ns-final h2 { font-size: 30px; }
    .ns-hero-logo { max-width: 300px; }
    .ns-highlights { grid-template-columns: 1fr; }
    .ns-form-wrap { padding: 26px 18px; }
    .ns-btn { width: 100%; justify-content: center; }
    .ns-section, .ns-final { padding: 56px 0; }
    .ns-answer { flex-direction: column; text-align: center; padding: 28px 22px; }
    .ns-table th, .ns-table td { padding: 12px 14px; font-size: 14.5px; }
    .ns-table tbody th { white-space: normal; }
    .ns-loc-list { grid-template-columns: 1fr; }
    .ns-loc-list li:nth-child(odd) { border-right: 0; }
    .ns-loc-row { padding: 16px 18px; }
    .ns-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 28px 12px; }
    .ns-flow-icon { width: 72px; height: 72px; font-size: 26px; }
    /* With an odd number of steps, centre the last one on its own row */
    .ns-flow.odd .ns-flow-step:nth-last-child(2) { grid-column: 1 / -1; }
}

/* Puja page: temple illustration behind the hero */
.ns-hero-art.puja { background-image: url("../img/nativeseva/hero-puja.svg"); }

/* Puja packages */
.ns-pkg {
    height: 100%; background: #fff; border: 1px solid var(--ns-line); border-radius: 14px; padding: 24px;
    display: flex; flex-direction: column; position: relative; overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.ns-pkg::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--ns-blue); }
.ns-pkg.alt::before { background: var(--ns-orange); }
.ns-pkg:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 16px 36px rgba(16, 24, 40, .1); }
.ns-pkg-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.ns-pkg-head .ns-icon { width: 46px; height: 46px; font-size: 20px; }
.ns-pkg h4 { font-size: 18.5px; color: var(--ns-ink); margin: 0; }
.ns-pkg p { color: var(--ns-muted); line-height: 1.6; font-size: 15px; margin-bottom: 16px; }
.ns-pkg.custom { background: var(--ns-orange-soft); border-color: transparent; }
.ns-pkg.custom::before { display: none; }

/* Cross-link between NativeSeva services */
.ns-crosslink {
    display: flex; align-items: center; gap: 22px; flex-wrap: wrap; padding: 28px 32px; border-radius: 16px;
    background: #fff; border: 1px dashed var(--ns-orange);
}
.ns-crosslink .ns-icon { width: 60px; height: 60px; font-size: 26px; }
.ns-crosslink div { flex: 1; min-width: 220px; }
.ns-crosslink h4 { font-size: 20px; color: var(--ns-ink); margin-bottom: 6px; }
.ns-crosslink p { color: var(--ns-muted); margin: 0; line-height: 1.6; }

/* Famous temples by city */
.ns-city-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 34px; }
.ns-city-tabs .nav-link {
    border: 1px solid var(--ns-line); background: #fff; color: var(--ns-ink); font-weight: 600; font-size: 15px;
    padding: 10px 20px; border-radius: 30px; transition: all .2s ease;
}
.ns-city-tabs .nav-link:hover { border-color: var(--ns-blue); color: var(--ns-blue); }
.ns-city-tabs .nav-link.active { background: var(--ns-blue); border-color: var(--ns-blue); color: #fff; box-shadow: 0 8px 18px rgba(0, 101, 185, .25); }
.ns-temple {
    height: 100%; background: #fff; border: 1px solid var(--ns-line); border-radius: 16px; overflow: hidden;
    display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease;
}
.ns-temple:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(16, 24, 40, .08); }
.ns-temple-top {
    display: flex; gap: 16px; align-items: center; padding: 22px 24px; color: #fff;
    background: linear-gradient(135deg, var(--ns-blue) 0%, var(--ns-blue-dark) 100%);
}
.ns-temple.alt .ns-temple-top { background: linear-gradient(135deg, var(--ns-orange) 0%, #d96f05 100%); }
.ns-temple-top > i {
    flex: 0 0 auto; width: 50px; height: 50px; border-radius: 50%; background: rgba(255, 255, 255, .18);
    display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.ns-temple-top h4 { color: #fff; font-size: 18.5px; line-height: 1.3; margin: 0 0 4px; }
.ns-temple-top small { opacity: .9; font-size: 13.5px; }
.ns-temple-body { padding: 20px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.ns-temple-label { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ns-muted); margin-bottom: 8px; }
.ns-temple-body ul { list-style: none; padding: 0; margin: 0 0 18px; }
.ns-temple-body li { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--ns-line); }
.ns-temple-body li:last-child { border-bottom: 0; }
.ns-temple-body li i { color: var(--ns-orange); font-size: 13px; margin-top: 5px; }
.ns-temple-body li span { flex: 1; color: var(--ns-ink); font-weight: 500; line-height: 1.45; }
.ns-temple-body li em {
    flex: 0 0 auto; font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--ns-blue-dark);
    background: var(--ns-blue-soft); padding: 3px 10px; border-radius: 20px; white-space: nowrap;
}

/* Temple photo behind the card header, darkened towards the bottom so the name stays readable */
.ns-temple-top { position: relative; }
.ns-temple .ns-temple-top.has-photo {
    min-height: 190px; align-items: flex-end; background-size: cover; background-position: center 35%;
}
.ns-temple-top.has-photo::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(16, 24, 40, .05) 0%, rgba(16, 24, 40, .35) 45%, rgba(16, 24, 40, .88) 100%);
}
.ns-temple-top.has-photo > * { position: relative; }
.ns-temple-top.has-photo h4 { text-shadow: 0 1px 6px rgba(0, 0, 0, .45); }
.ns-temple-top.has-photo > i { background: rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.ns-temple-top .ns-photo-credit {
    position: absolute; top: 10px; right: 10px; max-width: 75%; font-size: 11px; line-height: 1.3; color: #fff;
    background: rgba(16, 24, 40, .55); padding: 3px 8px; border-radius: 10px; opacity: .85;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ns-temple-top .ns-photo-credit:hover, .ns-temple-top .ns-photo-credit:focus-visible { opacity: 1; color: #fff; text-decoration: underline; }
.ns-temple-more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ns-muted); margin: -6px 0 14px; }
.ns-temple-more i { font-size: 11px; }
.ns-temple-more:hover { color: var(--ns-blue); text-decoration: underline; }
