:root{
  --navy:#2B3A8F;
  --navy-dark:#1F2C6E;
  --orange:#EE7A1F;
  --orange-dark:#D9670F;
  --orange-light:#FFF1E2;
  --paper:#FFFFFF;
  --bg:#F7F8FB;
  --ink:#1B2034;
  --slate:#5C6470;
  --line:#E4E7ED;
  --green:#2FAE6A;
  --green-light:#E8F7EE;
}

*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}

body{
  background:var(--bg);
  color:var(--ink);
  font-family:'Inter',sans-serif;
  -webkit-font-smoothing:antialiased;
}

.display{
  font-family:'Baloo 2', sans-serif;
  font-weight:700;
}

a{color:inherit; text-decoration:none;}
button{font-family:inherit; cursor:pointer; border:none; background:none; color:inherit;}
input, select, textarea{font-family:inherit;}

@media (prefers-reduced-motion: reduce){
  *{animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important;}
}

/* ===== Marquee banner ===== */
.marquee-bar{
  background:var(--navy-dark);
  color:#fff;
  overflow:hidden;
  white-space:nowrap;
  position:relative;
  padding:9px 0;
}
.marquee-track{
  display:inline-block;
  padding-left:100%;
  animation:marquee 22s linear infinite;
  font-size:13.5px;
  font-weight:600;
}
.marquee-bar:hover .marquee-track{ animation-play-state:paused; }
.marquee-track a{
  color:var(--orange);
  text-decoration:underline;
  text-underline-offset:2px;
}
@keyframes marquee{
  0%{ transform:translateX(0); }
  100%{ transform:translateX(-100%); }
}

/* ===== Header ===== */
.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px clamp(20px,5vw,64px);
  background:var(--paper);
  border-bottom:1px solid var(--line);
  position:sticky;
  top:0;
  z-index:50;
  gap:16px;
  flex-wrap:wrap;
}
.brand img{
  height:42px;
  display:block;
}
.topbar-right{
  display:flex;
  align-items:center;
  gap:12px;
}
.nav-link{
  font-size:14px;
  font-weight:600;
  color:var(--navy-dark);
  padding:10px 6px;
  border-bottom:2px solid transparent;
  transition:border-color 0.15s ease;
}
.nav-link:hover{ border-color:var(--orange); }
.call-btn{
  display:flex;
  align-items:center;
  gap:9px;
  background:var(--navy);
  color:#fff;
  padding:11px 20px;
  border-radius:30px;
  font-weight:600;
  font-size:14.5px;
  transition:background 0.15s ease, transform 0.15s ease;
}
.call-btn:hover{ background:var(--navy-dark); transform:translateY(-1px); }
.call-btn svg{ width:16px; height:16px; flex-shrink:0; }
.register-btn{
  display:flex;
  align-items:center;
  gap:8px;
  background:var(--orange);
  color:#fff;
  padding:11px 18px;
  border-radius:30px;
  font-weight:600;
  font-size:14px;
  transition:background 0.15s ease, transform 0.15s ease;
  box-shadow:0 6px 16px rgba(238,122,31,0.25);
}
.register-btn:hover{ background:var(--orange-dark); transform:translateY(-1px); }

