/* ============================================================
   VAISHNAVI ASSOCIATES SOLAR ENERGY — Premium Solar Design
   Colors: Navy #1e3a8a | Red #dc2626 | Gold #f59e0b
   ============================================================ */

/* ── VARIABLES ── */
:root {
    --navy:       #1e3a8a;
    --navy-dark:  #0d1f55;
    --navy-mid:   #2851c5;
    --red:        #dc2626;
    --red-dark:   #b91c1c;
    --gold:       #f59e0b;
    --gold-light: #fffbeb;
    --green:      #16a34a;
    --teal:       #0891b2;
    --dark:       #070f2b;
    --text:       #1e293b;
    --muted:      #64748b;
    --border:     #e2e8f0;
    --bg-soft:    #f0f4ff;
    --white:      #ffffff;
    /* Legacy compat */
    --solar-navy:   #1e3a8a;
    --solar-dark:   #070f2b;
    --solar-orange: #dc2626;
    --solar-green:  #16a34a;
    --solar-light:  #f0f4ff;
    --solar-gold:   #f59e0b;
}

/* ── BASE ── */
*, *::before, *::after { box-sizing: border-box; }
body { font-family: "Poppins", sans-serif; color: var(--text); scroll-behavior: smooth; overflow-x: hidden; }

/* ── UTILITIES ── */
.bg-solar-navy   { background: var(--navy)  !important; }
.bg-solar-dark   { background: var(--dark)  !important; }
.bg-solar-orange { background: var(--red)   !important; }
.bg-solar-green  { background: var(--green) !important; }
.text-solar-orange { color: var(--red)  !important; }
.text-solar-navy   { color: var(--navy) !important; }

/* ── NAVBAR LOGO ── */
.navbar-logo-wrap {
    width: 54px; height: 54px; border-radius: 50%; flex-shrink: 0;
    overflow: hidden;
    border: 2.5px solid rgba(245,158,11,0.7);
    box-shadow: 0 0 0 4px rgba(245,158,11,0.12), 0 4px 16px rgba(0,0,0,0.4);
    background: #fff;
    display: flex; align-items: center; justify-content: center;
    transition: box-shadow 0.3s;
}
.navbar-logo-wrap:hover {
    box-shadow: 0 0 0 6px rgba(245,158,11,0.2), 0 4px 20px rgba(0,0,0,0.5);
}
.navbar-logo-wrap img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}

/* ── TOPBAR ── */
.topbar {
    font-size: 12.5px;
    background: #050d1e;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 8px 0;
}
.topbar .tb-contact-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 14px; border-radius: 50px; font-size: 12px; font-weight: 600;
    text-decoration: none; transition: all 0.2s;
}
.topbar .tb-phone {
    background: rgba(245,158,11,0.12); border: 1px solid rgba(245,158,11,0.35);
    color: #f0c560;
}
.topbar .tb-phone:hover { background: rgba(245,158,11,0.22); color: #fde68a; }
.topbar .tb-wa {
    background: rgba(37,211,102,0.12); border: 1px solid rgba(37,211,102,0.3);
    color: #4ade80;
}
.topbar .tb-wa:hover { background: rgba(37,211,102,0.22); color: #86efac; }

/* ── NAVBAR ── */
.navbar {
    background: linear-gradient(135deg, #09184a 0%, #1a357e 60%, #1e3a8a 100%) !important;
    padding: 0;
    box-shadow: 0 4px 30px rgba(5,13,30,0.55);
    position: relative;
    transition: all 0.3s;
}
.navbar::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--red) 50%, var(--gold) 100%);
}
.navbar .container { padding-top: 10px; padding-bottom: 10px; }

