﻿/* ===========================
SOLAR ESTIMATOR SECTION
=========================== */
.solar-estimator{
    padding:120px 0;
    background:#f8fafb;
}
.estimator-header{
    text-align:center;
    max-width:760px;
    margin:auto;
    margin-bottom:60px;
}
.estimator-tag{
    display:inline-block;
    padding:8px 18px;
    background:#e8f7f1;
    color:#009B72;
    font-size:.85rem;
    font-weight:600;
    border-radius:40px;
    margin-bottom:20px;
}
.estimator-header h2{
    font-size:2.7rem;
    font-weight:700;
    color:#25282B;
    margin-bottom:18px;
}
.estimator-header p{
    font-size:1.05rem;
    line-height:1.8;
    color:#666;
}
.estimator-card{
    background:#fff;
    border-radius:22px;
    max-width:850px;
    margin:auto;
    padding:50px;
    box-shadow:0 25px 60px rgba(0,0,0,.08);

}

.progress-wrapper{

    display:flex;
    align-items:center;
    gap:18px;
    margin-bottom:45px;

}

.progress-bar{

    flex:1;
    height:8px;
    background: var(--brand-gold) ;
    border-radius:20px;
    overflow:hidden;
}

.progress-fill{

    width:20%;
    height:100%;
    background:linear-gradient(90deg,#065420,#49d49d);
    border-radius:20px;
    transition:.4s;

}

.progress-text{

    font-weight:700;
    color:#009B72;

}

/* ======================
QUESTION AREA
====================== */

.estimator-question{

    text-align:center;

}

.estimator-question h3{

    font-size:2rem;
    color:#25282B;
    margin-bottom:15px;

}

.estimator-question p{

    color:#777;
    margin-bottom:45px;

}

/* ======================
OPTION CARDS
====================== */

.option-grid{

    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;

}

.option-card{

    border:2px solid #ececec;
    border-radius:18px;
    padding:40px 20px;
    text-align:center;
    cursor:pointer;
    transition:.35s;

}

.option-card:hover{

    border-color:#009B72;
    transform:translateY(-6px);

}

.option-card.active{

    border-color:#009B72;
    background:#f2fbf7;

}

.option-card i{

    font-size:42px;
    color:#009B72;
    margin-bottom:20px;

}

.option-card h4{

    font-size:1.2rem;
    color:#25282B;

}

/* ======================
BUTTONS
====================== */

.estimator-buttons{

    display:flex;
    justify-content:space-between;
    margin-top:50px;

}

.estimator-btn{
    border:none;
    border-radius:10px;
    padding:15px 35px;
    font-size:15px;
    font-weight:600;
    cursor:pointer;
}

.estimator-prev{
    background:#efefef;
    color:#065420;
}
.estimator-prev:hover{
    transform:translateY(-2px);
    color:#fff;
    background:var(--brand-green-dark);
}
.estimator-next{

    background:#009B72;
    color:#fff;

}

.estimator-next:hover{
    transform:translateY(-2px);
    background:var(--brand-green-dark);
}

/* ======================
RESPONSIVE
====================== */

@media(max-width:768px){

.option-grid{

grid-template-columns:1fr;

}

.estimator-card{

padding:30px;

}

.estimator-header h2{

font-size:2rem;

}

}
.quantity-box{

    margin-top:20px;
    
    display:flex;
    
    justify-content:center;
    
    align-items:center;
    
    gap:15px;
    
    }
    
    .quantity-box button{
    
    width:34px;
    
    height:34px;
    
    border:none;
    
    border-radius:50%;
    
    background:#009B72;
    
    color:#fff;
    
    font-size:20px;
    
    cursor:pointer;
    
    }
    
    .quantity-box span{
    
    font-size:18px;
    
    font-weight:700;
    
    min-width:20px;
    
    text-align:center;
    
}
.ac-size,
.pump-size{

margin-top:18px;

display:flex;

flex-direction:column;

gap:8px;

text-align:left;

font-size:14px;

}

.ac-size label,
.pump-size label{

cursor:pointer;

}
/* =========================================
   FINAL SOLAR RECOMMENDATION
========================================= */

.final-result {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 45px 50px 50px;
    box-sizing: border-box;
}

.final-result h3 {
    margin: 0 0 12px;
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    color: #20252b;
}

.final-result > p {
    margin: 0 auto 35px;
    max-width: 680px;
    text-align: center;
    line-height: 1.6;
    color: #6b7075;
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 35px 0;
}

.result-card {
    min-height: 170px;
    padding: 25px 20px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    background: #ffffff;
    border: 2px solid #e8ecea;
    border-radius: 18px;

    cursor: default;

    transition:
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.result-card:hover {
    border-color: #19a974;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(25, 169, 116, 0.10);
}

.result-icon {
    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 14px;

    border-radius: 14px;

    background: #eaf8f2;
    color: #19a974;

    font-size: 20px;
}

.result-card h4 {
    margin: 0 0 8px;

    font-size: 15px;
    font-weight: 600;

    color: #626a6f;
}

.result-card strong {
    margin: 0;

    font-size: 24px;
    font-weight: 700;

    color: #20252b;
}

/* SUMMARY */

.result-summary {
    margin-top: 28px;
    padding: 22px 25px;
    background: #f1faf6;
    border-left: 4px solid #19a974;
    border-radius: 10px;
}

.result-summary p {
    margin: 7px 0;
    color: #555d62;
    line-height: 1.6;
}

.result-summary strong {
    color: #20252b;
}


/* BUTTON */

.final-result .estimator-buttons {
    margin-top: 35px;
    display: flex;
    justify-content: flex-start;
}

.final-result .estimator-btn {
    min-width: 160px; 
}

.result-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: #e8f7f0;
    color: #19a974;

    font-size: 18px;
}
/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {

    .final-result {
        padding: 30px 20px 35px;
    }

    .final-result h3 {
        font-size: 24px;
    }

    .result-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .result-card {
        padding: 20px;
    }

    .result-card strong {
        font-size: 22px;
    }
}
/* /* =========================================================
   SOLAR ESTIMATOR â€” PROGRESS TRACK
   Override Bootstrap's blue .progress-bar
========================================================= */

.solar-estimator-container .progress-bar {
    background-color: var(--brand-gold) !important;
    background: var(--brand-gold) !important;
}
.estimator-card {
    min-height: 900px;
    position: relative;
}

@media (max-width: 768px) {
    .estimator-card {
        min-height: 950px;
    }
}

@media (max-width: 576px) {
    .estimator-card {
        min-height: 1050px;
    }
}
