/* =====================================================================
   NSS Thank You page — new design
   Everything is scoped under .nss-ty so theme styles (h1, .btn, …)
   are not affected and the theme cannot easily break this page.
   ===================================================================== */

/* ---- self-hosted fonts (no Google Fonts request) ---- */
@font-face{font-family:'NTY Kaushan';src:url(fonts/kaushan-script-400.woff2) format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:'NTY Pacifico';src:url(fonts/pacifico-400.woff2) format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:'NTY Inter';src:url(fonts/inter-100-900.woff2) format('woff2');font-weight:100 900;font-display:swap;
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'NTY Kalam';src:url(fonts/kalam-700.woff2) format('woff2');font-weight:700;font-display:swap;
  unicode-range:U+0900-097F,U+1CD0-1CF9,U+200C-200D,U+20A8,U+20B9,U+20F0,U+25CC,U+A830-A839,U+A8E0-A8FF,U+11B00-11B09}
@font-face{font-family:'NTY Devanagari';src:url(fonts/noto-sans-devanagari-100-599.woff2) format('woff2');font-weight:100 599;font-display:swap;
  unicode-range:U+0900-097F,U+1CD0-1CF9,U+200C-200D,U+20A8,U+20B9,U+20F0,U+25CC,U+A830-A839,U+A8E0-A8FF,U+11B00-11B09}
@font-face{font-family:'NTY Devanagari';src:url(fonts/noto-sans-devanagari-600-900.woff2) format('woff2');font-weight:600 900;font-display:swap;
  unicode-range:U+0900-097F,U+1CD0-1CF9,U+200C-200D,U+20A8,U+20B9,U+20F0,U+25CC,U+A830-A839,U+A8E0-A8FF,U+11B00-11B09}

