@font-face {
    font-family: 'CustomStyle';
    src: url('../../fonts/Clarraph-Heavy-Personal-Use.otf') format('truetype');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'CustomStyle2';
    src: url('../../fonts/PlaywriteDEGrund-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'CustomStyle2', sans-serif;
    line-height: 1.6;
    color: #343a40;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e9f2 100%);
}

.containers {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    text-align: center;
    margin-top: 70px;
    margin-bottom: 2rem;
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,193,7,0.1) 0%, rgba(255,255,255,0) 70%);
    z-index: -1;
}

.title {
    font-family: 'CustomStyle', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: #4CAF50;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.title .bi {
    font-size: 2.5rem;
    color: #FFC107;
    animation: pulse 2s infinite;
    filter: drop-shadow(0 0 5px rgba(255,193,7,0.5));
}

.subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
    font-family: 'CustomStyle2';
}
@media (max-width:376px) {
    .title{
        font-size: 2rem;
    }
    .subtitle{
        font-size: 1rem;
    }
}
.card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    border-top: 4px solid #4CAF50;
}

/* .card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: translateY(-5px);
} */

.card-header {
    padding: 1.5rem;
    background: linear-gradient(to right, #C8E6C9, rgba(200, 230, 201, 0.3));
    border-bottom: 1px solid #e9ecef;
}

.card-title {
    font-family: 'Crimson Pro'; 
    font-size:30px;    
    font-weight: 600;
    color: #388E3C;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.card-title .bi {
    color: #FFC107;
}

.card-body {
    padding: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #495057;
}

.form-label .required {
    color: #F44336;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1px solid #ced4da;
    border-radius: 8px;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
}

.input-group {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
}

.input-with-icon {
    padding-left: 2.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #4CAF50, #388E3C);
    color: #ffffff;
    box-shadow: 0 4px 6px rgba(56, 142, 60, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #388E3C, #4CAF50);
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(56, 142, 60, 0.4);
}

.btn-icon {
    margin-right: 0.5rem;
}

.btn-control {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: #ffffff;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(33, 150, 243, 0.3);
}

.btn-control:hover {
    background: linear-gradient(135deg, #1976D2, #2196F3);
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(33, 150, 243, 0.4);
}

.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.results-container {
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    /* display: none; */
}

@media (min-width:768px )and (max-width:992px){
    .cus-card-center{
        margin: 0 auto; /* Centers the card horizontally */
        display: flex;
        justify-content: center;
    }
}

.results-container.show {
    opacity: 1;
    height: auto;
    margin-top: 2rem;
}

.meter-container {
    position: relative;
    width: 100%;
    max-width: 200px;
    aspect-ratio: 1;
    margin: 0 auto;
}

.meter {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 8px solid rgba(76, 175, 80, 0.2);
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), inset 0 -2px 5px rgba(0, 0, 0, 0.05);
}

.meter-fill {
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 50%;
    border: 8px solid #2196F3;
    clip-path: polygon(50% 50%, 50% 0%, 100% 0%, 100% 100%, 50% 100%);
    transition: transform 0.5s ease-out;
    box-shadow: inset 0 0 10px rgba(33, 150, 243, 0.3);
}

.meter-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}
.card-equal-height {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.card-body {
    flex-grow: 1;
}

.value {
    font-size: 3rem;
    font-weight: 700;
    color: #343a40;
    line-height: 1;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.unit {
    font-size: 1.5rem;
    color: #6c757d;
}

.sun-icon {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #FFC107, #FFA000);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.6);
}

.controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.info {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 1.2rem;
    color: #6c757d;
    background-color: #f4f4f4;
    padding: 0.75rem;
    border-radius: 8px;
}

.info span {
    font-weight: 600;
    color: #343a40;
}

.bill-comparison {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.bill-item {
    text-align: center;
}

.bill-amount {
    display: flex;
    justify-content: center;
    align-items: baseline;
    font-size: 1.5rem;
    font-weight: 700;
}

.bill-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem auto;
    transition: all 0.3s ease;
}

.current-bill .bill-amount {
    color: #F44336;
}

.current-bill{
    /* background: linear-gradient(135deg, rgba(244, 67, 54, 0.1), rgba(244, 67, 54, 0.2)); */
    color: #F44336;
}

/* .current-bill .bill-icon {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.1), rgba(244, 67, 54, 0.2));
    color: #F44336;
} */
/* 
.current-bill .bill-icon:hover {
    transform: scale(1.05);
} */

.solar-bill .bill-amount {
    color: #4CAF50;
}

.solar-bill .bill-icon {
    /* background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(76, 175, 80, 0.2)); */
    color: #4CAF50;
}

/* .solar-bill .bill-icon:hover {
    transform: scale(1.05);
} */

.bill-label {
    font-weight: 600;
    color: #495057;
    margin-top: 0.5rem;
}

.savings-text {
    text-align: center;
    font-weight: 600;
    font-size: 1.2rem;
    color: #4CAF50;
    margin-top: 73px;
    padding: 0.75rem;
    background-color: rgba(76, 175, 80, 0.1);
    border-radius: 8px;
}

.eco-impact {
    text-align: center;
}

.eco-impact h4 {
    margin-bottom: 1.5rem;
    color: #495057;
}

.eco-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(76, 175, 80, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: #4CAF50;
    transition: all 0.3s ease;
}

.eco-icon:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(76, 175, 80, 0.2);
}

.eco-icon .bi {
    font-size: 3rem;
}

/* .eco-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #343a40;
} */

.eco-label {
    color: #6c757d;
    font-size: 1rem;
    margin-top: 0.5rem;
}


.warning-message{
    display: none;
}

@media (max-width:426px){
   .label-bottom{
    margin-bottom: 10px;
   }
}

/* .tree-image {
    width: 170px;
    height: 170px;
    margin: 0 auto;
    display: block;
} */

.money-icon {
    width: 24px;
    height: 24px;
    margin-right: 5px;
    vertical-align: middle;
}

/*Financial Benefits section */

:root {
    --system-cost-gradient: linear-gradient(135deg, #FF6B6B, #f53844);
    --lifetime-savings-gradient: linear-gradient(135deg, #00b4db, #0083B0);
    --roi-gradient: linear-gradient(135deg, #8E2DE2, #4A00E0);
    --card-height: min(280px, 70vw);
}
.dashboard-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.cus-card {
    border: none;
    border-radius: 1.5rem;
    height: var(--card-height);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
}

.cus-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    background: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
}

.cus-card:hover::before {
    opacity: 1;
}

/* .cus-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
} */

.system-cost { background:  #3498db;}
.lifetime-savings { background: #27ae60; }
.roi { background: #f39c12;}

.icon-container {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem;
    border-radius: 1rem;
    backdrop-filter: blur(5px);
}

.icon {
    width: 1rem;
    height: 1rem;
    color: rgba(255, 255, 255, 0.9);
}
.rupeeicon{
    width: 3rem;
    height: 3rem;
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width:420px ){
    .icon-container-hide{
        display: none;
    }
}
.card-value {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    line-height: 1.5;
    max-width: 80%;
}

.card-title1 {
    color: white;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 600;
    margin-top: auto;
    position: relative;
    padding-top: 1rem;
}

.card-title1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.main-title {
    font-size: clamp(2rem, 5vw, 3rem);
    background: linear-gradient(to right, #1a1a1a, #4a4a4a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.main-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #8E2DE2, #4A00E0);
    border-radius: 2px;
}

.summary-box {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.8);
    margin-top: 3rem;
}

.highlight {
    background: var(--roi-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
    padding: 0 0.5rem;
}

@media (max-width: 768px) {   
    .row {
        --bs-gutter-x: 1rem;
    }

    .summary-box {
        padding: 1.5rem;
        margin-top: 2rem;
    }
}

@media (max-width: 576px) {
    body {
        padding: 1rem 0;
    }

    .cus-card {
        height: calc(var(--card-height) * 0.8);
    }

    .icon-container {
        top: 1rem;
        right: 1rem;
        padding: 0.5rem;
    }

    .card-value {
        margin-bottom: 0.25rem;
    }
}

.finantial-header {
    padding: 1.5rem;
    background: linear-gradient(to right, #C8E6C9, rgba(200, 230, 201, 0.3));
    border-bottom: 1px solid #e9ecef;
}

.finantial-title {
    font-family: 'Crimson Pro'; 
    font-size:25px;    
    font-weight: 600;
    color: #388E3C;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.finantial-title .bi {
    color: #FFC107;
}



.eco-value {
    font-size: 1.3rem;
    font-weight: bold;
    color: #28a745;

}

.eco-metric-item {
    background-color: rgba(76, 175, 80, 0.1);
    transition: all 0.3s ease;
}

.tree-image {
    transition: transform 0.5s ease;
}

.tree-image {
    width: 210px;
    height: 200px;
    transition: transform 0.5s ease;
}

@media (min-width: 992px) and (max-width: 1186px) {
    .tree-image {
        width: 150px;
        height: 150px;
    }
}

/* .tree-image:hover {
    transform: scale(1.05);
} */

/* Animation for counter */
@keyframes countUp {
    from {
        opacity: 0.5;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.count-animate {
    animation: countUp 0.5s ease-out forwards;
}

.custom-margin-top{
margin-top:40px;
padding: 7px;
}
.cs-font-size{
    font-size: 12px;
}
.cs-font-size1{
    font-size: 10px;
}