*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:"Noto Sans Devanagari","Nirmala UI","Mangal",Arial,sans-serif;color:#17375e;background:#fff}a{text-decoration:none;color:inherit}.container{width:min(1180px,92%);margin:auto}.topbar{background:#0b4b93;color:#fff;font-size:15px}.topbar-inner{min-height:34px;display:flex;align-items:center;justify-content:space-between}.top-contact{display:flex;gap:22px;align-items:center}.social-mini{font-weight:800}.header{background:#fff;border-bottom:1px solid #e8edf3}.nav-wrap{min-height:96px;padding:10px 0;display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:nowrap}.brand{display:flex;align-items:center;gap:13px;min-width:0}.brand img{width:64px;height:64px;object-fit:contain;flex-shrink:0}.brand-title{font-size:18px;line-height:1.3;font-weight:800;color:#143a69}.brand-subtitle{font-size:14px;font-weight:700;color:#244b72;margin-top:3px}.nav{display:flex;align-items:center;gap:2px;flex-shrink:0}.nav a{padding:10px 12px;font-size:14px;font-weight:800;color:#182f4c;border-radius:9px;white-space:nowrap}.nav a:hover,.nav a.active{background:#ffc400}.menu-toggle{display:none;border:0;background:#0b4b93;color:white;border-radius:8px;padding:9px 12px;font-size:22px}.hero{background:linear-gradient(90deg,#e9f6ff 0%,#f9fcff 50%,#d9ecff 100%);overflow:hidden}.hero-inner{min-height:330px;display:flex;align-items:stretch;position:relative}.hero-copy{width:49%;padding:43px 0 38px;position:relative;z-index:2}.yellow-line,.section-kicker span{display:inline-block;width:53px;height:4px;background:#f6c400;border-radius:4px;vertical-align:middle;margin-right:9px}.hero h1{font-size:32px;line-height:1.28;margin:12px 0 12px;color:#113b70}.hero p{font-size:16px;line-height:1.6;margin:0 0 16px;color:#34536e}
.addr-label{color:#c0392b;font-size:1.3em;font-weight:900}.addr-label1{color:#c0392b;font-size:1.0em;font-weight:600}.hero-image{width:55%;margin-right:-5%;display:flex;align-items:flex-end}.hero-image img{width:100%;height:320px;object-fit:cover;object-position:center;border-radius:0}.btn{display:inline-flex;gap:12px;align-items:center;border-radius:24px;padding:12px 22px;font-weight:800;font-size:16px;transition:transform .25s ease,box-shadow .25s ease}.btn:hover{transform:translateY(-3px);box-shadow:0 9px 20px #0002}.btn-yellow{background:#ffc400;color:#12375e}.btn-blue{background:#064e9b;color:#fff}.quick-services{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;padding:17px 0 25px}.quick-card{min-height:115px;animation:fadeUp .7s ease both;border:1px solid #d8e0e8;border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;transition:.2s;box-shadow:0 2px 7px #00000008}.quick-card:hover{transform:translateY(-3px);box-shadow:0 7px 18px #0002}.quick-card b{font-size:17px;margin-top:6px}.quick-card small{font-size:14px;margin-top:1px}.quick-icon{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:21px;font-weight:900;background:#175a9f}.yellow .quick-icon{background:#eab900}.green .quick-icon{background:#18a66c}.purple .quick-icon{background:#6c45b9}.pink .quick-icon{background:#e75b79}.blue{background:#eff8ff}.yellow{background:#fffbea}.green{background:#f0fff7}.purple{background:#f8f2ff}.pink{background:#fff2f5}.about{display:grid;grid-template-columns:175px 1fr 265px;gap:35px;align-items:center;padding:18px 0 40px}.about-logo-wrap{text-align:center}.about-logo-wrap img{width:165px;height:165px;object-fit:contain}.section-kicker{font-weight:800;color:#1d426c;font-size:19px}.about h2{font-size:29px;margin:6px 0 9px;color:#133c70}.about p{font-size:17px;line-height:1.8;color:#4d6073;margin:0}.pills{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.pills span{font-size:12px;border:1px solid #d9e0e7;border-radius:18px;padding:6px 10px;background:#fff}.about-card{position:relative;border-radius:10px;overflow:hidden;height:160px}.about-card img{width:100%;height:100%;object-fit:cover}.quote{position:absolute;left:18px;top:15px;color:#fff;font-size:18px;font-weight:800;line-height:1.45;text-shadow:0 2px 7px #000}.services-band{background:#eef8ff;padding:24px 0 28px}.service-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin-top:10px}.service-card{background:#fff;border:1px solid #dce5ed;border-radius:8px;padding:14px;text-align:center;min-height:164px;box-shadow:0 2px 7px #00000008}.service-icon{font-size:31px;font-weight:900;margin-bottom:2px}.pink-icon{color:#df5978}.blue-icon{color:#2785c8}.green-icon{color:#1d9a68}.orange-icon{color:#e78d12}.purple-icon{color:#8053c3}.service-card h3{font-size:18px;margin:2px 0 6px}.service-card p{font-size:14px;line-height:1.55;color:#607080;min-height:38px;margin:0 0 5px}.service-card a{font-size:12px;color:#1b5c9e;font-weight:800}.stats{background:#063f80;color:#fff}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);min-height:88px}.stats-grid div{display:flex;flex-direction:column;align-items:center;justify-content:center;border-right:1px solid #ffffff26}.stats-grid div:last-child{border:0}.stats strong{font-size:21px}.stats span{font-size:13px;margin-top:2px}.notices{display:grid;grid-template-columns:1.25fr .95fr;gap:32px;padding:27px 0 34px}.notice-list .section-kicker{margin-bottom:8px}.notice-row{display:grid;animation:fadeUp .65s ease both;grid-template-columns:22px 1fr 115px;gap:7px;align-items:center;border-bottom:1px solid #e1e6eb;padding:8px 0;font-size:12px}.notice-row span{font-size:11px}.notice-row b{font-weight:600}.notice-row time{text-align:right;color:#6d7c8d;font-size:13px}.contact-promo{height:143px;border-radius:9px;overflow:hidden;position:relative}.contact-promo img{width:100%;height:100%;object-fit:cover}.promo-overlay{position:absolute;inset:0;padding:14px 20px;color:#fff;background:linear-gradient(90deg,#063a70aa,#063a7022)}.promo-overlay h3{font-size:23px;line-height:1.35;margin:0}.promo-overlay p{font-size:14px;line-height:1.5;margin:3px 0 7px}.promo-overlay .btn{padding:8px 15px;font-size:14px}footer{color:#fff}.footer-main{background:#063d79;padding:20px 0}.footer-grid{display:grid;grid-template-columns:1.5fr .7fr 1.2fr .6fr;gap:30px}.footer-brand{display:flex;gap:12px;align-items:center}.footer-brand img{width:54px;height:54px}.footer-brand b,.footer-brand span{display:block}.footer-brand b{font-size:16px}.footer-brand span{font-size:14px;margin-top:3px}.footer-grid h4{font-size:16px;margin:0 0 7px}.footer-grid a,.footer-grid p{display:block;font-size:14px;color:#e3edf8;margin:4px 0}.socials{display:flex;gap:8px}.socials a{width:29px;height:29px;border-radius:50%;background:#0e6ab4;display:grid;place-items:center;color:#fff;font-weight:900}.footer-bottom{background:#052e5d;padding:13px 0;font-size:13px;color:#d5e0ee}.footer-bottom .container{display:flex;justify-content:space-between;gap:20px}.footer-bottom a{color:#d5e0ee}
/* Modern entrance and interaction animations */
@keyframes fadeUp{
  from{opacity:0;transform:translateY(24px)}
  to{opacity:1;transform:translateY(0)}
}
@keyframes fadeIn{
  from{opacity:0}
  to{opacity:1}
}
@keyframes floatImage{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-7px)}
}
.hero-copy{animation:fadeUp .8s ease both}
.hero-image{animation:fadeIn 1s ease both}
.hero-image img{animation:floatImage 5s ease-in-out infinite}
.about-logo-wrap{animation:fadeUp .8s ease both}
.about-copy{animation:fadeUp .9s .12s ease both}
.about-card{animation:fadeUp .9s .22s ease both}
.service-card{transition:transform .3s ease,box-shadow .3s ease}
.service-card:hover{transform:translateY(-7px);box-shadow:0 14px 28px #0002}
.stats-grid div{transition:transform .25s ease}
.stats-grid div:hover{transform:translateY(-3px)}
.footer-main{animation:fadeIn .8s ease both}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}


