/* On-Grid Solar Systems CSS - ongrid.css */

/* ===== VARIABLES ===== */
:root {
    --primary-color: #0066cc;
    --primary-dark: #0052a3;
    --secondary-color: #00cc66; /* Green for savings/success */
    --secondary-dark: #00b359;
    --accent-color: #ff9900;
    --accent-dark: #e68a00;
    --text-color: #333333;
    --text-light: #666666;
    --text-lighter: #999999;
    --bg-light: #f8f9fa;
    --bg-lighter: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 10px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --success-gradient: linear-gradient(135deg, #00cc66, #00b359);
    --grid-gradient: linear-gradient(135deg, #0066cc, #0052a3);
}

/* ===== ON-GRID HERO SECTION ===== */
.ongrid-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--bg-light) 0%, #e6f2ff 100%);
    position: relative;
    overflow: hidden;
}

.ongrid-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: url('img/grid-pattern.png') repeat;
    opacity: 0.1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text .badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--secondary-color);
    color: white;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-color);
}

.hero-text h1 .highlight {
    color: var(--primary-color);
}

.hero-text .subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 30px;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}

.hero-features .feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--text-color);
}

.hero-features .feature i {
    color: var(--secondary-color);
    font-size: 18px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 15px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    font-size: 16px;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.hero-image {
    position: relative;
}

.hero-image .image-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.hero-image .image-wrapper:hover img {
    transform: scale(1.05);
}

.image-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: white;
    padding: 15px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.badge-content {
    text-align: center;
}

.badge-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--secondary-color);
    line-height: 1;
}

.badge-text {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 600;
}

/* ===== ON-GRID BENEFITS ===== */
.ongrid-benefits {
    padding: 80px 0;
    background: var(--bg-lighter);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 15px;
}

.section-title .highlight {
    color: var(--primary-color);
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--secondary-color);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: var(--success-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 28px;
    box-shadow: 0 5px 15px rgba(0, 204, 102, 0.2);
}

.benefit-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
}

.benefit-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.benefit-stats {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    width: 100%;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.stat-label {
    display: block;
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

/* ===== NET METERING SECTION ===== */
.netmetering-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.netmetering-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.netmetering-diagram {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
}

.diagram-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    gap: 20px;
    position: relative;
}

.diagram-item {
    text-align: center;
    padding: 25px 15px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.diagram-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.diagram-item i {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: block;
}

.diagram-item span {
    display: block;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 5px;
    font-size: 16px;
}

.diagram-item p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

.diagram-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-color);
}

.diagram-arrows {
    grid-column: 3;
    grid-row: 2;
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 20px;
}

.arrow-up, .arrow-down {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.arrow-up i {
    color: var(--secondary-color);
    font-size: 24px;
}

.arrow-down i {
    color: var(--accent-color);
    font-size: 24px;
}

.arrow-up span, .arrow-down span {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.arrow-up span {
    color: var(--secondary-color);
}

.arrow-down span {
    color: var(--accent-color);
}

.netmetering-explanation h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-color);
}

.explanation-points {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 30px;
}

.point {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.point-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary-color);
    font-size: 20px;
    border: 2px solid var(--border-color);
}

.point-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
}

.point-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.netmetering-cta {
    margin-top: 40px;
}

/* ===== ON-GRID COMPONENTS ===== */
.ongrid-components {
    padding: 80px 0;
    background: var(--bg-lighter);
}

.components-tabs {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.tabs-header {
    display: flex;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
    overflow-x: auto;
}

.component-tab {
    flex: 1;
    min-width: 200px;
    padding: 20px;
    background: none;
    border: none;
    border-right: 1px solid var(--border-color);
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
}

.component-tab:last-child {
    border-right: none;
}

.component-tab:hover {
    background: white;
    color: var(--primary-color);
}

.component-tab.active {
    background: white;
    color: var(--primary-color);
    position: relative;
}

.component-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
}

.tabs-content {
    padding: 40px;
}

.component-tab-content {
    display: none;
}

.component-tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.component-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.component-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.component-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.component-image:hover img {
    transform: scale(1.05);
}

.component-details h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
}

.component-details > p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 30px;
}

.component-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.spec {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.spec i {
    color: var(--primary-color);
    font-size: 24px;
    margin-top: 5px;
}

.spec h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-color);
}

.spec p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

.component-brands, .inverter-types, .mounting-options, .meter-process, .safety-certification {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.component-brands h4, .inverter-types h4, .mounting-options h4, .meter-process h4, .safety-certification h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
}

