/* ===================================================
   SHRIRAM SOLAR INFRA - PRODUCTION CSS
   A Complete, Fully-Functional Lead-Gen Design System
   =================================================== */

/* 0. Google Font Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@600;700;800;900&display=swap');

/* 1. CSS VARIABLES */
:root {
    --primary: #002B5B;
    --primary-dark: #001836;
    --primary-light: #0044A8;
    --yellow: #F9D923;
    --yellow-dark: #D4B800;
    --white: #FFFFFF;
    --off-white: #F7F9FC;
    --gray-100: #EDF2F7;
    --gray-200: #E2E8F0;
    --gray-600: #4A5568;
    --gray-800: #1A202C;
    --success: #25D366;
    --danger: #E53E3E;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 15px 50px rgba(0,0,0,0.15);
    --shadow-xl: 0 25px 70px rgba(0,0,0,0.2);
    --radius: 16px;
    --radius-xl: 28px;
    --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* 2. RESETS & BASE */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-body);
    color: var(--gray-800);
    background: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}
h1,h2,h3,h4,h5 { font-family: var(--font-heading); line-height: 1.15; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: var(--font-body); }

/* 3. UTILITIES */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.text-yellow { color: var(--yellow); }
.text-white { color: var(--white); }
.text-primary { color: var(--primary); }
.text-muted { color: var(--gray-600); font-size: 0.95rem; }
.text-success { color: var(--success); }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 40px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 40px; }

.italic { font-style: italic; }
.font-bold { font-weight: 700; }
.bg-light { background: var(--off-white); }
.bg-primary { background: var(--primary); }
.bg-dark { background: var(--gray-800); }
.hidden { display: none !important; }
.w-full { width: 100%; }

/* Scroll Animations */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* Delay helpers */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* ==================== */
/* 4. BUTTONS            */
/* ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    border: 2px solid transparent;
    letter-spacing: 0.01em;
    white-space: nowrap;
}
.btn i { font-size: 1.1em; }

.btn-yellow {
    background: var(--yellow);
    color: var(--primary-dark);
}
.btn-yellow:hover {
    background: var(--yellow-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(249,217,35,0.45);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
}
.btn-white:hover {
    background: var(--gray-100);
    transform: translateY(-3px);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}
.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,43,91,0.35);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
}
.btn-whatsapp:hover {
    background: #1EB857;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37,211,102,0.4);
}

.btn-lg { padding: 20px 44px; font-size: 1.1rem; border-radius: 14px; }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; border-radius: 10px; }

/* ==================== */
/* 5. FLOATING ELEMENTS  */
/* ==================== */

/* Floating WhatsApp Button */
#wa-float {
    position: fixed;
    bottom: 90px;
    right: 24px;
    width: 64px;
    height: 64px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 5px 25px rgba(37,211,102,0.5);
    z-index: 999;
    transition: var(--transition);
    animation: pulse-green 2s infinite;
}
#wa-float:hover { transform: scale(1.15); }

@keyframes pulse-green {
    0%,100% { box-shadow: 0 5px 25px rgba(37,211,102,0.5); }
    50% { box-shadow: 0 5px 40px rgba(37,211,102,0.8); }
}

/* Floating Call Button */
#call-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 64px;
    height: 64px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: white;
    box-shadow: 0 5px 25px rgba(0,43,91,0.5);
    z-index: 999;
    transition: var(--transition);
}
#call-float:hover { transform: scale(1.15); background: var(--primary-light); }

/* Mobile Bottom Bar - Critical for lead-gen on mobile */
#mobile-cta-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
}
#mobile-cta-bar .bar-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 64px;
}
#mobile-cta-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.95rem;
}
#mobile-cta-bar .bar-call { background: var(--primary); color: var(--white); }
#mobile-cta-bar .bar-wa { background: #25D366; color: var(--white); }