/* Brand */
.navbar-brand { padding: 4px 0; }
.brand-name-main {
    font-size: 16px; font-weight: 800; line-height: 1.15; letter-spacing: 0.4px;
    background: linear-gradient(90deg, #f59e0b, #fde68a);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.brand-name-sub { color: rgba(255,255,255,0.92); font-size: 16px; font-weight: 800; }
.brand-tagline {
    font-size: 9.5px; letter-spacing: 2px; font-weight: 600; text-transform: uppercase;
    color: rgba(255,255,255,0.4); margin-top: 2px;
    display: flex; align-items: center; gap: 5px;
}
.brand-tagline::before, .brand-tagline::after {
    content: ""; flex: 1; height: 1px; background: rgba(255,255,255,0.15);
}

/* Nav links */
.navbar .nav-link {
    font-size: 13.5px; font-weight: 500; color: rgba(255,255,255,0.82) !important;
    padding: 8px 13px !important; position: relative; transition: color 0.2s; letter-spacing: 0.2px;
}
.navbar .nav-link::after {
    content: ""; position: absolute; bottom: 3px; left: 50%; right: 50%;
    height: 2px; background: var(--gold); border-radius: 2px;
    transition: left 0.25s, right 0.25s;
}
.navbar .nav-link:hover, .navbar .nav-link.active { color: #fde68a !important; }
.navbar .nav-link:hover::after, .navbar .nav-link.active::after { left: 13px; right: 13px; }

/* CTA buttons in navbar */
.btn-nav-quote {
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    color: #fff; border: none; font-weight: 700; font-size: 13px;
    padding: 8px 20px; border-radius: 50px; letter-spacing: 0.3px;
    transition: all 0.25s; white-space: nowrap;
}
.btn-nav-quote:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(220,38,38,0.45); }
.btn-nav-wa {
    background: rgba(37,211,102,0.15); border: 1.5px solid rgba(37,211,102,0.5);
    color: #4ade80; font-weight: 600; font-size: 13px;
    padding: 7px 18px; border-radius: 50px; transition: all 0.25s; white-space: nowrap;
}
.btn-nav-wa:hover { background: #25d366; color: #fff; border-color: #25d366; transform: translateY(-1px); }

/* ── HERO ── */
.hero-section { background: linear-gradient(135deg, var(--dark) 0%, #0d1f55 55%, #1e3a8a 100%); min-height: 92vh; display: flex; align-items: center; position: relative; overflow: hidden; padding: 90px 0 120px; }
.hero-section::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,255,255,0.055) 1px, transparent 1px); background-size: 38px 38px; z-index: 0; }
.hero-section::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 75% 40%, rgba(245,158,11,0.07) 0%, transparent 65%), radial-gradient(ellipse at 15% 85%, rgba(220,38,38,0.05) 0%, transparent 55%); z-index: 0; }
.hero-section .container { position: relative; z-index: 2; }

.hero-badge-wrap { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 16px; border-radius: 50px; font-size: 12px; font-weight: 600; letter-spacing: 0.4px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.18); backdrop-filter: blur(6px); color: #fff; }
.hero-badge.gold { border-color: rgba(245,158,11,0.55); color: var(--gold); background: rgba(245,158,11,0.1); }

