/* Off-Grid Solar Systems CSS - offgrid.css */

/* ===== VARIABLES ===== */
:root {
    --primary-color: #0066cc;
    --primary-dark: #0052a3;
    --secondary-color: #ff9900;
    --secondary-dark: #e68a00;
    --accent-color: #00cc66;
    --accent-dark: #00b359;
    --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;
}

/* ===== OFF-GRID HERO SECTION ===== */
.offgrid-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--bg-light) 0%, #e6f2ff 100%);
    position: relative;
    overflow: hidden;
}

.offgrid-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: url('img/solar-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(--primary-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(--primary-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(--primary-color);
    line-height: 1;
}

.badge-text {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 600;
}

/* ===== OFF-GRID APPLICATIONS ===== */
.offgrid-applications {
    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;
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.application-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;
}

.application-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-color);
}

.application-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 24px;
}

.application-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
}

.application-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.application-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding: 15px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stat {
    flex: 1;
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    display: block;
    font-size: 14px;
    color: var(--text-light);
}

.application-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: center;
}

.application-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* ===== COMPARISON SECTION ===== */
.comparison-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.comparison-table {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}

.table-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table-header > div {
    padding: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.system-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
}

.system-badge.offgrid {
    background: rgba(255, 255, 255, 0.2);
}

.system-badge.ongrid {
    background: rgba(255, 255, 255, 0.1);
}

.table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.table-row:hover {
    background: #f9f9f9;
}

.table-row:last-child {
    border-bottom: none;
}

.feature-col {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
    color: var(--text-color);
    border-right: 1px solid var(--border-color);
}

.system-col {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.checkmark {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.checkmark.offgrid {
    background: #e6f2ff;
    color: var(--primary-color);
}

.checkmark.ongrid {
    background: #fff0e6;
    color: var(--secondary-color);
}

.comparison-cta {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.comparison-cta p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 14px;
}

/* ===== COMPONENTS SECTION ===== */
.components-section {
    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, .battery-range, .inverter-capacities, .controller-features, .mounting-types {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.component-brands h4, .battery-range h4, .inverter-capacities h4, .controller-features h4, .mounting-types 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);
}

.range-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.range-item {
    text-align: center;
    padding: 15px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.range-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.range-label {
    display: block;
    font-size: 13px;
    color: var(--text-light);
}

.capacities {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.capacity {
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.features-list {
    list-style: none;
    padding: 0;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.features-list li i {
    color: var(--accent-color);
}

.types {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.type {
    text-align: center;
    padding: 15px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.type:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.type i {
    display: block;
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.type span {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
}

/* ===== PACKAGES SECTION ===== */
.packages-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.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(--text-light);
}

.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-load {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
}

.package-load h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
}

.load-list {
    list-style: none;
    padding: 0;
}

.load-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--text-color);
}

.load-list li i {
    color: var(--primary-color);
    font-size: 16px;
    width: 20px;
}

.package-backup {
    margin-bottom: 25px;
    margin-top: auto;
}

.backup-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--bg-light);
    padding: 12px;
    border-radius: var(--border-radius);
    font-weight: 600;
    color: var(--primary-color);
}

.backup-info i {
    font-size: 18px;
}

.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;
}

/* ===== OFF-GRID CALCULATOR ===== */
.offgrid-calculator {
    padding: 80px 0;
    background: var(--bg-lighter);
}

.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;
}

.appliances-section {
    background: var(--bg-light);
    padding: 25px;
    border-radius: var(--border-radius);
    margin-bottom: 25px;
}

.appliances-section h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-color);
}

.appliance-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.appliance-item:last-child {
    border-bottom: none;
}

.appliance-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.appliance-info i {
    color: var(--primary-color);
    font-size: 20px;
    width: 24px;
}

.appliance-name {
    display: block;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 2px;
}

.appliance-wattage {
    display: block;
    font-size: 13px;
    color: var(--text-light);
}

.appliance-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background: var(--primary-color);
    color: white;
}

.quantity {
    min-width: 40px;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
    color: var(--text-color);
}

.add-appliance-btn {
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 2px dashed var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-light);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.add-appliance-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-calculate-offgrid {
    width: 100%;
    padding: 16px;
    background: var(--primary-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-offgrid:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.calc-results {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    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;
}

.system-cost {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
}

.system-cost h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.cost-breakdown {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cost-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cost-item:last-child {
    border-bottom: none;
}

.cost-item.total {
    padding-top: 15px;
    margin-top: 5px;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
    font-weight: 700;
    font-size: 18px;
}

.cost-label {
    font-size: 15px;
    opacity: 0.9;
}

.cost-value {
    font-weight: 600;
    font-size: 15px;
}

.cost-item.total .cost-value {
    font-size: 1.3rem;
}

.results-cta {
    text-align: center;
}

.advanced-calc-info,
.solar-pump-info {
    text-align: center;
    padding: 60px 40px;
}

.advanced-calc-info h3,
.solar-pump-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
}

.advanced-calc-info p,
.solar-pump-info p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

/* ===== INSTALLATION PROCESS ===== */
.installation-process {
    padding: 80px 0;
    background: var(--bg-light);
}

.process-steps {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-color), var(--primary-dark));
    z-index: 1;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: var(--shadow);
    position: relative;
}

.step-content {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius-lg);
    flex-grow: 1;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--primary-color);
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-color);
}

.step-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 15px;
}

.step-duration {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-light);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
}

.step-duration i {
    font-size: 16px;
}

/* ===== OFF-GRID FAQ ===== */
.offgrid-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;
}

/* ===== OFF-GRID CTA ===== */
.offgrid-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    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(--accent-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;
    }
}

@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .hero-text {
        order: 1;
    }
    
    .hero-image {
        order: 2;
    }
    
    .component-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .component-image {
        order: 2;
    }
    
    .component-details {
        order: 1;
    }
    
    .applications-grid,
    .packages-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .offgrid-hero {
        padding: 100px 0 60px;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .table-header,
    .table-row {
        grid-template-columns: 1fr;
    }
    
    .feature-col {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    
    .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;
    }
    
    .range-grid,
    .types {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps::before {
        left: 30px;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .cta-text h2 {
        font-size: 2rem;
    }
    
    .cta-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .offgrid-hero {
        padding: 80px 0 40px;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .applications-grid,
    .packages-grid {
        grid-template-columns: 1fr;
    }
    
    .range-grid,
    .types {
        grid-template-columns: 1fr;
    }
    
    .process-steps::before {
        display: none;
    }
    
    .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .step-number {
        margin-bottom: 15px;
    }
    
    .step-content {
        border-left: none;
        border-top: 5px solid var(--primary-color);
    }
    
    .calculator-content {
        padding: 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* ===== 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 {
    .offgrid-hero,
    .offgrid-applications,
    .comparison-section,
    .components-section,
    .packages-section,
    .offgrid-calculator,
    .installation-process,
    .offgrid-faq,
    .offgrid-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;
    }
}
