@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&amp;family=Sen:wght@400;700;800&amp;display=swap');

:root {
  --primary-gradiant: linear-gradient(70deg, #222e48 0%, #222e48b7 100%);
  --primary-color: #222e48;
  --secondary-color: rgb(43, 211, 10);
  --text-color: #143980;
  --field-color: rgb(255, 255, 255);
}

body {
  font-family: "Jost" !important;
  position: relative;
  background-color: #FBFBFB;
  color: #143980 !important;
  /* background-image: url(../images/hero/blue-abstract-gradient-wave-wallpaper.jpg); */
  background-size: cover;
}

body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background-color: #fff; */

  opacity: 0.1; /* Adjust opacity here */
  z-index: -1; /* Ensure the image stays behind the text */
}



.side-img {
  width: 100%;
  height: 100%;
  position: relative;
  display: grid;
  align-content: center;
}

.side-img img {
  width: auto;
  width: 100%;
}

.step-bar {
  display: flex;
  justify-content: space-between;
  height: auto;
  width: 650px;
  position: absolute;
  left: 60px;
  bottom: 60px;
}

.step-bar .bar {
  background-color: rgb(226, 226, 226);
  width: 18%;
  height: 11px;
  border-radius: 8px;
  overflow: hidden;

}

.step-bar .bar .fill {
  background-color: var(--primary-color);
  transition: 0.5s linear;
  width: 0;
  height: 100%;
}

.wrapper {
  width: 70%;
  margin: 0 auto 0 100px;
}



.q-heading {
  font-size: 20px;
  color: var(--text-color);
  font-weight: 500;
}

form {
  overflow: hidden;
}

.form-inner {
  margin: 40px auto;
  width: 99%;
  /* margin-left: 100px; */
  z-index: 10;
  position: relative;
}

.radio {
  width: 100%;
  height: 60px;
  display: grid;
  place-content: center;
  margin-bottom: 10px;
  margin-top: 35px;
}

.radio input {
  -webkit-appearance: none;
 margin-top: 10px;
  width: 100%;
  height: 100%;
  outline: solid 1px rgb(225, 225, 225);
  border: solid 4px transparent;
  border-radius: 7px;
  background-color: var(--field-color);
  box-shadow: 0px 2px 21px 0px rgba(0, 0, 0, 0.03);
  cursor: pointer;
  transition: 0.4s;

}

.radio-field {
  position: relative;
  width: 100%;
  height: 60px;
  display: grid;
  place-content: center;
}

.radio-field input {
  -webkit-appearance: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  outline: solid 1px rgb(225, 225, 225);
  border: solid 4px transparent;
  border-radius: 7px;
  background-color: var(--field-color);
  box-shadow: 0px 2px 21px 0px rgba(0, 0, 0, 0.03);
  cursor: pointer;
  transition: 0.4s;

}

.label {
  z-index: 10;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-color);
  pointer-events: none;
  /* margin:15px 0 10px 0; */
  margin-bottom: 10px;
}

.lable-icon{
  width: 35px;
  margin-right: 15px;
}
.radio-field input:checked {
  border: solid 4px var(--secondary-color);
  outline: none;
}

.radio-field input:checked::before {
  content: "";
  position: absolute;
  border-left: solid 5px var(--secondary-color);
  border-bottom: solid 5px var(--secondary-color);
  top: 25px;
  right: 30px;
  width: 25px;
  height: 15px;
  transform: rotate(-45deg);
  border-radius: 3px;
  opacity: 0;
}

.next-prev {
  width: auto;
  height: auto;
  position: absolute;
  right: 60px;
  bottom: 60px;
}

.next-btn {
  /* width: auto; */
  height: auto;
  /* position: absolute; */
  right: 60px;
  bottom: 60px;
}

.next-btn button {
  height: 54px;
  border: solid 1px rgb(225, 225, 225);
  border-radius: 9px;
  background-color: rgb(255, 255, 255);
  box-shadow: 0px 2px 21px 0px rgba(0, 0, 0, 0.03);
  font-size: 16px;
  color: var(--text-color);
  font-weight: 500;
  text-transform: uppercase;
  text-align: center;
  padding: 10px 10px;
}