.brands {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.brand {
    background: var(--bg-light);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.inverter-types .types {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.inverter-types .type {
    text-align: center;
    padding: 20px 15px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.inverter-types .type:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.inverter-types .type i {
    display: block;
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.inverter-types .type span {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 5px;
}

.inverter-types .type p {
    font-size: 13px;
    color: var(--text-light);
    margin: 0;
    line-height: 1.4;
}

.mounting-options .options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.mounting-options .option {
    text-align: center;
    padding: 15px 10px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.mounting-options .option:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
}

.mounting-options .option:hover i,
.mounting-options .option:hover span {
    color: white;
}

.mounting-options .option i {
    display: block;
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.mounting-options .option span {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
}

.meter-process ol {
    padding-left: 20px;
    margin: 0;
}

.meter-process li {
    color: var(--text-color);
    margin-bottom: 12px;
    line-height: 1.6;
}

.meter-process li strong {
    color: var(--primary-color);
}

.meter-process li:last-child {
    margin-bottom: 0;
}

.safety-certification .certifications {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.safety-certification .cert {
    background: var(--success-gradient);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

/* ===== SAVINGS CALCULATOR ===== */
.savings-calculator {
    padding: 80px 0;
    background: var(--bg-light);
}

.calculator-container {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.calculator-tabs {
    display: flex;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.calc-tab {
    flex: 1;
    padding: 20px;
    background: none;
    border: none;
    border-right: 1px solid var(--border-color);
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-light);
    transition: var(--transition);
}

.calc-tab:last-child {
    border-right: none;
}

.calc-tab:hover {
    background: white;
    color: var(--primary-color);
}

.calc-tab.active {
    background: white;
    color: var(--primary-color);
    position: relative;
}

.calc-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
}

.calculator-content {
    padding: 40px;
}

.calc-tab-content {
    display: none;
}

.calc-tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.calc-form {
    margin-bottom: 40px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-group label i {
    color: var(--primary-color);
}

.form-group select,
.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: var(--transition);
}

.form-group select:focus,
.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.input-with-unit {
    position: relative;
}

.input-with-unit input {
    padding-right: 60px;
}

.input-unit {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 14px;
}

.range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-light);
    margin-top: 5px;
}

.btn-calculate-savings {
    width: 100%;
    padding: 16px;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-calculate-savings:hover {
    background: var(--secondary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.calc-results {
    background: var(--success-gradient);
    color: white;
    padding: 40px;
    border-radius: var(--border-radius-lg);
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.results-header {
    text-align: center;
    margin-bottom: 30px;
}

.results-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.results-header p {
    opacity: 0.9;
    font-size: 15px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.result-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: var(--border-radius);
    text-align: center;
    backdrop-filter: blur(10px);
}

.result-icon {
    font-size: 32px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.result-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.result-label {
    font-size: 14px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.result-value {
    font-size: 1.5rem;
    font-weight: 800;
}

.savings-breakdown {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
}

.savings-breakdown h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.breakdown-chart {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.chart-bar {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bar-label {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.9;
}

.bar-container {
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.bar-fill {
    height: 100%;
    border-radius: 15px;
    position: relative;
    transition: width 1.5s ease-in-out;
}

.bar-fill.savings {
    background: var(--secondary-color);
}

.bar-fill.cost {
    background: var(--accent-color);
}

.bar-fill.net {
    background: white;
}

.bar-value {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
}

.bar-fill.net .bar-value {
    color: var(--secondary-color);
}

.results-cta {
    text-align: center;
}

.commercial-calc-info,
.industrial-calc-info {
    text-align: center;
    padding: 60px 40px;
}

.commercial-calc-info h3,
.industrial-calc-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
}

.commercial-calc-info p,
.industrial-calc-info p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

/* ===== ON-GRID PACKAGES ===== */
.ongrid-packages {
    padding: 80px 0;
    background: var(--bg-lighter);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.package-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    display: flex;
    flex-direction: column;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-color);
}

.package-card.popular {
    border-color: var(--primary-color);
    position: relative;
}

.package-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.package-header {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
}

.package-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-color);
}

.package-price {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.package-price .price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
}

.package-price .price-note {
    font-size: 13px;
    color: var(--secondary-color);
    font-weight: 600;
}

.package-specs {
    margin-bottom: 25px;
    display: grid;
    gap: 15px;
}

.package-specs .spec {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--text-color);
}

.package-specs .spec i {
    color: var(--primary-color);
    font-size: 18px;
    width: 24px;
}

.package-output {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
}

.package-output h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
}

.output-value {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--bg-light);
    padding: 15px;
    border-radius: var(--border-radius);
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.output-value i {
    font-size: 20px;
}

.package-savings {
    margin-bottom: 25px;
    margin-top: auto;
}

.savings-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--success-gradient);
    color: white;
    padding: 15px;
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: 1.1rem;
}

.savings-info i {
    font-size: 20px;
}

.package-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--primary-color);
    color: white;
    padding: 15px 25px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: center;
    font-size: 15px;
}

.package-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.package-note {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.package-note p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 14px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== SUBSIDY SECTION ===== */
.subsidy-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.subsidy-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.subsidy-info h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-color);
}

.subsidy-info > p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 40px;
}

.subsidy-rates {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.rate-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 25px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 2px solid transparent;
    transition: var(--transition);
}

.rate-card:hover {
    border-color: var(--secondary-color);
    transform: translateY(-5px);
}

.rate-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.rate-header i {
    font-size: 32px;
    color: var(--primary-color);
}

.rate-header h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.rate-value {
    margin-bottom: 10px;
}

.percentage {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    line-height: 1;
}

.rate-label {
    display: block;
    font-size: 14px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 5px;
}

.rate-card p {
    font-size: 13px;
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

.subsidy-process h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-color);
}

.process-steps {
    list-style: none;
    padding: 0;
    margin: 0;
}

.process-steps li {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
    line-height: 1.6;
    position: relative;
    padding-left: 35px;
}

.process-steps li:last-child {
    border-bottom: none;
}

.process-steps li::before {
    content: counter(step);
    counter-increment: step;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 25px;
    height: 25px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
}

.subsidy-eligibility h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-color);
}