/* ==================== */
/* 6. LEAD POPUP         */
/* ==================== */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 15, 40, 0.85);
    backdrop-filter: blur(6px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.popup-overlay.active { display: flex; }
.popup-box {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    max-width: 480px;
    width: 100%;
    position: relative;
    text-align: center;
    animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

.popup-close {
    position: absolute;
    top: 16px; right: 20px;
    background: var(--gray-100);
    border: none;
    width: 36px; height: 36px;
    border-radius: 50%;
    font-size: 1.2rem;
    color: var(--gray-600);
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
}
.popup-close:hover { background: var(--gray-200); }

.popup-icon {
    width: 72px; height: 72px;
    background: linear-gradient(135deg, var(--yellow), #FFE566);
    border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    color: var(--primary);
}

.popup-box h2 { font-size: 1.8rem; color: var(--primary); margin-bottom: 8px; }
.popup-box p { color: var(--gray-600); margin-bottom: 24px; }

.popup-form input,
.popup-form select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 1rem;
    font-family: var(--font-body);
    margin-bottom: 12px;
    transition: var(--transition);
    background: var(--white);
    outline: none;
}
.popup-form input:focus,
.popup-form select:focus { border-color: var(--primary); }

.popup-form .btn {
    width: 100%;
    margin-top: 4px;
    justify-content: center;
}

/* ==================== */
/* 7. HEADER & NAV      */
/* ==================== */
#site-header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 1100; /* Above everything */
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    transition: box-shadow 0.3s, transform 0.3s;
}
#site-header.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.1); }

.navbar { display: flex; align-items: center; justify-content: space-between; height: 70px; }

/* Logo */
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: var(--yellow);
    font-size: 1.4rem;
    flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-brand {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
}
.logo-brand span { color: var(--yellow); }
.logo-sub { font-size: 0.7rem; font-weight: 600; color: var(--gray-600); text-transform: uppercase; letter-spacing: 0.05em; }

/* Nav Links */
.nav-menu { display: flex; align-items: center; gap: 8px; }
.nav-menu a {
    font-weight: 600;
    font-size: 0.93rem;
    color: var(--gray-800);
    padding: 8px 14px;
    border-radius: 8px;
    transition: var(--transition);
}
.nav-menu a:hover, .nav-menu a.active { color: var(--primary); background: rgba(0,43,91,0.07); }
.nav-menu .nav-cta {
    background: var(--primary);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 10px;
}
.nav-menu .nav-cta:hover { background: var(--primary-light); color: var(--white); }
.nav-menu .nav-cta i { color: #25D366; }

/* Mobile Toggle */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: var(--primary);
    border: none;
    width: 44px; height: 44px;
    border-radius: 10px;
    padding: 0;
    cursor: pointer;
    z-index: 1200;
}
.hamburger span {
    width: 22px; height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ==================== */
/* 8. URGENCY BAR        */
/* ==================== */
.urgency-bar {
    background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
    padding: 10px 0;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    overflow: hidden;
    position: relative;
    margin-top: 70px; /* below fixed header */
}
.urgency-bar span { color: var(--yellow); }
.marquee-track {
    display: inline-flex;
    animation: marquee 20s linear infinite;
    white-space: nowrap;
}
@keyframes marquee {
    from { transform: translateX(100vw); }
    to { transform: translateX(-100%); }
}

/* ==================== */
/* 9. HERO SECTION       */
/* ==================== */
.hero-section {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../solar images/hero_main_solar.png');
    background-size: cover;
    background-position: center top;
    opacity: 0.25;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,24,54,0.95) 50%, rgba(0,24,54,0.4) 100%);
    z-index: 1;
}

.hero-content-wrap {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    padding: 80px 0 60px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(249,217,35,0.15);
    border: 1px solid rgba(249,217,35,0.4);
    color: var(--yellow);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(2.4rem, 4vw, 3.8rem);
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.1;
}
.hero-title .hl { color: var(--yellow); }

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.82);
    margin-bottom: 36px;
    max-width: 520px;
    line-height: 1.7;
}

