/* Input field styling */
input {
  font-family: var(--fm-Poppins);
}

.slider-track input[type="range"] {
  display: block;
  accent-color: var(--c-1F915A);
  width: 100%;
  margin: 10px 0 5px;
  height: 0;
  cursor: pointer;
}

/* Calculator section styling */
.calculator_sec .container,
.content_sec .container {
  max-width: 1300px;
  padding: 0 20px;
}

.calculator_wrap {
  padding: 40px;
  background: var(--c-FFFFFF);
  box-shadow: 0px 0px 33px 0px rgba(0, 0, 0, 0.10);
  margin-top: -40%;
  position: relative;
}

.calculator_inner .calculator_fields {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 40px 80px;
}

.calculator_graph canvas {
  width: 100% !important;
}

/* Section headers and containers */
/* .fields_wrap:not(:last-child),  */
.section_heading {
  margin-bottom: 40px;
}

.section_heading h2 {
  color: var(--c-1F915A);
  font-size: var(--fs-35);
  font-weight: 400;
  line-height: var(--lh-29);
}

/* Input field styling */
.input_fields,
.range_input ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.range_input li {
  color: #808080;
  font-size: var(--fs-13);
  font-weight: 400;
}

.input_fields label {
  color: var(--c-1F915A);
  font-size: var(--fs-15);
  font-weight: 400;
  line-height: var(--lh-29);
  backdrop-filter: blur(2px);
}

.input_fields input {
  border: 1px solid #A6A6A6;
  width: 100%;
  max-width: 100px;
  text-align: end;
  padding: 5px 10px;
  font-size: var(--fs-16);
  font-weight: 400;
  line-height: var(--lh-29);
}

/* Calculator details styling */
.calculator_details>div:not(:last-child) {
  margin-bottom: 20px;
}

.calculator_details p {
  color: #727272;
  font-size: var(--fs-14);
  font-weight: 400;
  line-height: normal;
}

.calculator_details p span {
  color: var(--c-0C0C0C);
  font-size: var(--fs-20);
  font-weight: 600;
  line-height: normal;
  display: block;
}

.amount {
  border-left: 12px solid #75C29D;
}

.amount p {
  margin-left: 10px;
}

.est_returns {
  border-left: 12px solid var(--c-1F915A);
}

.est_returns p {
  margin-left: 10px;
}

.total_amount {
  margin-top: 40px;
}

.total_amount p {
  color: var(--c-1F915A);
  font-size: var(--fs-18);
  font-weight: 400;
  line-height: normal;
}

.total_amount p span {
  color: var(--c-1F915A);
  font-size: var(--fs-24);
  font-weight: 600;
  line-height: normal;
}

/* Content section styling */
section.content_sec {
  padding-top: 0;
}

.content_wrap .section_heading h1 {
  font-size: 54px;
  letter-spacing: -1.16px;
}

.content_wrap :where(h2:not(:first-child),
  h3:not(:first-child),
  h5:not(:first-child),
  h6:not(:first-child)) {
  margin: 30px 0;
}

.content_wrap h3 {
  font-size: var(--fs-29);
}

.content_wrap h4 {
  font-size: var(--fs-18);
}

.content_wrap :where(h1, h2, h3, h4, h5, h6) {
  color: var(--c-1F915A);
  font-weight: 300;
}

.content_wrap ul:not(:last-child),
.content_wrap p:not(:last-child) {
  margin-bottom: 30px;
}

.content_wrap ul li {
  margin-bottom: 0;
}

.content_wrap p,
.content_wrap li {
  color: var(--c-0C0C0C);
  font-weight: 300;
  backdrop-filter: blur(2px);
  line-height: 29px;
  font-size: var(--fs-16);
}

.disclaimer_con p {
  font-size: 12px;
  font-weight: 300;
  line-height: normal;
}

/* Responsive styling */
@media screen and (max-width: 767px) {

  /* input[type="range"]{
        height: 10px;
    } */
  .section_heading {
    margin-bottom: 20px;
  }

  .content_wrap ul:not(:last-child),
  .content_wrap p:not(:last-child) {
    margin-bottom: 15px;
  }

  .content_wrap :where(h2:not(:first-child),
    h3:not(:first-child),
    h5:not(:first-child),
    h6:not(:first-child)) {
    margin: 20px 0;
  }

  .calculator_wrap {
    padding: 20px;
    margin-top: -20%;
  }

  .calculator_inner {
    grid-template-columns: auto;
    gap: 40px;
  }

  .content_wrap .section_heading h1 {
    font-size: var(--fs-35);
  }

  .content_wrap h3 {
    font-size: var(--fs-24);
  }
}