.eligibility-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.eligibility-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--text-color);
    line-height: 1.6;
}

.eligibility-list li i {
    color: var(--secondary-color);
    font-size: 18px;
    flex-shrink: 0;
}

.eligibility-list li:last-child {
    margin-bottom: 0;
}

.subsidy-cta {
    text-align: center;
}

/* ===== ON-GRID FAQ ===== */
.ongrid-faq {
    padding: 80px 0;
    background: var(--bg-lighter);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto 40px;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: white;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 17px;
    font-weight: 600;
    color: var(--text-color);
    transition: var(--transition);
    text-align: left;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question.active {
    background: var(--bg-light);
    color: var(--primary-color);
}

.faq-question i {
    transition: var(--transition);
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: white;
}

.faq-answer.active {
    padding: 20px 25px;
    max-height: 500px;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.faq-cta {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.faq-cta p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* ===== ON-GRID CTA ===== */
.ongrid-cta {
    padding: 80px 0;
    background: var(--grid-gradient);
    color: white;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-text p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.cta-features .feature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 500;
}

.cta-features .feature i {
    color: var(--secondary-color);
    font-size: 18px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background: white;
    color: var(--primary-color);
    border-color: white;
}

.cta-buttons .btn-primary:hover {
    background: var(--bg-light);
    color: var(--primary-dark);
    border-color: var(--bg-light);
}

.cta-buttons .btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.cta-buttons .btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .hero-content {
        gap: 40px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .subsidy-rates {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-content,
    .netmetering-content,
    .subsidy-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .hero-text,
    .netmetering-explanation,
    .subsidy-eligibility {
        order: 1;
    }
    
    .hero-image,
    .netmetering-diagram,
    .subsidy-info {
        order: 2;
    }
    
    .component-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .component-image {
        order: 2;
    }
    
    .component-details {
        order: 1;
    }
    
    .benefits-grid,
    .packages-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .diagram-container {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto auto;
    }
    
    .diagram-arrows {
        grid-column: 2;
        grid-row: 2;
        flex-direction: row;
        gap: 50px;
        justify-content: center;
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .ongrid-hero {
        padding: 100px 0 60px;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .tabs-header {
        flex-direction: column;
    }
    
    .component-tab {
        min-width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    
    .component-tab.active::after {
        bottom: 0;
        height: 100%;
        width: 3px;
        left: auto;
        right: -1px;
    }
    
    .component-specs {
        grid-template-columns: 1fr;
    }
    
    .inverter-types .types,
    .mounting-options .options,
    .subsidy-rates {
        grid-template-columns: 1fr;
    }
    
    .cta-text h2 {
        font-size: 2rem;
    }
    
    .cta-features {
        grid-template-columns: 1fr;
    }
    
    .process-steps li {
        padding-left: 40px;
    }
}

@media (max-width: 576px) {
    .ongrid-hero {
        padding: 80px 0 40px;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .benefits-grid,
    .packages-grid {
        grid-template-columns: 1fr;
    }
    
    .diagram-container {
        grid-template-columns: 1fr;
    }
    
    .diagram-arrows {
        grid-column: 1;
        grid-row: auto;
        flex-direction: column;
        gap: 20px;
        margin-top: 20px;
    }
    
    .calculator-content {
        padding: 20px;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse {
    animation: pulse 2s infinite;
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .ongrid-hero,
    .ongrid-benefits,
    .netmetering-section,
    .ongrid-components,
    .savings-calculator,
    .ongrid-packages,
    .subsidy-section,
    .ongrid-faq,
    .ongrid-cta,
    .navbar,
    .footer,
    .whatsapp-float {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
        background: #fff !important;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0;
    }
}