/* ===== Hero ===== */
.hero{
  padding:clamp(40px,7vw,76px) clamp(20px,5vw,64px) clamp(36px,6vw,56px);
  max-width:1180px;
  margin:0 auto;
  display:grid;
  grid-template-columns:1.1fr 0.9fr;
  gap:48px;
  align-items:center;
}
.hero-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:var(--orange-light);
  color:var(--orange-dark);
  font-size:13px;
  font-weight:600;
  padding:7px 14px;
  border-radius:20px;
  margin-bottom:20px;
}
.hero-eyebrow .dot{
  width:7px;height:7px;border-radius:50%;
  background:var(--green);
}
.hero h1{
  font-size:clamp(32px,5vw,52px);
  line-height:1.08;
  color:var(--navy-dark);
}
.hero h1 .accent{ color:var(--orange); }
.hero-sub{
  margin-top:18px;
  font-size:clamp(15.5px,1.6vw,18px);
  color:var(--slate);
  max-width:520px;
  line-height:1.6;
}
.hero-actions{
  margin-top:28px;
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  align-items:center;
}
.btn-primary{
  background:var(--orange);
  color:#fff;
  font-weight:700;
  font-size:15px;
  padding:14px 26px;
  border-radius:30px;
  display:inline-flex;
  align-items:center;
  gap:10px;
  transition:transform 0.15s ease, background 0.15s ease;
  box-shadow:0 8px 20px rgba(238,122,31,0.28);
}
.btn-primary:hover{ background:var(--orange-dark); transform:translateY(-1px); }
.btn-secondary{
  background:var(--paper);
  color:var(--navy-dark);
  font-weight:700;
  font-size:15px;
  padding:13px 24px;
  border-radius:30px;
  display:inline-flex;
  align-items:center;
  gap:10px;
  border:1.5px solid var(--line);
  transition:border-color 0.15s ease, transform 0.15s ease;
}
.btn-secondary:hover{ border-color:var(--navy); transform:translateY(-1px); }
.hint-text{
  font-size:13.5px;
  color:var(--slate);
}

.hero-art{
  background:linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  border-radius:24px;
  padding:32px;
  color:#fff;
  position:relative;
  overflow:hidden;
}
.hero-art::before{
  content:'';
  position:absolute;
  width:220px; height:220px;
  background:var(--orange);
  opacity:0.18;
  border-radius:50%;
  top:-60px; right:-60px;
}
.hero-art-label{
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:0.08em;
  color:#C9D1FF;
  font-weight:600;
}
.hero-art-list{
  margin-top:18px;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.hero-art-row{
  display:flex;
  align-items:center;
  gap:12px;
  background:rgba(255,255,255,0.07);
  padding:10px 14px;
  border-radius:12px;
  font-size:14.5px;
  font-weight:500;
}
.hero-art-row .ic{ font-size:18px; }
.hero-art-foot{
  margin-top:20px;
  font-size:13px;
  color:#B8C2EE;
}

/* ===== Sections ===== */
.section{
  padding:clamp(36px,6vw,64px) clamp(20px,5vw,64px);
  max-width:1180px;
  margin:0 auto;
}
.section-head{
  text-align:center;
  max-width:600px;
  margin:0 auto 36px;
}
.section-eyebrow{
  color:var(--orange-dark);
  font-weight:700;
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:0.06em;
}
.section-head h2{
  font-size:clamp(24px,3.2vw,34px);
  color:var(--navy-dark);
  margin-top:10px;
}
.section-head p{
  margin-top:10px;
  color:var(--slate);
  font-size:15.5px;
  line-height:1.6;
}

.grid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(210px, 1fr));
  gap:16px;
}

.card{
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:18px;
  padding:22px 20px;
  text-align:left;
  transition:transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  position:relative;
  cursor:pointer;
  display:flex;
  flex-direction:column;
}
.card:hover{
  transform:translateY(-3px);
  box-shadow:0 14px 30px rgba(43,58,143,0.10);
  border-color:var(--orange);
}
.card:focus-visible{
  outline:2px solid var(--orange);
  outline-offset:2px;
}
.card-icon{
  width:46px; height:46px;
  border-radius:13px;
  background:var(--orange-light);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:22px;
  flex-shrink:0;
}
.card-name{
  margin-top:14px;
  font-size:16px;
  font-weight:700;
  color:var(--navy-dark);
}
.card-count{
  margin-top:6px;
  font-size:12.5px;
  color:var(--slate);
  display:flex;
  align-items:center;
  gap:6px;
}
.card-count .dot{
  width:6px;height:6px;border-radius:50%;
  background:var(--green);
}
.card-count.empty .dot{ background:var(--slate); opacity:0.5; }

/* ===== How it works ===== */
.how-bg{
  background:var(--paper);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.how-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:32px;
  margin-top:8px;
}
.how-step{
  text-align:center;
  padding:0 12px;
}
.how-num{
  width:40px;height:40px;
  border-radius:50%;
  background:var(--navy);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  font-size:15px;
  margin:0 auto 16px;
}
.how-step h3{
  font-size:17px;
  color:var(--navy-dark);
  font-weight:700;
}
.how-step p{
  margin-top:8px;
  font-size:14.5px;
  color:var(--slate);
  line-height:1.6;
}