/* Refined finish for the final two sections */
.notices{position:relative}
.notice-list{background:linear-gradient(180deg,#ffffff,#f8fbff);border-radius:14px;padding:4px 10px 12px;box-shadow:0 8px 24px #0b4b9312}
.notice-row{transition:background .25s ease,transform .25s ease,padding-left .25s ease}
.notice-row:hover{background:#eef7ff;transform:translateX(4px);padding-left:8px}
.contact-promo{box-shadow:0 10px 25px #0b4b9326;transition:transform .3s ease,box-shadow .3s ease}
.contact-promo:hover{transform:translateY(-4px);box-shadow:0 16px 32px #0b4b9330}
.footer-main{border-top:4px solid #ffc400}
.footer-grid>div{transition:transform .25s ease}
.footer-grid>div:hover{transform:translateY(-2px)}
.socials a{transition:transform .2s ease,background .2s ease}
.socials a:hover{transform:scale(1.12)}

@media(max-width:1050px){.nav-wrap{gap:10px}.brand-title{font-size:15px}.brand-subtitle{font-size:12px}.brand img{width:52px;height:52px}.nav a{padding:9px 9px;font-size:13px}}
@media(max-width:900px){.top-contact span:nth-child(2){display:none}.nav-wrap{min-height:78px;padding:8px 0}.brand-title{font-size:18px}.brand-subtitle{font-size:14px}.brand img{width:58px;height:58px}.menu-toggle{display:block}.nav{display:none;position:absolute;left:4%;right:4%;top:112px;background:#fff;z-index:20;flex-direction:column;align-items:stretch;padding:8px;border-radius:10px;box-shadow:0 10px 30px #0003}.nav.open{display:flex}.nav a{padding:11px;font-size:16px;white-space:normal}.hero-inner{min-height:430px}.hero-copy{width:58%;padding-top:45px}.hero h1{font-size:27px}.hero-image{width:58%;position:absolute;right:-10%;bottom:0;opacity:.72}.quick-services{grid-template-columns:repeat(3,1fr)}.about{grid-template-columns:120px 1fr}.about-card{grid-column:1/-1}.service-grid{grid-template-columns:repeat(3,1fr)}.notices{grid-template-columns:1fr}.footer-grid{grid-template-columns:repeat(2,1fr)}.footer-bottom .container{flex-direction:column}}@media(max-width:600px){.topbar{font-size:10px}.top-contact{gap:7px}.top-contact span:nth-child(n+3){display:none}.brand-title{font-size:15px}.brand-subtitle{font-size:12px}.hero-inner{min-height:455px}.hero-copy{width:100%;padding-top:35px}.hero h1{font-size:24px}.hero p{font-size:14px}.hero-image{width:100%;right:-25%;opacity:.45}.quick-services{grid-template-columns:repeat(2,1fr)}.about{grid-template-columns:1fr;gap:12px;text-align:center}.about-logo-wrap img{width:120px;height:120px}.pills{justify-content:center}.service-grid{grid-template-columns:1fr 1fr}.stats-grid{grid-template-columns:1fr 1fr}.stats-grid div:nth-child(2){border-right:0}.stats-grid div{min-height:75px}.notice-row{grid-template-columns:20px 1fr}.notice-row time{display:none}.notice-row{font-size:14px}.footer-grid{grid-template-columns:1fr}.footer-grid a,.footer-grid p{font-size:14px}.footer-bottom{line-height:1.7}}

/* Properly fitted hero background */
.hero-new{position:relative;overflow:hidden;min-height:410px;background-image:linear-gradient(90deg,rgba(239,249,255,.96) 0%,rgba(239,249,255,.88) 25%,rgba(239,249,255,.45) 47%,rgba(239,249,255,.08) 68%,rgba(239,249,255,0) 100%),url("../assets/hero-generated.png");background-repeat:no-repeat;background-size:cover;background-position:center 55%}
.hero-new .hero-inner{min-height:410px;display:flex;align-items:center}
.hero-new .hero-copy{width:58%;padding:45px 0 48px;position:relative;z-index:3}
.hero-new .hero-image{display:none}
.hero-new h1{font-size:32px;line-height:1.22;text-shadow:0 1px 0 rgba(255,255,255,.7)}
.hero-new p{font-size:15px;line-height:1.55;font-weight:500}
.hero-new .btn-yellow{box-shadow:0 7px 18px rgba(16,64,112,.16)}
@media(max-width:900px){.hero-new{min-height:390px;background-position:center 55%}.hero-new .hero-inner{min-height:390px}.hero-new .hero-copy{width:68%;padding:42px 0}}
@media(max-width:600px){.hero-new{min-height:500px;background-size:auto 100%;background-position:68% center}.hero-new .hero-inner{min-height:500px;align-items:flex-start;padding-top:28px}.hero-new .hero-copy{width:100%;padding:24px 18px 28px;border-radius:18px;background:linear-gradient(90deg,rgba(239,249,255,.94),rgba(239,249,255,.70));box-shadow:0 8px 25px rgba(0,40,80,.08)}.hero-new h1{font-size:23px;line-height:1.25}.hero-new p{font-size:13px;line-height:1.5}.hero-new .btn-yellow{font-size:15px;padding:11px 18px}}
@media(max-width:380px){.hero-new{min-height:470px;background-position:72% center}.hero-new .hero-inner{min-height:470px}.hero-new h1{font-size:21px}.hero-new p{font-size:12px}}

.contact-promo .btn-yellow{border:0;cursor:pointer}.contact-promo .btn-yellow span{font-size:20px;line-height:1}#contact{scroll-margin-top:20px}

/* Correct contact promo card */
.contact-promo{
  position:relative;
  overflow:hidden;
  border-radius:14px;
  min-height:185px;
  isolation:isolate;
}
.contact-promo img{
  display:block;
  width:100%;
  height:185px;
  object-fit:cover;
  object-position:center;
}
.promo-overlay{
  position:absolute;
  inset:0;
  z-index:2;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  padding:22px 28px;
  color:#fff;
  background:linear-gradient(90deg,rgba(3,45,91,.94) 0%,rgba(3,45,91,.76) 42%,rgba(3,45,91,.16) 78%,rgba(3,45,91,0) 100%);
}
.promo-overlay h3{
  margin:0 0 8px;
  max-width:290px;
  font-size:24px;
  line-height:1.12;
  font-weight:800;
  color:#fff;
  text-shadow:0 2px 4px rgba(0,0,0,.25);
}
.promo-overlay p{
  margin:0 0 12px;
  max-width:310px;
  font-size:14px;
  line-height:1.35;
  color:#fff;
}
.promo-overlay .btn{
  padding:8px 17px;
  min-height:36px;
  font-size:14px;
  line-height:1;
  white-space:nowrap;
}
.promo-overlay .btn-yellow{
  box-shadow:0 5px 14px rgba(0,0,0,.18);
}
@media(max-width:900px){
  .contact-promo,.contact-promo img{height:190px;min-height:190px}
  .promo-overlay{padding:20px 24px}
  .promo-overlay h3{font-size:22px;max-width:270px}
}
@media(max-width:600px){
  .contact-promo,.contact-promo img{height:205px;min-height:205px}
  .promo-overlay{
    padding:18px 20px;
    background:linear-gradient(90deg,rgba(3,45,91,.95),rgba(3,45,91,.72) 62%,rgba(3,45,91,.12));
  }
  .promo-overlay h3{font-size:21px;max-width:250px}
  .promo-overlay p{font-size:13px;max-width:250px;margin-bottom:10px}
  .promo-overlay .btn{font-size:13px;padding:8px 15px}
}


/* =====================================================
   सभासद नोंदणी — नवीन डिझाइन (फील्ड्स आधीसारखेच)
   ===================================================== */
.modal-backdrop{position:fixed;inset:0;z-index:9999;opacity:0;visibility:hidden;transition:opacity .25s,visibility .25s;background:#eef4fb}
.modal-backdrop.show{opacity:1;visibility:visible}
.member-modal{
  --m-blue-900:#0a3d7d;--m-blue-800:#0d4a94;--m-blue-700:#1359ab;
  --m-ink:#17375e;--m-line:#d6dfeb;--m-band:#f2f6fb;--m-yellow:#ffc21f;--m-red:#d62828;
  position:relative;width:100vw;height:100vh;height:100dvh;display:flex;flex-direction:column;
  background:#eef4fb;color:var(--m-ink);overflow:hidden;
}
.member-modal svg{fill:currentColor;flex-shrink:0}

/* हेडर */
.modal-header{
  flex:0 0 auto;display:flex;align-items:center;gap:18px;
  padding:12px clamp(16px,3vw,46px);
  background:linear-gradient(100deg,var(--m-blue-900),var(--m-blue-700));color:#fff;
}
.modal-logo-wrap{width:72px;height:72px;border-radius:16px;background:#fff;display:grid;place-items:center;flex-shrink:0;box-shadow:0 4px 14px rgba(0,0,0,.18)}
.modal-logo{width:54px;height:54px;object-fit:contain}
.modal-titles{min-width:0;flex:1}
.modal-header h2{margin:0;font-size:clamp(22px,2.4vw,32px);font-weight:800;color:#fff;line-height:1.2}
.modal-header p{margin:2px 0 0;font-size:clamp(12px,1.1vw,15px);font-weight:500;color:#dbe8f7;line-height:1.4}
.modal-close{
  flex-shrink:0;width:42px;height:42px;border-radius:50%;cursor:pointer;
  border:1px solid rgba(255,255,255,.4);background:rgba(255,255,255,.14);color:#fff;
  font-size:26px;line-height:1;display:grid;place-items:center;padding:0;transition:background .15s;
}
.modal-close:hover{background:rgba(255,255,255,.28)}

/* फॉर्म क्षेत्र */
#memberForm{
  flex:1 1 auto;min-height:0;overflow-y:auto;
  display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start;
  padding:22px clamp(14px,2.4vw,34px) 34px;
}
.mm-col{display:flex;flex-direction:column;gap:20px;min-width:0}
.mm-card{background:#fff;border-radius:12px;padding:12px 18px 20px;box-shadow:0 2px 10px rgba(16,58,110,.07)}
.mm-head{
  margin:0 0 16px;padding:7px 14px 7px 8px;display:flex;align-items:center;gap:12px;
  background:var(--m-band);border-radius:10px;
  font-size:21px;font-weight:800;color:var(--m-blue-800);line-height:1.3;
}
.mm-num{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;flex-shrink:0;background:var(--m-blue-800);color:#fff;font-size:20px;font-weight:700}
.mm-head-ico{color:var(--m-blue-800)}
.mm-head-text{flex:1}

.mm-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px 24px}
.mm-full{grid-column:1/-1}
.mm-field{min-width:0}
.mm-label{display:block;margin:0 0 7px;padding:0;font-size:16.5px;font-weight:700;color:var(--m-ink)}
.mm-req{color:var(--m-red);font-weight:700}
.mm-hint{font-size:13px;font-weight:500;color:#7a8aa0;margin-left:6px}

/* इनपुट */
.mm-input{position:relative;display:flex;align-items:center;height:48px;background:#fff;border:1px solid var(--m-line);border-radius:9px;transition:border-color .15s,box-shadow .15s}
.mm-input:focus-within{border-color:var(--m-blue-700);box-shadow:0 0 0 3px rgba(19,89,171,.15)}
.mm-ico{position:absolute;left:14px;color:#6c7f99;pointer-events:none}
.mm-input input,.mm-input select{
  width:100%;height:100%;margin:0;border:0;outline:0;background:transparent;border-radius:9px;
  font:inherit;font-size:16px;color:var(--m-ink);padding:0 14px 0 50px;box-shadow:none;
}
.mm-input:not(:has(.mm-ico)) input{padding-left:16px}
.mm-input input::placeholder{color:#8c9ab0;opacity:1}
.mm-select select{appearance:none;-webkit-appearance:none;cursor:pointer;padding-right:40px}
.mm-chev{position:absolute;right:14px;pointer-events:none;color:var(--m-ink)}
.mm-input:has(input.invalid){border-color:var(--m-red);box-shadow:0 0 0 3px rgba(214,40,40,.12)}
.mm-input:has(input:disabled,select:disabled){background:#f2f5f8;opacity:.8}
#memberForm input.invalid{border:0;background:transparent;box-shadow:none}

/* फोटो */
.mm-photo-field{margin-bottom:16px}
.mm-photo-row{display:flex;gap:20px;align-items:stretch}
.mm-dropzone{
  flex:1;min-height:104px;display:flex;align-items:center;justify-content:center;gap:14px;
  border:1.5px dashed #5aa7e6;border-radius:10px;background:#fbfdff;cursor:pointer;padding:12px 16px;
  transition:background .15s,border-color .15s;position:static;width:auto;height:auto;aspect-ratio:auto;color:var(--m-blue-800);
}
.mm-dropzone:hover,.mm-dropzone.drag{background:#eef6ff;border-color:var(--m-blue-700)}
.mm-dz-text{display:flex;flex-direction:column}
.mm-dz-main{font-size:16.5px;font-weight:500;color:var(--m-blue-800)}
.mm-dz-sub{font-size:14px;color:#5f7391}
.mm-preview{position:relative;width:124px;min-height:104px;flex-shrink:0;border-radius:10px;overflow:hidden;background:#e9edf2;border:1px solid #e0e6ee}
.mm-avatar{width:100%;height:100%;fill:#aab3bf;padding:16px 20px 0}
.mm-preview img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.mm-preview img[hidden]{display:none}
.mm-photo-row:has(.has-photo) .mm-avatar{display:none}
.photo-remove{position:absolute;top:6px;right:6px;width:26px;height:26px;border:0;border-radius:50%;background:rgba(3,26,52,.75);color:#fff;font-size:17px;line-height:1;cursor:pointer;display:grid;place-items:center;padding:0}
.photo-remove[hidden]{display:none}

/* चेकबॉक्स */
.mm-box{width:22px;height:22px;border-radius:5px;flex-shrink:0;border:1.5px solid #b9c5d6;background:#fff;display:grid;place-items:center}
.mm-same input,.mm-chip input{position:absolute;opacity:0;pointer-events:none}
.mm-same{display:flex;align-items:center;gap:8px;position:relative;cursor:pointer;font-size:14.5px;font-weight:600;color:var(--m-ink);margin:0}
input:checked ~ .mm-box{background:var(--m-blue-700);border-color:var(--m-blue-700)}
input:checked ~ .mm-box::after{content:"";width:6px;height:11px;margin-top:-2px;border:solid #fff;border-width:0 2.5px 2.5px 0;transform:rotate(45deg)}
input:focus-visible ~ .mm-box{box-shadow:0 0 0 3px rgba(19,89,171,.28)}

.mm-chips{border:0;margin:20px 0 0;padding:0;min-width:0}
.mm-chip-row{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.mm-chip{
  position:relative;display:flex;align-items:center;gap:11px;height:50px;padding:0 14px;cursor:pointer;
  background:#fff;border:1px solid var(--m-line);border-radius:9px;font-size:16px;font-weight:500;color:var(--m-ink);white-space:nowrap;
  transition:background .15s,border-color .15s;
}
.mm-chip:has(input:checked){background:#e8f1fc;border-color:#c5dbf4}

/* सूचना + बटण */
.mm-note{display:flex;align-items:center;gap:14px;margin:18px 0 0;padding:15px 18px;border-radius:10px;background:#eaf3fd;color:var(--m-blue-800);border:0;font-size:inherit}
.mm-note svg{color:var(--m-blue-700)}
.mm-note p{margin:0;font-size:15.5px;font-weight:500}
.step-actions{display:flex;justify-content:flex-end;margin-top:20px;padding:0;border:0;position:static}
.submit-member{
  display:inline-flex !important;align-items:center;gap:10px;height:52px;padding:0 28px;border:0;border-radius:10px;cursor:pointer;
  background:var(--m-yellow);color:var(--m-blue-900);font:inherit;font-size:18px;font-weight:800;margin:0;
  box-shadow:0 4px 12px rgba(255,194,31,.45);transition:transform .15s,box-shadow .15s;
}
.submit-member:hover{background:var(--m-yellow);transform:translateY(-1px);box-shadow:0 6px 16px rgba(255,194,31,.55)}
.submit-member:focus-visible{outline:3px solid var(--m-blue-700);outline-offset:2px}

/* यशस्वी संदेश */
.success-message{display:none;flex:1;place-items:center;padding:24px}
.success-message.show{display:grid}
.mm-success-box{background:#fff;border-radius:16px;padding:34px 40px;text-align:center;max-width:380px;box-shadow:0 10px 40px rgba(16,58,110,.15)}
.success-check{margin:0 auto;width:64px;height:64px;border-radius:50%;display:grid;place-items:center;background:#dff8eb;color:#15935b;font-size:32px;font-weight:900}
.mm-success-box h3{margin:14px 0 6px;font-size:22px;color:var(--m-blue-800)}
.mm-success-box p{margin:0 0 18px;color:#61758a;font-size:15px}

/* टॅबलेट / मोबाईल */
@media(max-width:1100px){
  .mm-chip-row{grid-template-columns:1fr 1fr}
  .mm-chip-row .mm-chip:first-child{grid-column:1/-1}
}
@media(max-width:980px){
  #memberForm{grid-template-columns:1fr;gap:20px}
  .mm-col{gap:20px}
  .mm-chip-row{grid-template-columns:repeat(3,1fr)}
  .mm-chip-row .mm-chip:first-child{grid-column:auto}
}
@media(max-width:680px){
  .modal-header{gap:12px;padding:10px 14px}
  .modal-logo-wrap{width:52px;height:52px;border-radius:12px}
  .modal-logo{width:40px;height:40px}
  .modal-header p{font-size:11.5px}
  .modal-close{width:36px;height:36px}
  #memberForm{padding:14px 12px 28px}
  .mm-card{padding:10px 12px 18px}
  .mm-head{font-size:18px;flex-wrap:wrap}
  .mm-num{width:38px;height:38px;font-size:18px}
  .mm-grid{grid-template-columns:1fr}
  .mm-photo-row{flex-direction:column}
  .mm-preview{width:100%;height:150px}
  .mm-chip-row{grid-template-columns:1fr}
  .mm-note p{font-size:14px}
  .step-actions{justify-content:stretch}
  .submit-member{width:100%;justify-content:center}
  .mm-input input,.mm-input select{font-size:16px}
}
@media(prefers-reduced-motion:reduce){.modal-backdrop{transition:none}}
.member-modal .mm-avatar{fill:#aab3bf}
@media(max-width:680px){.mm-preview{height:120px}.member-modal .mm-avatar{padding:12px 0 0}}

/* ===== कॉम्पॅक्ट: डेस्कटॉपवर स्क्रोल न होता संपूर्ण फॉर्म एका स्क्रीनवर ===== */
@media(min-width:981px){
  .modal-header{padding:clamp(6px,1.2vh,12px) clamp(16px,2.4vw,40px);gap:14px}
  .modal-logo-wrap{width:clamp(40px,7.2vh,64px);height:clamp(40px,7.2vh,64px);border-radius:12px}
  .modal-logo{width:78%;height:78%}
  .modal-header h2{font-size:clamp(19px,3.4vh,28px)}
  .modal-header p{font-size:clamp(11.5px,1.8vh,14.5px);margin-top:0}
  .modal-close{width:clamp(30px,4.6vh,40px);height:clamp(30px,4.6vh,40px);font-size:22px}
  #memberForm{gap:clamp(10px,2vh,20px) clamp(14px,1.8vw,24px);padding:clamp(8px,1.8vh,18px) clamp(14px,2vw,28px)}
  .mm-col{gap:clamp(8px,1.6vh,16px)}
  .mm-card{padding:clamp(5px,.9vh,9px) 16px clamp(10px,1.8vh,16px)}
  .mm-head{margin-bottom:clamp(8px,1.4vh,12px);padding:4px 12px 4px 6px;font-size:clamp(16px,2.6vh,20px);gap:10px}
  .mm-num{width:clamp(28px,4.2vh,36px);height:clamp(28px,4.2vh,36px);font-size:clamp(14px,2vh,17px)}
  .mm-head-ico{width:clamp(20px,3vh,24px);height:clamp(20px,3vh,24px)}
  .mm-grid{gap:clamp(7px,1.3vh,12px) 16px}
  .mm-label{font-size:clamp(13.5px,2.15vh,16px);margin-bottom:clamp(3px,.6vh,5px)}
  .mm-hint{font-size:12.5px}
  .mm-input{height:clamp(36px,5.3vh,44px)}
  .mm-input input,.mm-input select{font-size:clamp(14px,2.1vh,16px);padding-left:40px}
  .mm-input:not(:has(.mm-ico)) input{padding-left:14px}
  .mm-ico{width:18px;height:18px;left:12px}
  .mm-chev{width:15px;height:15px;right:12px}
  .mm-photo-field{margin-bottom:clamp(8px,1.4vh,12px)}
  .mm-photo-row{gap:14px}
  .mm-dropzone{min-height:clamp(50px,9vh,80px);padding:8px 12px;gap:10px}
  .mm-dz-ico{width:30px;height:30px}
  .mm-dz-main{font-size:clamp(14px,2.1vh,16px)}
  .mm-dz-sub{font-size:13px}
  .mm-preview{width:clamp(72px,11vh,104px);min-height:0}
  .mm-avatar{padding:10px 14px 0}
  .mm-same{font-size:14px;gap:7px}
  .mm-box{width:19px;height:19px}
  .mm-chips{margin-top:clamp(8px,1.6vh,16px)}
  .mm-chip-row{gap:10px}
  .mm-chip{height:clamp(36px,5.3vh,44px);font-size:clamp(14px,2.1vh,16px);gap:9px;padding:0 12px}
  .mm-note{margin-top:clamp(8px,1.5vh,14px);padding:clamp(7px,1.3vh,12px) 14px;gap:10px}
  .mm-note svg{width:20px;height:20px}
  .mm-note p{font-size:14px}
  .step-actions{margin-top:clamp(8px,1.5vh,16px)}
  .submit-member{height:clamp(38px,5.8vh,48px);padding:0 24px;font-size:clamp(15px,2.2vh,17px)}
  .submit-member svg{width:18px;height:18px}
}
@media(max-width:680px){
  .mm-label{font-size:14.5px}
  .mm-input{height:42px}
  .mm-head{font-size:16.5px}
  .mm-num{width:34px;height:34px;font-size:16px}
  .mm-dropzone{min-height:76px}
  .mm-preview{height:100px}
  .mm-dz-main{font-size:14.5px}
}

/* फोटो आणि पूर्ण नाव — एकाच ओळीत */
.mm-top{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:16px 20px;align-items:start;margin-bottom:clamp(8px,1.4vh,12px)}
.mm-top .mm-photo-field{margin-bottom:0}
.mm-top .mm-photo-row{gap:12px}
.mm-top .mm-dropzone{flex-direction:column;gap:3px;text-align:center;padding:8px 10px;min-height:clamp(84px,13vh,108px)}
.mm-top .mm-dz-text{align-items:center}
.mm-top .mm-dz-ico{width:28px;height:28px}
.mm-top .mm-dz-main{font-size:clamp(13px,1.9vh,15px);line-height:1.3}
.mm-top .mm-dz-sub{font-size:12px}
.mm-top .mm-preview{width:clamp(66px,10vh,92px);min-height:0}
@media(max-width:680px){
  .mm-top{grid-template-columns:1fr}
  .mm-top .mm-photo-row{flex-direction:row}
  .mm-top .mm-preview{width:92px;height:auto;min-height:92px}
}

/* थोडी जास्त मोकळी जागा (spacing) — स्क्रोल न होता */
@media(min-width:981px){
  #memberForm{gap:clamp(10px,2.3vh,26px) clamp(16px,2.2vw,32px);padding:clamp(10px,2.3vh,26px) clamp(16px,2.4vw,34px)}
  .mm-col{gap:clamp(10px,2.3vh,24px)}
  .mm-card{padding:clamp(7px,1.3vh,14px) clamp(16px,1.6vw,24px) clamp(12px,2.3vh,24px)}
  .mm-head{margin-bottom:clamp(10px,2vh,20px);padding:5px 14px 5px 7px}
  .mm-grid{gap:clamp(9px,1.9vh,20px) clamp(16px,1.8vw,26px)}
  .mm-top{gap:12px clamp(16px,1.8vw,26px);margin-bottom:clamp(9px,1.9vh,20px)}
  .mm-label{margin-bottom:clamp(4px,.8vh,8px)}
  .mm-chips{margin-top:clamp(10px,2.1vh,22px)}
  .mm-chip-row{gap:clamp(10px,1.2vw,16px)}
  .mm-note{margin-top:clamp(10px,1.9vh,20px)}
  .step-actions{margin-top:clamp(10px,1.9vh,20px)}
  .mm-input,.mm-chip{height:clamp(34px,5.3vh,46px)}
}

/* ===== फोटो अपलोड — कार्ड 1 च्या तळाशी + व्यावसायिक फिनिश ===== */
.mm-photo-field{margin:clamp(10px,1.9vh,20px) 0 0}
.mm-photo-field .mm-photo-row{gap:14px;align-items:stretch}
.mm-card{border:1px solid #e1e8f2;box-shadow:0 1px 3px rgba(16,58,110,.06),0 6px 18px rgba(16,58,110,.05)}
.modal-header{border-bottom:3px solid var(--m-yellow,#ffc21f)}
.mm-input:hover{border-color:#b9c8dc}
.mm-input:focus-within{border-color:var(--m-blue-700);box-shadow:0 0 0 3px rgba(19,89,171,.15)}
.mm-input input[type="date"]{color:var(--m-ink);cursor:pointer}
.mm-input input[type="date"]::-webkit-calendar-picker-indicator{cursor:pointer;opacity:.7}
@media(min-width:981px){
  .mm-photo-field .mm-dropzone{flex-direction:row;min-height:clamp(54px,8.6vh,78px);padding:6px 14px;gap:12px;text-align:left}
  .mm-photo-field .mm-dz-text{align-items:flex-start}
  .mm-photo-field .mm-dz-ico{width:30px;height:30px}
  .mm-photo-field .mm-dz-main{font-size:clamp(13.5px,2vh,15.5px)}
  .mm-photo-field .mm-preview{width:clamp(62px,9.4vh,84px);min-height:0}
  .mm-photo-field .mm-avatar{padding:8px 12px 0}
}
@media(max-width:680px){
  .mm-photo-field .mm-photo-row{flex-direction:column}
  .mm-photo-field .mm-preview{width:100%;height:110px}
}

/* फोटो + ई-मेल एका ओळीत; प्रिव्ह्यू फक्त फोटो निवडल्यावर */
.mm-grid .mm-photo-field{margin:0}
.mm-preview{display:none;background:#e9edf2}
.mm-photo-row:has(.has-photo) .mm-preview{display:block}
@media(min-width:981px){
  .mm-photo-field .mm-dropzone{min-height:clamp(50px,7.6vh,66px);padding:6px 10px;gap:10px;justify-content:center}
  .mm-photo-field .mm-dz-ico{width:28px;height:28px}
  .mm-photo-field .mm-dz-main{font-size:clamp(13px,1.9vh,15px);line-height:1.3}
  .mm-photo-field .mm-dz-sub{font-size:12px}
  .mm-photo-field .mm-preview{width:clamp(54px,8vh,66px)}
}
@media(max-width:680px){
  .mm-photo-field .mm-photo-row{flex-direction:row}
  .mm-photo-field .mm-preview{width:72px;height:auto}
}
.mm-photo-field .photo-remove{width:20px;height:20px;font-size:14px;top:3px;right:3px}

/* फोटो अपलोड — उंची वाढवली (रुंदी तीच) */
.mm-photo-field .mm-dropzone{flex-direction:column;gap:6px;text-align:center}
.mm-photo-field .mm-dz-text{align-items:center}
@media(min-width:981px){
  .mm-photo-field .mm-dropzone{min-height:clamp(84px,13vh,112px);padding:10px}
  .mm-photo-field .mm-dz-ico{width:34px;height:34px}
  .mm-photo-field .mm-preview{width:clamp(70px,11vh,96px)}
}
@media(max-width:980px){
  .mm-photo-field .mm-dropzone{min-height:100px}
}
@media(max-width:680px){
  .mm-photo-field .mm-preview{width:92px}
}

/* फोटो अपलोड — रुंदी कमी + उंची जास्त (जवळपास चौरस) */
.mm-photo-field .mm-photo-row{justify-content:flex-start}
.mm-photo-field .mm-dropzone{flex:0 0 auto;width:clamp(170px,60%,210px);max-width:100%;padding:12px 10px}
.mm-photo-field .mm-dz-main{white-space:normal;max-width:150px}
@media(min-width:981px){
  .mm-photo-field .mm-dropzone{min-height:clamp(120px,18vh,150px)}
  .mm-photo-field .mm-dz-ico{width:38px;height:38px}
  .mm-photo-field .mm-preview{width:clamp(90px,14vh,120px);min-height:clamp(120px,18vh,150px)}
}
@media(max-width:980px){
  .mm-photo-field .mm-dropzone{min-height:130px}
}

/* ई-मेल — फोटो बॉक्सच्या मधोमध (उभ्या दिशेत) */
.mm-grid .mm-field:has(#email){align-self:center}
.mm-photo-field .mm-dz-main{max-width:100%}

/* हेडर — उंची वाढवली + थोडी मोकळी जागा */
.modal-header{min-height:clamp(84px,13vh,112px);padding:clamp(12px,2vh,22px) clamp(16px,2.4vw,40px);gap:18px;align-items:center}
.modal-header p{margin-top:4px}
.modal-logo-wrap{width:clamp(52px,9vh,76px);height:clamp(52px,9vh,76px)}
@media(max-width:980px){
  .modal-header{min-height:76px;padding:14px 16px}
}

/* ब्लॉक 1 ची उंची उजव्या बाजूच्या शेवटच्या ब्लॉकपर्यंत (डेस्कटॉप) */
@media(min-width:981px){
  #memberForm{align-items:stretch}
  #memberForm > .mm-col:first-child > .mm-card{flex:1 1 auto;display:flex;flex-direction:column}
  #memberForm > .mm-col:first-child > .mm-card .mm-grid{flex:1 1 auto;align-content:space-between}
}
