* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Open Sans", sans-serif;
}

:root {
  color-scheme: light dark;
  background-color: #fff !important;
  color: #000 !important;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (prefers-color-scheme: dark) {
  :root {
      color: #000 !important;
      background-color: #ffffff !important;
  }
}

@media (prefers-color-scheme: light) {
  :root {
      color: #000 !important;
      background-color: #ffffff !important;
  }
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #fff;
  color: #000;
  height: 100vh;
}

.unordered-list li::marker {
  color: #0f63ac;
  content: "\25B8  ";
  font-size: 18px;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px; /* Adjust thumb width */
  height: 19px; /* Adjust thumb height */
  background-color: var(--thumb-color); /* Use the custom property */
  border-radius: 0; /* Create a round thumb */
  cursor: pointer; /* Show pointer cursor on hover */
}

/* Additional styling for other browsers */
.slider::-moz-range-thumb {
  width: 20px; /* Adjust thumb width */
  height: 20px; /* Adjust thumb height */
  background-color: var(--thumb-color); /* Use the custom property */
  border-radius: 50%; /* Create a round thumb */
  cursor: pointer; /* Show pointer cursor on hover */
}

/* FAQ Section HeartBeat Button */

.heartBeatButton {
  animation: beat 1s ease-in-out infinite;
}

/* Area chart styles */

#chart-container {
  width: 100%;
  max-width: 800px;
  margin: auto;
}

#sipChart {
  width: 800px;
}

@keyframes beat {
  0% {
      transform: scale(1);
  }
  50% {
      transform: scale(1.1);
  }
  100% {
      transform: scale(1);
  }
}

label {
  position: relative;
}

#mobileNumInput2::placeholder {
  opacity: 0;
}

.floating-span {
  background: transparent;
  position: absolute;
  top: 0;
  left: 8px;
  transform: translateY(0px);
  transition-duration: 300ms;
  z-index: 10;
}

label:focus-within > .floating-span,
#mobileNumInput2:not(:placeholder-shown) + .floating-span {
  color: #004485;
  transform: translateY(-30px);
  background: #f4f4f4;
}

/* Why choose My Mudra Styles (Death type class names are copied form insurance page) */

.why-choose-section {
  background-color: rgba(0, 68, 133, 0.08) !important;
}

.why-choose-us-cards-row {
  flex-wrap: nowrap;
}

.death-type-text {
  color: #004485;
}

.death-type-number {
  color: #004485;
  background-color: #c6e4ff;
}

.death-type-card {
  box-shadow: 0 7px 10px -3px rgba(0, 68, 133, 0.4),
      0 4px 6px -4px rgba(0, 68, 133, 0.4) !important;
  width: 50% !important;
}

.features-btn {
  background-color: #004485 !important;
  color: #fff;
}
/* Why choose My Mudra Styles End */

.document-number {
  background-color: rgb(254 215 170);
  color: rgb(249 115 22);
}

.steps-btn {
  background-color: #10b981 !important;
  color: #fff;
}

@media (width < 480px) {
  .no-scrollbar::-webkit-scrollbar {
      display: none;
  }

  .why-choose-us-cards-row {
      flex-wrap: wrap;
  }

  .death-type-card {
      width: 100% !important;
  }

  .custom-div {
      width: 215px;
      height: 45px;
      margin-top: -52px;
      margin-left: 16px;
  }

  .custom-div::after {
      content: "";
      position: absolute;

      border-radius: 0px;
      border-top-left-radius: 15px;
      border-bottom-left-radius: 5px;
      top: 0;
      left: 0;
      width: 100%;

      height: 100%;
      background-color: rgb(243 244 246);
      border: 1px solid gray;
      transform: skewX(30deg);
      transform-origin: top left;
  }

  .fbs {
      margin-top: 610px;
  }

  .capl {
      margin-top: 660px;
  }

  /* Flip card Animation */

  .cardBack {
      transform: perspective(1000px) rotateX(180deg) !important;
  }

  .cardBack.flipped {
      transform: perspective(1000px) rotateX(0deg) !important;
  }

  .cardFront {
      transform: perspective(1000px) rotateX(0deg) !important;
  }

  .cardFront.flipped {
      transform: perspective(1000px) rotateX(-180deg) !important;
  }
}

/* Scroll Bar Customization */

::-webkit-scrollbar {
  width: 7px;
}

::-webkit-scrollbar-track {
  background-color: #fff;
  border-radius: 140px;
}

::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #a0a0a0;
}

