.startups {
    z-index: 100;
    background-color: #23232c;
    overflow: hidden;
  }
  .startups h1 {
    font-size: 60px;
    color: #fff;
    padding: 35px;
    text-align: left;
    margin-left: 30px;
  }
  .startups h1 a {
    color: #3771FD;
    text-decoration: none;
    font-size: 20px;
  }

  .right-content {
    display: flex;
    opacity: 0;
    transform: translateX(100px); /* Move slightly to the right initially */
    transition: opacity 0.6s ease, transform 0.6s ease; /* Transition settings */
  }

  .right-content.in-view {
    opacity: 1;
    transform: translateX(0); /* Slide into place */
  }

  .progress-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 800px;
    background-color: #23232c;
    overflow: hidden;
  }
  .toggle-container {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    padding: 4px;
    gap: 6px;
    width: 225px;
    height: 55px;
    border: 2px solid #ffffff;
    border-radius: 50px;
    position: relative;
    margin-left: 6%;
  }

  /* Toggle button styling */
  .toggle-button {
    flex: 1;
    text-align: center;
    padding: 10px 20px 11px;
    font-size: 18px;
    font-weight: bold;
    color: #ffffff; /* White text for inactive buttons */
    cursor: pointer;
    border-radius: 50px;
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  /* Active button style */
  .toggle-button.active {
    background-color: #ffffff; /* White background for active button */
    color: #000000; /* Black text for active button */
    padding: 10px 20px 11px;
  }
  .year-row {
    width: 90%;
    height: 19px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
    margin-top: 3%;
    margin-left: 40px;
    cursor: pointer;
  }
  .year {
    flex: 1;
    text-align: center;
    font-size: 14px;
    color: #44444e;
  }

  .timeline {
    width: 1100px; /* Slightly larger to contain each year marker */
    height: auto;
    border-left: 2px dotted #333;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 7%;
    margin-top: 1%;
    margin-bottom: 10%;
  }

  .year-marker {
    width: 1087px;
    height: 350px;
    position: relative;
    cursor: pointer;
    margin: 50px 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }
  .year-text {
    font-size: 14px;
    color: #ffffff;
    font-weight: 500;
    cursor: pointer;
    position: absolute;
    left: -55px;
    transform: translateY(-50%);
    top: 41%;
  }

  .chart-data {
    margin-top: 5%;
  }

  .circle-line {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: -webkit-fill-available;
    position: absolute;
    border: none;
    top: 0;
    left: -3px; /* Align with the left of the timeline */
  }

  .small-circle {
    width: 5px;
    height: 5px;
    background-color: #ffffff;
    border-radius: 50%;
  }
  #overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    z-index: 9998;
  }

  /* Card styling */
  #info-card {
    position: fixed;
    width:400px;
    height: 100vh;
    background-color: white;
    padding: 20px;
    border-top-left-radius: 30px;
    border-top-right-radius: 0;
    transform: translateX(225px);
    transition: transform 0.3s ease;
    z-index: 9999;
    top:8px;
  }
  #info-card.active {
    transform: translateX(0); /* Slide in from the right */
  }
  .close-button {
    position: absolute;
    top: 23px;
    right: 21px;
    cursor: pointer;
    background-color: black;
    color: white;
    padding: 5px 8px;
    border-radius: 50%;
    font-size: 12px;
  }
  .card {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 300px;
    z-index: 1000;
  }
  .card-logo {
    width: auto;
    margin-top: 40%;
    display: inline;
  }
  .card-name {
    display: inline;
    font-size: 40px;
    font-weight: 400;
    text-align: center;
  }
  .card-type,
  .card-sector,
  .card-date,
  .card.description,
  .card-funders {
    font-size: 18px;
    text-align: left;
    margin: 5px 0;
    color: #008C36;
    font-weight: 600;
  }
  .card-sector{
    border-style: solid;
    border-width: 1px;
    padding: 0 6px;
    width: fit-content;
    font-weight: 400;
    font-size: 1em;
  }
  .card.description,.card-date, .card-fund,.card-funders {
    color:#000;
  }
  .card-date {
    margin-top: 40px;
  }
  .card-fund {
    font-size: 3em;
    font-weight: 600;
    margin-top: 10px;
  }
  .card-funders h5 {
  margin:0;
  color:#787883;
  }
  .nav-button {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
  }
  .navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 0 160px;
    cursor: pointer;
  }
.viewBy {
    margin: 0 0 5px 80px;
    color: #C0BFCB;
    font-size: 14px;
    font-weight: 500;
}