.next-btn .next,
.next-btn .apply {
  background: var(--primary-gradiant);
  border: 0;
  color: var(--field-color);
}

.next-btn .prev {
  margin-right: 40px;
}

.next-btn button i {
  margin: 0 7px;
}

.next-prev button {
  width: 242px;
  height: 74px;
  border: solid 1px rgb(225, 225, 225);
  border-radius: 9px;
  background-color: rgb(255, 255, 255);
  box-shadow: 0px 2px 21px 0px rgba(0, 0, 0, 0.03);
  font-size: 18px;
  color: var(--text-color);
  font-weight: 800;
  text-transform: uppercase;
}

.next-prev .next,
.next-prev .apply {
  background: var(--primary-gradiant);
  border: 0;
  color: var(--field-color);
}

.next-prev .prev {
  margin-right: 40px;
}

.next-prev button i {
  margin: 0 7px;
}

#error div {
  position: fixed;
  top: 20px;
  left: 20px;
}

.hidden {
  display: none !important;
}

.error-message {
  color: red;
  font-size: 11px;
  position: relative;
  bottom: -25px;
  display: none;
  text-align: left  ;
}

.text-field {
  position: relative;
  width: 100%;
  height: 80px;
  display: grid;
  place-content: center;
  margin-bottom: 10px;
}

.text-field input {
  -webkit-appearance: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  outline: solid 1px rgb(225, 225, 225);
  border: solid 4px transparent;
  border-radius: 7px;
  background-color: var(--field-color);
  box-shadow: 0px 2px 21px 0px rgba(0, 0, 0, 0.03);
  cursor: pointer;
  transition: 0.4s;

}


.text-field input:checked {
  border: solid 4px var(--secondary-color);
  outline: none;
}

.text-field input:checked::before {
  content: "";
  position: absolute;
  border-left: solid 5px var(--secondary-color);
  border-bottom: solid 5px var(--secondary-color);
  top: 35px;
  right: 50px;
  width: 25px;
  height: 15px;
  transform: rotate(-45deg);
  border-radius: 3px;
  opacity: 0;
}

/* Result box styling */
#scoreResult {
  background-color: #e2eafc;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  margin-top: 20px;
  opacity: 0;
  transition: opacity 0.5s ease;
}


.option {
  margin-top: 10px;
  width: 100%;
}
.graph-container {
  display: none;
  text-align: center;
  position: relative;
}

.graph-wrapper {
  position: relative;
  width: 100%;
  height: 150px;
  margin: 0 auto;
}

.graph-image {
  width: 100%;
  height: 100%;
  transform: scaleX(-1);
}
.po-re{
  position: relative;
}
.needle {
  position: absolute;
  width:100%;
  height: 65%;
  background-image: url('.needle.svg');
  background-size: contain;
  background-repeat: no-repeat;
  transform-origin: bottom center;
  top: 30% !important;
  left: 0% !important;
  transform: rotate(-90deg);
  transition: transform 1s ease-in-out;
}

.result-message {
  font-size: 18px;
  margin-top: 10px;
}

.hidden {
  display: none;
}
/* Center modal content */
.modal-dialog {
  max-width: 600px;
}