@media only screen and (min-width: 540px) and (max-width: 720px) {
  .fixed {
      top: 0;
  }

  .apply_now_btn {
      padding-left: 30px !important;
      padding-right: 30px !important;
  }

  #applynow_sec {
      margin: 0px auto 0px !important;
  }

  #personal_loan_sec {
      flex-direction: column;
      width: 100%;
  }

  #personal_loan_sec .flex {
      width: 93%;
      margin: 0px auto;
  }

  #personal_loan_sec .flex p {
      width: 100%;
  }

  #personal_loan_sec .flex .overview_img img {
      width: 700px !important;
  }

  #types_personal_loan .flex-col {
      flex-direction: column;
      flex-basis: 17%;
  }

  #types_personal_loan .flex-col p {
      font-size: 10px;
  }

  #pl_offers {
      max-width: 93% !important;
  }

  #rounded_sec {
      width: 100%;
      border-radius: 0px;
  }

  #rounded_sec .xs\:rounded-full {
      border-radius: 0px !important;
  }

  #rounded_sec img {
      width: 30px !important;
      max-width: none;
  }

  #mobileNumInput2 {
      font-size: 10px !important;
  }

  .checkoff_btn {
      font-size: 14px !important;
  }

  #td_md {
      margin-left: 0px !important;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1190px) {
  .fixed {
      top: 0;
  }

  #applynow_sec {
      margin: 0px auto 0px !important;
  }

  #personal_loan_sec {
      flex-direction: column;
      width: 100%;
  }

  #personal_loan_sec .flex {
      width: 93%;
      margin: 0px auto;
  }

  #personal_loan_sec .flex p {
      width: 100%;
  }

  #personal_loan_sec .flex .overview_img img {
      width: 700px !important;
  }

  #types_personal_loan .flex-col {
      flex-direction: column;
      flex-basis: 17%;
  }

  #types_personal_loan .flex-col p {
      font-size: 10px;
  }

  #pl_offers {
      max-width: 93% !important;
  }

  #rounded_sec {
      width: 100%;
      border-radius: 0px;
  }

  #rounded_sec .xs\:rounded-full {
      border-radius: 0px !important;
  }

  #rounded_sec img {
      width: 50px !important;
  }

  #td_md {
      margin-left: 0px !important;
  }
}

@media only screen and (min-width: 912px) and (max-width: 1368px) {
  #applynow_sec .surface_pro {
      padding-top: 100px !important;
      padding-bottom: 10px !important;
  }
}

@media (480px <= width < 600px) {
  #chart-container {
    width: 100%;
    max-width: 600px;
    margin: auto;
  }
  
  #sipChart {
    width: 460px;
  }

  .fbs {
      margin-top: 450px;
  }

  .capl {
      margin-top: 560px;
  }

  .why-choose-us-cards-row {
      flex-wrap: wrap;
  }

  .death-type-card {
      width: 100% !important;
  }
}

@media (601px <= width < 654px) {
  .why-choose-us-cards-row {
      flex-wrap: wrap;
  }

  .death-type-card {
      width: 100% !important;
  }
}

@media (600px <= width < 720px) {
  #chart-container {
    width: 100%;
    max-width: 720px;
    margin: auto;
  }
  
  #sipChart {
    width: 580px;
  }

  .fbs {
      margin-top: 550px;
  }

  .capl {
      margin-top: 560px;
  }
}

@media (720px <= width < 825px) {
  #chart-container {
    width: 100%;
    max-width: 825px;
    margin: auto;
  }
  
  #sipChart {
    width: 700px;
  }

  .fbs {
      margin-top: 510px;
  }

  .capl {
      margin-top: 550px;
  }
}

@media (width >= 825px) {
  .custom-cardd {
      margin-bottom: 220px;
  }

  #chart-container {
    width: 100%;
    min-width: 825px;
    margin: auto;
  }
  
  #sipChart {
    width: 800px;
  }
}

@media (width >= 1200px) {
  #types-desktop {
      display: flex;
  }

  #types-other {
      display: none;
  }
}

@media (480px < width < 1200px) {
  #types-desktop {
      display: none;
  }

  #types-other {
      display: flex;
  }
}

/* flip card animation */

.cardd {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: auto;
  position: relative;
}

.custom-cardd {
  margin-bottom: 220px;
}