.nss-ty{
  --navy:#14226f; --maroon:#a10c2e; --green:#2fa62f; --teal:#0b7f62; --note:#dfebfd;
  font-family:'NTY Inter','NTY Devanagari',system-ui,sans-serif;color:var(--navy);
  position:relative;min-height:1000px;overflow:hidden;isolation:isolate;text-align:center;
  background:
    radial-gradient(ellipse 34% 40% at 3% 4%, rgba(255,246,190,.95), transparent 70%),
    radial-gradient(ellipse 32% 55% at 6% 52%, rgba(212,224,90,.38), transparent 72%),
    radial-gradient(ellipse 26% 42% at 30% 8%, rgba(205,226,150,.40), transparent 72%),
    radial-gradient(ellipse 40% 34% at 100% 0%, rgba(190,222,252,.95), transparent 72%),
    radial-gradient(ellipse 34% 30% at 66% 6%, rgba(244,246,250,.9), transparent 70%),
    radial-gradient(ellipse 36% 36% at 72% 62%, rgba(228,240,254,.85), transparent 72%),
    radial-gradient(ellipse 24% 30% at 100% 66%, rgba(255,243,214,.75), transparent 72%),
    #fbfdff}
.nss-ty *,.nss-ty *::before,.nss-ty *::after{box-sizing:border-box}
.nss-ty h1,.nss-ty h2,.nss-ty p,.nss-ty ul{margin:0;padding:0}
.nss-ty img{max-width:100%}
.nss-ty a{color:inherit;text-decoration:none}
.nss-ty [hidden]{display:none !important}
.nss-ty :focus-visible{outline:3px solid #1a73e8;outline-offset:3px;border-radius:6px}

/* ---- left photo ---- */
.nty-photo{position:absolute;left:0;top:clamp(6px,.8vw,14px);width:min(45vw,720px);z-index:1;pointer-events:none;
  -webkit-mask-image:linear-gradient(to right,#000 0%,#000 86%,transparent 100%),linear-gradient(to bottom,transparent 0%,#000 3%,#000 76%,transparent 98%);
  -webkit-mask-composite:source-in;
  mask-image:linear-gradient(to right,#000 0%,#000 86%,transparent 100%),linear-gradient(to bottom,transparent 0%,#000 3%,#000 76%,transparent 98%);
  mask-composite:intersect}
.nty-photo img{display:block;width:100%;height:auto}

/* ---- right column ---- */
.nty-content{position:relative;z-index:3;margin-left:45.5%;width:52.5%;padding:22px 0 calc(clamp(36px,3.6vw,56px) + clamp(110px,9.6vw,150px) + 30px)}
.nty-tick{margin:0 auto;width:clamp(100px,9.6vw,148px);aspect-ratio:1;color:var(--green)}
.nty-tick svg{width:100%;height:100%;overflow:visible;display:block}

.nss-ty .nty-h1{font-family:'NTY Kaushan','Brush Script MT','Segoe Script',cursive;font-weight:400;font-size:clamp(66px,8.4vw,130px);line-height:1.05;color:var(--navy);margin-top:-6px;letter-spacing:-.5px;overflow-wrap:anywhere;paint-order:stroke fill;text-transform:none}
.nss-ty .nty-h1.is-long{font-size:clamp(46px,5.6vw,86px)}
.nss-ty[lang="hi"] .nty-h1,.nss-ty[lang="hi"] .nty-tagline{font-family:'NTY Kalam','NTY Kaushan',cursive;font-weight:700}
.nss-ty[lang="hi"] .nty-tagline{font-size:clamp(26px,2.9vw,46px)}
.nty-swoosh{display:block;width:min(94%,700px);height:auto;margin:-10px auto 0;color:var(--maroon)}

.nty-sub{font-size:clamp(19px,1.95vw,30px);font-weight:600;margin:14px auto 0;max-width:640px;line-height:1.35}
.nty-amount{display:inline-block;margin-top:14px;background:var(--maroon);color:#fff;font-weight:700;font-size:clamp(26px,2.6vw,40px);line-height:1.2;padding:8px clamp(30px,3.4vw,52px);border-radius:12px;letter-spacing:.2px}
.nss-ty .nty-receipt{font-size:clamp(17px,1.65vw,25px);font-weight:500;margin:16px auto 0;max-width:660px;line-height:1.4}
.nss-ty .nty-meta{font-size:14px;margin-top:8px;opacity:.8;word-break:break-all}
.nss-ty .nty-help{font-size:15px;margin:8px auto 0;max-width:620px;line-height:1.5}
.nss-ty .nty-help a{font-weight:600;text-decoration:underline}
.nty-btn{display:inline-flex;align-items:center;gap:12px;font-weight:700;font-size:clamp(16px,1.3vw,20px);padding:12px 40px;border-radius:40px;border:2px solid var(--maroon);cursor:pointer;font-family:inherit;line-height:1.3}
.nty-btn svg{width:20px;height:16px;fill:currentColor;flex-shrink:0}
.nss-ty .nty-btn-outline{background:rgba(255,255,255,.9);color:var(--maroon)}
.nss-ty[lang="hi"] .nty-btn{line-height:1.5}

.nty-note{margin:26px 0 0 -1%;width:102%;display:flex;align-items:center;text-align:left;border-radius:24px;background:var(--note);padding:18px 28px 18px 0;min-height:100px}
.nty-note .nty-ic{width:clamp(110px,10.5vw,166px);flex-shrink:0;display:grid;place-items:center;position:relative;align-self:stretch}
.nty-note .nty-ic::after{content:"";position:absolute;right:0;top:4px;bottom:4px;width:1.5px;background:var(--navy)}
.nty-note .nty-ic img{width:clamp(64px,5.9vw,90px);height:auto;display:block}
.nss-ty .nty-note h2{font-size:clamp(17px,1.6vw,24px);font-weight:700;padding-left:clamp(18px,2vw,34px);line-height:1.3;letter-spacing:-.1px;color:var(--navy)}
.nss-ty .nty-note p,.nss-ty .nty-note .nty-note-body{font-size:clamp(14px,1.2vw,18px);padding-left:clamp(18px,2vw,34px);margin-top:4px;line-height:1.4}

.nty-share{margin-top:34px}
.nss-ty .nty-share h2{font-size:clamp(24px,2.3vw,35px);font-weight:700;line-height:1.25;color:var(--navy)}
.nss-ty .nty-share p{font-size:clamp(16px,1.5vw,23px);margin-top:2px}
.nty-icons{display:flex;gap:clamp(12px,1.5vw,24px);justify-content:center;flex-wrap:wrap;margin-top:18px;list-style:none}
.nty-icons a,.nty-icons button{width:clamp(46px,3.7vw,57px);aspect-ratio:1;border-radius:50%;display:grid;place-items:center;border:0;padding:0;cursor:pointer;box-shadow:0 3px 8px rgba(20,34,111,.18)}
.nty-icons svg{width:46%;height:46%;fill:#fff}
.nty-s-wa{background:#00a957}.nty-s-fb{background:#1b4a9b}.nty-s-x{background:#111}.nty-s-li{background:#0a76b4}.nty-s-cp{background:var(--navy)}
.nty-copied{min-height:20px;font-size:14px;color:var(--teal);font-weight:600;margin-top:6px}
.nty-back{margin-top:12px}

/* ---- bottom: tagline, waves, mosque ---- */
.nty-tagline-block{position:absolute;left:0;bottom:clamp(36px,3.6vw,56px);z-index:4;width:min(60vw,900px);height:clamp(110px,9.6vw,150px);text-align:left}
.nty-heart-line{position:absolute;left:0;bottom:6px;width:clamp(150px,14.6vw,228px);height:auto;color:var(--maroon)}
.nty-tagline{position:absolute;left:clamp(150px,15vw,232px);top:0;font-family:'NTY Pacifico','NTY Kaushan',cursive;font-size:clamp(26px,2.9vw,46px);line-height:1.1;white-space:nowrap}
.nty-tagline-sub{position:absolute;left:clamp(180px,18.8vw,288px);top:clamp(52px,5vw,78px);font-size:clamp(13px,1.2vw,18.5px);white-space:nowrap}
.nty-mosque{position:absolute;right:0;bottom:clamp(14px,1.8vw,30px);width:clamp(200px,21vw,330px);height:auto;z-index:2;pointer-events:none}
.nty-waves{position:absolute;left:0;right:0;bottom:0;width:100%;height:clamp(56px,6.4vw,98px);z-index:3;display:block}

/* ---- animations (off for prefers-reduced-motion) ---- */
@keyframes ntyFadeUp{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
@keyframes ntyPhotoIn{from{opacity:0;transform:translateX(-24px) scale(1.03)}to{opacity:1;transform:none}}
@keyframes ntyPopIn{0%{opacity:0;transform:scale(.4)}60%{opacity:1;transform:scale(1.12)}100%{transform:scale(1)}}
@keyframes ntyDraw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes ntyBurst{0%{opacity:0;transform:scale(.6)}100%{opacity:1;transform:none}}
@keyframes ntyBeat{0%,100%{transform:scale(1)}50%{transform:scale(1.14)}}
@keyframes ntyDrift{0%,100%{transform:translateX(0)}50%{transform:translateX(-22px)}}
@media (prefers-reduced-motion:no-preference){
  .nty-photo{animation:ntyPhotoIn .9s cubic-bezier(.2,.7,.2,1) both}
  .nty-tick{animation:ntyPopIn .7s cubic-bezier(.2,.8,.3,1) .15s both;transform-origin:50% 50%}
  .nty-a-ring,.nty-a-check,.nty-swoosh path,.nty-heart-line path{stroke-dasharray:1;stroke-dashoffset:1}
  .nty-a-ring{animation:ntyDraw .8s ease-out .2s forwards}
  .nty-a-check{animation:ntyDraw .5s ease-out .75s forwards}
  .nty-a-burst{animation:ntyBurst .5s ease-out 1.1s both;transform-origin:74px 74px}
  .nss-ty .nty-h1{animation:ntyFadeUp .7s ease-out .5s both}
  .nty-swoosh path:nth-child(1){animation:ntyDraw .7s ease-out 1.0s forwards}
  .nty-swoosh path:nth-child(2){animation:ntyDraw .7s ease-out 1.25s forwards}
  .nty-swoosh path:nth-child(3){transform-box:fill-box;transform-origin:center;animation:ntyDraw .5s ease-out 1.7s forwards,ntyBeat 1.6s ease-in-out 2.4s 2}
  .nty-sub{animation:ntyFadeUp .6s ease-out .9s both}
  .nty-amount{animation:ntyPopIn .6s cubic-bezier(.2,.8,.3,1) 1.1s both}
  .nty-receipt{animation:ntyFadeUp .6s ease-out 1.25s both}
  .nty-meta{animation:ntyFadeUp .6s ease-out 1.35s both}
  .nty-help{animation:ntyFadeUp .6s ease-out 1.45s both}
  .nty-note{animation:ntyFadeUp .7s ease-out 1.6s both}
  .nty-share{animation:ntyFadeUp .7s ease-out 1.8s both}
  .nty-icons>li{animation:ntyPopIn .5s cubic-bezier(.2,.8,.3,1) both}
  .nty-icons>li:nth-child(1){animation-delay:2.0s}.nty-icons>li:nth-child(2){animation-delay:2.08s}.nty-icons>li:nth-child(3){animation-delay:2.16s}.nty-icons>li:nth-child(4){animation-delay:2.24s}.nty-icons>li:nth-child(5){animation-delay:2.32s}
  .nty-back{animation:ntyFadeUp .6s ease-out 2.1s both}
  .nty-tagline-block{animation:ntyFadeUp .8s ease-out 2.2s both}
  .nty-heart-line path:nth-child(1){animation:ntyDraw 1s ease-out 2.3s forwards}
  .nty-heart-line path:nth-child(2){animation:ntyDraw 1.2s ease-out 2.6s forwards}
  .nty-mosque{animation:ntyFadeUp 1s ease-out 2.3s both}
  .nty-waves path:nth-child(1){animation:ntyDrift 9s ease-in-out infinite}
  .nty-waves path:nth-child(2){animation:ntyDrift 12s ease-in-out infinite reverse}
}

/* ---- tablet / mobile ---- */
@media (max-width:1100px){
  .nss-ty{min-height:0}
  .nty-photo{position:relative;top:auto;width:min(100%,560px);height:min(80vw,440px);overflow:hidden;margin:6px auto 0;
    -webkit-mask-image:linear-gradient(to right,transparent 0%,#000 8%,#000 92%,transparent 100%),linear-gradient(to bottom,transparent 0%,#000 4%,#000 70%,transparent 100%);
    mask-image:linear-gradient(to right,transparent 0%,#000 8%,#000 92%,transparent 100%),linear-gradient(to bottom,transparent 0%,#000 4%,#000 70%,transparent 100%)}
  .nty-photo img{height:100%;object-fit:cover;object-position:58% 14%}
  .nty-content{margin:-70px auto 0;width:100%;padding:0 20px 24px}
  .nty-note{margin:24px 0 0;width:100%}
  .nty-tagline-block{position:relative;left:auto;bottom:auto;width:100%;height:auto;text-align:center;padding:10px 16px 120px;margin-top:6px}
  .nty-heart-line{position:relative;left:auto;bottom:auto;display:block;margin:0 auto 6px;width:150px}
  .nty-tagline,.nty-tagline-sub{position:static;white-space:normal;display:block}
  .nty-tagline{font-size:clamp(24px,5.6vw,38px);line-height:1.3}
  .nss-ty[lang="hi"] .nty-tagline{font-size:clamp(24px,5.6vw,38px)}
  .nty-tagline-sub{margin-top:6px;font-size:15px}
  .nty-mosque{width:clamp(150px,34vw,260px);bottom:30px}
  .nty-waves{height:56px}
}
@media (max-width:560px){
  .nss-ty .nty-h1{font-size:clamp(54px,17vw,72px)} .nss-ty .nty-h1.is-long{font-size:clamp(38px,11.5vw,52px)}
  .nty-note{flex-direction:column;text-align:center;padding:16px;border-radius:20px}
  .nty-note .nty-ic{width:auto;height:auto}.nty-note .nty-ic::after{display:none}.nty-note .nty-ic img{width:72px}
  .nss-ty .nty-note h2,.nss-ty .nty-note p,.nss-ty .nty-note .nty-note-body{padding-left:0;text-align:center;margin-top:8px}
  .nty-tagline-block{padding-bottom:100px}
}
    .nss-footer
    {
        margin-top: 0 !important;
    }
    .nss-ty[lang="hi"] .nty-h1 {
line-height: 1.5;
}
.nty-tick {
    margin-bottom: 40px;
}
@media (max-width: 1100px) {
    .nty-photo img {
        object-position: 58% 0%;
    }
}