:root {
  --primary-color: #0061E5;
  --secondary-color: #012C79;
  --light-text-color: #E9F1FD;
  --light-btn-bg: #E9F1FD;
  --text-color: #120E34;
  --text-color-v2: #181636;
  --background-color: #F8FAFC;
  --white-color: #fff;
  --off-white-color: #F8FAFC;
  --green: #00B871;
  --light-green: #00E0C1;
  --gap: 16px;
}

.fund-page {
  padding-top: 40px;
  position: relative;
  background-color: var(--background-color);

  &:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100svh;
    background: linear-gradient(0deg, #E9F1FD 0%, #FAFCFF 100%);
  }

  .fund-container {
    z-index: 1;
    position: relative;
  }
}

.button {
  font-size: 16px;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  line-height: auto;
  display: inline-block;

  i {
    margin-left: 8px;
  }
}

.button.button-sm {
  padding: 5px 16px;
}

.button.button-lg {
  padding: 12px 20px;
  border-radius: 16px;
}

@media (min-width:1200px) {
  .button {
    font-size: 18px;
    padding: 12px 20px;
    border-radius: 10px;
  }

  .button.button-sm {
    padding: 7px 20px;
  }

  .button.button-lg {
    padding: 20px 40px;
    border-radius: 20px;
  }
}

.button-primary {
  background: var(--primary-color);
  border: 1px solid var(--primary-color);
  color: var(--white-color);

  &:hover {
    background-color: transparent;
    color: var(--primary-color);
  }
}