/* calculator css start */

.sliders-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.slider-group {
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.input-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.label_sec {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 0.85rem;
  color: #666;
  align-items: center;
}

.label_sec .custom-input-wrapper input {
  width: 100%;
  max-width: 100px;
  text-align: end;
  font-size: 22px;
  line-height: 29px;
  color: #1F915A;
  font-weight: 400;
}

.label_sec .custom-input-wrapper input:focus {
  outline: none;
  border: none;
  box-shadow: none;
}

.label_sec .custom-input-wrapper input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

.custom-input-wrapper {
  display: flex;
  align-items: center;
  color: #00a56f;
  border: 1px solid #A6A6A6;
  width: 100%;
  max-width: 120px;
  text-align: end;
  padding: 5px 10px;
  font-size: var(--fs-16);
  font-weight: 400;
  line-height: var(--lh-29);
}

.custom-input-wrapper span {
  margin-left: 6px;
  font-size: 16px;
  line-height: 29px;
  color: #00a56f;
  font-weight: 500;
}

#ageValue,
#retireValue,
#lifeValue,
#incomeValue,
#returnsValue,
#inflationValue {
  border: none;
  padding: 0;
  box-shadow: none;
  outline: none;
}

.label_sec .input-label {
  color: #1F915A;
  font-size: 20px;
  font-weight: 400;
  line-height: 29px;
}

.slider-container {
  position: relative;
}

.slider-wrapper {
  position: relative;
  height: 6px;
  background: #e5e5e5;
  border-radius: 3px;
  margin: 10px 0;
}

.slider-track {
  position: absolute;
  top: 0;
  left: 0;
  height: 6px;
  background: #2e8b57;
  border-radius: 3px;
  transition: none;
}

.slider {
  position: absolute;
  top: -7px;
  left: 0;
  width: 100%;
  height: 20px;
  background: transparent;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #2e8b57;
  cursor: pointer;
  border: 3px solid white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #2e8b57;
  cursor: pointer;
  border: 3px solid white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.slider-container .slider-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
}

.slider-container .slider-labels span {
  color: #808080;
  font-size: 16px;
  font-weight: 400;
  line-height: 29px;
}

.result-section {
  background: #F9F9F9;
  padding: 22px 55px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 40px;
  column-gap: 30px;
}



.result_main_section {
  width: 100%;
  max-width: 90%;
  margin: 0 auto;
}

.result-left {
  display: flex;
  align-items: center;
  gap: 30px;
}

.result-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.result-title {
  color: #1F915A;
  font-size: 22px;
  font-weight: 400;
  line-height: 31px;
  letter-spacing: 1px;
}

.result-subtitle {
  color: #1F915A;
  font-size: 20px;
  line-height: 29px;
  letter-spacing: 1px;
  font-weight: 300;
}

.monthly-investment,
.total_corpus h3 {
  color: #1F915A;
  font-size: 20px;
  font-weight: 600;
  line-height: 31px;
  letter-spacing: 1px;
}

.total_corpus h3 {
  font-size: 15px;
  font-weight: 300;
  line-height: normal;
}

.total-amount {
  color: #1F915A;
  font-size: 30px;
  font-weight: 600;
}

.plan-button {
  background: #459867;
  color: #F2FFF2;
  border: none;
  border-radius: 25px;
  padding: 11px 26px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: block;
  margin: 0 auto;
}

.plan-button:hover {
  background: #1e5f3f;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .sliders-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .result-section {
    flex-direction: column;
    gap: 30px;
    text-align: center;
    padding: 10px;
  }

  .total-amount {
    font-size: 25px;
  }

  .custom-input-wrapper {
    max-width: 80px;
  }

  .result_main_section {
    max-width: 100%;
  }

  .result-left {
    display: block;
  }

  .result-title {
    font-size: 16px;
  }

  .money-icon img {
    max-width: 50px;
    margin: 0 auto 10px;
  }
}

/* calculator css end */