:root{
  --nmg-blue:#0a3d91;
  --nmg-blue-dark:#072a66;
  --nmg-heading:#0d47a1;
  --nmg-purple:#673ab7;
  --nmg-bg:#f6f8fb;
}
html{scroll-behavior:smooth}
body{font-family:"Roboto",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;color:#222;background:#fff}
h1,h2,h3,h4{font-weight:700}
/* ---------- Disclaimer bar ---------- */
.disclaimer-bar{background:#f1f3f5;border-bottom:1px solid #e2e6ea;font-size:.9rem}
.btn-disclaimer{border:1px solid #212529;color:#212529;background:#fff;font-weight:700;font-size:.85rem;border-radius:.4rem;padding:.4rem .9rem}
.btn-disclaimer:hover{background:#212529;color:#fff}
/* ---------- Navbar ---------- */
.nmg-nav{background:#fff;box-shadow:0 1px 0 rgba(0,0,0,.06)}
.nmg-nav .navbar-brand{font-weight:500;color:#1c2b36;font-size:1.05rem}
.nmg-nav .nav-link{color:#1c2b36;font-weight:700;font-size:.85rem;padding:.9rem .65rem;border-bottom:3px solid transparent}
.nmg-nav .nav-link:hover{color:var(--nmg-heading)}
.nmg-nav .nav-link.active{color:#1c2b36;border-bottom-color:var(--nmg-heading)}
.icon-btn{border:0;background:transparent;color:#1c2b36;font-size:1.05rem;padding:.35rem .5rem;border-radius:.5rem}
.icon-btn:hover{background:#eef2f7;color:var(--nmg-heading)}
/* ---------- Hero ---------- */
.hero{position:relative;background:url('https://www.nmglegal.in/assets/img/best startup and real estate developer law consulatation advocate in Tumkur - Narasimha Murthy G.jpg') center 35%/cover no-repeat;color:#fff;padding:4.5rem 0}
.hero::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,20,40,.55),rgba(10,20,40,.72))}
.hero h1{font-size:clamp(1.6rem,4.6vw,2.6rem);line-height:1.35}
.hero p{color:#e8ecf3;font-size:clamp(.95rem,2.4vw,1.1rem);max-width:820px;margin:0 auto}
@media (min-width:992px){.hero{padding:6.5rem 0}}
/* ---------- About ---------- */
.about{background:var(--nmg-blue);color:#fff;padding:3.2rem 0}
.about h2{font-size:clamp(1.4rem,3.6vw,2rem);line-height:1.4}
.about p{font-size:.92rem;line-height:1.8;color:#eaf0fb}
.about-img{border-radius:.25rem;box-shadow:0 14px 34px rgba(0,0,0,.35);width:100%;height:100%;object-fit:cover;object-position:top}
/* ---------- Services ---------- */
.services{background:var(--nmg-bg);padding:3.2rem 0}
.services h2{color:var(--nmg-heading);font-size:clamp(1.3rem,3.4vw,1.9rem)}
.service-card{background:transparent;border:0}
.service-card img{width:100%;aspect-ratio:auto;object-fit:cover;border-radius:.25rem;box-shadow:0 4px 14px rgba(13,42,90,.12)}
.service-card h3{color:var(--nmg-heading);font-size:1.02rem;margin:1rem 0 .6rem;line-height:1.6}
.service-card p{font-size:.83rem;color:#3d4756;line-height:1.7;margin:0}
/* ---------- Contact ---------- */
.contact{background:var(--nmg-blue);color:#fff;padding:3.2rem 0}
.contact h3{font-weight:700}
.contact-list{list-style:none;padding:0;margin:0}
.contact-list li{display:flex;gap:.6rem;align-items:flex-start;margin-bottom:.85rem;font-size:.92rem}
.contact-list a{color:#fff;font-weight:700}
.contact-list a:hover{color:#cfe0ff}
.gform-card{background:#fff;color:#202124;border-radius:.5rem;border-top:10px solid var(--nmg-purple);box-shadow:0 12px 30px rgba(0,0,0,.28);padding:1.6rem 1.4rem}
.gform-card h3{font-size:1.35rem;line-height:1.5}
.gform-card .g-desc{font-size:.85rem;color:#3c4043}
.gform-account{border-top:1px solid #dadce0;border-bottom:1px solid #dadce0;padding:.55rem .2rem;font-size:.8rem;color:#3c4043;display:flex;justify-content:space-between;align-items:center}
.gform-required{color:#d93025;font-size:.8rem}
.g-field{background:#fbfbfb;border:1px solid #dadce0;border-radius:.5rem;padding:.9rem .9rem .7rem;margin-top:.9rem}
.g-field label{font-size:.88rem;font-weight:500;margin-bottom:.45rem;color:#202124}
.g-input{border:0;border-bottom:1px solid #9aa0a6;border-radius:0;box-shadow:none;font-size:.9rem;padding:.35rem 0;background:transparent}
.g-input:focus{border-bottom:2px solid var(--nmg-purple);box-shadow:none;background:transparent}
.g-check{font-size:.78rem;color:#3c4043}
.btn-purple{background:var(--nmg-purple);border:1px solid var(--nmg-purple);color:#fff;font-weight:700}
.btn-purple:hover{background:#552ea0;border-color:#552ea0;color:#fff}
/* ---------- Footer ---------- */
footer{background:var(--nmg-blue-dark);color:#dfe8ff;padding:.9rem 0;font-size:.78rem;text-align:center}
footer a{color:#fff}
/* ---------- Modal ---------- */
.modal-header,.modal-footer{background:#f6f8fb}
.modal-title{color:var(--nmg-heading)}
.modal-body{font-size:.9rem;line-height:1.75;color:#333}
@media (max-width:575.98px){
  .hero{padding:3.2rem 0}
  .about,.services,.contact{padding:2.4rem 0}
}