.button-primary-gradient {
  background: linear-gradient(182deg, #0061E5 50%, #060756 140%);
  border: 1px solid var(--primary-color);
  color: var(--text-color);
}

.button-secondary {
  background: var(--secondary-color);
  border: 1px solid var(--secondary-color);
  color: var(--white-color);
}

.button-light {
  background: var(--light-btn-bg);
  border: 1px solid var(--light-btn-bg);
  color: var(--text-color);

  &:hover {
    background-color: #00E0C1;
    color: var(--text-color);

    i {
      filter: brightness(0)
    }
  }
}

.button-light-green {
  background: var(--light-green);
  border: 1px solid var(--light-green);
  color: var(--text-color);

  &:hover {
    background-color: transparent;
    color: var(--light-green);
  }
}

/* .btn-primary.btn-lg {
   box-shadow: 20px 20px 30px 0px rgba(238, 28, 37, 0.20); 
 } */
/* breadcrumb css */
nav.breadcrumb {
  --spacing: 4px;
  max-width: 100%;
  overflow-x: auto;
}

nav.breadcrumb ol {
  display: flex;
  flex-wrap: nowrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

nav.breadcrumb li {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

nav.breadcrumb li+li {
  margin-left: var(--spacing);
}

nav.breadcrumb a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 14px;
  padding: 4px 8px;
  /* border-radius: 8px; */
  transition: background-color 0.25s ease, color 0.25s ease;
}

nav.breadcrumb a:hover,
nav.breadcrumb a:focus-visible {
  color: #1e40af;
  /* Blue 800 */
}

nav.breadcrumb li:last-child a,
nav.breadcrumb li:last-child span {
  color: var(--primary-color);
  font-size: 14px;
  cursor: default;
}

/* Separator with material icon */
nav.breadcrumb li+li::before {
  content: ">";
  font-weight: normal;
  font-style: normal;
  display: inline-block;
  color: var(--text-color);
  font-size: 14px;
  margin-right: var(--spacing);
  user-select: none;
}

/* Accessibility: visually hidden label for breadcrumb */
nav.breadcrumb[aria-label]::before {
  content: attr(aria-label);
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Responsive adjustments */

@media (max-width: 640px) {

  /* Mobile: reduce spacing and font size */
  nav.breadcrumb {
    --spacing: 6px;
  }

  nav.breadcrumb a {
    padding: 3px 6px;
  }

  nav.breadcrumb li+li::before {
    font-size: 18px;
    margin-right: 6px;
  }
}

@media (min-width: 641px) and (max-width: 1024px) {

  /* Tablet styles */
  nav.breadcrumb {
    --spacing: 4px;
  }

  nav.breadcrumb a {
    padding: 4px 8px;
  }

  nav.breadcrumb li+li::before {
    margin-right: 4px;
  }
}

@media (min-width: 1025px) {

  /* Desktop styles */
  nav.breadcrumb {
    --spacing: 8px;
  }

  nav.breadcrumb a {
    font-size: 16px;
    padding: 5px 10px;
  }

  nav.breadcrumb li:last-child a,
  nav.breadcrumb li:last-child span {
    font-size: 16px;
  }

  nav.breadcrumb li+li::before {
    margin-right: 12px;
  }
}


/* Helper for full width */
.full-width {
  width: 100%;
}

.padding-x-0 {
  padding-left: 0;
  padding-right: 0;
}

.text-end {
  text-align: end;
}

/* Center grid container horizontally */
.grid-center {
  margin-left: auto;
  margin-right: auto;
}


/* grid start end */
.flex {
  display: flex;
}

.ml-4 {
  margin-left: 1rem;
}

.mr-4 {
  margin-right: 1rem;
}

.fs-between {
  justify-content: space-between;
}

.fa-center {
  align-items: center;
}

.fa-end {
  align-items: flex-end;
}



.fund-card {
  width: 100%;
  padding: 20px 20px;
  border-radius: 20px;
  background: var(--white-color);
  box-shadow: 0px 12px 64px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
}

.fund-heading {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.lead-paragraph {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-color);
}

.fund-card-main {
  background: linear-gradient(182deg, #0061E5 50%, #060756 140%);

  .fund-logo {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 10px;
    background: var(--white-color);
    margin-right: 1rem;
    display: grid;
    place-content: center;

    img {
      max-width: 70px;
      object-fit: fill;
      margin: auto;
    }
  }

  .fund-content {
    .fund-heading {
      color: var(--white-color);
      font-weight: 900;
    }

    .lead-paragraph {
      color: var(--white-color);
    }
  }

  .flex.fs-between {
    flex-wrap: wrap;
  }

  .stats {
    width: 100%;
    margin-left: 0;


    strong {
      font-size: 16px;
      font-weight: 500;
      color: var(--white-color);
      margin-right: 10px;
    }

    span {
      font-size: 20px;
      font-weight: 900;
      color: var(--light-green);

      small {
        font-size: 80%
      }
    }
  }
}

/* tab-panel */
.tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.tab {
  font-size: 18px;
  line-height: auto;
  padding: 4px 6px;
  cursor: pointer;
  text-transform: capitalize;
  color: var(--text-color);

}

.tab:focus,
.tab.active {
  font-weight: 600;
  color: var(--primary-color);
}

.tabpanel {
  display: none;
}

.tabpanel.active {
  display: block;
  padding: 20px 0;
}

/* Responsive: make tablist horizontally scrollable on small screens */
@media (max-width: 1200px) {
  .tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    /* border-bottom: 2px solid #cbd5e1; */
    gap: 0.5rem;
    padding-bottom: 0.5rem;
  }

  /* Hide default scrollbar but keep functionality */
  .breadcrumb::-webkit-scrollbar,
  .fund-table::-webkit-scrollbar,
  .tabs::-webkit-scrollbar {
    height: 6px;
  }

  .breadcrumb::-webkit-scrollbar-track,
  .fund-table::-webkit-scrollbar-track,
  .tabs::-webkit-scrollbar-track {
    background: transparent;
  }

  .breadcrumb::-webkit-scrollbar-thumb,
  .fund-table::-webkit-scrollbar-thumb,
  .tabs::-webkit-scrollbar-thumb {
    background-color: rgba(43, 108, 176, 0.4);
    border-radius: 3px;
  }

  /* Firefox scrollbar styling */
  .fund-table,
  .tabs {
    scrollbar-width: thin;
    scrollbar-color: rgba(43, 108, 176, 0.4) transparent;
  }

  .tab {
    flex-grow: 0;
    padding: 0.75rem 1.25rem;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    background-color: transparent;
  }

  .tab:hover {
    background-color: transparent;
  }

}

/* tab-panel end */
.performance-graph {
  img {
    max-width: 100%;
  }

  .tab {
    background: var(--light-btn-bg);
    border: 1px solid var(--light-btn-bg);
    font-weight: 600;
    font-size: 16px;
    padding: 8px 16px;
    border-radius: 8px;
    line-height: auto;
    cursor: pointer;
    text-transform: uppercase;
    color: var(--text-color);
    transition: background-color 0.3s ease, color 0.3s ease;
    box-shadow: none;
  }

  .tab:hover {
    background-color: #c3dafe;
  }

  .tab:focus,
  .tab.active {
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: var(--white-color);
  }

  .stats {
    margin: 30px 0 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;

    &>.stat-item {
      width: auto;
      padding: 1rem 2rem;
      display: flex;
      flex-direction: column;

      strong {
        font-weight: 500;
      }

      span {
        font-weight: 900;
        font-size: 20px;
      }

      small {
        font-size: 80%;
        font-weight: 500;
      }

      &.stat-cagr,
      &.stat-growth {
        span {
          color: var(--green);
          display: flex;
          align-items: center;
          gap: 6px;
        }
      }

      &.stat-ntri,
      &.stat-growth {
        strong {
          position: relative;

          &::after {
            content: "";
            position: absolute;
            width: 12px;
            height: 12px;
            background-color: var(--green);
            top: 50%;
            left: -5px;
            transform: translateX(-100%) translateY(-50%);
          }
        }
      }

      &.stat-ntri {
        strong:after {
          background-color: var(--primary-color);
        }

        span {
          color: var(--primary-color);
        }
      }
    }

    i {
      background-color: var(--green);
      font-style: normal;
      width: 18px;
      height: 18px;
      border-radius: 5px;
      line-height: 18px;
      vertical-align: middle;
      font-size: 70%;
      font-weight: 600;
      color: var(--white-color);
      display: inline-grid;
      place-content: center;
    }
  }

  .info-note {
    margin: 20px 0;
    font-size: 16px;
    color: #747380;
  }
}

.fund-full-info {
  .heading-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .tabs {
    border-bottom: 2px solid rgba(18, 14, 52, 0.5);
    padding: 10px 0;

    button {
      position: relative;

      &::after {
        content: "|";
        width: 1px;
        height: 30px;
        left: -6px;
        position: absolute;
      }

      &:first-child:after {
        opacity: 0;
      }
    }
  }

  .flex {
    justify-content: space-between;

    .button {
      span {
        font-weight: normal;
      }
    }
  }

  .lead-paragraph {
    margin: 20px 0 20px;
  }

  .statistics {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;


    li {
      -ms-flex: 0 0 50%;
      flex: 0 0 50%;
      max-width: 50%;
      padding-left: 2rem;
      padding-right: 2rem;
      margin: 2rem 0;
      border-right: 1px solid #807d7d;


    }
  }

  .label {
    color: var(--text-color);
    font-size: 16px;
  }

  .value {
    font-weight: bold;
    color: var(--text-color);
    font-size: 16px;
    margin-top: 4px;

    .info-icon {
      width: 15px;
      height: 15px;
      margin-left: 4px;
      cursor: pointer;
      display: inline-block;
      background-image: url('data:image/svg+xml,<svg width="15" height="15" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M7.5 14.0625C5.75952 14.0625 4.09032 13.3711 2.85961 12.1404C1.6289 10.9097 0.9375 9.24048 0.9375 7.5C0.9375 5.75952 1.6289 4.09032 2.85961 2.85961C4.09032 1.6289 5.75952 0.9375 7.5 0.9375C9.24048 0.9375 10.9097 1.6289 12.1404 2.85961C13.3711 4.09032 14.0625 5.75952 14.0625 7.5C14.0625 9.24048 13.3711 10.9097 12.1404 12.1404C10.9097 13.3711 9.24048 14.0625 7.5 14.0625ZM7.5 15C9.48912 15 11.3968 14.2098 12.8033 12.8033C14.2098 11.3968 15 9.48912 15 7.5C15 5.51088 14.2098 3.60322 12.8033 2.1967C11.3968 0.790176 9.48912 0 7.5 0C5.51088 0 3.60322 0.790176 2.1967 2.1967C0.790176 3.60322 0 5.51088 0 7.5C0 9.48912 0.790176 11.3968 2.1967 12.8033C3.60322 14.2098 5.51088 15 7.5 15Z" fill="%23747380"/><path d="M8.37183 6.17625L6.22495 6.44531L6.14808 6.80156L6.56995 6.87937C6.84558 6.945 6.89996 7.04437 6.83996 7.31906L6.14808 10.5703C5.96621 11.4112 6.24652 11.8069 6.90558 11.8069C7.41652 11.8069 8.00996 11.5706 8.27902 11.2462L8.36152 10.8562C8.17402 11.0212 7.90027 11.0869 7.71839 11.0869C7.46058 11.0869 7.36683 10.9059 7.43339 10.5872L8.37183 6.17625ZM8.43745 4.21875C8.43745 4.46739 8.33868 4.70585 8.16287 4.88166C7.98705 5.05748 7.7486 5.15625 7.49995 5.15625C7.25131 5.15625 7.01286 5.05748 6.83704 4.88166C6.66123 4.70585 6.56246 4.46739 6.56246 4.21875C6.56246 3.97011 6.66123 3.73165 6.83704 3.55584C7.01286 3.38002 7.25131 3.28125 7.49995 3.28125C7.7486 3.28125 7.98705 3.38002 8.16287 3.55584C8.33868 3.73165 8.43745 3.97011 8.43745 4.21875Z" fill="%23747380"/></svg>');
    }
  }
}

.fund-full-info {
  .calculator {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin: 30px 0;
  }



  .slider-group {
    margin-bottom: 30px;
  }

  .slider-label {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    margin-bottom: 30px;
    /* > span{ */
    font-weight: normal;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
    /* } */
  }

  .slider-value {
    background: var(--light-btn-bg);
    border-radius: 10px;
    padding: 4px 12px;
    font-weight: bold;
    position: relative;
    font-size: 21px;
    color: var(--primary-color);
    font-weight: 600;
    width: 120px;
    display: flex;
    align-items: center;
    justify-content: space-between;

    >span {
      font-weight: normal;
      font-size: 16px;
      font-weight: 500;
      color: var(--text-color);
    }
  }

  .ui-slider {
    height: 10px;
    background: #E5F0FF;
    border: 0;
    border-radius: 5px;
    margin-top: 5px;
  }

  .ui-slider-range-min {
    background-color: var(--primary-color);
  }

  .ui-slider-handle {
    width: 25px;
    height: 25px;
    top: -8px;
    background: #FFFFFF;
    border-radius: 50%;
    border: none;
    outline: none;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
  }

  .sliders,
  .summary {
    width: 100%;
  }

  .summary {
    padding: 30px;
    border-radius: 20px;
    /* -ms-flex: 0 0 40%;
        flex: 0 0 40%;
        max-width: 40%; */
    background-color: var(--background-color);
  }

  .circle {
    position: relative;
    width: 100%;
    margin-bottom: 1rem;

    img {
      max-width: 100%;
    }

    .pie-chart {
      position: relative;
    }

    >span {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
    }
  }

  .summary-info {
    width: 100%;
  }

  .summary .value {
    font-size: 16px;
    color: var(--primary-color);
    font-weight: bold;
  }

  .summary ul {
    list-style: none;
    padding: 0;
  }

  .summary ul li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    /* font-size: 16px; */
    color: var(--text-color);

    &:last-child {
      padding: 14px 0;
      border-top: 1px solid rgba(18, 14, 52, 0.5);
    }
  }

  .summary-total-invest i {
    color: var(--light-btn-bg);
  }

  .summary-profit i {
    color: var(--primary-color);
  }


  .summary .circle span {
    font-size: 16px;
    color: var(--primary-color);
  }

}


/* progreebar */

.progress-wrapper {
  border-radius: 12px;
  overflow: hidden;
  height: 40px;
  display: flex;
  margin: 20px 0 30px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.segment {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  font-weight: 600;
  color: white;
}

.equity {
  background-color: var(--primary-color);
}

.debt {
  background-color: var(--light-green);
}

.cash {
  background-color: var(--light-btn-bg);
}

.legend {
  margin-top: 20px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  /* justify-content: space-between; */
  font-size: 16px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.legend-color {
  width: 25px;
  height: 25px;
  border-radius: 5px;
}

.legend-equity {
  background-color: var(--primary-color);
}

.legend-debt {
  background-color: var(--light-green);
}

.legend-cash {
  background-color: var(--light-btn-bg);
}

/* progrebar end */

.asset-allocation {
  .asset-card {
    background: var(--background-color);
    border-radius: 16px;
    padding: 20px 20px;
    margin: 20px auto 20px;
  }

  .columns {
    display: flex;
    gap: 40px;
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
    overflow: auto;

  }

  .column {
    flex: 1;
    min-width: 300px;

  }

  .column h3 {
    margin-bottom: 30px;
    font-size: 20px;
    font-weight: 600;
  }

  table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
  }

  th {
    text-align: left;
    color: #475569;
    font-weight: 600;

    &:nth-child(1) {
      padding-right: 3rem;
    }

    span {
      border-bottom: 1px solid rgba(18, 14, 52, 0.35);
      padding-bottom: 10px;
      display: block;
    }
  }

  td {
    padding: 8px 0;
    color: #334155;

  }

  /* tr:not(:last-child) td {
        border-bottom: 1px solid #f1f5f9;
    } */

  @media (max-width: 700px) {
    .columns {
      flex-direction: column;
    }
  }
}

.download-icon {
  width: 24px;
  height: 24px;
  display: inline-block;
  vertical-align: middle;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url('data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.75 14.8501C0.948912 14.8501 1.13968 14.9291 1.28033 15.0698C1.42098 15.2104 1.5 15.4012 1.5 15.6001V19.3501C1.5 19.7479 1.65804 20.1295 1.93934 20.4108C2.22064 20.6921 2.60218 20.8501 3 20.8501H21C21.3978 20.8501 21.7794 20.6921 22.0607 20.4108C22.342 20.1295 22.5 19.7479 22.5 19.3501V15.6001C22.5 15.4012 22.579 15.2104 22.7197 15.0698C22.8603 14.9291 23.0511 14.8501 23.25 14.8501C23.4489 14.8501 23.6397 14.9291 23.7803 15.0698C23.921 15.2104 24 15.4012 24 15.6001V19.3501C24 20.1457 23.6839 20.9088 23.1213 21.4714C22.5587 22.034 21.7956 22.3501 21 22.3501H3C2.20435 22.3501 1.44129 22.034 0.87868 21.4714C0.316071 20.9088 0 20.1457 0 19.3501V15.6001C0 15.4012 0.0790176 15.2104 0.21967 15.0698C0.360322 14.9291 0.551088 14.8501 0.75 14.8501Z" fill="%230061E5"/><path d="M11.469 17.781C11.5386 17.8508 11.6214 17.9063 11.7125 17.9441C11.8036 17.9819 11.9013 18.0013 12 18.0013C12.0986 18.0013 12.1963 17.9819 12.2874 17.9441C12.3785 17.9063 12.4613 17.8508 12.531 17.781L17.031 13.281C17.1718 13.1402 17.2509 12.9492 17.2509 12.75C17.2509 12.5508 17.1718 12.3598 17.031 12.219C16.8901 12.0782 16.6991 11.9991 16.5 11.9991C16.3008 11.9991 16.1098 12.0782 15.969 12.219L12.75 15.4395V2.25C12.75 2.05109 12.671 1.86032 12.5303 1.71967C12.3896 1.57902 12.1989 1.5 12 1.5C11.8011 1.5 11.6103 1.57902 11.4696 1.71967C11.329 1.86032 11.25 2.05109 11.25 2.25V15.4395L8.03097 12.219C7.89014 12.0782 7.69913 11.9991 7.49997 11.9991C7.30081 11.9991 7.1098 12.0782 6.96897 12.219C6.82814 12.3598 6.74902 12.5508 6.74902 12.75C6.74902 12.9492 6.82814 13.1402 6.96897 13.281L11.469 17.781Z" fill="%230061E5"/></svg>');
}

.top-funds {
  padding: 40px 1rem;
  background: linear-gradient(182deg, #0061E5 50%, #060756 140%);

  .heading {
    text-align: center;

    h2 {
      background: none;
      background-clip: unset;
      -webkit-background-clip: unset;
      -webkit-text-fill-color: unset;
      color: var(--white-color);
    }
  }

  .fund-table {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    overflow: auto;

    table {
      width: 100%;

      td,
      th {
        padding: 8px;
        font-weight: 500;
        color: var(--white-color);
        font-size: 16px;
      }

      th {
        font-weight: 600;
        padding: 0 8px;
        padding-right: 40px;

        span {
          padding: 8px 0;
          border-bottom: 1px solid rgba(255, 255, 255, 0.35);
          display: block;
        }
      }
    }
  }
}

/* responsiveness css */
@media (max-width:560px) {


  .stat-cta {
    width: 100%;
    padding: 1rem 0;
  }

  .stat-cta .button {
    width: 100%;
  }


  .fund-card-main {
    .fund-heading {
      font-size: 18px;
      /* margin: 0; */
      line-height: 1.1;
    }

    .lead-paragraph {
      font-size: 14px;
    }

    & .stats {
      strong {
        font-size: 13px;
        line-height: 1.1;
      }

      span {
        font-size: 14px;
      }
    }

    .stats {
      margin: 2rem 0 1rem;
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));

      /* grid-column: span 2 / span 2;  */
      &>div {
        display: flex;
        flex-direction: column;
      }
    }
  }

  .heading-cta {
    .col-span-5 {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
    }
  }

  .progress-wrapper {
    height: 30px;
    border-radius: 8px;
  }

  .fund-full-info {
    & .statistics {
      li {
        margin: 1rem 0;
      }
    }

    .value,
    .label {
      color: var(--text-color);
      font-size: 14px;
    }
  }

  .fund-full-info {
    .slider-value {
      width: 100px;
    }
  }

  .top-funds {
    .fund-table {
      /* min-width: 600px; */
    }
  }

}

@media (min-width:561px) {
  .legend {
    gap: 40px;
  }

  .top-funds {
    .fund-table {
      display: flex;
      justify-content: center;
      align-items: center;
    }
  }
}

@media (min-width:561px) and (max-width:1023px) {
  .performance-graph {
    & .stats {
      &>.stat-item {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
      }
    }
  }
}

@media (max-width:767px) {
  .top-funds {
    & .fund-table {
      & table {

        td,
        th {
          white-space: nowrap;
          font-size: 14px;
        }
      }
    }
  }

  .fund-full-info {
    & .statistics {
      li {
        &:nth-child(2n+2) {
          border-right: 0;
          padding-right: 0;
        }

        &:nth-child(2n+1) {
          padding-left: 0;
        }
      }
    }
  }

  .resources-fund-card {
    .resources-fund-card-cta {
      display: flex;
      flex-wrap: wrap;
      gap: 10px 20px;
    }
  }

  .top-funds {
    & .fund-table {
      & table {

        th,
        td {
          padding: 8px 0;
        }
      }
    }
  }
}

@media (min-width:768px) and (max-width:1200px) {
  .fund-full-info {
    & .statistics {
      li {
        -ms-flex: 0 0 33%;
        flex: 0 0 33%;
        max-width: 33%;
        padding-left: 2rem;
        padding-right: 2rem;

        &:nth-child(3n+3) {
          border-right: 0;
          padding-right: 0;
        }

        &:nth-child(3n+1) {
          padding-left: 0;
        }
      }
    }
  }
}

@media (min-width:768px) {
  .top-funds {
    padding: 80px 0;

    .fund-table {
      max-width: 700px;
    }
  }

  .asset-allocation {
    .asset-card {
      padding: 40px 50px;
      margin: 40px auto 20px;
    }
  }

  .stats {
    margin: 2rem 0 1rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fund-heading {
    font-size: 23px;
  }

  .lead-paragraph {
    font-size: 18px;
  }

  .fund-full-info {
    .sliders {
      -ms-flex: 0 0 60%;
      flex: 0 0 60%;
      max-width: 60%;
      padding-right: 2rem;
    }

    .summary {
      -ms-flex: 0 0 40%;
      flex: 0 0 40%;
      max-width: 40%;
    }
  }

  .fund-card-main {
    .fund-logo {
      min-width: 100px;
      width: 100px;
      border-radius: 20px;
      height: 100px;
      margin-right: 1.5rem;
    }



    .stats {
      width: 100%;
      display: flex;
      justify-content: space-between;
    }
  }
}

@media (min-width:1024px) {
  .fund-heading {
    font-size: 26px;
    margin-bottom: 20px;
  }

  .fund-container {
    max-width: 940px;
  }

  .fund-card-main {
    .fund-logo {
      min-width: 100px;
      margin-right: 40px;
    }

    .stats {
      width: 80%; 
      display: flex;
      justify-content: space-between;
    }
  }
}

@media (min-width:1024px) and (max-width:1199px) {}

@media (min-width:1200px) {
  .lead-paragraph {
    font-size: 20px;
  }

  .performance-graph {
    .tab {
      font-size: 18px;
      padding: 12px 20px;
      border-radius: 10px;
    }
  }

  .legend {
    font-size: 20px;
  }

  .asset-allocation {
    & .columns {
      gap: 120px;

      &:after {
        position: absolute;
        content: "";
        left: 50%;
        top: 15%;
        width: 1px;
        height: 85%;
        border-left: 1px solid rgba(18, 14, 52, 0.35);
      }
    }
  }

  .fund-container {
    max-width: 1120px;
  }

  .fund-card p {
    font-size: 16px;
  }

  .fund-full-info {

    .sliders,
    .summary {
      -ms-flex: 0 0 50%;
      flex: 0 0 50%;
      max-width: 50%;
    }

    .summary {
      display: flex;
    }

    .circle {
      -ms-flex: 0 0 40%;
      flex: 0 0 40%;
      max-width: 40%;
    }

    .summary-info {
      padding-left: 30px;
      -ms-flex: 0 0 60%;
      flex: 0 0 60%;
      max-width: 60%;
    }
  }
  .fund-card-main{
        .stats {
      max-width: 700px;
        }
  }
}

@media (min-width:1366px) {
  .fund-page {
    padding-top: 80px;
  }

  .fund-full-info {
    padding-bottom: 60px;
    & .statistics {
      li {
        padding-left: 3.5rem;
        padding-right: 3.5rem;
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;

        &:nth-child(4n+4) {
          border-right: 0;
          padding-right: 0;
        }

        &:nth-child(4n+1) {
          padding-left: 0;
        }
      }
    }

    .summary ul li {
      font-size: 16px;
    }

    .value {
      font-size: 20px;
    }
  }

  .fund-heading {
    font-size: 32px;
  }

  .fund-container {
    max-width: 1280px;
  }

  .fund-card {
    padding: 40px 60px;
    margin-bottom: 40px;

    p {
      font-size: 20px;
    }
  }
}

@media (min-width:1680px) {
  .fund-full-info {
    .summary {
      padding: 40px;
    }

    .circle {
      -ms-flex: 0 0 33%;
      flex: 0 0 33%;
      max-width: 33%;
    }

    .summary-info {
      -ms-flex: 0 0 67%;
      flex: 0 0 67%;
      max-width: 67%;
    }
  }

  .asset-allocation {
    & .columns {
      gap: 120px;
    }
  }

  .fund-container {
    max-width: 1420px;
  }
}