.hero-cta-group { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-trust {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}
.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    font-weight: 600;
}
.hero-trust-item i { color: var(--yellow); font-size: 1.1rem; }

/* Hero right side card */
.hero-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-xl);
    padding: 40px 36px;
}
.hero-card h3 {
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 8px;
}
.hero-card p { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-bottom: 28px; }

.hero-form .form-row { display: flex; flex-direction: column; gap: 12px; }
.hero-form input,
.hero-form select {
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    border: none;
    background: rgba(255,255,255,0.12);
    color: var(--white);
    font-size: 0.95rem;
    font-family: var(--font-body);
    outline: none;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.2);
}
.hero-form input::placeholder { color: rgba(255,255,255,0.55); }
.hero-form select option { background: var(--primary-dark); color: var(--white); }
.hero-form input:focus,
.hero-form select:focus { border-color: var(--yellow); background: rgba(255,255,255,0.18); }

.hero-form .btn { width: 100%; margin-top: 4px; justify-content: center; }

.form-footer-note {
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
    margin-top: 12px;
}
.form-footer-note i { color: var(--yellow); margin-right: 4px; }

/* ==================== */
/* 10. STATS STRIP       */
/* ==================== */
.stats-strip {
    background: var(--yellow);
    padding: 36px 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}
.stat-box { padding: 10px; }
.stat-number {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--primary-dark);
    line-height: 1;
    margin-bottom: 6px;
}
.stat-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(0,24,54,0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ==================== */
/* 11. SECTIONS BASE     */
/* ==================== */
.section { padding: 90px 0; }

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,43,91,0.08);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.section-tag i { color: var(--yellow); }

.section-title {
    font-size: clamp(1.9rem, 3vw, 2.8rem);
    color: var(--primary);
    margin-bottom: 16px;
    line-height: 1.2;
}
.section-title .hl { color: var(--primary-light); }

.section-subtitle {
    font-size: 1.05rem;
    color: var(--gray-600);
    max-width: 600px;
    line-height: 1.7;
}
.section-header.centered { text-align: center; }
.section-header.centered .section-subtitle { margin: 0 auto; }

/* ==================== */
/* 12. SERVICES GRID     */
/* ==================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 60px;
}
.service-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 44px 36px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: linear-gradient(to right, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
    width: 64px; height: 64px;
    background: linear-gradient(135deg, var(--yellow) 0%, #FFE566 100%);
    border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 24px;
}
.service-card h3 { font-size: 1.35rem; color: var(--primary); margin-bottom: 12px; }
.service-card p { color: var(--gray-600); margin-bottom: 24px; font-size: 0.95rem; }
.service-features { margin-bottom: 28px; }
.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--gray-600);
    padding: 6px 0;
    border-bottom: 1px solid var(--gray-100);
}
.service-features li:last-child { border-bottom: none; }
.service-features li i { color: var(--success); width: 16px; flex-shrink: 0; }

/* ==================== */
/* 13. PM SURYA GHAR     */
/* ==================== */
.pm-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #00448C 100%);
    color: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
}
.pm-section::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(249,217,35,0.15) 0%, transparent 70%);
    border-radius: 50%;
}
.pm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}
.pm-content { padding: 70px 60px; position: relative; z-index: 2; }
.pm-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(249,217,35,0.2);
    border: 1px solid rgba(249,217,35,0.5);
    color: var(--yellow);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.pm-content h2 { font-size: 2.5rem; color: var(--white); margin-bottom: 16px; }
.pm-content h2 span { color: var(--yellow); }
.pm-content p { color: rgba(255,255,255,0.8); font-size: 1rem; margin-bottom: 32px; line-height: 1.8; }