/* ===== Provider recruit strip ===== */
.recruit-strip{
  background:linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  border-radius:20px;
  padding:clamp(28px,4vw,40px);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  flex-wrap:wrap;
  color:#fff;
}
.recruit-strip h3{
  font-size:clamp(20px,2.6vw,26px);
}
.recruit-strip p{
  margin-top:8px;
  font-size:14.5px;
  color:#FFE7CE;
  max-width:460px;
  line-height:1.55;
}
.recruit-strip .btn-secondary{
  background:#fff;
  color:var(--orange-dark);
  border:none;
  white-space:nowrap;
}
.recruit-strip .btn-secondary:hover{ background:#FFF6EC; }

/* ===== Footer ===== */
footer{
  background:var(--navy-dark);
  color:#C9D1FF;
  padding:36px clamp(20px,5vw,64px) 28px;
}
.footer-inner{
  max-width:1180px;
  margin:0 auto;
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:16px;
  align-items:center;
}
.footer-inner strong{ color:#fff; }
footer .foot-bottom{
  max-width:1180px;
  margin:20px auto 0;
  padding-top:16px;
  border-top:1px solid rgba(255,255,255,0.12);
  font-size:12.5px;
  color:#93A0DE;
}

/* ===== Toast ===== */
.toast{
  position:fixed;
  bottom:26px;
  left:50%;
  transform:translateX(-50%) translateY(20px);
  background:var(--navy-dark);
  color:#fff;
  padding:14px 22px;
  border-radius:30px;
  font-size:14px;
  font-weight:600;
  display:flex;
  align-items:center;
  gap:10px;
  opacity:0;
  transition:opacity 0.25s ease, transform 0.25s ease;
  pointer-events:none;
  z-index:200;
  box-shadow:0 10px 26px rgba(0,0,0,0.25);
  max-width:90vw;
  text-align:left;
}
.toast.show{
  opacity:1;
  transform:translateX(-50%) translateY(0);
}
.toast .dot{
  width:8px;height:8px;border-radius:50%;
  background:var(--green);
  flex-shrink:0;
}

/* ===== Modal (provider list) ===== */
.modal-overlay{
  position:fixed;
  inset:0;
  background:rgba(19,22,45,0.55);
  backdrop-filter:blur(2px);
  z-index:150;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  opacity:0;
  pointer-events:none;
  transition:opacity 0.2s ease;
  padding:0;
}
.modal-overlay.show{
  opacity:1;
  pointer-events:auto;
}
.modal-panel{
  background:var(--bg);
  width:100%;
  max-width:640px;
  max-height:86vh;
  border-radius:20px 20px 0 0;
  overflow-y:auto;
  transform:translateY(24px);
  transition:transform 0.25s ease;
  padding-bottom:24px;
}
.modal-overlay.show .modal-panel{ transform:translateY(0); }

@media (min-width:720px){
  .modal-overlay{ align-items:center; padding:24px; }
  .modal-panel{ border-radius:20px; max-height:82vh; }
}

.modal-head{
  position:sticky;
  top:0;
  background:var(--paper);
  border-bottom:1px solid var(--line);
  padding:20px 22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-radius:20px 20px 0 0;
  z-index:2;
}
.modal-head-left{
  display:flex;
  align-items:center;
  gap:12px;
}
.modal-head-icon{
  width:42px; height:42px;
  border-radius:12px;
  background:var(--orange-light);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:20px;
}
.modal-head h3{
  font-size:18px;
  color:var(--navy-dark);
}
.modal-head span{
  font-size:12.5px;
  color:var(--slate);
}
.modal-close{
  width:34px; height:34px;
  border-radius:50%;
  background:var(--bg);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:16px;
  color:var(--slate);
  flex-shrink:0;
  transition:background 0.15s ease;
}
.modal-close:hover{ background:var(--line); }

.modal-body{ padding:18px 22px 4px; }

/* ===== Pincode filter ===== */
.pincode-bar{
  background:var(--orange-light);
  border:1px solid #F5D9B0;
  border-radius:14px;
  padding:14px 16px;
  margin-bottom:16px;
}
.pincode-label{
  font-size:13.5px;
  font-weight:600;
  color:var(--navy-dark);
  margin-bottom:10px;
}
.pincode-input-row{
  display:flex;
  gap:8px;
}
.pincode-input-row input{
  flex:1;
  border:1.5px solid var(--line);
  border-radius:10px;
  padding:10px 13px;
  font-size:14.5px;
  background:#fff;
  color:var(--ink);
}
.pincode-input-row input:focus{
  outline:none;
  border-color:var(--orange);
}
.pincode-input-row .btn-primary{
  padding:10px 20px;
  font-size:13.5px;
  box-shadow:none;
  white-space:nowrap;
}
.pincode-skip{
  display:block;
  margin-top:10px;
  font-size:12.5px;
  color:var(--orange-dark);
  font-weight:600;
  text-decoration:underline;
  text-underline-offset:2px;
}
.pincode-error{
  font-size:12px;
  color:#B4232C;
  margin-top:8px;
}
.pincode-chip{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  font-size:13.5px;
  color:var(--navy-dark);
  font-weight:600;
  flex-wrap:wrap;
}
.pincode-change{
  font-size:12px;
  color:var(--orange-dark);
  font-weight:700;
  text-decoration:underline;
  text-underline-offset:2px;
  flex-shrink:0;
}

.result-label{
  font-size:12.5px;
  font-weight:700;
  color:var(--navy-dark);
  text-transform:uppercase;
  letter-spacing:0.04em;
  margin:18px 0 10px;
}
.result-label:first-child{ margin-top:0; }
.result-label.subtle{
  color:var(--slate);
  border-top:1px solid var(--line);
  padding-top:16px;
}
.no-nearby{
  font-size:13.5px;
  color:var(--slate);
  background:var(--bg);
  border:1px dashed var(--line);
  border-radius:12px;
  padding:14px 16px;
  line-height:1.55;
}

.provider-card{
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:16px;
  padding:18px;
  margin-bottom:14px;
}
.provider-top{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:flex-start;
}
.provider-name{
  font-size:16px;
  font-weight:700;
  color:var(--navy-dark);
}
.provider-badge{
  font-size:11px;
  font-weight:700;
  color:var(--green);
  background:var(--green-light);
  padding:4px 10px;
  border-radius:20px;
  white-space:nowrap;
  flex-shrink:0;
}
.provider-detail{
  display:flex;
  align-items:flex-start;
  gap:8px;
  margin-top:9px;
  font-size:13.5px;
  color:var(--slate);
  line-height:1.5;
}
.provider-detail svg{
  width:15px; height:15px;
  flex-shrink:0;
  margin-top:2px;
  color:var(--orange-dark);
}
.provider-tags{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:10px;
}
.provider-tag{
  font-size:11.5px;
  background:var(--bg);
  color:var(--slate);
  padding:4px 10px;
  border-radius:20px;
  border:1px solid var(--line);
}
.provider-actions{
  margin-top:14px;
  display:flex;
  gap:8px;
}
.provider-actions .card-action{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:10px 8px;
  border-radius:10px;
  font-size:12.5px;
  font-weight:600;
  transition:transform 0.15s ease, background 0.15s ease;
}
.provider-actions .card-action svg{ width:14px; height:14px; flex-shrink:0; }
.card-action.call{ background:var(--orange-light); color:var(--orange-dark); }
.card-action.call:hover{ background:var(--orange); color:#fff; transform:translateY(-1px); }
.card-action.wa{ background:var(--green-light); color:#1F8A4C; }
.card-action.wa:hover{ background:var(--green); color:#fff; transform:translateY(-1px); }

.empty-state{
  text-align:center;
  padding:40px 20px 20px;
}
.empty-state .ic{ font-size:40px; }
.empty-state h4{
  margin-top:14px;
  font-size:17px;
  color:var(--navy-dark);
}
.empty-state p{
  margin-top:8px;
  font-size:14px;
  color:var(--slate);
  max-width:340px;
  margin-left:auto;
  margin-right:auto;
  line-height:1.55;
}
.empty-state .btn-primary{
  margin-top:18px;
}

/* ===== Registration form (register.html) ===== */
.form-wrap{
  max-width:640px;
  margin:0 auto;
  padding:clamp(28px,5vw,44px) clamp(20px,5vw,64px) 60px;
}
.form-card{
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:22px;
  padding:clamp(24px,4vw,36px);
}
.field-group{
  margin-bottom:18px;
}
.field-group label{
  display:block;
  font-size:13.5px;
  font-weight:600;
  color:var(--navy-dark);
  margin-bottom:7px;
}
.field-group .req{ color:var(--orange-dark); }
.field-group input,
.field-group select,
.field-group textarea{
  width:100%;
  border:1.5px solid var(--line);
  border-radius:10px;
  padding:12px 14px;
  font-size:14.5px;
  color:var(--ink);
  background:var(--bg);
  transition:border-color 0.15s ease, background 0.15s ease;
}
.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus{
  outline:none;
  border-color:var(--orange);
  background:#fff;
}
.field-group textarea{ resize:vertical; min-height:90px; }
.field-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}
@media (max-width:520px){
  .field-row{ grid-template-columns:1fr; }
}
.checkbox-row{
  display:flex;
  gap:10px;
  align-items:flex-start;
  margin-top:8px;
  margin-bottom:20px;
}
.checkbox-row input{ width:auto; margin-top:3px; }
.checkbox-row label{
  font-size:13px;
  color:var(--slate);
  font-weight:400;
}
.submit-btn{
  width:100%;
  background:var(--orange);
  color:#fff;
  font-weight:700;
  font-size:15.5px;
  padding:15px 26px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  transition:background 0.15s ease, transform 0.15s ease;
  box-shadow:0 8px 20px rgba(238,122,31,0.25);
}
.submit-btn:hover{ background:var(--orange-dark); }
.submit-btn:disabled{
  opacity:0.65;
  cursor:not-allowed;
  transform:none;
}
.form-note{
  font-size:12.5px;
  color:var(--slate);
  margin-top:14px;
  text-align:center;
  line-height:1.5;
}
.form-success{
  display:none;
  text-align:center;
  padding:20px 10px 6px;
}
.form-success.show{ display:block; }
.form-success .ic{
  width:56px; height:56px;
  border-radius:50%;
  background:var(--green-light);
  color:var(--green);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:26px;
  margin:0 auto 16px;
}
.form-success h3{
  font-size:19px;
  color:var(--navy-dark);
}
.form-success p{
  margin-top:8px;
  font-size:14px;
  color:var(--slate);
  line-height:1.55;
}
.form-error{
  display:none;
  background:#FDECEC;
  color:#B4232C;
  border:1px solid #F5C6C6;
  border-radius:10px;
  padding:12px 14px;
  font-size:13.5px;
  margin-bottom:16px;
}
.form-error.show{ display:block; }

.breadcrumb{
  max-width:1180px;
  margin:0 auto;
  padding:18px clamp(20px,5vw,64px) 0;
  font-size:13px;
  color:var(--slate);
}
.breadcrumb a{ color:var(--navy); font-weight:600; }

.page-head{
  max-width:1180px;
  margin:0 auto;
  padding:24px clamp(20px,5vw,64px) 0;
  text-align:center;
}
.page-head h1{
  font-size:clamp(26px,3.6vw,38px);
  color:var(--navy-dark);
}
.page-head p{
  margin-top:10px;
  color:var(--slate);
  font-size:15px;
  max-width:520px;
  margin-left:auto;
  margin-right:auto;
  line-height:1.6;
}

@media (max-width: 880px){
  .hero{ grid-template-columns:1fr; }
  .how-grid{ grid-template-columns:1fr; gap:26px; }
}
@media (max-width: 560px){
  .grid{ grid-template-columns:repeat(2,1fr); }
  .topbar-right .nav-link{ display:none; }
}