.hero-title { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; line-height: 1.15; color: #fff; margin-bottom: 20px; letter-spacing: -0.5px; }
.hero-title .highlight { background: linear-gradient(90deg, var(--gold), #fde68a); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-subtitle { font-size: 1.05rem; color: rgba(255,255,255,0.82); line-height: 1.75; margin-bottom: 30px; }

.hero-trust-list { display: flex; flex-wrap: wrap; gap: 14px 20px; margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.1); }
.hero-trust-item { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: rgba(255,255,255,0.82); font-weight: 500; }
.hero-trust-item .check { color: #4ade80; font-size: 15px; }

.hero-card { background: rgba(255,255,255,0.07); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); border: 1px solid rgba(255,255,255,0.13); border-radius: 24px; padding: 34px 30px; box-shadow: 0 25px 60px rgba(0,0,0,0.35); }
.hero-card h3 { color: #fff; font-size: 1.25rem; font-weight: 700; margin-bottom: 22px; }
.saving-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 22px; }
.saving-item { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 14px; padding: 16px 10px; text-align: center; transition: background 0.2s; }
.saving-item:hover { background: rgba(255,255,255,0.1); }
.saving-item .s-val  { font-size: 1.55rem; font-weight: 800; color: var(--gold); line-height: 1; }
.saving-item .s-unit { font-size: 10.5px; font-weight: 600; color: rgba(255,255,255,0.65); margin-top: 3px; }
.saving-item .s-lbl  { font-size: 10px; color: rgba(255,255,255,0.45); margin-top: 2px; }

.hero-wave { position: absolute; bottom: -1px; left: 0; right: 0; line-height: 0; z-index: 2; }
.hero-wave svg { display: block; width: 100%; }

/* ── TRUST STRIP ── */
.trust-strip { background: var(--white); padding: 18px 0; border-bottom: 1px solid var(--border); box-shadow: 0 4px 24px rgba(0,0,0,0.06); }
.trust-item { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 12px 16px; border-right: 1px solid var(--border); }
.trust-item:last-child { border-right: none; }
.trust-item .t-icon { font-size: 26px; flex-shrink: 0; }
.trust-item .t-text { font-size: 13px; font-weight: 700; color: var(--navy); line-height: 1.3; }
.trust-item .t-sub  { font-size: 11px; color: var(--muted); }

/* ── SECTION LABELS / TITLES ── */
.section-label { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.section-title { font-size: 2.1rem; font-weight: 800; color: var(--navy); line-height: 1.2; }
.section-title span { color: var(--red); }
.section-divider { width: 50px; height: 4px; background: linear-gradient(90deg, var(--red), var(--gold)); border-radius: 4px; margin: 12px auto 0; }
.section-divider.left { margin: 12px 0 0; }

/* ── SUBSIDY BANNER ── */
.subsidy-banner { background: linear-gradient(135deg, #064e3b, #065f46); border-radius: 22px; position: relative; overflow: hidden; box-shadow: 0 15px 40px rgba(6,78,59,0.3); }
.subsidy-banner::before { content: "☀"; position: absolute; right: -30px; top: -50px; font-size: 220px; opacity: 0.05; line-height: 1; pointer-events: none; }

/* ── SERVICE CARDS ── */
.service-card { border: none; border-radius: 20px; transition: transform 0.3s, box-shadow 0.3s; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.07); background: var(--white); }
.service-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(30,58,138,0.15); }
.service-card .card-header { background: linear-gradient(135deg, var(--navy), var(--navy-dark)); padding: 28px 20px 22px; position: relative; overflow: hidden; border: none; }
.service-card .card-header::after { content: ""; position: absolute; width: 120px; height: 120px; background: rgba(255,255,255,0.04); border-radius: 50%; bottom: -30px; right: -20px; pointer-events: none; }
.service-card .card-icon { width: 64px; height: 64px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 26px; margin: 0 auto 14px; }
.service-card .card-body { padding: 20px 22px; }

/* ── HOW IT WORKS ── */
.process-section { background: var(--bg-soft); }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; gap: 0; }
.process-steps::before { content: ""; position: absolute; top: 40px; left: 12.5%; right: 12.5%; height: 2px; background: linear-gradient(90deg, var(--navy), var(--red)); z-index: 0; }
.process-step { text-align: center; padding: 0 18px; position: relative; z-index: 1; }
.step-num { width: 80px; height: 80px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; font-weight: 800; margin: 0 auto 18px; border: 4px solid var(--bg-soft); box-shadow: 0 8px 24px rgba(30,58,138,0.3); transition: all 0.3s; }
.process-step:hover .step-num { background: var(--red); transform: scale(1.08); box-shadow: 0 12px 30px rgba(220,38,38,0.4); }
.step-icon  { font-size: 2.2rem; margin-bottom: 12px; display: block; }
.step-title { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.step-desc  { font-size: 12.5px; color: var(--muted); line-height: 1.6; }

/* ── STATS ── */
.stats-section { background: linear-gradient(135deg, var(--dark) 0%, var(--navy-dark) 100%); position: relative; overflow: hidden; }
.stats-section::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px); background-size: 40px 40px; }
.stat-box { text-align: center; padding: 30px 20px; border-right: 1px solid rgba(255,255,255,0.08); position: relative; z-index: 1; }
.stat-box:last-child { border-right: none; }
.stat-emoji  { font-size: 2.2rem; display: block; margin-bottom: 10px; }
.stat-number { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; line-height: 1; background: linear-gradient(90deg, var(--gold), #fde68a); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-label  { font-size: 13px; color: rgba(255,255,255,0.7); margin-top: 7px; font-weight: 500; }

/* ── WHY US CARDS ── */
.why-card { background: var(--white); border-radius: 18px; padding: 26px 24px; border: 1px solid var(--border); transition: all 0.3s; position: relative; overflow: hidden; }
.why-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--navy), var(--red)); transform: scaleX(0); transform-origin: left; transition: transform 0.35s; }
.why-card:hover { box-shadow: 0 12px 40px rgba(30,58,138,0.12); border-color: transparent; transform: translateY(-4px); }
.why-card:hover::before { transform: scaleX(1); }
.why-icon { width: 58px; height: 58px; border-radius: 15px; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 16px; }

/* ── LOCATION CHIPS ── */
.district-chip { display: inline-flex; align-items: center; gap: 6px; padding: 9px 20px; border-radius: 50px; background: var(--white); border: 1.5px solid var(--border); font-size: 13px; font-weight: 500; color: var(--text); transition: all 0.2s; cursor: default; }
.district-chip:hover { border-color: var(--navy); color: var(--navy); box-shadow: 0 4px 16px rgba(30,58,138,0.12); transform: translateY(-2px); }