.pm-benefits { margin-bottom: 36px; }
.pm-benefit {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.pm-benefit:last-child { border-bottom: none; }
.pm-benefit i { color: var(--yellow); font-size: 1.4rem; flex-shrink: 0; }
.pm-benefit h4 { font-size: 1rem; color: var(--white); margin-bottom: 4px; }
.pm-benefit p { font-size: 0.88rem; color: rgba(255,255,255,0.65); }

.pm-image-side {
    background-image: url('../solar images/family.png');
    background-size: cover;
    background-position: center;
    min-height: 500px;
    position: relative;
}
.pm-image-side::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--primary-dark) 0%, transparent 50%);
}

/* Subsidy Table */
.subsidy-table-wrapper {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.subsidy-table { width: 100%; border-collapse: collapse; }
.subsidy-table thead th {
    background: var(--primary);
    color: var(--white);
    padding: 14px 20px;
    text-align: left;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.subsidy-table tbody td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--gray-200);
    font-size: 0.95rem;
    color: var(--gray-800);
}
.subsidy-table tbody tr:last-child td { border-bottom: none; }
.subsidy-table tbody tr.highlight-row { background: rgba(249,217,35,0.15); }
.subsidy-amount { font-weight: 800; color: var(--success); font-size: 1.05rem; }

/* ==================== */
/* 14. CALCULATOR        */
/* ==================== */
.calculator-section { background: var(--off-white); }
.calc-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.calc-intro h2 { font-size: 2.5rem; color: var(--primary); margin-bottom: 16px; }
.calc-intro p { color: var(--gray-600); font-size: 1rem; margin-bottom: 32px; line-height: 1.8; }
.calc-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 0.95rem;
    color: var(--gray-800);
    border-bottom: 1px solid var(--gray-200);
}
.calc-benefits li:last-child { border-bottom: none; }
.calc-benefits li i { color: var(--success); }

.calculator-box {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 44px 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}
.calculator-box h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 28px;
    text-align: center;
}

.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--gray-800);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: var(--font-body);
    color: var(--gray-800);
    background: var(--white);
    outline: none;
    transition: border-color 0.3s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--primary); }
.form-group textarea { resize: vertical; min-height: 110px; }

/* Calculator Results */
.result-panel {
    margin-top: 28px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-radius: 20px;
    padding: 36px 32px;
    display: none;
}
.result-panel.show { display: block; animation: fadeIn 0.5s ease; }
@keyframes fadeIn { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:translateY(0)} }

.result-panel h3 { color: var(--yellow); font-size: 1.4rem; text-align: center; margin-bottom: 24px; }
.result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
}
.result-row:last-of-type { border-bottom: none; }
.result-row .val { font-weight: 800; color: var(--yellow); font-size: 1.05rem; }
.result-row.big .val { font-size: 1.4rem; }
.result-cta { margin-top: 24px; text-align: center; }
.result-cta .btn { width: 100%; justify-content: center; }

/* ==================== */
/* 15. WHY US SECTION    */
/* ==================== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 60px;
}
.why-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    text-align: center;
    transition: var(--transition);
}
.why-card:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.why-icon {
    width: 70px; height: 70px;
    background: var(--primary);
    color: var(--yellow);
    border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
    margin: 0 auto 24px;
}
.why-card h3 { font-size: 1.2rem; color: var(--primary); margin-bottom: 12px; }
.why-card p { font-size: 0.92rem; color: var(--gray-600); line-height: 1.7; }

/* ==================== */
/* 16. TESTIMONIALS      */
/* ==================== */
.testimonials-section { background: var(--primary); }
.testimonials-section .section-tag {
    background: rgba(249,217,35,0.15);
    color: var(--yellow);
}
.testimonials-section .section-title { color: var(--white); }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}
.testimonial-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-xl);
    padding: 36px 32px;
    transition: var(--transition);
}
.testimonial-card:hover { background: rgba(255,255,255,0.14); }
.testimonial-stars { color: var(--yellow); font-size: 1.1rem; margin-bottom: 20px; letter-spacing: 2px; }
.testimonial-text {
    font-style: italic;
    color: rgba(255,255,255,0.85);
    font-size: 0.97rem;
    line-height: 1.8;
    margin-bottom: 28px;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
    width: 50px; height: 50px;
    background: var(--yellow);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-dark);
    flex-shrink: 0;
}
.author-info h4 { font-size: 1rem; color: var(--white); font-weight: 700; }
.author-info p { font-size: 0.82rem; color: rgba(255,255,255,0.55); }

