/* =========================================================
   HUNARR — shared stylesheet
   Used by every page. Edit colors/fonts here once.
   ========================================================= */
/* National default = India Tiranga (saffron / green / navy).
   Body background is always pure white; only elements carry colour. */
:root{
  --ink:#0e1b3d; --ink-soft:#4b5575; --accent:#e2730c; --accent-dk:#c25e08;
  --gold:#ffc233; --cream:#ffffff; --surface:#fff; --line:#ececec; --teal:#138808; --chakra:#1a3a8f;
  --radius:18px; --shadow-sm:0 4px 14px rgba(14,27,61,.06); --shadow-md:0 18px 40px rgba(14,27,61,.10);
}
/* Regional override — set by location. Add class="theme-bihar" on <body>.
   Only the accent family changes; the white body stays. */
body.theme-bihar{
  --ink:#15294a; --accent:#c0392b; --accent-dk:#9e2d22; --teal:#1e7b4f; --gold:#e8a317;
}
*{box-sizing:border-box;}
body{font-family:'Plus Jakarta Sans','Mukta',sans-serif;color:var(--ink);background:#ffffff;overflow-x:hidden;}
h1,h2,h3,h4,.display-font{font-family:'Bricolage Grotesque','Mukta',sans-serif;font-weight:700;letter-spacing:-.02em;line-height:1.08;}
a{text-decoration:none;}
.text-soft{color:var(--ink-soft)!important;} .text-accent{color:var(--accent)!important;}
.text-teal{color:var(--teal)!important;}

/* ---------- Buttons ---------- */
.btn{border-radius:999px;font-weight:700;padding:.7rem 1.5rem;transition:.2s ease;}
.btn-accent{background:var(--accent);color:#fff;border:none;}
.btn-accent:hover{background:var(--accent-dk);color:#fff;transform:translateY(-2px);box-shadow:0 10px 22px rgba(255,90,60,.35);}
.btn-ink{background:var(--ink);color:#fff;border:none;}
.btn-ink:hover{background:#000;color:#fff;transform:translateY(-2px);}
.btn-ghost{background:transparent;color:var(--ink);border:1.5px solid var(--ink);}
.btn-ghost:hover{background:var(--ink);color:#fff;}
.btn-light-ghost{background:#fff;color:var(--ink);border:1px solid var(--line);}
.btn-light-ghost:hover{border-color:var(--accent);color:var(--accent);}

/* ---------- Navbar ---------- */
.navbar{background:rgba(255,255,255,.9);backdrop-filter:blur(12px);border-bottom:1px solid var(--line);padding:.6rem 0;}
.brand{font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:1.55rem;letter-spacing:-.03em;color:var(--ink);}
.brand .dot{color:var(--accent);} .brand i{color:var(--accent);}
.nav-link{color:var(--ink)!important;font-weight:600;margin:0 .3rem;}
.nav-link:hover,.nav-link.active{color:var(--accent)!important;}
.loc-pill{border:1px solid var(--line);border-radius:999px;padding:.4rem .9rem;font-weight:600;font-size:.9rem;background:#fff;}
.lang-toggle{display:inline-flex;background:#fff;border:1px solid var(--line);border-radius:999px;padding:3px;}
.lang-toggle button{border:none;background:transparent;border-radius:999px;padding:.32rem .8rem;font-weight:700;font-size:.85rem;color:var(--ink-soft);cursor:pointer;line-height:1;}
.lang-toggle button.active{background:var(--ink);color:#fff;}

/* ---------- Generic section ---------- */
.section{padding:80px 0;}
.sec-title{font-size:clamp(1.8rem,3.5vw,2.6rem);}
.sec-kicker{color:var(--accent);font-weight:800;text-transform:uppercase;letter-spacing:.14em;font-size:.8rem;}

/* ---------- Page header / breadcrumb ---------- */
.page-head{position:relative;padding:54px 0 40px;background:#fff;border-bottom:1px solid var(--line);}
.page-head::before{content:"";position:absolute;inset:0;background:radial-gradient(700px 320px at 90% -30%,rgba(226,115,12,.12),transparent 60%);}
.page-head>.container{position:relative;}
.page-head h1{font-size:clamp(2rem,4vw,3rem);}
.crumb{font-weight:600;font-size:.9rem;color:var(--ink-soft);}
.crumb a{color:var(--ink-soft);} .crumb a:hover{color:var(--accent);}

/* ---------- Hero (home) ---------- */
.hero{position:relative;padding:70px 0 90px;}
.hero::before{content:"";position:absolute;inset:0;background:
  radial-gradient(900px 500px at 85% -10%,rgba(226,115,12,.14),transparent 60%),
  radial-gradient(700px 500px at -5% 30%,rgba(19,136,8,.08),transparent 60%);z-index:0;}
.hero>.container{position:relative;z-index:1;}
.hero h1{font-size:clamp(2.3rem,5vw,3.9rem);}
.hero .lead{color:var(--ink-soft);font-size:1.15rem;max-width:540px;}
.eyebrow{display:inline-flex;align-items:center;gap:.5rem;background:#fff;border:1px solid var(--line);border-radius:999px;padding:.4rem .9rem;font-weight:700;font-size:.82rem;color:var(--teal);box-shadow:var(--shadow-sm);}
.hero-visual{position:relative;}
.hero-img{width:100%;border-radius:26px;object-fit:cover;box-shadow:var(--shadow-md);aspect-ratio:4/4.6;}
.hero-img-fallback{background:linear-gradient(140deg,#ffd9a8,#f0a23c 55%,#e2730c);}
.float-card{position:absolute;background:#fff;border-radius:16px;padding:.8rem 1rem;box-shadow:var(--shadow-md);font-weight:700;display:flex;align-items:center;gap:.6rem;animation:floaty 5s ease-in-out infinite;}
.float-card small{font-weight:600;color:var(--ink-soft);}
.fc-rating{top:8%;left:-22px;} .fc-booked{bottom:10%;right:-18px;animation-delay:1.2s;}
@keyframes floaty{0%,100%{transform:translateY(0);}50%{transform:translateY(-10px);}}

/* ---------- Search card ---------- */
.search-card{background:#fff;border-radius:var(--radius);padding:.6rem;box-shadow:var(--shadow-md);border:1px solid var(--line);}
.search-card .form-control{border:none;box-shadow:none;font-weight:600;padding:.85rem 1rem .85rem 2.6rem;}
.search-card .field{position:relative;}
.search-card .field i{position:absolute;left:.95rem;top:50%;transform:translateY(-50%);color:var(--accent);font-size:1.1rem;}
.search-card .divider{width:1px;background:var(--line);}
.chips a{display:inline-block;background:#fff;border:1px solid var(--line);border-radius:999px;padding:.45rem 1rem;margin:.3rem .35rem 0 0;font-weight:600;font-size:.9rem;color:var(--ink);transition:.2s;}
.chips a:hover{border-color:var(--accent);color:var(--accent);transform:translateY(-2px);}

/* ---------- Stats ---------- */
.stat-strip{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#fff;}
.stat h3{font-size:1.9rem;color:var(--ink);} .stat p{color:var(--ink-soft);margin:0;font-weight:600;font-size:.9rem;}

/* ---------- Category cards ---------- */
.cat-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.4rem 1.2rem;height:100%;transition:.22s;display:block;color:var(--ink);}
.cat-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-md);border-color:transparent;}
.cat-ico{width:52px;height:52px;border-radius:14px;display:grid;place-items:center;font-size:1.5rem;margin-bottom:.9rem;background:#fff5f2;color:var(--accent);}
.cat-card:nth-child(3n+2) .cat-ico{background:#e9f8f5;color:var(--teal);}
.cat-card:nth-child(3n) .cat-ico{background:#fff6e2;color:#d9920e;}
.cat-card h5{font-family:'Plus Jakarta Sans','Mukta',sans-serif;font-weight:700;margin:0 0 .25rem;font-size:1.05rem;}
.cat-card span{color:var(--ink-soft);font-size:.85rem;}

/* ---------- Steps ---------- */
.step{text-align:center;}
.step-num{width:64px;height:64px;border-radius:50%;margin:0 auto 1rem;display:grid;place-items:center;font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:1.5rem;background:var(--ink);color:#fff;}
.step:nth-child(2) .step-num{background:var(--accent);} .step:nth-child(3) .step-num{background:var(--teal);}

/* ---------- Value props ---------- */
.value{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.6rem;height:100%;}
.value i{font-size:1.7rem;color:var(--teal);}

/* ---------- Testimonials ---------- */
.tcard{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.6rem;height:100%;}
.tcard .stars{color:var(--gold);} .tcard p{color:var(--ink-soft);}
.avatar{width:46px;height:46px;border-radius:50%;object-fit:cover;background:#eee;}

/* ---------- Filters (taskers list) ---------- */
.filter-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.4rem;position:sticky;top:90px;}
.filter-card h6{font-weight:800;letter-spacing:.01em;}
.form-check-input:checked{background-color:var(--accent);border-color:var(--accent);}
.form-range{accent-color:var(--accent);}
.form-range::-webkit-slider-thumb{background:var(--accent);}
.form-range::-moz-range-thumb{background:var(--accent);}

/* ---------- Tasker result card ---------- */
.tasker-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.3rem;transition:.2s;}
.tasker-card:hover{box-shadow:var(--shadow-md);transform:translateY(-3px);}
.tasker-ava{width:84px;height:84px;border-radius:18px;object-fit:cover;background:#eee;}
.badge-soft{background:#fff5f2;color:var(--accent);border-radius:999px;font-weight:700;padding:.35rem .7rem;font-size:.78rem;}
.badge-teal{background:#e9f8f5;color:var(--teal);}
.skill-tag{display:inline-block;background:#f6f6f9;border-radius:999px;padding:.25rem .7rem;font-size:.78rem;font-weight:600;color:var(--ink-soft);margin:.15rem .25rem 0 0;}
.price-tag{font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:1.5rem;color:var(--ink);}
.stars-sm{color:var(--gold);font-size:.9rem;}

/* ---------- Tasker profile ---------- */
.profile-cover{height:200px;border-radius:24px;background:linear-gradient(135deg,var(--ink),#2a2d52);position:relative;overflow:hidden;}
.profile-cover::after{content:"";position:absolute;right:-40px;top:-40px;width:240px;height:240px;border-radius:50%;background:radial-gradient(circle,rgba(226,115,12,.5),transparent 70%);}
.profile-ava{width:130px;height:130px;border-radius:26px;object-fit:cover;border:5px solid #fff;background:#eee;margin-top:-80px;box-shadow:var(--shadow-md);}
.book-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.6rem;position:sticky;top:90px;box-shadow:var(--shadow-sm);}
.gallery-img{width:100%;height:130px;object-fit:cover;border-radius:14px;background:#eee;}
.review-row{border-top:1px solid var(--line);padding:1.1rem 0;}
.review-row:first-of-type{border-top:none;}

/* ---------- Booking stepper ---------- */
.stepper{display:flex;gap:.5rem;flex-wrap:wrap;}
.stepper .s{display:flex;align-items:center;gap:.5rem;font-weight:700;color:var(--ink-soft);}
.stepper .s .n{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#ececf1;color:var(--ink-soft);font-size:.9rem;}
.stepper .s.active{color:var(--ink);} .stepper .s.active .n{background:var(--accent);color:#fff;}
.stepper .s.done .n{background:var(--teal);color:#fff;}
.opt-card{border:1.5px solid var(--line);border-radius:14px;padding:1rem 1.2rem;cursor:pointer;transition:.15s;font-weight:600;}
.opt-card:hover{border-color:var(--accent);}
.opt-card.selected{border-color:var(--accent);background:#fff5f2;}
.summary-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.5rem;position:sticky;top:90px;}

/* ---------- Forms / auth ---------- */
.form-control,.form-select{border-radius:12px;padding:.75rem 1rem;border:1px solid #e2e2e8;font-weight:500;}
.form-control:focus,.form-select:focus{border-color:var(--accent);box-shadow:0 0 0 .2rem rgba(255,90,60,.12);}
.form-label{font-weight:700;font-size:.9rem;}
.auth-wrap{min-height:calc(100vh - 70px);display:flex;align-items:center;}
.auth-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:2.4rem;box-shadow:var(--shadow-md);max-width:460px;margin:auto;}
.auth-side{background:linear-gradient(150deg,var(--ink),#262a52);border-radius:24px;color:#fff;padding:2.6rem;height:100%;position:relative;overflow:hidden;}
.auth-side::after{content:"";position:absolute;right:-50px;bottom:-50px;width:240px;height:240px;border-radius:50%;background:radial-gradient(circle,rgba(226,115,12,.45),transparent 70%);}
.btn-social{border:1px solid var(--line);border-radius:12px;background:#fff;font-weight:600;padding:.7rem;width:100%;color:var(--ink);}
.btn-social:hover{border-color:var(--ink);}
.divider-or{display:flex;align-items:center;gap:1rem;color:var(--ink-soft);font-size:.85rem;font-weight:600;}
.divider-or::before,.divider-or::after{content:"";flex:1;height:1px;background:var(--line);}

/* ---------- Tasker CTA banner ---------- */
.tasker-cta{background:linear-gradient(135deg,var(--ink),#25284a);border-radius:30px;color:#fff;overflow:hidden;position:relative;}
.tasker-cta::after{content:"";position:absolute;right:-60px;top:-60px;width:260px;height:260px;border-radius:50%;background:radial-gradient(circle,rgba(226,115,12,.55),transparent 70%);}
.tasker-cta h2{color:#fff;}
.tasker-img{border-radius:22px;object-fit:cover;width:100%;height:100%;min-height:280px;}

/* ---------- App badges ---------- */
.app-badge{display:inline-flex;align-items:center;gap:.6rem;background:var(--ink);color:#fff;border-radius:14px;padding:.7rem 1.2rem;font-weight:600;}
.app-badge:hover{background:#000;color:#fff;}
.app-badge i{font-size:1.6rem;} .app-badge small{display:block;font-size:.65rem;opacity:.8;line-height:1;} .app-badge b{font-size:1.05rem;}

/* ---------- Footer ---------- */
footer{background:var(--ink);color:#c8cad8;padding:64px 0 28px;}
footer h6{color:#fff;font-weight:700;margin-bottom:1rem;}
footer a{color:#c8cad8;display:block;padding:.3rem 0;font-size:.92rem;}
footer a:hover{color:#fff;} footer .brand{color:#fff;}
.soc{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:#262947;color:#fff;}
.soc:hover{background:var(--accent);}
.foot-bottom{border-top:1px solid #2b2e4d;margin-top:40px;padding-top:22px;font-size:.85rem;}

/* ---------- Reveal ---------- */
.reveal{opacity:0;transform:translateY(18px);animation:rise .7s ease forwards;}
@keyframes rise{to{opacity:1;transform:none;}}

@media(max-width:991px){
  .hero{padding:40px 0 60px;} .float-card{display:none;} .search-card .divider{display:none;}
  .filter-card,.book-card,.summary-card{position:static;}
}
