/* ==========================================================
   Nithilaa Nursing Home - enquiry form + mobile fixes
   ========================================================== */
.nh-enquiry{padding:70px 0 80px;background:#f5f5f5}
.nh-sec-head .heading{color:#0071bc}
.nh-sec-head .separator{border-color:#0071bc}
.nh-sec-head .separator:before,.nh-sec-head .separator:after,.nh-sec-head .separator .bar{background-color:#0071bc}
.nh-sec-head .separator .small-cir,.nh-sec-head .separator .large-cir{border-color:#0071bc}
.nh-sec-head .header-text{color:#666;margin-top:10px}
.nh-form{max-width:860px;margin:35px auto 0;background:#fff;padding:40px;border-radius:4px;box-shadow:0 5px 25px rgba(0,0,0,.06);border-top:3px solid #0071bc}
.nh-row{display:flex;gap:20px}
.nh-row .nh-field{flex:1 1 0;min-width:0}
.nh-field{margin-bottom:20px}
.nh-field label{display:block;font-family:Montserrat,"Helvetica Neue",Helvetica,sans-serif;font-size:13px;font-weight:600;color:#111;margin-bottom:6px}
.nh-field input,.nh-field select,.nh-field textarea{width:100%;box-sizing:border-box;border:1px solid #ddd;background:#fafafa;padding:11px 14px;font-family:Lato,"Helvetica Neue",Helvetica,sans-serif;font-size:15px;line-height:1.5;color:#333;border-radius:4px;outline:0;transition:border-color .2s,background .2s;margin:0}
.nh-field select{height:47px}
.nh-field input:focus,.nh-field select:focus,.nh-field textarea:focus{border-color:#0071bc;background:#fff}
.nh-field.has-error input,.nh-field.has-error textarea{border-color:#d0021b;background:#fff6f6}
.nh-err{display:block;color:#d0021b;font-size:13px;line-height:1.4;margin-top:5px}
.nh-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.nh-actions{text-align:center}
.nh-submit{border:0;cursor:pointer;background:#0071bc;color:#fff;font-family:Montserrat,"Helvetica Neue",Helvetica,sans-serif;font-size:14px;font-weight:600;padding:12px 34px;border-radius:4px;transition:background .2s}
.nh-submit:hover{background:#005a96}
.nh-submit[disabled]{opacity:.6;cursor:wait}
.nh-status{margin-top:20px;text-align:center;font-size:15px;line-height:1.5}
.nh-status:empty{display:none}
.nh-status.ok{color:#1a7f37;background:#eaf7ee;border:1px solid #bfe5c9;padding:12px;border-radius:4px}
.nh-status.fail{color:#d0021b;background:#fff4f4;border:1px solid #f3c7c7;padding:12px;border-radius:4px}

img{max-width:100%;height:auto}
html,body{overflow-x:hidden}

@media (max-width:767px){
  .nh-row{flex-direction:column;gap:0}
  .nh-form{padding:25px 18px}
  .nh-enquiry{padding:50px 0 60px}
  .nh-field input,.nh-field select,.nh-field textarea{font-size:16px}
  .nh-submit{width:100%;padding:14px}
  .wpb_text_column p,.wpb_text_column,.vc_column_text p{text-align:left!important}
  .text-center .wpb_text_column p,.vc_custom_heading{text-align:center}
}

/* Services cards: round icon sits 45px above each card, so stacked cards need room */
@media (max-width:767px){
  .cmo-content-box.icon-block{margin-top:62px!important}
  .vc_row.vc_inner + .vc_row.vc_inner .cmo-content-box.icon-block,
  .vc_column_container + .vc_column_container .cmo-content-box.icon-block{margin-top:62px!important}
  .vc_col-sm-3 .cmo-content-box.icon-block{max-width:360px;margin-left:auto;margin-right:auto}
}
