.bg-color_custom {
  background:
    radial-gradient(
      circle at 35% 30%,
      rgba(229, 169, 19, 0.25) 0%,
      transparent 45%
    ),
    radial-gradient(
      circle at 75% 80%,
      rgba(0, 102, 255, 0.3) 0%,
      transparent 50%
    ),
    linear-gradient(135deg, #071426 0%, #0b1e36 100%);
}

.text-color_custom {
  color: #07316c;
}

.text-color_custom2 {
  color: #e5a913;
}

/* SIP + Lumpsum Calculator */
.sip-lumpsum-section {
  .slider-container {
    position: relative;
    overflow: hidden;
    padding-bottom: calc(var(--spacing) * 2.5);
    &::before {
      pointer-events: none;
      position: absolute;
      top: calc(var(--spacing) * 2.25);
      left: calc(var(--spacing) * 0);
      z-index: 30;
      height: calc(var(--spacing) * 2);
      border-top-left-radius: calc(infinity * 1px);
      border-bottom-left-radius: calc(infinity * 1px);
      background-color: var(--color-secondary);
      --tw-content: "";
      content: var(--tw-content);
      width: var(--slider-progress, 0%);
    }
  }
  .slider-container[style*="--slider-progress: 100%"] {
    &::before {
      border-radius: 100px;
    }
  }
  .slider {
    position: relative;
    z-index: 1;
    height: calc(var(--spacing) * 2);
    width: 100%;
    cursor: pointer;
    appearance: none;
    border-radius: calc(infinity * 1px);
    background-color: var(--color-border);
    -webkit-appearance: none;
    &::-webkit-slider-thumb {
      position: relative;
      top: calc(var(--spacing) * 4);
      z-index: 40;
      height: calc(var(--spacing) * 2.5);
      width: calc(var(--spacing) * 3.5);
      cursor: pointer;
      appearance: none;
      background-color: var(--color-secondary);
      -webkit-appearance: none;
      clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
      transition: transform 0.2s ease;
    }
  }
  #sipSummaryText strong {
    color: var(--color-primary);
    font-weight: 700;
  }
}

