/* TrackCourier V16: 100-courier directory, hero parcel animation, extra tool styles. */
:root{--tc-navy:#120f3a;--tc-navy-2:#1d1856;--tc-orange:#ff7a2f;--tc-gold:#f5a524;--tc-purple:#5142b8;--tc-line:#e7e9f1;--tc-mist:#f6f7fb;--tc-ink:#18213c;--tc-muted:#5d6680}

/* ---------- Courier directory ---------- */
.tcd-section{padding:4rem 0}
.tcd-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:1rem;margin-bottom:1.5rem}
.tcd-head .tcd-lead{max-width:44rem;margin-top:.6rem;color:var(--tc-muted);font-size:1.05rem;line-height:1.65}
.tcd-count{display:inline-flex;align-items:center;gap:.4rem;border-radius:999px;background:#fff3ea;color:#a4460f;font-weight:800;font-size:.8rem;padding:.45rem .9rem;border:1px solid #ffd9bf}
.tcd-filter{display:flex;flex-wrap:wrap;gap:.5rem;margin:0 0 1.25rem}
.tcd-filter input{flex:1 1 260px;min-height:48px;border:1px solid #cfd3e3;border-radius:12px;padding:0 1rem;font-size:1rem;background:#fff;color:var(--tc-ink)}
.tcd-filter input:focus{outline:2px solid var(--tc-orange);outline-offset:1px;border-color:transparent}
.tcd-grid{display:grid;grid-template-columns:repeat(1,minmax(0,1fr));gap:1rem}
@media(min-width:560px){.tcd-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:900px){.tcd-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:1200px){.tcd-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
.tcd-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--tc-line);border-radius:18px;padding:1.15rem;box-shadow:0 6px 22px rgba(18,15,58,.05);transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;min-width:0}
.tcd-card:hover{transform:translateY(-3px);box-shadow:0 16px 36px -14px rgba(18,15,58,.28);border-color:#ffd2b3}
.tcd-card[hidden]{display:none}
.tcd-top{display:flex;align-items:center;gap:.75rem;min-width:0}
.tcd-mono{flex:0 0 48px;width:48px;height:48px;border-radius:14px;display:grid;place-items:center;font-weight:900;font-size:.82rem;letter-spacing:-.01em;background:linear-gradient(145deg,var(--tc-navy),var(--tc-navy-2));color:#ffd8b8;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
.tcd-card:nth-child(3n+2) .tcd-mono{color:#ffe4a3}
.tcd-card:nth-child(3n) .tcd-mono{color:#cfc8ff}
.tcd-name{font-size:1.02rem;font-weight:800;color:var(--tc-ink);line-height:1.25;margin:0;overflow-wrap:anywhere}
.tcd-meta{font-size:.8rem;color:var(--tc-muted);margin:.15rem 0 0;font-weight:600}
.tcd-type{margin-top:.85rem;width:fit-content;border-radius:999px;background:var(--tc-mist);color:var(--tc-purple);font-size:.68rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;padding:.3rem .65rem}
.tcd-actions{margin-top:1rem;display:flex;flex-direction:column;gap:.35rem;flex:1;justify-content:flex-end}
.tcd-track{display:flex;align-items:center;justify-content:center;gap:.4rem;min-height:46px;border-radius:999px;background:var(--tc-orange);color:#fff!important;font-weight:800;font-size:.92rem;text-decoration:none;box-shadow:0 10px 22px -10px rgba(255,122,47,.75);transition:background-color .2s ease,transform .2s ease}
.tcd-track:hover{background:#ec6418;transform:translateY(-1px)}
.tcd-track svg{width:16px;height:16px}
.tcd-guide{display:flex;align-items:center;justify-content:center;min-height:40px;color:#6b3fd1!important;font-weight:800;font-size:.88rem;text-decoration:none;transition:color .2s ease}
.tcd-guide:hover{color:#4b23a8!important;text-decoration:underline}
.tcd-more-wrap{display:flex;justify-content:center;gap:.75rem;margin-top:1.75rem}
.tcd-more{min-height:50px;padding:0 1.6rem;border-radius:999px;border:2px solid var(--tc-navy);background:#fff;color:var(--tc-navy);font-weight:800;font-size:1rem;cursor:pointer;transition:background-color .2s ease,color .2s ease}
.tcd-more:hover{background:var(--tc-navy);color:#fff}
.tcd-more[hidden]{display:none}
.tcd-empty{padding:1.25rem;border:1px dashed #cfd3e3;border-radius:14px;color:var(--tc-muted);text-align:center}
.tcd-note{margin-top:1rem;font-size:.85rem;color:var(--tc-muted)}

/* ---------- Hero parcel animation (light, CSS only) ---------- */
.tc-parcel-lane{position:absolute;left:0;right:0;bottom:18px;height:64px;pointer-events:none;overflow:hidden;z-index:0}
.tc-parcel-lane::before{content:"";position:absolute;left:0;right:0;bottom:14px;height:2px;background:repeating-linear-gradient(90deg,rgba(255,255,255,.22) 0 14px,transparent 14px 28px)}
.tc-parcel{position:absolute;bottom:18px;left:-80px;width:56px;height:44px;animation:tc-parcel-move 16s linear infinite}
.tc-parcel svg{width:100%;height:100%;display:block;animation:tc-parcel-bob .9s ease-in-out infinite alternate}
.tc-parcel.p2{animation-delay:-6s;width:42px;height:34px;opacity:.75}
.tc-parcel.p3{animation-delay:-11s;width:34px;height:28px;opacity:.55}
.tc-pin{position:absolute;bottom:22px;width:12px;height:12px;border-radius:50%;background:var(--tc-orange);box-shadow:0 0 0 0 rgba(255,122,47,.6);animation:tc-pin-pulse 2.4s ease-out infinite}
.tc-pin.a{left:12%}.tc-pin.b{left:52%;animation-delay:.8s;background:var(--tc-gold)}.tc-pin.c{left:88%;animation-delay:1.6s}
@keyframes tc-parcel-move{from{transform:translateX(0)}to{transform:translateX(calc(100vw + 160px))}}
@keyframes tc-parcel-bob{from{transform:translateY(0) rotate(-1deg)}to{transform:translateY(-4px) rotate(1deg)}}
@keyframes tc-pin-pulse{0%{box-shadow:0 0 0 0 rgba(255,122,47,.55)}80%,100%{box-shadow:0 0 0 14px rgba(255,122,47,0)}}
[data-testid="home-hero"]>.container-x{position:relative;z-index:1}
@media (prefers-reduced-motion:reduce){.tc-parcel,.tc-parcel svg,.tc-pin{animation:none}.tc-parcel{left:8%}.tc-parcel.p2{left:46%}.tc-parcel.p3{left:80%}}

/* ---------- Tools V16 ---------- */
.tc2-out{margin-top:1rem;padding:1rem 1.1rem;border-radius:14px;background:#f4f2ff;border-left:4px solid var(--tc-purple);overflow-wrap:anywhere}
.tc2-out[hidden]{display:none}
.tc2-out h3{margin:.1rem 0 .5rem;font-size:1.1rem;color:var(--tc-navy)}
.tc2-out .big{font-size:1.6rem;font-weight:900;color:var(--tc-navy)}
.tc2-warn{background:#fff7ec;border-left-color:var(--tc-gold)}
.tc2-bad{background:#fff0f0;border-left-color:#d93636}
.tc2-good{background:#ecfbf3;border-left-color:#14a05a}
.tc2-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:.75rem}
.tc2-table{width:100%;border-collapse:collapse;font-size:.92rem;margin-top:.5rem}
.tc2-table th,.tc2-table td{border-bottom:1px solid var(--tc-line);padding:.5rem .4rem;text-align:left;vertical-align:top}
.tc2-table th{color:var(--tc-navy);font-weight:800;background:#fafbff}
.tc2-scroll{overflow-x:auto}
.tc2-items .tc2-item{display:grid;grid-template-columns:2fr 1fr .8fr 1fr 1fr auto;gap:.5rem;margin-bottom:.5rem;align-items:end}
.tc2-items.pl .tc2-item{grid-template-columns:2fr .8fr 1fr 1fr 1.4fr auto}
@media(max-width:720px){.tc2-items .tc2-item,.tc2-items.pl .tc2-item{grid-template-columns:1fr 1fr}}
.tc2-btn2{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 1rem;border-radius:10px;border:1px solid #d7d2f5;background:#fff;color:var(--tc-navy);font-weight:800;cursor:pointer;transition:background-color .2s ease}
.tc2-btn2:hover{background:#f4f2ff}
.tc2-del{min-height:44px;width:44px;border-radius:10px;border:1px solid #f1c7c7;background:#fff;color:#b42318;font-weight:900;cursor:pointer}
.tc2-chip{display:inline-block;margin:.15rem .25rem .15rem 0;padding:.2rem .6rem;border-radius:999px;background:#fff;border:1px solid var(--tc-line);font-size:.8rem;font-weight:700}
.tc2-src{font-size:.82rem;color:var(--tc-muted);margin-top:.5rem}
.tc2-doc{background:#fff;border:1px solid var(--tc-line);border-radius:12px;padding:1.25rem;margin-top:1rem}
.tc2-doc h2{margin:0 0 .5rem}
.tc2-actions{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:.75rem}
.tc2-toolcards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1rem;margin-top:1rem}
.tc2-toolcards a{display:block;background:#fff;border:1px solid var(--tc-line);border-radius:14px;padding:1rem 1.1rem;text-decoration:none;color:var(--tc-ink);transition:border-color .2s ease,transform .2s ease}
.tc2-toolcards a:hover{border-color:var(--tc-orange);transform:translateY(-2px)}
.tc2-toolcards strong{display:block;color:var(--tc-navy);font-size:1rem}
.tc2-toolcards span{display:block;font-size:.85rem;color:var(--tc-muted);margin-top:.25rem}
@media print{body *{visibility:hidden}.tc2-doc,.tc2-doc *{visibility:visible}.tc2-doc{position:absolute;left:0;top:0;width:100%;border:0}.tc2-noprint{display:none!important}}
.tcx-layout>div>h2,.tcx-form>h2,.tcx-card>h2{font-size:clamp(1.35rem,2.4vw,1.7rem);font-weight:800;color:var(--tc-navy);letter-spacing:-.01em;margin:2.25rem 0 .9rem;line-height:1.25}
.tcx-form>h2:first-child,.tcx-card>h2:first-child{margin-top:0}
.tcx-form>h3{font-size:1.1rem;font-weight:800;color:var(--tc-navy);margin:1.25rem 0 .6rem}

/* V16: footer "All tools" block centred and tidy (homepage inline script output) */
footer .tc-all-tools-footer{max-width:1180px!important;margin:0 auto!important;padding:2.25rem 1.5rem 2.5rem!important;border-top:1px solid rgba(255,255,255,.1);text-align:center;box-sizing:border-box}
footer .tc-all-tools-footer h3{margin:0 0 1.1rem!important;font-size:.8rem!important;font-weight:800!important;letter-spacing:.18em;text-transform:uppercase;color:rgba(255,255,255,.55)!important;text-align:center}
footer .tc-all-tools-footer-grid{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;gap:.55rem!important;grid-template-columns:none!important;max-width:1080px;margin:0 auto}
footer .tc-all-tools-footer-grid a{display:inline-flex!important;align-items:center;min-height:36px;padding:0 .9rem!important;border-radius:999px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.04);color:rgba(255,255,255,.82)!important;font-size:.84rem!important;font-weight:600;text-decoration:none!important;white-space:nowrap;transition:background-color .2s ease,border-color .2s ease,color .2s ease}
footer .tc-all-tools-footer-grid a:hover{background:#ff7a2f;border-color:#ff7a2f;color:#fff!important}
@media(max-width:600px){footer .tc-all-tools-footer-grid a{white-space:normal;text-align:left}}
/* header "All tools" dropdown matches the other nav items */
header .tc-all-tools-menu>summary{font-size:.875rem!important;font-weight:700!important;color:#18213c;padding:.5rem .75rem;border-radius:999px;cursor:pointer;list-style:none}
header .tc-all-tools-menu>summary:hover{color:#5142b8}

/* ---------- Popular couriers strip (under hero) ---------- */
.tcp-strip{background:#fff;border-bottom:1px solid var(--tc-line);padding:1.6rem 0 1.4rem}
.tcp-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:.4rem 1rem;margin-bottom:.9rem}
.tcp-title{margin:0;font-size:1.2rem;font-weight:800;color:var(--tc-navy);letter-spacing:-.01em}
.tcp-sub{margin:0;font-size:.9rem;color:var(--tc-muted)}
.tcp-row{display:flex;flex-wrap:wrap;gap:.6rem}
.tcp-btn{display:inline-flex;align-items:center;gap:.5rem;min-height:46px;padding:0 1rem 0 .4rem;border-radius:999px;border:1.5px solid #ffd2b3;background:#fff8f3;color:var(--tc-navy)!important;font-weight:800;font-size:.95rem;text-decoration:none!important;transition:background-color .2s ease,border-color .2s ease,transform .2s ease}
.tcp-btn:hover{background:var(--tc-orange);border-color:var(--tc-orange);color:#fff!important;transform:translateY(-1px)}
.tcp-ini{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--tc-navy);color:#ffd8b8;font-size:.68rem;font-weight:900}
.tcp-hi{margin:.9rem 0 0;font-size:.92rem;color:var(--tc-muted);line-height:1.9}
.tcp-hi a{color:#6b3fd1;font-weight:700;text-decoration:none}.tcp-hi a:hover{text-decoration:underline}
@media(max-width:600px){.tcp-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.tcp-btn{font-size:.88rem;padding-right:.6rem;min-width:0}}

/* ---------- Read in Hindi link + blog related guides ---------- */
.tc-hi-link{margin:.75rem 0 0}
.tc-hi-link a{display:inline-flex;align-items:center;min-height:40px;padding:0 1rem;border-radius:999px;background:rgba(255,122,47,.14);border:1px solid rgba(255,122,47,.45);color:#ff9a5c!important;font-weight:800;text-decoration:none!important}
.tc-hi-link a:hover{background:#ff7a2f;color:#fff!important}
.tc-rel{margin:2.5rem auto 1rem;padding:1.4rem 1.5rem;border:1px solid var(--tc-line);border-radius:18px;background:#fff;max-width:1180px;box-sizing:border-box}
.tc-rel h2{margin:0 0 .9rem;font-size:1.3rem;font-weight:800;color:var(--tc-navy)}
.tc-rel-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:.5rem 1.2rem}
.tc-rel-list a{display:flex;align-items:center;min-height:44px;color:#5142b8;font-weight:700;text-decoration:none;border-bottom:1px dashed #e0dcf7;line-height:1.35}
.tc-rel-list a::before{content:"→";margin-right:.5rem;color:var(--tc-orange);font-weight:900}
.tc-rel-list a:hover{color:#ff7a2f}
/* strip inside the navy hero, directly under the search bar */
.tcp-strip.tcp-dark{background:transparent;border:0;padding:1.1rem 0 0;max-width:46rem}
.tcp-dark .tcp-head{margin-bottom:.6rem}
.tcp-dark .tcp-title{font-size:.78rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:rgba(255,255,255,.7)}
.tcp-dark .tcp-sub{font-size:.82rem;color:rgba(255,255,255,.55)}
.tcp-dark .tcp-row{gap:.5rem}
.tcp-dark .tcp-btn{min-height:42px;font-size:.88rem;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.18);color:#fff!important;padding:0 .85rem 0 .35rem}
.tcp-dark .tcp-btn:hover{background:#ff7a2f;border-color:#ff7a2f}
.tcp-dark .tcp-ini{width:30px;height:30px;background:#ff7a2f;color:#fff;font-size:.62rem}
.tcp-dark .tcp-hi{color:rgba(255,255,255,.6);font-size:.86rem;margin-top:.7rem}
.tcp-dark .tcp-hi a{color:#ffb98a}