/* ==================== */
/* 17. FAQ SECTION       */
/* ==================== */
.faq-section { background: var(--off-white); }
.faq-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 80px; 
    align-items: start; 
    margin-top: 60px; 
}
.faq-left h2 { color: var(--primary); }
.faq-left p { color: var(--gray-600); margin-top: 16px; margin-bottom: 32px; line-height: 1.8; }
.faq-item {
    background: var(--white);
    border-radius: 16px;
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.97rem;
    color: var(--gray-800);
}
.faq-question i { color: var(--primary); transition: transform 0.3s; }
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer-inner {
    padding: 0 24px 20px;
    color: var(--gray-600);
    font-size: 0.93rem;
    line-height: 1.7;
}

/* ==================== */
/* 18. LEAD CTA SECTION  */
/* ==================== */
.cta-section {
    background: linear-gradient(to right, var(--primary-dark) 0%, var(--primary) 100%);
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(249,217,35,0.08) 0%, transparent 60%);
    border-radius: 50%;
}
.cta-inner {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}
.cta-inner h2 { font-size: 2.8rem; color: var(--white); margin-bottom: 16px; }
.cta-inner p { font-size: 1.1rem; color: rgba(255,255,255,0.8); margin-bottom: 40px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ==================== */
/* 19. PAGE HEADERS      */
/* ==================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 160px 0 80px;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../solar images/hero_main_solar.png') center/cover no-repeat;
    opacity: 0.12;
}
.page-header .container { position: relative; z-index: 2; }
.page-header h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }
.page-header h1 span { color: var(--yellow); }
.page-header p { font-size: 1.1rem; opacity: 0.85; max-width: 600px; margin: 0 auto; }
.page-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(249,217,35,0.2);
    border: 1px solid rgba(249,217,35,0.4);
    color: var(--yellow);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

/* ==================== */
/* 20. CONTACT PAGE      */
/* ==================== */
.contact-section { background: var(--off-white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }

.contact-form-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 48px 44px;
    box-shadow: var(--shadow-lg);
}
.contact-form-card h2 { font-size: 1.8rem; color: var(--primary); margin-bottom: 8px; }
.contact-form-card > p { color: var(--gray-600); margin-bottom: 32px; }

.contact-info-card {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-radius: var(--radius-xl);
    padding: 48px 44px;
    color: var(--white);
}
.contact-info-card h2 { font-size: 1.8rem; color: var(--yellow); margin-bottom: 36px; }

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.contact-info-item:last-of-type { border-bottom: none; }
.ci-icon {
    width: 48px; height: 48px;
    background: rgba(249,217,35,0.15);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    color: var(--yellow);
    flex-shrink: 0;
}
.ci-text h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.6; margin-bottom: 6px; }
.ci-text p { font-size: 1.1rem; font-weight: 700; color: var(--white); }

