:root {
    --primary-orange: #e75b26;
    --bg-dark: #0f0f0f;
    --bg-card: #f2f2f2;
    --text-light: #ffffff;
    --text-muted: #b0b0b0;
    --tab-inactive: #3a3a3a;
}

.calculator-main {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.desktop-nav-container {
    display: none;
}

.desktop-nav-container .nav-item .nav-link {
    font-family: Inter;
    font-weight: 600;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0px;
    border: none;
    height: 37px;
    display: flex;
    align-items: center;
}

@media (min-width: 992px) {
    .desktop-nav-container {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 10px;
        scrollbar-width: none;
        padding-top: 6rem;
    }
}

.nav-pills .nav-link {
    background-color: var(--tab-inactive);
    color: white;
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.nav-pills .nav-link:hover {
    background-color: #555;
    color: white;
}

.nav-pills .nav-link.active {
    background: linear-gradient(
        180deg,
        #da4e20 0%,
        rgba(116, 42, 17, 0.62) 100%
    );
    color: white;
}

.calc-btn-calc {
    background: linear-gradient(
        180deg,
        #da4e20 0%,
        rgba(116, 42, 17, 0.62) 100%
    );
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border: none;
}

/* end  */

/* --- Mobile Toggle Button --- */
.mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

@media (min-width: 992px) {
    .mobile-header {
        display: none;
    }
}

.btn-menu {
    background-color: var(--primary-orange);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 600;
}

.btn-menu:hover {
    background-color: #d14918;
    color: white;
}

/* --- Offcanvas Styling --- */


/*offcan end */





.calculator-main .offcanvas-start {
    z-index: 11111;
}

.calculator .tab-content h1,
.calculator .tab-content h2 {
    font-family: Inter;
    font-weight: 600;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: 0px;
}

.calculator .tab-content p {
    font-family: Inter;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: white;
}

.calc-menu-btn {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    color: #ccc;
    padding: 15px 20px;
    border-bottom: 1px solid #333;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.calc-menu-btn:hover {
    background: #1a1a1a;
    color: #e75b26;
    /* Orange hover */
    padding-left: 25px;
}

.calc-menu-btn.active {
    color: #e75b26;
    font-weight: 700;
    border-left: 4px solid #e75b26;
    background: #1a1a1a;
}

/* Ensure links don't have default underlines or colors */
.calculator .nav-pills .nav-link,
.calc-menu-btn {
    text-decoration: none !important;
    display: block; /* Makes the whole area clickable */
}

/* Ensure the offcanvas links look consistent */
.calculator .calc-menu-btn {
    color: #ccc;
    cursor: pointer;
}

.calculator .calc-menu-btn:hover {
    color: var(--primary-orange);
}

/* --- Calculator Card Styles --- */
.input-card {
    background-color: var(--bg-card);
    border-radius: 20px;
    padding: 30px;
    color: #333;
}

.input-wrapper {
    background: #e0e0e0;
    border-radius: 8px;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    width: 120px;
}

.input-field {
    background: transparent;
    border: none;
    text-align: right;
    font-weight: 700;
    width: 100%;
    outline: none;
    color: #333;
}

/* Range Slider */
input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 5px;
    background: #d3d3d3;
    outline: none;
    margin: 20px 0 30px 0;
    cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    margin-top: -3px;
}

.time-select {
    background-color: #ffe0d6; /* Peach color */
    color: #333;
    border: none;
    border-radius: 5px;
    padding: 2px 10px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    outline: none;
    margin-left: 10px;
}

/* Results Typography */
.result-val-lg,
.rupee-sim {
    font-family: Inter;
    font-weight: 600;
    font-size: 102px;
    line-height: 100%;
    letter-spacing: 0px;
    color: white;
}

.rupee-sim {
    margin-bottom: 0;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.stat-val {
    font-size: 1.4rem;
    font-weight: 700;
}

@media (max-width: 768px) {
    .result-val-lg,
    .rupee-sim {
        font-size: 36px;
    }

    .rupee-sim {
        margin-bottom: 0rem;
    }

    .stat-box {
        margin-bottom: 20px;
    }
}

.stats-row {
    margin-top: 30px;
}

.stat-box {
    position: relative;
    padding-left: 10px;
}

/* The Vertical Line Separator */
.stat-box:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 5px;
    height: 40px; /* Height of the line */
    width: 1px;
    background-color: #555; /* Dark grey line color */
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 5px;
    font-weight: 500;
}

.stat-val {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

/* Remove side padding on mobile to fit text */
@media (max-width: 576px) {
    .stat-val {
        font-size: 1.1rem;
    }
    .stat-box:not(:last-child)::after {
        display: none;
    } /* Hide lines on very small screens if needed */
}

/* --- Visual Progress Bar (The Range Down Below) --- */
.progress-track {
    width: 100%;
    height: 12px;
    background-color: #eee; /* Light Grey/Beige for Investment part */
    border-radius: 10px;
    margin-top: 25px;
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: var(--primary-orange); /* Orange for Returns */
    border-radius: 10px;
    width: 0%; /* JS will update this */
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    font-family: "Inter", sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: white; /* Or var(--text-muted) depending on preference */
}

/* discritption  */
/* --- Description Section Typography --- */

.calculator-main .description-sec h3 {
    color: white;
    font-family: Inter;
    font-weight: 700;
    font-style: Bold;
    font-size: 24px;
    line-height: 160%;
    text-transform: capitalize;
}

.calculator-main .description-sec p,
.calculator-main .description-sec ul,
.calculator-main .accordion-body {
    color: #cacaca;
    font-family: Inter;
    font-weight: 400;
    font-size: 14px;
    line-height: 160%;
    text-transform: capitalize;
}

.description-sec .custom-list li {
    margin-bottom: 8px;
}

/* --- Dark Accordion / FAQ Styles --- */
.description-sec .custom-accordion .accordion-item {
    background-color: transparent;
    border: none;
    /* Optional: A very subtle separator line like the image might imply, or keep it clean */
    /* border-bottom: 1px solid #222; */
    margin-bottom: 20px;
}

.description-sec .custom-accordion .accordion-button {
    background-color: transparent;
    font-family: Inter;
    font-weight: 600;
    font-size: 16px;
    line-height: 30.61px;
    letter-spacing: 0%;
    padding-left: 0;
    /* Align text left */
    padding-right: 0;
    box-shadow: none !important;
    /* Removes blue glow on click */
    position: relative;
}

/* Remove default Bootstrap arrow */
.description-sec .custom-accordion .accordion-button::after {
    display: none;
}

/* Create Custom Plus/Minus Icon using CSS Pseudo-elements */
.description-sec .custom-accordion .accordion-button::before {
    content: "+";
    float: right;
    /* Move to right side */
    font-size: 1.5rem;
    font-weight: 300;
    color: white;
    position: absolute;
    right: 0;
    transition: transform 0.3s ease;
}

/* When the item is OPEN (not collapsed), change content to Minus */
.description-sec .custom-accordion .accordion-button:not(.collapsed)::before {
    content: "−";
    /* Using a proper Minus symbol or simple dash */
    transform: rotate(0deg);
    /* Optional rotation effect */
}

/* Ensure body text aligns nicely */
.description-sec .custom-accordion .accordion-body {
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
}

/* Hover effect for questions */


.gst-radio-group .form-check-input:checked {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
}
.gst-radio-group .form-check-label {
    font-weight: 600;
    color: #333;
    margin-right: 20px;
    cursor: pointer;
}

@media (max-width: 767.98px) {
    .calculator-main {
        padding-top: 4rem;
    }

    .calculator-main .input-wrapper {
        align-self: start;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .calculator-main {
        padding-top: 5rem;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .result-val-lg,
    .rupee-sim {
        font-size: 47px;
    }
    .stat-val {
        font-size: 14px;
    }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
    .result-val-lg,
    .rupee-sim {
        font-size: 43px;
    }
    .stat-val {
        font-size: 17px;
    }
}



@media  (min-width: 1400px) {
    .result-val-lg,
    .rupee-sim {
        font-size: 43px;
    }
    .stat-val {
        font-size: 17px;
    }
}