/* ── TESTIMONIALS ── */
.testimonial-card { background: var(--white); border-radius: 20px; padding: 30px 26px; border: 1px solid var(--border); box-shadow: 0 4px 20px rgba(0,0,0,0.06); position: relative; transition: all 0.3s; display: flex; flex-direction: column; }
.testimonial-card:hover { box-shadow: 0 15px 45px rgba(30,58,138,0.12); transform: translateY(-5px); }
.testimonial-card .quote-mark { position: absolute; top: 14px; right: 22px; font-size: 90px; line-height: 1; font-family: Georgia, serif; color: var(--gold); opacity: 0.13; pointer-events: none; }
.testimonial-avatar { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; font-weight: 800; color: #fff; flex-shrink: 0; }
.testimonial-stars { color: #f59e0b; font-size: 16px; letter-spacing: 2px; }

/* ── CTA SECTION ── */
.cta-section { background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 60%, #b45309 100%); position: relative; overflow: hidden; }
.cta-section::before { content: "☀"; position: absolute; right: 4%; top: 50%; transform: translateY(-50%); font-size: 320px; opacity: 0.04; line-height: 1; pointer-events: none; }

/* ── FAQ ── */
.accordion-button:not(.collapsed) { background: var(--navy); color: var(--gold); }
.accordion-button:focus { box-shadow: none; }
.accordion-button:not(.collapsed)::after { filter: invert(1) sepia(1) saturate(4) hue-rotate(5deg); }

/* ── GALLERY ── */
.gallery-item { border-radius: 16px; overflow: hidden; position: relative; aspect-ratio: 4/3; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item .overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,15,43,0.82) 0%, transparent 55%); opacity: 0; transition: opacity 0.3s; display: flex; align-items: flex-end; padding: 18px; }
.gallery-item:hover .overlay { opacity: 1; }

/* ── CONTACT FORM ── */
.contact-card { border: none; border-radius: 20px; box-shadow: 0 10px 40px rgba(0,0,0,0.1); overflow: hidden; }
.form-control:focus, .form-select:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(30,58,138,0.12); }

/* ── BUTTONS ── */
.btn-solar { background: linear-gradient(135deg, var(--red), var(--red-dark)); color: #fff; border: none; font-weight: 700; padding: 12px 30px; border-radius: 50px; transition: all 0.3s; letter-spacing: 0.3px; }
.btn-solar:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 28px rgba(220,38,38,0.4); }
.btn-navy { background: var(--navy); color: #fff; border: none; font-weight: 600; padding: 12px 30px; border-radius: 50px; transition: all 0.3s; }
.btn-navy:hover { background: var(--navy-dark); color: #fff; transform: translateY(-2px); }

/* ── FLOATING WA ── */
.whatsapp-float { position: fixed; bottom: 28px; right: 28px; z-index: 999; width: 60px; height: 60px; border-radius: 50%; background: #25d366; display: flex; align-items: center; justify-content: center; font-size: 28px; color: white; text-decoration: none; box-shadow: 0 6px 24px rgba(37,211,102,0.45); transition: all 0.3s; }
.whatsapp-float:hover { transform: scale(1.12); color: white; }
.wa-pulse { position: absolute; width: 100%; height: 100%; border-radius: 50%; background: rgba(37,211,102,0.35); animation: pulse 2s infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.7); opacity: 0; } }

/* ── SCROLL TOP ── */
.scroll-top { position: fixed; bottom: 100px; right: 28px; z-index: 999; width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: white; border: none; display: none; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 15px rgba(0,0,0,0.2); transition: all 0.3s; }
.scroll-top.show { display: flex; }
.scroll-top:hover { background: var(--red); color: white; }

/* ── CALCULATOR ── */
.calc-result-card { border-radius: 20px; background: linear-gradient(135deg, var(--navy), var(--navy-dark)); color: white; padding: 2rem; }
.calc-result-item { padding: 1rem; border-radius: 12px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1); }

/* ── PAGE BANNER ── */
.page-banner { background: linear-gradient(135deg, var(--dark), var(--navy)); padding: 90px 0 60px; color: white; text-align: center; position: relative; overflow: hidden; }
.page-banner::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--red), var(--gold)); }