.trust-bullets { background: rgba(255,255,255,0.07); border-radius: 16px; padding: 24px; margin-top: 20px; }
.trust-bullets h4 { font-size: 0.95rem; color: var(--yellow); margin-bottom: 16px; }
.trust-bullets li { display: flex; align-items: center; gap: 10px; padding: 8px 0; color: rgba(255,255,255,0.8); font-size: 0.9rem; }
.trust-bullets li i { color: #25D366; }

/* ==================== */
/* 21. PROJECTS PAGE     */
/* ==================== */
.projects-section { background: var(--off-white); }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 60px; }
.project-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}
.project-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.project-thumb {
    height: 220px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(255,255,255,0.3);
    position: relative;
}
.project-thumb.has-photo { padding: 0; }
.project-thumb.has-photo img { width: 100%; height: 100%; object-fit: cover; }
.project-chip {
    position: absolute;
    top: 16px; right: 16px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
}
.project-chip.chip-yellow { background: var(--yellow); color: var(--primary-dark); }
.project-chip.chip-navy { background: var(--primary); color: var(--white); }

.project-body { padding: 28px; }
.project-body h3 { font-size: 1.15rem; color: var(--primary); margin-bottom: 12px; }
.project-meta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.project-meta span { font-size: 0.82rem; color: var(--gray-600); display: flex; align-items: center; gap: 5px; }
.project-meta span i { color: var(--yellow); }
.project-stat {
    background: var(--off-white);
    border-radius: 10px;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.88rem;
}
.project-stat .key { color: var(--gray-600); }
.project-stat .val { font-weight: 700; color: var(--success); }
.project-footer {
    background: var(--yellow);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary-dark);
}
.project-footer i { color: var(--primary); }

/* Info Cards (Reusable) */
.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px; }
.info-card {
    background: var(--white);
    border-radius: 20px;
    padding: 36px 28px;
    text-align: center;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}
.info-card:hover { border-color: var(--primary); transform: translateY(-5px); box-shadow: var(--shadow); }
.info-card i { font-size: 2.2rem; color: var(--yellow); margin-bottom: 16px; }
.info-card h3 { font-size: 1.1rem; color: var(--primary); margin-bottom: 10px; }
.info-card p { font-size: 0.9rem; color: var(--gray-600); line-height: 1.7; }

/* Coverage Tags */
.coverage-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.coverage-tag {
    background: var(--white);
    border: 2px solid var(--gray-200);
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary);
    transition: var(--transition);
    display: flex; align-items: center; gap: 8px;
}
.coverage-tag:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.coverage-tag i { color: var(--yellow); }

/* ==================== */
/* 22. FOOTER            */
/* ==================== */
.site-footer {
    background: #000C1D;
    color: rgba(255,255,255,0.75);
}
.footer-top { padding: 80px 0 50px; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 60px;
}
.footer-logo { margin-bottom: 20px; }
.footer-desc { font-size: 0.9rem; line-height: 1.8; margin-bottom: 24px; }
.footer-social { display: flex; gap: 10px; }
.social-btn {
    width: 38px; height: 38px;
    background: rgba(255,255,255,0.07);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
}
.social-btn:hover { background: var(--yellow); color: var(--primary-dark); }
.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 700;
}
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul li a {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--yellow); padding-left: 4px; }
.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.88rem;
    margin-bottom: 16px;
    color: rgba(255,255,255,0.7);
}
.footer-contact-list li i { color: var(--yellow); flex-shrink: 0; margin-top: 3px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.35);
}
.footer-bottom a { color: rgba(255,255,255,0.35); }
.footer-bottom a:hover { color: var(--yellow); }

/* ==================== */
/* 23. PM SURYA PAGE     */
/* ==================== */
.overview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.overview-content h2 { font-size: 2.2rem; color: var(--primary); margin-bottom: 16px; }
.overview-content p { color: var(--gray-600); margin-bottom: 16px; line-height: 1.8; }

.key-benefits-list { margin-top: 28px; }
.key-benefit {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--off-white);
    border-radius: var(--radius);
    margin-bottom: 14px;
}
.kb-icon { font-size: 1.6rem; color: var(--yellow); flex-shrink: 0; }
.kb-content h4 { font-size: 1rem; color: var(--primary); margin-bottom: 4px; }
.kb-content p { font-size: 0.88rem; color: var(--gray-600); }

