/* ── Variables ───────────────────────────────────────────────────────────── */
:root {
  --primary:    #0d2d8e;
  --primary-dk: #091d60;
  --accent:     #D5EAD8;
  --accent2:    #34C759;
  --sky:        #00b4d8;
  --text:       #1a1a2e;
  --white:      #ffffff;
  --offwhite:   #f7f9ff;
  --shadow:     0 4px 24px rgba(9,29,96,0.18);
  --radius:     16px;
  --radius-sm:  10px;
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'Poppins',sans-serif;background:#f0f4ff;color:var(--text);min-height:100vh;font-size:16px;line-height:1.6}

.notice-bar{background:var(--accent);color:var(--primary-dk);text-align:center;font-size:.82rem;font-weight:700;padding:.45rem 1rem;letter-spacing:.02em}

.site-header{background:var(--primary);padding:.75rem 1.25rem;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:100;box-shadow:0 2px 12px rgba(9,29,96,.35)}
.site-header img{height:80px;width:auto}
.header-contact{display:flex;flex-direction:column;align-items:flex-end;gap:.1rem}
.header-contact a{color:var(--accent);font-weight:700;font-size:.9rem;text-decoration:none;display:flex;align-items:center;gap:.3rem}
.header-contact a.sec{color:rgba(255,255,255,.7);font-size:.75rem;font-weight:400}

.hero{background:linear-gradient(150deg,var(--primary-dk) 0%,var(--primary) 55%,#1e4ac8 100%);padding:2rem 1rem 2.5rem;position:relative;overflow:hidden}
.hero::before{content:'';position:absolute;top:-80px;right:-80px;width:320px;height:320px;background:radial-gradient(circle,rgba(0,180,216,.18) 0%,transparent 70%);pointer-events:none}
.hero::after{content:'';position:absolute;bottom:-60px;left:-60px;width:260px;height:260px;background:radial-gradient(circle,rgba(245,166,35,.12) 0%,transparent 70%);pointer-events:none}
.hero-inner{max-width:960px;margin:0 auto;display:grid;grid-template-columns:1fr;gap:2rem;position:relative;z-index:1}
@media(min-width:768px){.hero-inner{grid-template-columns:1fr 1fr;align-items:start}}
.hero-headline{color:#fff}
.hero-badge{display:inline-block;background:var(--accent);color:var(--primary-dk);font-size:.75rem;font-weight:700;padding:.3rem .9rem;border-radius:50px;margin-bottom:.9rem;letter-spacing:.06em;text-transform:uppercase}
.hero-headline h1{font-size:clamp(1.6rem,5vw,2.4rem);font-weight:900;line-height:1.25;margin-bottom:.75rem;text-shadow:0 2px 8px rgba(0,0,0,.3)}
.hero-headline h1 span{color:var(--accent)}
.hero-headline p{font-size:.95rem;color:rgba(255,255,255,.82);margin-bottom:1.25rem;line-height:1.7}
.hero-chips{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1.5rem}
.chip{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.2);color:rgba(255,255,255,.9);font-size:.78rem;font-weight:500;padding:.35rem .85rem;border-radius:50px}
.hero-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem}
.stat-box{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.15);border-radius:var(--radius-sm);padding:.75rem .5rem;text-align:center}
.stat-box .num{font-size:1.3rem;font-weight:900;color:var(--accent);display:block}
.stat-box .lbl{font-size:.68rem;color:rgba(255,255,255,.7)}

/* Form card */
.form-card{background:#fff;border-radius:var(--radius);box-shadow:0 8px 40px rgba(9,29,96,.28);padding:1.75rem 1.5rem;color:var(--text)}
.form-card-title{text-align:center;margin-bottom:1.25rem}
.form-card-title .free-tag{display:inline-block;background:#e7f9ee;color:var(--accent2);font-size:.72rem;font-weight:700;padding:.2rem .7rem;border-radius:50px;margin-bottom:.5rem;border:1px solid rgba(52,199,89,.3)}
.form-card-title h2{font-size:1.2rem;font-weight:800;color:var(--primary);display:block;position:static}
.form-card-title h2::after{display:none}
.form-card-title p{font-size:.82rem;color:#667;margin-top:.35rem}
.form-group{margin-bottom:1rem}
.form-group label{display:block;font-size:.82rem;font-weight:600;color:var(--primary);margin-bottom:.4rem}
.form-group input,.form-group textarea,.form-group select{width:100%;padding:.7rem .9rem;border:1.5px solid #dde3f5;border-radius:var(--radius-sm);font-size:.95rem;color:var(--text);background:var(--offwhite);font-family:inherit;transition:border-color .25s,box-shadow .25s;-webkit-appearance:none}
.form-group input::placeholder,.form-group textarea::placeholder{color:#aab;font-size:.88rem}
.form-group input:focus,.form-group textarea:focus,.form-group select:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px rgba(13,45,142,.1);background:#fff}
.form-group textarea{resize:vertical;min-height:80px}
.form-group .error{color:#e53e3e;font-size:.78rem;margin-top:.3rem;display:none}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}
@media(max-width:420px){.form-row{grid-template-columns:1fr}}
.terms-text{font-size:.75rem;color:#888;text-align:center;margin-top:.75rem}
.terms-text a{color:var(--primary)}
.btn-submit{width:100%;padding:.9rem;background:linear-gradient(135deg,#f5a623 0%,#e8920a 100%);color:var(--primary-dk);font-weight:800;font-size:1rem;border:none;border-radius:var(--radius-sm);cursor:pointer;font-family:inherit;margin-top:.5rem;box-shadow:0 4px 16px rgba(245,166,35,.4);transition:all .25s;letter-spacing:.02em}
.btn-submit:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 22px rgba(245,166,35,.55)}
.btn-submit:disabled{background:#dde;color:#aab;cursor:not-allowed;box-shadow:none}
#successMessage{display:none;background:#f0faf4;border:1.5px solid var(--accent2);color:#1a7a3a;border-radius:var(--radius-sm);padding:.9rem 1rem;font-size:.9rem;text-align:center;margin-bottom:1rem}
#residencyError{display:none;background:#fff0f0;border-left:4px solid #e53e3e;color:#c53030;border-radius:var(--radius-sm);padding:.75rem 1rem;font-size:.85rem;margin-bottom:1rem}

/* Sections */
.section{padding:3rem 1rem}
.section-inner{max-width:1100px;margin:0 auto}
.section-alt{background:#fff}
.section-title{text-align:center;margin-bottom:2rem}
.section-title h2{font-size:clamp(1.4rem,4vw,2rem);font-weight:800;color:var(--primary);display:inline-block;position:relative;padding-bottom:.6rem}
.section-title h2::after{content:'';position:absolute;bottom:0;left:50%;transform:translateX(-50%);width:48px;height:4px;background:var(--accent);border-radius:2px}
.section-title p{color:#667;font-size:.92rem;margin-top:.6rem}

/* Services */
.services-grid{display:grid;grid-template-columns:1fr;gap:1.25rem}
@media(min-width:600px){.services-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:900px){.services-grid{grid-template-columns:repeat(3,1fr)}}
.service-card{background:#fff;border:1.5px solid #e8edf8;border-radius:var(--radius);padding:1.5rem;display:flex;flex-direction:column;gap:.75rem;transition:transform .25s,box-shadow .25s,border-color .25s}
.service-card:hover{transform:translateY(-4px);box-shadow:0 8px 28px rgba(13,45,142,.12);border-color:var(--sky)}
.service-icon{font-size:2rem;width:52px;height:52px;background:#eef2ff;border-radius:12px;display:flex;align-items:center;justify-content:center}
.service-card h3{font-size:1rem;font-weight:700;color:var(--primary)}
.service-card p{font-size:.85rem;color:#667;line-height:1.6}
.service-card ul{list-style:none;display:flex;flex-direction:column;gap:.4rem}
.service-card ul li{font-size:.82rem;color:#445;padding-left:1.3rem;position:relative}
.service-card ul li::before{content:'✓';position:absolute;left:0;color:var(--accent2);font-weight:700}

/* Savings */
.savings-grid{display:grid;grid-template-columns:1fr;gap:1rem}
@media(min-width:500px){.savings-grid{grid-template-columns:repeat(3,1fr)}}
.savings-card{background:linear-gradient(135deg,var(--primary) 0%,#1a3fbf 100%);color:#fff;border-radius:var(--radius);padding:1.5rem 1.25rem;text-align:center}
.savings-card .s-kw{font-size:1.4rem;font-weight:900;color:var(--accent)}
.savings-card .s-save{font-size:1.1rem;font-weight:700;margin:.4rem 0 .2rem}
.savings-card .s-sub{font-size:.8rem;color:rgba(255,255,255,.7)}

/* Subsidy */
.subsidy-box{background:#fff;border:1.5px solid #e8edf8;border-radius:var(--radius);padding:1.5rem;overflow-x:auto}
.collapsible-header{display:flex;align-items:center;justify-content:space-between;cursor:pointer;padding:.25rem 0;user-select:none}
.collapsible-header h3{font-size:1rem;font-weight:700;color:var(--primary)}
.caret{width:28px;height:28px;background:#eef2ff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.75rem;color:var(--primary);transition:transform .3s;flex-shrink:0}
.caret.open{transform:rotate(180deg)}
.collapsible-body{display:none;margin-top:1rem}
.collapsible-body.active{display:block}
.subsidy-table{width:100%;border-collapse:collapse;font-size:.88rem;min-width:340px}
.subsidy-table thead th{background:#eef2ff;color:var(--primary);font-weight:700;padding:.65rem .75rem;text-align:center;border-bottom:2px solid #d0d9f5}
.subsidy-table tbody td{padding:.6rem .75rem;text-align:center;border-bottom:1px solid #f0f2f9;color:var(--text)}
.subsidy-table tbody tr:last-child td{border-bottom:none}
.subsidy-table tbody tr:nth-child(even){background:#f8faff}
.subsidy-note{font-size:.78rem;color:#f5a623;margin-top:.75rem;font-weight:600}

/* Calculator */
.calc-box {
    background: #ffffff;
    border: 1px solid #e0e7ff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.sub-header {
    margin-bottom: 1.5rem;
}

.sub-header label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.6rem;
    transition: color 0.3s ease;
}

.sub-header input[type="number"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1.1rem;
    color: #1e293b;
    background-color: #f8fafc;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    outline: none;
    font-weight: 500;
}

.sub-header input[type="number"]:hover {
    border-color: #cbd5e1;
}

.sub-header input[type="number"]:focus {
    background-color: #ffffff;
    border-color: #3b82f6; /* ब्लू कलर का फोकस */
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15); /* ग्लोइंग इफेक्ट */
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

.result-item{background:#f7f9ff;border:1px solid #e0e7ff;border-radius:var(--radius-sm);padding:.85rem;text-align:center}
.result-item .r-label{font-size:.72rem;color:#667;margin-bottom:.3rem}
.result-item .r-value{font-size:1rem;font-weight:700;color:var(--primary)}
.result-item.highlight{background:linear-gradient(135deg,#eef2ff,#e6fff0);border-color:var(--accent2)}
.result-item.highlight .r-value{color:#15803d}
.disclaimer{margin-top:1rem;background:#fff8f0;border-left:4px solid var(--accent);padding:.75rem 1rem;font-size:.78rem;color:#7a5a2a;border-radius:0 var(--radius-sm) var(--radius-sm) 0}

/* Gallery */
.gallery-grid{display:grid;grid-template-columns:1fr;gap:1.25rem}
@media(min-width:540px){.gallery-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:900px){.gallery-grid{grid-template-columns:repeat(3,1fr)}}
.gallery-item{border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);background:#fff;transition:transform .25s,box-shadow .25s}
.gallery-item:hover{transform:translateY(-4px);box-shadow:0 10px 32px rgba(13,45,142,.15)}
.gallery-item img{width:100%;height:auto-fit;object-fit:cover;display:block}
.review{padding:1rem}
.client-name{font-weight:700;font-size:.88rem;color:var(--primary);display:block;margin-bottom:.35rem}
.stars{color:#f5a623;font-size:.85rem;margin-bottom:.25rem}
.review p{font-size:.83rem;color:#556;line-height:1.55}

/* About */
.about-grid{display:grid;grid-template-columns:1fr;gap:2rem;align-items:center}
@media(min-width:700px){.about-grid{grid-template-columns:1fr 1fr}}
.about-text h3{font-size:1.3rem;font-weight:800;color:var(--primary);margin-bottom:.75rem}
.about-text p{font-size:.9rem;color:#445;line-height:1.7;margin-bottom:1rem}
.about-list{list-style:none;display:flex;flex-direction:column;gap:.6rem}
.about-list li{font-size:.87rem;color:var(--text);padding-left:1.6rem;position:relative}
.about-list li::before{content:'✔';position:absolute;left:0;color:var(--accent2);font-weight:700}
.about-tagline{margin-top:1.25rem;font-style:italic;font-weight:700;color:var(--primary);font-size:1rem}
.about-image img{width:100%;border-radius:var(--radius);box-shadow:var(--shadow);object-fit:cover;max-height:320px}
.contact-strip{background:linear-gradient(135deg,var(--primary-dk) 0%,var(--primary) 100%);border-radius:var(--radius);padding:1.5rem;color:#fff;margin-top:1.5rem}
.contact-strip h4{font-size:1rem;font-weight:700;margin-bottom:.75rem;color:var(--accent)}
.contact-strip a{display:flex;align-items:center;gap:.5rem;color:#fff;text-decoration:none;font-size:.9rem;margin-bottom:.5rem;font-weight:500}
.contact-strip a:hover{color:var(--accent)}

/* Modal */
.modal{display:none;position:fixed;inset:0;background:rgba(0,0,0,.65);z-index:2000;align-items:center;justify-content:center;padding:1rem}
.modal-content{background:#fff;border-radius:var(--radius);padding:2rem 1.5rem;max-width:400px;width:100%;text-align:center;box-shadow:0 20px 60px rgba(0,0,0,.3);animation:fadeInUp .35s ease-out}
.modal-content .modal-icon{font-size:2.5rem;margin-bottom:.75rem}
.modal-content h3{font-size:1.15rem;font-weight:800;color:var(--primary);margin-bottom:.4rem}
.modal-content p{font-size:.88rem;color:#667;margin-bottom:1.5rem}
.modal-btns{display:flex;gap:.75rem;justify-content:center}
.modal-btns button{padding:.7rem 1.5rem;border-radius:50px;font-weight:700;border:none;cursor:pointer;font-size:.9rem;font-family:inherit;transition:all .25s}
.btn-yes{background:var(--accent2);color:#fff}
.btn-yes:hover{background:#2da84d;transform:scale(1.04)}
.btn-no{background:#fee2e2;color:#c53030}
.btn-no:hover{background:#fecaca;transform:scale(1.04)}

/* Footer */
.footer{background:var(--primary-dk);color:rgba(255,255,255,.8);padding:2.5rem 1.25rem 1.5rem;padding-bottom:5.5rem}
.footer-grid{display:grid;grid-template-columns:1fr;gap:1.75rem;max-width:1100px;margin:0 auto}
@media(min-width:600px){.footer-grid{grid-template-columns:repeat(3,1fr)}}
.footer-col h4{color:#fff;font-size:.92rem;font-weight:700;margin-bottom:.9rem}
.footer-col img{height:80px;margin-bottom:.75rem}
.footer-col p,.footer-col a{font-size:.83rem;color:rgba(255,255,255,.7);text-decoration:none;display:block;margin-bottom:.4rem;line-height:1.6}
.footer-col a:hover{color:var(--accent)}
.social-icons{display:flex;gap:.85rem;margin-top:.5rem}
.social-icons a{color:rgba(255,255,255,.7)!important;font-size:1.25rem;transition:color .2s,transform .2s;display:inline-block!important}
.social-icons a:hover{color:var(--accent)!important;transform:scale(1.2)}
.footer-bottom{text-align:center;margin-top:2rem;padding-top:1rem;border-top:1px solid rgba(255,255,255,.1);font-size:.78rem;color:rgba(255,255,255,.45);display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem}
.footer-bottom a{color:rgba(255,255,255,.45);text-decoration:none}
.footer-bottom a:hover{color:var(--accent)}
.footer-credit{text-align:center;margin-top:2rem;padding-top:1rem;border-top:1px solid rgba(255,255,255,.1);font-size:.78rem;color:rgba(255,255,255,.45);display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem}
.footer-credit a{color:rgba(255,255,255,.45);text-decoration:none}
.footer-credit a:hover{color:var(--accent)}

/* Bottom bar */
.bottom-bar{position:fixed;bottom:0;left:0;right:0;background:var(--primary-dk);border-top:3px solid var(--accent);padding:.75rem 1.25rem;z-index:1000;display:flex;align-items:center;justify-content:center;gap:1.5rem;box-shadow:0 -4px 20px rgba(0,0,0,.3)}
.bottom-bar a{color:var(--accent);font-weight:900;font-size:1.05rem;text-decoration:none;display:flex;align-items:center;gap:.4rem;animation:pulse 2.5s ease-in-out infinite}
.bottom-bar span{color:rgba(255,255,255,.7);font-size:.82rem}
@media(max-width:400px){.bottom-bar{flex-direction:column;gap:.35rem;padding:.6rem 1rem}}

@keyframes fadeInUp{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.75}}