/* ── FOOTER ── */
.footer-link { transition: color 0.2s; }
.footer-link:hover { color: var(--gold) !important; }

/* ── FEATURE ITEM ── */
.feature-item { padding: 22px; border-radius: 14px; border-left: 4px solid var(--red); background: #f8faff; transition: background 0.2s; }
.feature-item:hover { background: #fff; box-shadow: 0 4px 20px rgba(0,0,0,0.08); }

/* ── IMAGE BOX ── */
.img-box { position: relative; overflow: hidden; width: 100%; border-radius: 16px; background: linear-gradient(135deg, #e8f5e9 0%, #eaf4fb 100%); display: block; }
.img-box::before { content: ""; display: block; }
.img-box-16x9::before   { padding-bottom: 56.25%; }
.img-box-4x3::before    { padding-bottom: 75%;    }
.img-box-3x2::before    { padding-bottom: 66.67%; }
.img-box-1x1::before    { padding-bottom: 100%;   }
.img-box-hero::before   { padding-bottom: 62%;    }
.img-box-service::before{ padding-bottom: 68%;    }
.img-box-about::before  { padding-bottom: 72%;    }
.img-box-about { max-height: 480px; }
.img-box-portrait::before { padding-bottom: 120%; }
.img-box img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.img-box-rounded { border-radius: 20px; }
.img-box-shadow  { box-shadow: 0 20px 50px rgba(0,0,0,0.2); }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — Multi-Device Optimized
   Breakpoints: 1199 | 991 | 767 | 575 | 480 | 360
══════════════════════════════════════════════════════════ */

/* ── LG (992–1199px) ── */
@media (max-width: 1199px) {
    .brand-name-main, .brand-name-sub { font-size: 14.5px; }
    .navbar .nav-link { padding: 8px 10px !important; font-size: 13px; }
    .btn-nav-quote, .btn-nav-wa { padding: 7px 14px; font-size: 12px; }
}

/* ── MD / Tablet (≤1199px — matches navbar-expand-xl) ── */
@media (max-width: 1199px) {
    /* Navbar collapse panel */
    .navbar-collapse {
        background: linear-gradient(180deg, #0c1942 0%, #17306d 100%);
        border-radius: 12px;
        margin-top: 10px;
        padding: 14px 16px 16px;
        border: 1px solid rgba(255,255,255,0.1);
        box-shadow: 0 12px 40px rgba(0,0,0,0.45);
        max-height: 80vh;
        overflow-y: auto;
    }
    .navbar .nav-link {
        padding: 11px 14px !important;
        border-radius: 8px;
        margin-bottom: 3px;
        font-size: 14px !important;
    }
    .navbar .nav-link:hover,
    .navbar .nav-link.active { background: rgba(255,255,255,0.09); }
    .navbar .nav-link::after { display: none; }
    /* CTA area in mobile nav */
    .nav-cta-area {
        flex-direction: column !important;
        gap: 8px !important;
        width: 100%;
        margin: 10px 0 0 0 !important;
        border-top: 1px solid rgba(255,255,255,0.1);
        padding-top: 12px;
    }
    .btn-nav-quote, .btn-nav-wa {
        display: flex !important;
        width: 100%;
        justify-content: center;
        padding: 10px 20px;
        font-size: 14px;
    }
    /* Process */
    .process-steps { grid-template-columns: repeat(2, 1fr); gap: 28px; }
    .process-steps::before { display: none; }
    /* Trust strip */
    .trust-item { border-right: none; padding: 10px 12px; }
    /* Stat boxes */
    .stat-box { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding: 22px 16px; }
    .stat-box:last-child { border-bottom: none; }
}

/* ── SM / Mobile (≤767px) ── */
@media (max-width: 767px) {
    /* Brand */
    .brand-name-main, .brand-name-sub { font-size: 12px; }
    .brand-tagline { display: none; }
    .navbar-brand { flex-shrink: 1; min-width: 0; }
    .navbar-toggler { flex-shrink: 0; margin-left: auto; }
    .navbar-logo-wrap { width: 40px; height: 40px; }
    .navbar .container { padding-top: 6px; padding-bottom: 6px; flex-wrap: wrap; }
    .navbar-collapse { width: 100%; flex-basis: 100%; }

    /* Hero */
    .hero-section { min-height: auto; padding: 76px 0 60px; text-align: center; }
    .hero-badge-wrap, .hero-trust-list { justify-content: center; }
    .hero-title { font-size: clamp(1.8rem, 7vw, 2.4rem); }
    .hero-subtitle { font-size: 0.93rem; margin-bottom: 22px; }
    .hero-card { padding: 22px 18px; border-radius: 18px; }
    .hero-card h3 { font-size: 1.05rem; margin-bottom: 16px; }
    .hero-section .d-flex.flex-wrap.gap-3 { justify-content: center; }
    .hero-section .btn-lg { font-size: 14px; padding: 10px 22px; }

    /* Savings row in hero */
    .saving-row { gap: 10px; margin-bottom: 16px; }
    .saving-item { padding: 14px 8px; border-radius: 12px; }
    .saving-item .s-val { font-size: 1.35rem; }

    /* Section generic */
    .section-title { font-size: 1.65rem; }

    /* Stats */
    .stat-number { font-size: 2rem; }
    .stat-box { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding: 20px 16px; }
    .stat-box:last-child { border-bottom: none; }

    /* Why cards */
    .why-card { padding: 20px 18px; }

    /* Page banner */
    .page-banner { padding: 74px 0 46px; }
    .page-banner h1 { font-size: 1.8rem !important; }
    .page-banner p { font-size: 0.92rem; }

    /* Gallery — always show overlay on touch */
    .gallery-item .overlay { opacity: 1; }

    /* Float buttons */
    .whatsapp-float { bottom: 18px; right: 16px; width: 52px; height: 52px; font-size: 24px; }
    .scroll-top     { bottom: 80px; right: 16px; }

    /* District chips */
    .district-chip { font-size: 12px; padding: 7px 14px; }

    /* Trust strip */
    .trust-strip .col-6, .trust-strip .col-md-3 { border-bottom: 1px solid var(--border); }
    .trust-item { padding: 12px 8px; justify-content: center; }

    /* Subsidy banner */
    .subsidy-banner { border-radius: 16px; }

    /* Calculator */
    .calc-result-card { padding: 1.4rem 1rem; }

    /* Service card */
    .service-card .card-body { padding: 16px 18px; }

    /* Feature item */
    .feature-item { padding: 16px 14px; }
}

/* ── XS / Small Phones (≤575px) ── */
@media (max-width: 575px) {
    .brand-name-main, .brand-name-sub { font-size: 11.5px; }
    .brand-tagline { display: none; }
    .navbar-logo-wrap { width: 38px; height: 38px; }

    /* Tighter container padding */
    .container { padding-left: 16px; padding-right: 16px; }

    /* Hero */
    .hero-section { padding: 68px 0 50px; }
    .hero-title { font-size: 1.7rem; }
    .hero-trust-item { font-size: 11.5px; }

    /* Saving row */
    .saving-row { grid-template-columns: 1fr 1fr; gap: 8px; }
    .saving-item .s-val { font-size: 1.2rem; }

    /* Process */
    .process-steps { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .step-num { width: 64px; height: 64px; font-size: 1.3rem; }

    /* Section title */
    .section-title { font-size: 1.45rem; }

    /* Buttons */
    .btn-solar, .btn-navy { padding: 10px 22px; font-size: 14px; }

    /* Testimonials */
    .testimonial-card { padding: 22px 16px; }

    /* Stats — 2 column grid */
    .stats-section .row { flex-wrap: wrap; }
    .stats-section .row > * { width: 50%; flex: 0 0 50%; max-width: 50%; border-right: none; }
    .stats-section .row > *:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.08) !important; }
    .stat-box { border-bottom: 1px solid rgba(255,255,255,0.08); }
    .stats-section .row > *:last-child, .stats-section .row > *:nth-last-child(2):nth-child(odd) { border-bottom: none; }
}

/* ── XXS / Very Small (≤480px) ── */
@media (max-width: 480px) {
    .process-steps { grid-template-columns: 1fr; }
    .hero-title { font-size: 1.6rem; }
    .hero-badge { font-size: 10.5px; padding: 5px 12px; }
    .saving-row { grid-template-columns: 1fr 1fr; }
    .page-banner h1 { font-size: 1.55rem !important; }
}

/* ── Touch: ensure tap targets ≥ 44px ── */
@media (hover: none) and (pointer: coarse) {
    .navbar .nav-link { min-height: 44px; display: flex; align-items: center; }
    .btn, .btn-solar, .btn-navy, .btn-nav-quote, .btn-nav-wa { min-height: 44px; }
    .district-chip { min-height: 40px; }
    .gallery-item .overlay { opacity: 1; }
    .whatsapp-float { width: 56px; height: 56px; }
}