.subsidy-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 36px;
    box-shadow: var(--shadow);
}
.subsidy-card h3 { font-size: 1.4rem; color: var(--primary); margin-bottom: 24px; }
.subsidy-card h3 i { color: var(--yellow); margin-right: 8px; }
.subsidy-note {
    background: rgba(0,43,91,0.05);
    border-left: 4px solid var(--primary);
    padding: 12px 16px;
    margin-top: 16px;
    border-radius: 4px;
    font-size: 0.85rem;
    color: var(--gray-600);
}
.subsidy-note i { color: var(--primary); margin-right: 6px; }

.eligibility-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 60px; }
.eligibility-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
}
.eligibility-card:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.eligibility-card i { font-size: 2.2rem; color: var(--yellow); margin-bottom: 16px; }
.eligibility-card h3 { font-size: 1rem; color: var(--primary); margin-bottom: 8px; }
.eligibility-card p { font-size: 0.85rem; color: var(--gray-600); }

.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; margin-top: 60px; }
.step-card { text-align: center; padding: 24px; position: relative; }
.step-circle {
    width: 64px; height: 64px;
    background: var(--primary);
    color: var(--yellow);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 20px;
}
.step-card h3 { font-size: 1.05rem; color: var(--primary); margin-bottom: 8px; }
.step-card p { font-size: 0.85rem; color: var(--gray-600); }

/* ==================== */
/* 24. MOBILE RESPONSIVE */
/* ==================== */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    .services-grid,
    .why-grid,
    .testimonials-grid,
    .info-cards { grid-template-columns: 1fr 1fr; }
    .pm-grid,
    .calc-wrapper,
    .overview-grid,
    .contact-grid,
    .faq-grid { grid-template-columns: 1fr; }
    .pm-image-side { min-height: 300px; }
    .hero-content-wrap { grid-template-columns: 1fr; }
    .hero-card { display: none; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .projects-grid { grid-template-columns: 1fr 1fr; }
    .eligibility-grid { grid-template-columns: 1fr 1fr; }
    .process-steps { grid-template-columns: 1fr 1fr; }
    #wa-float, #call-float { display: none; }
    #mobile-cta-bar { display: block; }
    body { padding-bottom: 64px; }
}

@media (max-width: 768px) {
    .section { padding: 60px 0; }
    .container { padding: 0 18px; }
    .hamburger { display: flex; order: 3; }
    .logo { order: 1; flex: 1; }
    
    .nav-menu {
        position: fixed;
        top: 70px; left: 0;
        width: 100%;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        flex-direction: column;
        background: var(--white);
        padding: 24px 20px;
        gap: 8px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        visibility: hidden;
        opacity: 0;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s, visibility 0.3s;
        z-index: 1000;
        align-items: flex-start;
    }
    .nav-menu.open { 
        transform: translateY(0);
        visibility: visible;
        opacity: 1;
    }
    .nav-menu a { 
        width: 100%; 
        padding: 16px 20px; 
        border-radius: 12px; 
        font-size: 1.05rem; 
        background: var(--off-white);
        display: block;
    }
    .nav-menu a.active { background: rgba(0,43,91,0.1); color: var(--primary); }
    .nav-menu .nav-cta { 
        margin-top: 16px; 
        background: var(--success); 
        color: var(--white) !important;
        text-align: center;
    }
    .services-grid,
    .why-grid,
    .testimonials-grid,
    .info-cards,
    .projects-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-cta-group { flex-direction: column; align-items: flex-start; }
    .hero-section { min-height: auto; padding-top: 0; }
    .section-title { font-size: 1.9rem; }
    .pm-content { padding: 40px 28px; }
    .cta-inner h2 { font-size: 2rem; }
    .calculator-box,
    .contact-form-card,
    .contact-info-card { padding: 28px 22px; }
    .eligibility-grid,
    .process-steps { grid-template-columns: 1fr; }
    .hero-trust { gap: 20px; }
}