.cardFront,
.cardBack {
  box-sizing: border-box;
  border-radius: 0.25rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
      0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: transform 0.5s ease;
  position: absolute;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.cardBack {
  transform: perspective(1000px) rotateX(180deg);
}

.cardBack.flipped {
  transform: perspective(1000px) rotateX(0deg);
}

.cardFront {
  transform: perspective(1000px) rotateX(0deg);
}

.cardFront.flipped {
  transform: perspective(1000px) rotateX(-180deg);
}

.card2 {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: auto;
  position: relative;
  margin-bottom: 320px;
}

.cardFront2,
.cardBack2 {
  box-sizing: border-box;
  border-radius: 0.25rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
      0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: transform 0.5s ease;
  position: absolute;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.cardBack2 {
  transform: perspective(1000px) rotateX(180deg);
}

.cardBack2.flipped2 {
  transform: perspective(1000px) rotateX(0deg);
}

.cardFront2 {
  transform: perspective(1000px) rotateX(0deg);
}

.cardFront2.flipped2 {
  transform: perspective(1000px) rotateX(-180deg);
}

.plCard {
  background-color: #e9ecef;
}

.ApplyButton {
  background-color: #004485;
}

#cardsContainer {
  width: 1200px;
  overflow: hidden;

  gap: 0; /* Remove gap between cards */
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.interest-rate-bgc {
  background: linear-gradient(to right, rgba(230, 234, 245, 0.1), #e6eaf5);
}

.interest-rate-bgc:hover {
  box-shadow: 0 10px 15px -5px #879ddd, 0 8px 10px -6px #879ddd;
}

.interest-rate-heading {
  font-size: 26px !important;
}

.interest-rate-text {
  color: #879ddd !important;
}

.interest-rate-btn-bg {
  background-color: #879ddd !important;
}

.interest-rate-content-div {
  width: 60% !important;
}
@media (310px < width < 550px) {
  .interest-rate-content-div {
      width: 100% !important;
  }
}

.body-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  color: black;
}
.tooltip-wrapper {
  --clr-btn: rgb(29, 28, 28);
  --clr-dropdown: #f4f4f4;
  --clr-nav-hover: rgb(255, 255, 255);
  --clr-dropdown-hov: rgb(255, 255, 255);
  --clr-dropdown-link-hov: rgb(255, 255, 255);
  --clr-light: #ffffff;
  font-family: "Poppins", sans-serif;
}
.nav-link {
  position: relative;
}
.tooltip-wrapper > .tooltip-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.tooltip-container,
.tooltip-menu-with-icon {
  list-style: none;
}
.nav-link > .tooltip-tab {
  color: black;
  background: white;
  display: flex;
  align-items: center;
  column-gap: 12px;
  justify-content: space-between;
  cursor: pointer;

  transition: 0.3s ease-in-out;
}
.nav-link > .tooltip-tab:hover svg {
  transform: rotate(360deg);
  transition: 0.3s ease-in-out;
}
.tooltip-links {
  text-decoration: none;
}
.tooltip {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 12rem;
  max-width: 15rem;
  transform: translateY(10px);
  opacity: 0;
  pointer-events: none;
  transition: 0.5s;
  padding: 4px 0px 0px 0px;
  color: black;
  border: 1px solid #e4e4e7;
  border-radius: 12px;
  border-top: none;
}
.tooltip::after {
  content: "";
  width: 15px;
  height: 15px;
  background: #00c1d5 no-repeat -30px -50px fixed;
  top: 0px;
  left: 6%;
  position: absolute;
  display: inline-block;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  transform: rotate(360deg);
  z-index: -1;
  box-shadow: 0px 6px 30px rgb(2 22 36);
}
.tooltip .tooltip-menu-with-icon {
  padding: 10px 0px;
  background-color: var(--clr-dropdown);
  position: relative;
}
.tooltip-link {
  position: relative;
}
.tooltip-link:not(:nth-last-child(2)) {
  border-bottom: 1px solid var(--clr-dropdown);
}
.tooltip-link > a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  column-gap: 10px;
  background-color: var(--clr-dropdown);
  color: black;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  transition: 0.3s;
}
.tooltip-menu-with-icon svg {
  height: 20px;
  margin-left: 0px;
}
.nav-link:hover > .tooltip-tab {
  transform: scale(1.1);
}
.nav-link:hover > .tooltip,
.tooltip-link:hover > .tooltip {
  transform: translate(0, 0);
  opacity: 1;
  pointer-events: auto;
  -webkit-transform: translate(0, 0);
  -moz-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  -o-transform: translate(0, 0);
}
.nav-link:hover > .tooltip-tab {
  transform: scale(1);
  background-color: var(--clr-nav-hover);
}
.fixed-footer-bg {
  background: #d2deff;
  position: fixed !important;
  left: 0px !important;
  right: 0px !important;
  bottom: 0px !important;
  z-index: 120 !important;
}
