/* ===========================================================
   जनसुख सेवा ट्रस्ट — साझा स्टाइलशीट (Shared Stylesheet)
   सभी पेजों में <link rel="stylesheet" href="style.css"> से जोड़ा गया है।
   =========================================================== */

    /* ===== TOKENS ===== */
    :root {
      --saffron:   #E8660A;
      --saffron-lt:#FFF0E5;
      --forest:    #1A4D2E;
      --forest-lt: #EAF2EC;
      --cream:     #FDFAF5;
      --ink:       #1C1C1C;
      --mid:       #5A5A5A;
      --border:    #DDD8CF;
      --wa-green:  #25D366;

      --display: 'Tiro Devanagari Hindi', Georgia, serif;
      --body:    'Noto Sans Devanagari', system-ui, sans-serif;

      --max: 1100px;
      --r: 10px;
    }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    html { scroll-behavior: smooth; }

    /* मेनू लिंक पर क्लिक करने पर हेडिंग स्टिकी नैव के पीछे न छुपे */
    section[id], div[id] { scroll-margin-top: 84px; }

    body {
      font-family: var(--body);
      background: var(--cream);
      color: var(--ink);
      line-height: 1.65;
    }

    img { display: block; max-width: 100%; }
    a { color: inherit; text-decoration: none; }

    /* ===== नेविगेशन ===== */
    nav {
      position: sticky;
      top: 0;
      z-index: 100;
      background: var(--forest);
      padding: 0 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 64px;
      box-shadow: 0 2px 12px rgba(0,0,0,.18);
    }

    .nav-logo {
      font-family: var(--display);
      font-size: 1.7rem;
      font-weight: 800;
      color: #fff;
      letter-spacing: .02em;
    }

    .nav-logo span { color: #fff; }

    .nav-links {
      display: flex;
      gap: 28px;
      list-style: none;
    }

    .nav-links a {
      color: rgba(255,255,255,.82);
      font-size: .9rem;
      font-weight: 500;
      transition: color .2s;
    }

    .nav-links a:hover { color: var(--saffron); }

    .nav-donate {
      background: var(--saffron);
      color: #fff !important;
      padding: 8px 18px;
      border-radius: 6px;
      font-weight: 600 !important;
      transition: background .2s !important;
    }

    .nav-donate:hover { background: #c9560a !important; color: #fff !important; }

    /* ===== हीरो ===== */
    .hero {
      background: linear-gradient(135deg, var(--forest) 55%, #2d7a48 100%);
      color: #fff;
      padding: 90px 24px 80px;
      text-align: center;
      position: relative;
      overflow: hidden;
    }

    .hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1.5' fill='rgba(255,255,255,0.06)'/%3E%3C/svg%3E") repeat;
    }

    .hero-inner { position: relative; max-width: 760px; margin: 0 auto; }

    .hero-eyebrow {
      display: inline-block;
      background: var(--saffron);
      color: #fff;
      font-size: .78rem;
      font-weight: 600;
      letter-spacing: .1em;
      text-transform: uppercase;
      padding: 5px 14px;
      border-radius: 20px;
      margin-bottom: 22px;
    }

    .hero h1 {
      font-family: var(--display);
      font-size: clamp(2rem, 5vw, 3.2rem);
      line-height: 1.22;
      margin-bottom: 22px;
    }

    .hero h1 em {
      font-style: normal;
      color: var(--saffron);
    }

    .hero p {
      font-size: 1.1rem;
      color: rgba(255,255,255,.82);
      max-width: 580px;
      margin: 0 auto 36px;
    }

    .hero-cta {
      display: flex;
      gap: 14px;
      justify-content: center;
      flex-wrap: wrap;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 13px 26px;
      border-radius: var(--r);
      font-family: var(--body);
      font-weight: 600;
      font-size: .95rem;
      cursor: pointer;
      transition: all .2s;
      border: 2px solid transparent;
    }

    .btn-primary { background: var(--saffron); color: #fff; }
    .btn-primary:hover { background: #c9560a; }

    .btn-outline { border-color: rgba(255,255,255,.55); color: #fff; }
    .btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); }

    /* ===== आँकड़े बार ===== */
    .stats {
      background: #fff;
      border-bottom: 1px solid var(--border);
      padding: 32px 24px;
    }

    .stats-inner {
      max-width: var(--max);
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
      gap: 24px;
      text-align: center;
    }

    .stat-num {
      font-family: var(--display);
      font-size: 2rem;
      color: var(--forest);
      font-weight: 700;
    }

    .stat-num span { color: var(--saffron); }

    .stat-label {
      font-size: .82rem;
      color: var(--mid);
      margin-top: 3px;
      font-weight: 500;
      text-transform: uppercase;
      letter-spacing: .06em;
    }

    /* ===== सेक्शन डिफ़ॉल्ट ===== */
    section { padding: 72px 24px; }

    .section-inner { max-width: var(--max); margin: 0 auto; }

    .section-tag {
      font-size: .75rem;
      font-weight: 700;
      letter-spacing: .12em;
      text-transform: uppercase;
      color: var(--saffron);
      margin-bottom: 10px;
    }

    .section-title {
      font-family: var(--display);
      font-size: clamp(1.6rem, 3.5vw, 2.4rem);
      color: var(--forest);
      margin-bottom: 16px;
      line-height: 1.25;
    }

    .section-sub {
      color: var(--mid);
      max-width: 540px;
      font-size: 1rem;
    }

    /* ===== कारण ===== */
    .causes { background: var(--forest-lt); }

    .causes-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
      gap: 24px;
      margin-top: 44px;
    }

    .cause-card {
      background: #fff;
      border-radius: 14px;
      padding: 30px 26px;
      border: 1px solid var(--border);
      transition: box-shadow .25s, transform .25s;
    }

    .cause-card:hover {
      box-shadow: 0 8px 32px rgba(26,77,46,.13);
      transform: translateY(-4px);
    }

    .cause-icon {
      width: 52px;
      height: 52px;
      border-radius: 12px;
      background: var(--forest-lt);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.6rem;
      margin-bottom: 18px;
    }

    .cause-card h3 {
      font-family: var(--display);
      font-size: 1.2rem;
      color: var(--forest);
      margin-bottom: 10px;
    }

    .cause-card p { color: var(--mid); font-size: .92rem; }

    .cause-progress-wrap {
      margin-top: 18px;
      background: var(--border);
      border-radius: 99px;
      height: 6px;
      overflow: hidden;
    }

    .cause-progress {
      height: 100%;
      background: var(--saffron);
      border-radius: 99px;
    }

    .cause-meta {
      display: flex;
      justify-content: space-between;
      font-size: .78rem;
      color: var(--mid);
      margin-top: 6px;
    }

    /* ===== यह कैसे काम करता है ===== */
    .how { background: #fff; }

    .how-steps {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 32px;
      margin-top: 48px;
    }

    .how-step {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .how-step-num {
      font-family: var(--display);
      font-size: 3rem;
      color: var(--forest-lt);
      line-height: 1;
      font-weight: 700;
      -webkit-text-stroke: 2px var(--forest);
    }

    .how-step h3 {
      font-family: var(--display);
      font-size: 1.1rem;
      color: var(--forest);
    }

    .how-step p { color: var(--mid); font-size: .92rem; }

    /* ===== दान सेक्शन ===== */
    .donate { background: var(--saffron-lt); }

    .donate-box {
      background: #fff;
      border-radius: 18px;
      padding: 48px 40px;
      border: 1px solid var(--border);
      max-width: 680px;
      margin: 44px auto 0;
      text-align: center;
    }

    .donate-amounts {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
      justify-content: center;
      margin: 28px 0 18px;
    }

    .donate-amt {
      padding: 10px 22px;
      border-radius: 8px;
      border: 2px solid var(--border);
      font-weight: 600;
      font-size: .95rem;
      cursor: pointer;
      transition: all .2s;
      background: none;
      font-family: var(--body);
      color: var(--ink);
    }

    .donate-amt:hover,
    .donate-amt.active {
      border-color: var(--saffron);
      background: var(--saffron);
      color: #fff;
    }

    .donate-custom {
      display: flex;
      align-items: center;
      border: 2px solid var(--border);
      border-radius: 8px;
      overflow: hidden;
      max-width: 320px;
      margin: 0 auto 24px;
    }

    .donate-custom span {
      padding: 0 14px;
      font-weight: 700;
      color: var(--mid);
      background: var(--forest-lt);
      height: 48px;
      display: flex;
      align-items: center;
    }

    .donate-custom input {
      flex: 1;
      height: 48px;
      border: none;
      outline: none;
      padding: 0 14px;
      font-family: var(--body);
      font-size: 1rem;
      color: var(--ink);
    }

    /* ===== ऊपर जाएँ बटन ===== */
    .to-top-btn {
      position: fixed;
      bottom: 100px;
      right: 28px;
      z-index: 199;
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: #fff;
      color: var(--forest);
      border: 1px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 16px rgba(0,0,0,.14);
      cursor: pointer;
      opacity: 0;
      pointer-events: none;
      transform: translateY(8px);
      transition: opacity .25s, transform .25s, background .2s;
    }
    .to-top-btn.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
    .to-top-btn:hover { background: var(--forest-lt); }
    .to-top-btn svg { width: 20px; height: 20px; }

    @media (max-width: 768px) {
      .to-top-btn { bottom: 96px; right: 20px; width: 40px; height: 40px; }
    }

    /* ===== व्हाट्सएप फ्लोट ===== */
    .wa-float {
      position: fixed;
      bottom: 28px;
      right: 28px;
      z-index: 200;
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .wa-label {
      background: #fff;
      color: var(--ink);
      padding: 8px 14px;
      border-radius: 8px;
      font-size: .85rem;
      font-weight: 600;
      box-shadow: 0 4px 16px rgba(0,0,0,.14);
      white-space: nowrap;
    }

    .wa-btn {
      width: 58px;
      height: 58px;
      background: var(--wa-green);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 6px 20px rgba(37,211,102,.45);
      transition: transform .2s, box-shadow .2s;
    }

    .wa-btn:hover {
      transform: scale(1.1);
      box-shadow: 0 8px 28px rgba(37,211,102,.55);
    }

    .wa-btn svg { width: 30px; height: 30px; fill: #fff; }

    @media (max-width: 768px) {
      .wa-float { bottom: 20px; right: 16px; gap: 8px; }
      .wa-label { display: none; }
      .wa-btn { width: 52px; height: 52px; }
      .wa-btn svg { width: 26px; height: 26px; }
    }

    @media (max-width: 420px) {
      .wa-float { right: 12px; }
      .wa-btn { width: 48px; height: 48px; }
    }

    /* ===== प्रशंसापत्र ===== */
    .testimonials { background: var(--forest); color: #fff; }

    .testimonials .section-title { color: #fff; }
    .testimonials .section-tag { color: var(--saffron); }

    .test-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
      gap: 24px;
      margin-top: 44px;
    }

    .test-card {
      background: rgba(255,255,255,.07);
      border: 1px solid rgba(255,255,255,.12);
      border-radius: 14px;
      padding: 28px 26px;
    }

    .test-quote {
      font-size: 1rem;
      line-height: 1.7;
      color: rgba(255,255,255,.85);
      margin-bottom: 20px;
    }

    .test-author {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .test-avatar {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      background: var(--saffron);
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: var(--display);
      font-size: 1.1rem;
      color: #fff;
      font-weight: 700;
      flex-shrink: 0;
    }

    .test-name { font-weight: 600; font-size: .9rem; }
    .test-loc  { font-size: .78rem; color: rgba(255,255,255,.5); }

    /* ===== संपर्क ===== */
    .contact { background: #fff; }

    .contact-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 48px;
      margin-top: 44px;
    }

    .contact-info p { color: var(--mid); margin-bottom: 24px; }

    .contact-detail {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      margin-bottom: 16px;
      font-size: .95rem;
    }

    .contact-detail-icon {
      width: 36px;
      height: 36px;
      background: var(--forest-lt);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1rem;
      flex-shrink: 0;
    }

    .wa-link {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--wa-green);
      color: #fff;
      padding: 11px 20px;
      border-radius: 8px;
      font-weight: 600;
      font-size: .9rem;
      margin-top: 8px;
      transition: background .2s;
    }

    .wa-link:hover { background: #1da851; }

    .contact-form { display: flex; flex-direction: column; gap: 14px; }

    .contact-form input,
    .contact-form textarea {
      width: 100%;
      padding: 12px 16px;
      border: 2px solid var(--border);
      border-radius: 8px;
      font-family: var(--body);
      font-size: .95rem;
      color: var(--ink);
      outline: none;
      transition: border-color .2s;
      background: var(--cream);
    }

    .contact-form input:focus,
    .contact-form textarea:focus { border-color: var(--forest); }

    .contact-form textarea { resize: vertical; min-height: 120px; }

    /* ===== फ़ुटर ===== */
    footer {
      background: #111;
      color: rgba(255,255,255,.6);
      padding: 40px 24px;
      text-align: center;
      font-size: .85rem;
    }

    footer a { color: var(--saffron); }
    footer p + p { margin-top: 6px; }

    /* ===== हैमबर्गर बटन ===== */
    .nav-hamburger {
      display: none;
      flex-direction: column;
      justify-content: center;
      gap: 5px;
      width: 40px;
      height: 40px;
      background: none;
      border: none;
      cursor: pointer;
      padding: 6px;
      border-radius: 6px;
      transition: background .2s;
      z-index: 110;
    }

    .nav-hamburger:hover { background: rgba(255,255,255,.12); }

    .nav-hamburger span {
      display: block;
      width: 22px;
      height: 2px;
      background: #fff;
      border-radius: 2px;
      transition: transform .3s, opacity .3s;
    }

    /* Animated X when open */
    .nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-hamburger.open span:nth-child(2) { opacity: 0; }
    .nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* ===== रिस्पॉन्सिव ===== */
    @media (max-width: 768px) {
      .nav-hamburger { display: flex; }

      .nav-links {
        display: none;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--forest);
        flex-direction: column;
        gap: 0;
        padding: 12px 0 20px;
        box-shadow: 0 8px 24px rgba(0,0,0,.28);
        z-index: 99;
        border-top: 1px solid rgba(255,255,255,.1);
      }

      .nav-links.open { display: flex; }

      .nav-links li { width: 100%; }

      .nav-links a {
        display: block;
        padding: 14px 24px;
        font-size: 1rem;
        border-bottom: 1px solid rgba(255,255,255,.07);
      }

      .nav-links a:last-child { border-bottom: none; }

      .nav-donate {
        margin: 10px 20px 0;
        padding: 12px 20px !important;
        border-radius: 8px !important;
        text-align: center;
      }

      .contact-grid { grid-template-columns: 1fr; gap: 32px; }
      .donate-box { padding: 28px 16px; }
      .wa-label { display: none; }

      .hero { padding: 60px 16px 52px; }
      .hero h1 { font-size: clamp(1.65rem, 7vw, 2.4rem); }
      .hero p { font-size: .97rem; }

      section { padding: 52px 16px; }

      .causes-grid { grid-template-columns: 1fr; }
      .how-steps { grid-template-columns: 1fr 1fr; gap: 24px; }
      .test-grid { grid-template-columns: 1fr; }

      .stats-inner { grid-template-columns: repeat(2, 1fr); }
    }

    @media (max-width: 480px) {
      nav { padding: 0 16px; }
      .nav-logo { font-size: 1.35rem; }
      .how-steps { grid-template-columns: 1fr; }
      .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 16px; }
      .hero-cta { flex-direction: column; align-items: center; }
      .btn { width: 100%; max-width: 280px; justify-content: center; }
      .donate-amounts { gap: 8px; }
      .donate-amt { padding: 9px 14px; font-size: .88rem; }
      section { padding: 40px 14px; }
    }

    @media (min-width: 769px) {
      .nav-links { display: flex !important; }
    }

    @media (prefers-reduced-motion: reduce) {
      * { transition: none !important; animation: none !important; }
    }

    /* ===== सत्यापित दस्तावेज़ ===== */
    .verified-docs { background: var(--forest-lt); }

    .docs-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 24px;
      margin-top: 44px;
    }

    .doc-card {
      background: #fff;
      border-radius: 14px;
      overflow: hidden;
      border: 1px solid var(--border);
      box-shadow: 0 2px 12px rgba(26,77,46,.08);
      transition: box-shadow .25s, transform .25s;
      display: flex;
      flex-direction: column;
    }

    .doc-card:hover {
      box-shadow: 0 8px 32px rgba(26,77,46,.18);
      transform: translateY(-4px);
    }

    .doc-img-wrap {
      position: relative;
      aspect-ratio: 3/4;
      overflow: hidden;
      background: var(--cream);
    }

    .doc-img-wrap img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: top center;
      display: block;
      transition: transform .3s;
    }

    .doc-card:hover .doc-img-wrap img { transform: scale(1.04); }

    .doc-overlay {
      position: absolute;
      top: 10px;
      right: 10px;
    }

    .doc-verified-badge {
      background: var(--forest);
      color: #fff;
      font-size: .7rem;
      font-weight: 700;
      letter-spacing: .06em;
      padding: 4px 10px;
      border-radius: 20px;
      display: inline-block;
    }

    .doc-label {
      padding: 14px 16px;
      font-size: .88rem;
      font-weight: 600;
      color: var(--forest);
      text-align: center;
      border-top: 1px solid var(--border);
      font-family: var(--body);
    }

    @media (max-width: 700px) {
      .docs-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    }
    @media (max-width: 420px) {
      .docs-grid { grid-template-columns: 1fr 1fr; }
    }


    /* ===== लाइटबॉक्स ===== */
    .doc-view-btn {
      display: block;
      width: 100%;
      padding: 10px 0;
      background: var(--forest);
      color: #fff;
      font-family: var(--body);
      font-size: .85rem;
      font-weight: 600;
      text-align: center;
      border: none;
      cursor: pointer;
      letter-spacing: .04em;
      transition: background .2s;
    }
    .doc-view-btn:hover { background: var(--saffron); }

    /* Lightbox overlay */
    #doc-lightbox {
      display: none;
      position: fixed;
      inset: 0;
      z-index: 9999;
      background: rgba(0,0,0,.88);
      align-items: center;
      justify-content: center;
      padding: 20px;
    }
    #doc-lightbox.open { display: flex; }

    .lb-inner {
      position: relative;
      max-width: 860px;
      width: 100%;
      max-height: 90vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 14px;
    }

    .lb-inner img {
      max-width: 100%;
      max-height: 80vh;
      object-fit: contain;
      border-radius: 10px;
      box-shadow: 0 16px 60px rgba(0,0,0,.6);
    }

    .lb-title {
      color: #fff;
      font-family: var(--body);
      font-size: 1rem;
      font-weight: 600;
      text-align: center;
    }

    .lb-close {
      position: absolute;
      top: -14px;
      right: -14px;
      width: 38px;
      height: 38px;
      border-radius: 50%;
      background: var(--saffron);
      color: #fff;
      border: none;
      font-size: 1.3rem;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      line-height: 1;
      box-shadow: 0 4px 14px rgba(0,0,0,.4);
      transition: background .2s, transform .2s;
    }
    .lb-close:hover { background: #c9560a; transform: scale(1.1); }

    .lb-nav {
      display: flex;
      gap: 14px;
      margin-top: 4px;
    }
    .lb-nav button {
      background: rgba(255,255,255,.15);
      border: 1px solid rgba(255,255,255,.3);
      color: #fff;
      padding: 7px 20px;
      border-radius: 6px;
      font-family: var(--body);
      font-size: .85rem;
      cursor: pointer;
      transition: background .2s;
    }
    .lb-nav button:hover { background: rgba(255,255,255,.28); }
    .lb-nav button:disabled { opacity: .35; cursor: default; }

    /* ===== संचालक संदेश वीडियो सेक्शन ===== */
    .sandalak-section {
      background: var(--forest);
      padding: 56px 24px;
      text-align: center;
    }

    .sandalak-section .section-tag {
      color: var(--saffron);
      margin-bottom: 8px;
    }

    .sandalak-section .section-title {
      color: #fff;
      margin-bottom: 10px;
    }

    .sandalak-section .section-sub {
      color: rgba(255,255,255,.7);
      margin: 0 auto 40px;
    }

    .video-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 28px;
      max-width: var(--max);
      margin: 0 auto;
    }

    .video-card {
      background: rgba(255,255,255,.07);
      border: 1px solid rgba(255,255,255,.13);
      border-radius: 16px;
      overflow: hidden;
      transition: transform .25s, box-shadow .25s;
    }

    .video-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 36px rgba(0,0,0,.4);
    }

    .video-card video {
      width: 100%;
      display: block;
      aspect-ratio: 9/16;
      object-fit: cover;
      background: #000;
    }

    .video-card-label {
      padding: 14px 16px;
      color: rgba(255,255,255,.85);
      font-size: .88rem;
      font-weight: 600;
      font-family: var(--body);
      border-top: 1px solid rgba(255,255,255,.1);
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .video-card-label::before {
      content: '🎥';
      font-size: 1rem;
    }

    @media (max-width: 600px) {
      .video-grid {
        grid-template-columns: 1fr;
        max-width: 380px;
      }
      .sandalak-section { padding: 44px 16px; }
    }