.sip-comparison-table {
  width: 100%;
  border-collapse: collapse;
  th,
  td {
    padding: calc(var(--spacing) * 1.5) calc(var(--spacing) * 1);
    text-align: left;
    border-bottom: 1px solid var(--color-border);
    font-size: 12px;
    line-height: var(--tw-leading, var(--text-base--line-height));
  }
  th:last-child,
  td.sip-comparison-value {
    text-align: right;
    border-left: 1px solid var(--color-border);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
  }
  th {
    color: var(--color-secondary);
    font-weight: var(--font-weight-semibold);
    background-color: color-mix(
      in oklab,
      var(--color-secondary) 6%,
      transparent
    );
  }
  tbody tr:nth-child(even) td {
    background-color: color-mix(in oklab, var(--color-secondary) 4%, #ffffff);
  }
  tbody tr:nth-child(odd) td {
    background-color: #ffffff;
  }
  tbody tr:last-child td {
    border-bottom: none;
  }
  tbody tr:hover td {
    background-color: color-mix(
      in oklab,
      var(--color-primary) 10%,
      transparent
    );
  }
  tbody tr.sip-comparison-highlight td {
    background-color: color-mix(
      in oklab,
      var(--color-primary) 14%,
      transparent
    );
  }
  .sip-comparison-value {
    color: var(--color-title_black);
    /* font-weight: var(--font-weight-semibold); */
  }
}

.sip-calc-link {
  display: flex;
  align-items: center;
  gap: calc(var(--spacing) * 2);
  padding: calc(var(--spacing) * 3) calc(var(--spacing) * 3.5);
  border-radius: calc(var(--spacing) * 3);
  border: 1px solid;
  font-size: var(--text-sm);
  line-height: var(--tw-leading, var(--text-sm--line-height));
  font-weight: var(--font-weight-semibold);
  transition: all 0.3s ease;
  &--blue {
    color: var(--color-secondary);
    border-color: color-mix(in oklab, var(--color-secondary) 40%, transparent);
    background-color: color-mix(
      in oklab,
      var(--color-secondary) 8%,
      transparent
    );
    &:hover {
      background-color: var(--color-secondary);
      color: var(--color-white);
    }
  }
  &--orange {
    color: #c45a00;
    border-color: color-mix(in oklab, #e67e22 40%, transparent);
    background-color: color-mix(in oklab, #e67e22 10%, transparent);
    &:hover {
      background-color: #e67e22;
      color: var(--color-white);
    }
  }
  &--red {
    color: #b91c1c;
    border-color: color-mix(in oklab, #ef4444 40%, transparent);
    background-color: color-mix(in oklab, #ef4444 10%, transparent);
    &:hover {
      background-color: #ef4444;
      color: var(--color-white);
    }
  }
  &--green {
    color: var(--color-secondary);
    border-color: color-mix(in oklab, var(--color-primary) 60%, transparent);
    background-color: color-mix(
      in oklab,
      var(--color-primary) 20%,
      transparent
    );
    &:hover {
      background-color: var(--color-primary);
      color: var(--color-title_black);
    }
  }
  &--purple {
    color: #6b21a8;
    border-color: color-mix(in oklab, #9333ea 40%, transparent);
    background-color: color-mix(in oklab, #9333ea 10%, transparent);
    &:hover {
      background-color: #9333ea;
      color: var(--color-white);
    }
  }
  &--yellow {
    color: #854d0e;
    border-color: color-mix(in oklab, var(--color-primary) 50%, transparent);
    background-color: color-mix(
      in oklab,
      var(--color-primary) 25%,
      transparent
    );
    &:hover {
      background-color: var(--color-primary);
      color: var(--color-title_black);
    }
  }
  &--teal {
    color: var(--color-secondary);
    border-color: color-mix(in oklab, var(--color-secondary) 30%, transparent);
    background-color: color-mix(
      in oklab,
      var(--color-secondary) 5%,
      transparent
    );
    &:hover {
      background-color: var(--color-secondary);
      color: var(--color-white);
    }
  }
}

.sip-chart-wrapper {
  position: relative;
  width: 100%;
}

#sipGrowthChart {
  display: block;
  width: 100%;
}

.sip-year-popup {
  position: absolute;
  display: none;

  min-width: 66px;
  padding: 11px 12px;

  background: #f4f6f7;
  border: 1px solid #9aa8ad;
  border-radius: 3px;

  color: #114a43;
  font-family: "Onest", sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;

  pointer-events: none;
  z-index: 20;

  transform: translateX(-50%);
  box-sizing: border-box;
}

/* Small pointer pointing toward the selected year */
.sip-year-popup::before {
  content: "";
  position: absolute;

  left: 50%;
  bottom: -7px;

  width: 12px;
  height: 12px;

  background: #f4f6f7;
  border-right: 1px solid #9aa8ad;
  border-bottom: 1px solid #9aa8ad;

  transform: translateX(-50%) rotate(45deg);

  z-index: -1;
}

@media (max-width: 767px) {
  .sip-year-popup {
    min-width: 60px;
    padding: 9px 10px;
    font-size: 11px;
  }
}
/* SIP + Lumpsum Calculator */

/* modal style */
.mf-demo {
  min-height: 100vh;
  display: grid;
  place-items: center;
  margin: 0;
  background: #f6f8fc;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #1d2738;
}
.mf-open-button {
  appearance: none;
  border: 0;
  border-radius: 7px;
  background: #f16722;
  color: #fff;
  padding: 13px 22px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 14px rgb(241 103 34 / 22%);
}
.mf-open-button:hover {
  background: #dc5514;
}
.mf-modal[hidden] {
  display: none;
}
.mf-modal {
  position: fixed;
  z-index: 999999;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
}
.mf-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(11 23 42 / 68%);
  backdrop-filter: blur(2px);
}
.mf-modal__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(1200px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow: hidden;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 24px 70px rgb(10 22 40 / 34%);
  animation: mf-modal-in 180ms ease-out;
}
.mf-modal__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 27px 31px 21px;
  border-bottom: 1px solid #edf0f4;
}
.mf-modal__eyebrow {
  margin: 0 0 7px;
  color: #f16623;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.mf-modal__title {
  margin: 0;
  color: #1c2738;
  font-size: 23px;
  line-height: 1.2;
  font-weight: 750;
  letter-spacing: -0.025em;
}
.mf-modal__count {
  margin: 7px 0 0;
  color: #788293;
  font-size: 13px;
}
.mf-modal__close {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin: -5px -7px 0 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #657083;
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
}
.mf-modal__close:hover {
  background: #f2f4f7;
  color: #202b3c;
}
.mf-modal__tools {
  padding: 20px 31px 17px;
}
.mf-search {
  position: relative;
  max-width: 100%;
}
.mf-search svg {
  position: absolute;
  top: 50%;
  left: 15px;
  width: 18px;
  height: 18px;
  color: #8b95a5;
  transform: translateY(-50%);
  pointer-events: none;
}
.mf-search input {
  box-sizing: border-box;
  width: 100%;
  height: 45px;
  border: 1px solid #dfe4eb;
  border-radius: 7px;
  outline: 0;
  padding: 0 15px 0 45px;
  background: #fff;
  color: #263144;
  font: inherit;
  font-size: 14px;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.mf-search input::placeholder {
  color: #9ba4b2;
}
.mf-search input:focus {
  border-color: #f16722;
  box-shadow: 0 0 0 3px rgb(241 103 34 / 12%);
}
.mf-modal__content {
  min-height: 0;
  overflow-y: auto;
  padding: 2px 31px 31px;
  scrollbar-color: #cbd2dc transparent;
  scrollbar-width: thin;
}
.mf-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}
.mf-partner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 159px;
  box-sizing: border-box;
  padding: 17px 14px 14px;
  border: 1px solid #e6eaf0;
  border-radius: 7px;
  background: #fff;
  transition:
    border-color 0.15s,
    box-shadow 0.15s,
    transform 0.15s;
}
.mf-partner:hover {
  border-color: #f4b28c;
  box-shadow: 0 5px 13px rgb(35 52 78 / 9%);
  transform: translateY(-1px);
}
.mf-logo {
  display: grid;
  flex: 0 0 88px;
  place-items: center;
  width: 100px;
  height: 88px;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
  color: var(--logo-color, #243a57);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: -0.04em;
  text-align: center;
  line-height: 1;
}
.mf-logo img {
  display: block;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 0;
  object-fit: contain;
}
.mf-logo--round {
  border-radius: 50%;
}
.mf-partner__name {
  color: #344054;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.28;
}
.mf-empty {
  grid-column: 1 / -1;
  padding: 52px 16px;
  color: #7c8798;
  text-align: center;
  font-size: 14px;
}
@keyframes mf-modal-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@media (max-width: 760px) {
  .mf-modal {
    padding: 14px;
  }
  .mf-modal__panel {
    max-height: calc(100vh - 28px);
    border-radius: 11px;
  }
  .mf-modal__top {
    padding: 22px 20px 17px;
  }
  .mf-modal__tools {
    padding: 16px 20px 14px;
  }
  .mf-modal__content {
    padding: 2px 20px 22px;
  }
  .mf-modal__title {
    font-size: 20px;
  }
  .mf-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .mf-partner {
    min-height: 135px;
    padding: 12px 8px;
    gap: 9px;
  }
  .mf-logo {
    flex-basis: 70px;
    width: 82px;
    height: 70px;
    font-size: 9px;
  }
  .mf-partner__name {
    font-size: 11px;
  }
}
@media (max-width: 380px) {
  .mf-grid {
    grid-template-columns: 1fr;
  }
}
/* modal style */

/* .certification-strip {
  --strip-background: #124355;
  --strip-line: rgb(255 255 255 / 72%);
  --strip-text: #fff;
  box-sizing: border-box;
  padding: 8px 0 11px;
  background: var(--strip-background);
  color: var(--strip-text);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
} */
.certification-strip *,
.certification-strip *::before,
.certification-strip *::after {
  box-sizing: border-box;
}
.certification-strip__inner {
  width: min(100%, 1690px);
  margin: auto;
  border-top: 1px solid var(--strip-line);
  border-bottom: 1px solid var(--strip-line);
}
.certification-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.certification-strip__item {
  display: flex;
  align-items: center;
  gap: 19px;
  min-height: 108px;
  padding: 20px 0;
}
/* .certification-strip__item:nth-child(-n + 3) {
  border-bottom: 1px solid var(--strip-line);
} */
.certification-strip__logo {
  display: grid;
  flex: 0 0 80px;
  place-items: center;
  width: 64px;
  height: 64px;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
}
.certification-strip__logo img {
  display: block;
  /* width: 100%; */
  height: inherit;
  padding: 8px;
  object-fit: contain;
}
.certification-strip__text {
  margin: 0;
  color: #ffffff;
  max-width: 300px;
  font-size: 15px;
  line-height: 1.42;
}
@media (max-width: 980px) {
  .certification-strip__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .certification-strip__item:nth-child(-n + 3) {
    border-bottom: 0;
  }
  .certification-strip__item:not(:last-child) {
    border-bottom: 1px solid var(--strip-line);
  }
}
@media (max-width: 620px) {
  .certification-strip {
    padding-inline: 18px;
  }
  .certification-strip__grid {
    grid-template-columns: 1fr;
  }
  .certification-strip__item {
    min-height: 104px;
    gap: 14px;
    padding: 16px 0;
  }
  .certification-strip__logo {
    flex-basis: 62px;
    width: 62px;
    height: 62px;
  }
  .certification-strip__text {
    font-size: 16px;
  }
}
.marquee-slider-div img {
  max-width: max-content;
}

/* Smart goal calculator */
/* .calculator-container {
  background: white;
  border-radius: 1rem;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  padding: 2rem;
  height: 100%;
} */

.input-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.5rem;
}

.input-group input[type="text"],
.input-group input[type="number"] {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.input-group input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.stats-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 0.75rem;
  text-align: center;
  transition: transform 0.2s;
}
.stats-card:hover {
  transform: translateY(-2px);
}
.stats-card .number {
  font-size: 1.5rem;
  font-weight: 800;
  /* margin-bottom: 0.25rem; */
}
.stats-card .label {
  font-size: 0.75rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Custom Range Slider */
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  background: transparent;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: #2563eb;
  cursor: pointer;
  margin-top: -6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 8px;
  cursor: pointer;
  background: #e2e8f0;
  border-radius: 4px;
}
/* Smart goal calculator */

/* why choose us */
/* =========================================
   MOBILE — 1 COLUMN
   ========================================= */

@media (max-width: 639px) {
  .choose-grid > [data-sttr-card] {
    border-left: 1px solid rgba(255, 255, 255, 0.18);
    border-right: 1px solid rgba(255, 255, 255, 0.18);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    border-top: 0;
  }

  .choose-grid > [data-sttr-card]:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }
}

/* =========================================
   TABLET — 2 COLUMNS
   ========================================= */

@media (min-width: 640px) and (max-width: 767px) {
  .choose-grid > [data-sttr-card] {
    border-top: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .choose-grid > [data-sttr-card]:nth-child(1),
  .choose-grid > [data-sttr-card]:nth-child(2) {
    border-top: 0 !important;
  }

  /* Left column */
  .choose-grid > [data-sttr-card]:nth-child(odd) {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-right: 1px solid rgba(255, 255, 255, 0.18);
  }

  /* Right column */
  .choose-grid > [data-sttr-card]:nth-child(even) {
    border-left: 1px solid rgba(255, 255, 255, 0.18);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-right: 0;
  }

  /* Last row */
  .choose-grid > [data-sttr-card]:nth-child(7),
  .choose-grid > [data-sttr-card]:nth-child(8) {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-bottom: 0;
  }
}

/* =========================================
   LAPTOP / DESKTOP — 4 COLUMNS
   ========================================= */

@media (min-width: 768px) {
  /* Card 1 */
  .choose-grid > [data-sttr-card]:nth-child(1) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    border-right: 1px solid rgba(255, 255, 255, 0.18);
  }

  /* Cards 2 + 3 */
  .choose-grid > [data-sttr-card]:nth-child(2),
  .choose-grid > [data-sttr-card]:nth-child(3) {
    border-left: 1px solid rgba(255, 255, 255, 0.18);
    border-right: 1px solid rgba(255, 255, 255, 0.18);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  /* Card 4 */
  .choose-grid > [data-sttr-card]:nth-child(4) {
    border-left: 1px solid rgba(255, 255, 255, 0.18);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  /* Cards 5 + 6 + 7 */
  .choose-grid > [data-sttr-card]:nth-child(5) {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-right: 1px solid rgba(255, 255, 255, 0.18);
  }

  .choose-grid > [data-sttr-card]:nth-child(6),
  .choose-grid > [data-sttr-card]:nth-child(7) {
    border-left: 1px solid rgba(255, 255, 255, 0.18);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-right: 1px solid rgba(255, 255, 255, 0.18);
  }

  /* Card 8 */
  .choose-grid > [data-sttr-card]:nth-child(8) {
    border-left: 1px solid rgba(255, 255, 255, 0.18);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }
}

/* conatct page form */
/* Contact Page - Custom Select (NiceSelect Overrides) */

/* 1. Force hide duplicate native select tag once initialized */
.custom-select-container select.select-active {
  display: none !important;
}

/* 2. Container input box styling */
.custom-select-container .nice-select {
  width: 100% !important;
  height: 48px !important;
  line-height: 46px !important;
  padding-left: 48px !important;
  padding-right: 36px !important;
  border-radius: 0.75rem !important;
  border: 1px solid var(--border, #e2e8f0) !important;
  background-color: #ffffff !important;
  float: none !important;
  font-size: 0.875rem !important;
}

/* 3. Placeholder / Unselected state (unbolded & slate text) */
.custom-select-container .nice-select .current {
  display: block !important;
  line-height: 46px !important;
  font-weight: 400 !important;
  color: #94a3b8 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

/* 4. Active state (Bold weight & dark text when valid option is selected) */
.custom-select-container
  .nice-select:has(.option.selected:not(.disabled))
  .current {
  font-weight: 600 !important;
  color: #0f172a !important;
}

/* 5. Dropdown menu options styling */
.custom-select-container .nice-select .option.disabled {
  color: #94a3b8 !important;
  font-weight: 400 !important;
}

.custom-select-container .nice-select .option.selected:not(.disabled) {
  font-weight: 700 !important;
}

/* 6. Dropdown popup list menu with custom height and scrollbar */
.custom-select-container .nice-select .list {
  width: 100% !important;
  max-height: 15rem !important; /* Preserves 15rem limit */
  height: auto !important;
  overflow-y: auto !important; /* Enables smooth scrolling */
  border-radius: 0.75rem !important;
  margin-top: 4px !important;
  box-shadow:
    0 10px 25px -5px rgba(0, 0, 0, 0.1),
    0 8px 10px -6px rgba(0, 0, 0, 0.1) !important;
  z-index: 50 !important;
}

/* 7. NiceSelect right chevron arrow alignment & visibility */
.custom-select-container .nice-select::after {
  content: "" !important;
  display: block !important;
  right: 16px !important;
  top: 50% !important;
  margin-top: -4px !important;
  pointer-events: none !important;
}
/* contact form page */
