/* =====================================================
   Arvixa — Enquiry popup (home page)  |  load AFTER style.css
   ===================================================== */
.enquiry-overlay{background:rgba(15,23,60,.55);backdrop-filter:blur(6px);}
.eq-modal{
  position:relative;display:grid;grid-template-columns:40% 60%;width:100%;max-width:1120px;max-height:calc(100vh - 32px);
  background:#fff;border-radius:26px;overflow:hidden;box-shadow:0 40px 100px rgba(10,20,60,.35);
  transform:translateY(24px) scale(.97);transition:transform .45s cubic-bezier(.2,.8,.2,1);
}
.enquiry-overlay.show .eq-modal{transform:none;}
.eq-close{
  position:absolute;top:18px;right:18px;z-index:3;width:42px;height:42px;border-radius:50%;border:none;
  background:#f1f4fb;color:#1d1d27;font-size:17px;display:flex;align-items:center;justify-content:center;transition:.3s;
}
.eq-close:hover{background:var(--primary);color:#fff;transform:rotate(90deg);}

/* ---------- left ---------- */
.eq-side{
  position:relative;overflow:hidden;padding:38px 42px;display:flex;flex-direction:column;
  background:linear-gradient(160deg,#f3f7ff 0%,#e6efff 55%,#d6e5ff 100%);
}
.eq-side::before,.eq-side::after{
  content:'';position:absolute;border-radius:50%;pointer-events:none;border:1.5px solid rgba(71,119,245,.18);
}
.eq-side::before{width:520px;height:520px;right:-300px;bottom:-280px;box-shadow:0 0 0 40px rgba(71,119,245,.05);}
.eq-side::after{width:360px;height:360px;left:-200px;bottom:-230px;background:rgba(255,255,255,.35);}
.eq-side > *{position:relative;z-index:1;}
.eq-logo{height:54px;width:auto;align-self:flex-start;margin-bottom:28px;}
.eq-eyebrow{font-size:12.5px;font-weight:700;letter-spacing:2.5px;text-transform:uppercase;color:var(--secondary);margin-bottom:14px;}
.eq-big{font-family:'Poppins',sans-serif;font-weight:800;font-size:clamp(28px,2.9vw,40px);line-height:1.08;color:#0f1a3c;margin:0 0 18px;}
.eq-big span{display:block;color:#1a73e8;}
.eq-lead{font-size:16.5px;color:#5b647d;line-height:1.6;margin-bottom:24px;max-width:360px;}
.eq-points{list-style:none;padding:0;margin:0 0 26px;}
.eq-points li{display:flex;align-items:center;gap:14px;font-size:16px;color:#1d2540;margin-bottom:16px;}
.eq-points i{
  width:28px;height:28px;border-radius:50%;flex:0 0 auto;display:flex;align-items:center;justify-content:center;
  font-size:12px;color:#1a73e8;background:#fff;border:2px solid #1a73e8;
}
.eq-contact{margin-top:auto;padding-top:22px;border-top:1px solid rgba(26,115,232,.18);display:flex;flex-direction:column;gap:12px;}
.eq-contact a{display:flex;align-items:center;gap:14px;font-size:17px;color:#0f1a3c;font-weight:500;}
.eq-contact a i{color:#1a73e8;font-size:18px;width:22px;text-align:center;}
.eq-contact a:hover{color:#1a73e8;}

/* ---------- right ---------- */
.eq-form-wrap{padding:36px 40px 24px;overflow-y:auto;}
.eq-form-wrap h4{font-family:'Poppins',sans-serif;font-weight:800;font-size:clamp(24px,2.4vw,32px);color:#0f1a3c;margin:0 50px 6px 0;}
.eq-sub{font-size:15.5px;color:#5b647d;margin-bottom:20px;}
.eq-row{display:grid;grid-template-columns:1fr 1fr;gap:16px;}
.eq-field{display:block;margin-bottom:14px;}
.eq-field > span{display:block;font-size:14.5px;font-weight:600;color:#1d2540;margin-bottom:8px;}
.eq-field input,.eq-field textarea{
  width:100%;border:1px solid #dfe5f2;border-radius:10px;background:#f6f8fd;padding:11px 15px;font-size:15px;
  color:#1d2540;transition:.25s;
}
.eq-field textarea{resize:vertical;min-height:74px;}
.eq-field input::placeholder,.eq-field textarea::placeholder{color:#9aa3b8;}
.eq-field input:focus,.eq-field textarea:focus{outline:none;border-color:#1a73e8;background:#fff;box-shadow:0 0 0 4px rgba(26,115,232,.12);}

.eq-chips{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;}
.eq-chips label{margin:0;cursor:pointer;}
.eq-chips input{position:absolute;opacity:0;pointer-events:none;}
.eq-chips span{
  position:relative;display:flex;align-items:center;gap:10px;padding:12px 34px 12px 12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border:1px solid #dfe5f2;border-radius:10px;
  font-size:14px;font-weight:500;color:#1d2540;background:#fff;transition:.25s;height:100%;
}
.eq-chips span i{font-size:18px;color:#3b4460;width:20px;text-align:center;}
.eq-chips label:hover span{border-color:#9dbcf5;}
.eq-chips input:checked + span{border:2px solid #1a73e8;background:#f2f7ff;padding:11px 33px 11px 11px;}
.eq-chips input:checked + span::after{
  content:'\f00c';font-family:'Font Awesome 6 Free';font-weight:900;position:absolute;right:9px;top:50%;transform:translateY(-50%);
  width:20px;height:20px;border-radius:50%;background:#1a73e8;color:#fff;font-size:11px;display:flex;align-items:center;justify-content:center;
}
.eq-chips input:focus-visible + span{box-shadow:0 0 0 4px rgba(26,115,232,.2);}

.eq-check{display:flex;align-items:center;gap:10px;font-size:14px;color:#3b4460;margin:2px 0 16px;cursor:pointer;}
.eq-check input{width:18px;height:18px;accent-color:#1a73e8;}
.eq-check a{color:#1a73e8;text-decoration:underline;}
.eq-submit{
  width:100%;border:none;border-radius:10px;background:#1a73e8;color:#fff;font-weight:700;font-size:18px;
  padding:15px 20px;display:flex;align-items:center;justify-content:center;gap:10px;transition:.3s;
  box-shadow:0 12px 26px rgba(26,115,232,.3);
}
.eq-submit:hover{background:#1558c0;transform:translateY(-2px);}
.eq-note{text-align:center;font-size:13.5px;color:#5b647d;margin:10px 0 0;}
.eq-skip{display:flex;align-items:center;gap:14px;margin-top:18px;font-size:14.5px;color:#5b647d;}
.eq-skip::before,.eq-skip::after{content:'';flex:1;height:1px;background:#e3e8f3;}
.eq-skip a{color:#1a73e8;font-weight:600;text-decoration:underline;}
#enquiryForm .form-msg{margin:30px 0;}

/* ---------- responsive ---------- */
@media (max-width:991px){
  .eq-modal{grid-template-columns:1fr;max-width:620px;overflow-y:auto;}
  .eq-side{padding:30px 28px 26px;}
  .eq-logo{height:44px;margin-bottom:18px;}
  .eq-big{font-size:30px;}
  .eq-points,.eq-contact{display:none;}
  .eq-lead{margin-bottom:0;}
  .eq-form-wrap{padding:28px 28px 24px;overflow:visible;}
}
@media (max-width:575px){
  .enquiry-overlay{padding:10px;}
  .eq-modal{border-radius:20px;max-height:96vh;}
  .eq-side{padding:24px 20px 20px;}
  .eq-eyebrow{font-size:11px;letter-spacing:2px;}
  .eq-big{font-size:25px;}
  .eq-lead{font-size:14.5px;}
  .eq-form-wrap{padding:22px 20px 20px;}
  .eq-form-wrap h4{font-size:22px;}
  .eq-row{grid-template-columns:1fr;gap:0;}
  .eq-chips{grid-template-columns:1fr 1fr;gap:10px;}
  .eq-chips span{padding:11px 30px 11px 11px;font-size:13px;gap:8px;white-space:normal;}
  .eq-chips input:checked + span{padding:10px 29px 10px 10px;}
  .eq-chips input:checked + span::after{width:18px;height:18px;right:8px;font-size:9px;}
  .eq-submit{font-size:16px;}
}

/* ---------- chhoti oonchai wali screens (laptop 1366x768 waghaira) ---------- */
@media (min-width:992px) and (max-height:820px){
  .enquiry-overlay{padding:16px;}
  .eq-side{padding:28px 34px;}
  .eq-logo{height:44px;margin-bottom:18px;}
  .eq-eyebrow{font-size:11.5px;margin-bottom:10px;}
  .eq-big{font-size:32px;margin-bottom:12px;}
  .eq-lead{font-size:15px;margin-bottom:16px;}
  .eq-points{margin-bottom:16px;}
  .eq-points li{font-size:15px;margin-bottom:11px;}
  .eq-points i{width:24px;height:24px;font-size:11px;}
  .eq-contact{padding-top:16px;gap:8px;}
  .eq-contact a{font-size:15.5px;}
  .eq-form-wrap{padding:26px 34px 18px;}
  .eq-close{top:14px;right:14px;width:38px;height:38px;}
  .eq-form-wrap h4{font-size:25px;margin-bottom:4px;}
  .eq-sub{font-size:14.5px;margin-bottom:14px;}
  .eq-field{margin-bottom:10px;}
  .eq-field > span{font-size:13.5px;margin-bottom:5px;}
  .eq-field input,.eq-field textarea{padding:9px 14px;font-size:14.5px;}
  .eq-field textarea{min-height:58px;}
  .eq-chips{gap:8px;}
  .eq-chips span{padding:9px 32px 9px 12px;font-size:13.5px;}
  .eq-chips input:checked + span{padding:8px 31px 8px 11px;}
  .eq-chips span i{font-size:16px;}
  .eq-check{margin:0 0 10px;font-size:13.5px;}
  .eq-submit{padding:12px 18px;font-size:16.5px;}
  .eq-note{margin-top:6px;font-size:12.5px;}
  .eq-skip{margin-top:10px;font-size:13.5px;}
}
@media (min-width:992px) and (max-height:660px){
  .eq-side{padding:22px 30px;}
  .eq-logo{height:38px;margin-bottom:12px;}
  .eq-big{font-size:28px;}
  .eq-lead{font-size:14px;margin-bottom:12px;}
  .eq-points li{font-size:14px;margin-bottom:8px;}
  .eq-form-wrap{padding:20px 32px 14px;}
  .eq-form-wrap h4{font-size:22px;}
  .eq-sub{margin-bottom:10px;}
  .eq-field{margin-bottom:8px;}
  .eq-field input,.eq-field textarea{padding:8px 13px;}
  .eq-field textarea{min-height:46px;}
  .eq-chips span{padding:8px 30px 8px 11px;}
  .eq-chips input:checked + span{padding:7px 29px 7px 10px;}
  .eq-note{display:none;}
  .eq-submit{padding:11px 18px;}
}

/* JS fit helpers */
.eq-modal.eq-measure,.eq-modal.eq-fit{max-height:none;}
.eq-modal.eq-measure .eq-form-wrap,.eq-modal.eq-fit .eq-form-wrap{overflow:visible;}

/* ---------- CSS-only auto shrink (script ke bina bhi) ----------
   Screen ki oonchai (Windows scaling / zoom ke baad) jitni kam, popup utna chhota */
@media (min-width:992px) and (max-height:614.98px){ .eq-modal{zoom:.93;} }
@media (min-width:992px) and (max-height:574.98px){ .eq-modal{zoom:.86;} }
@media (min-width:992px) and (max-height:534.98px){ .eq-modal{zoom:.79;} }
@media (min-width:992px) and (max-height:494.98px){ .eq-modal{zoom:.72;} }
@media (min-width:992px) and (max-height:454.98px){ .eq-modal{zoom:.66;} }
@media (min-width:992px) and (max-height:414.98px){ .eq-modal{zoom:.59;} }
@media (min-width:992px) and (max-height:374.98px){ .eq-modal{zoom:.55;} }
@media (min-width:992px) and (max-height:614.98px){
  .eq-modal{max-height:none;}
  .eq-form-wrap{overflow:visible;}
}