.investment-section {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.investment-type button {
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  font-weight: bold;
}

.graph-section {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.legend {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 600;
}

.legend div {
  display: flex;
  align-items: center;
}

.legend .circle {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 8px;
}



.calculator-card {
  border-radius: 15px;
  padding: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.calculator-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0.7375rem 0.975rem 0 #f4f8fe, 0 4px 7px 0 #f4f8fe !important;
}

.calculator-card img {
  width: 60px;
  height: 60px;
}

.calculator-card-title {
  font-size: 16px;
  text-decoration: none;
  border: none;
  font-weight: 600;
  color: #222e48;
}

.text-muted {
  text-decoration: none !important;
}
/* #termsCheckbox,.terms{
  opacity: 0.2;
} */
/* Hide the native checkbox */
/* Hide the native checkbox */


/* Create a custom checkbox */
input[type="checkbox"] + .terms::before {
  content: '';
  width: 20px;
  height: 20px;
  border: 2px solid #000;
  border-radius: 4px;
  display: inline-block;
  vertical-align: middle;
  background-color: transparent; /* Light grey background when unchecked */
  margin-right: 10px;
  transition: background-color 0.3s ease;
}

/* Change background color when checkbox is checked */
input[type="checkbox"]:checked + .terms::before {
  background-color: #3c3d3c; /* Green background when checked */
  border-color: #3c3d3c; /* Green border when checked */
  opacity: 0.4;
}

/* Customize label text */
.terms {
  position: relative;
  font-size: 14px;
  color: #333; /* Text color */
  cursor: pointer;
  margin-top: 20px;
}

/* Optional: Change label color when checkbox is checked */
input[type="checkbox"]:checked + .terms {
  color: #3c3d3c; /* Text color changes when checkbox is checked */
  opacity: 0.4;
}

#timer{
  /* padding-top: 18px !important; */
  display: block;}





.hero__animation img:nth-child(3) {
    position: absolute;
    right: 5%;
    bottom: 80%;
    animation: previewShapeX 7s linear infinite;
    z-index: 999;
    opacity: 0.8;
    width: 4%;
}

.hero__animation img:nth-child(4) {
    position: absolute;
    left: 60%;
    width: 20%;
    top: 18%;
    animation: rotate360deg 15s linear infinite;
    /* opacity: 0.8; */
    z-index: -1;
}


@media (max-width: 991px) {
    .hero__animation img:nth-child(1) {
        display: none;
    }

    .hero__animation img:nth-child(4) {
        width: 6%;
    }

    .hero__animation img:nth-child(2) {
        width: 6%;
    }

    .hero__animation img:nth-child(5) {
        display: none;
    }
}

@media (max-width: 479px) {

    .hero__animation img:nth-child(2),
    .hero__animation img:nth-child(4) {
        display: none;
    }
}

@keyframes previewShapeX {
    0% {
        transform: translateX(-25px);
    }

    50% {
        transform: translateX(25px);
    }

    100% {
        transform: translateX(-25px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0.5;
    }
}

/* @keyframes rotate {
    0% {
      transform: rotate(0deg) scale(1);
    }
  
    100% {
      transform: rotate(30deg) scale(1.5);
    }
  } */

@keyframes rotate360deg {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
.risk-label{
  font-family: 30px !important;
  padding-top: 15px;
}

.bg-b{
  background-color: #143a803a !important;
}
.pt-120{
  padding-top: 120px;
}
.pb-120{
  padding-bottom: 120px;
}

.edit-icon {
  background: none;
  border: none;
  cursor: pointer;
}

.edit-icon-img {
  width: 14px;
  height: 14px;
}
.fs--14{
  font-size: 14px;
}
.form-control:disabled, .form-control[readonly] {
  background-color: #fff !important;
  opacity: 1;
}
.important-link {
  display: block;
  margin: 20px 0;
  padding: 10px 15px;
  background-color: #143a801e;
  color: #143980;
  text-decoration: none;
  font-size: 1.2rem;
  border-radius: 8px;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.3s, box-shadow 0.3s;
}

.important-link:hover {
  background-color: #1849a36b;
}


.form-group {
  margin: 10px 0;
}

.form-group input,
select {
  border: none !important;
  border-bottom: 1px solid #D3D3D3 !important;
  border-radius: 0;
}
/* .goal-side-img{
  position: absolute;
  width: 35%;
right: 15%;
top: 20%;
z-index: -1;

}
.goal-side-img img{
right: 0;
position: relative;
} */
.exist-img img {
  position: sticky;
  top: 151px;
  z-index: 1;
  width: 100%;
}
.exist-img div {
  position: sticky;
  top: 251px;
  z-index: 1;
  width: 100%;
}

.member {
  display: flex;
  align-items: center;
  display: none;
  /* Hidden by default */
}

.member div {
  margin-right: 10px;
}

.member .action-buttons {
  margin-left: auto;
  /* Push buttons to the right */
}

.main-action-buttons {
  display: flex;
  margin-left: 10px;
  justify-content: space-between;
}

#showLessBtn {
  display: none;
  /* Initially hide Show Less */
}

#showMoreBtn {
  display: inline-block;
  /* Initially show Show More */
}

.action-buttons {
  display: flex;
}

.bttn {
  background-color: rgba(0, 0, 0, 0.2);
  height: 35px;
  width: 35px;
  border-radius: 50%;
  border: none;
}

.btttn {
  background-color: transparent;
  border: none;
  width: 60px;

}

/* Speedometer container styling */
.speedometer-container {
  position: relative;
  width: 300px;
  /* Adjust width as needed */
  height: 150px;
  /* Adjust height as needed */
  margin: 50px auto;
}

/* Needle styling */
#needle-img {
  position: absolute;
  width: 24px;
  height: 120px;
  bottom: 0;
  left: 50%;
  transform-origin: 50% 100%;
  transform: translateX(-50%) rotate(-90deg);
  transition: transform 1s ease-out;
}

/* Speedometer image styling */
.speedometer-img {
  width: 100% !important;
  height: 100%;
}

input::placeholder {
  color: #143a804f !important; /* Change this to your desired color */
}
.btn-year {
  margin: 5px;
  padding: 10px 15px;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 5px;
  cursor: pointer;
  background-color: #f8f9fa;
  transition: background-color 0.3s, transform 0.2s;
}

.btn-year:hover {
  background-color: #d1e7dd;
  transform: scale(1.05);
}

.fund-section {
  margin-top: 20px;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: #f0f8ff;
}

.fund-name {
  font-weight: bold;
  margin-bottom: 5px;
}
.list{
  background-color: #143a801f;
  list-style: none;
  margin: 5px 0;
  padding: 5px 10px;
  border-radius: 5px;
}
.age-icon{
  width:45px;
  height:45px;
}
.card{
  cursor: pointer;
}
.goal-icon{
  height: 40px;
  width: 40px;
  margin-right: 10px;
}
 /* Styling for the table */
 #goalResultsTable {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

/* Table header styles */
#goalResultsTable thead {
  background-color: #143a801f;
  color: #143980;
}

#goalResultsTable th {
  padding: 12px 15px;
  text-align: left;
}

/* Table body styles */
#goalResultsTable tbody tr {
  border-bottom: 1px solid #143980;
}

#goalResultsTable td {
  padding: 12px 15px;
}


/* Additional styling for specific columns */
#goalResultsTable th, #goalResultsTable td {
  text-align: center;
}

/* Adding borders to cells */
#goalResultsTable th, #goalResultsTable td {
  border: 1px solid #00000054;
}

/* Adding rounded corners for table */
#goalResultsTable {
  border-radius: 8px;
  overflow: hidden;
}

/* Add shadow for depth */
#goalResultsTable {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive design for small screens */
@media (max-width: 768px) {
  #goalResultsTable th, #goalResultsTable td {
      padding: 10px;
  }
}
.goal-img{
  img{
    height: 100%;
    width: 100%;
  }
}
.them-1-button{
  background: #f3f5f6;
  padding: 10px 20px !important;
  text-decoration: none;
  border-radius: 5px;
  border: none;
  width: 150px;
}
.them-2-button {
  background: #54c796;
  padding: 10px 40px !important;
  text-decoration: none;
  border-radius: 5px;
  border: none;
  width: 150px !important;
color: #fff;
}
.bg-thame-2{
  background-color: #143a8011;
}
.whats-img{
 display: flex;
 justify-content: center;
  img{
    width: 40%;
    margin: 0 auto;
  }
}
.slot-btn {
  padding: 1px !important;
  font-size: 12px !important;
}
.date-btn {
  padding: 2px 5px!important;
  font-size: 12px !important;
}
@media (max-width: 768px) {
  .icon-container{
    display: none !important;
  }
}
