<style>
.container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 300vh; /* Adjust the height as needed */
}

.accordion {
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: auto; /* Add scrollbar if content exceeds container height */
}

.tab-container {
  display: flex;
  justify-content: center;
  gap: 0;
  margin: 0; /* Add this line to remove the default margin */
  width: 70%; /* Adjust the width as needed */
}

.tab-button {
  cursor: pointer;
  background-color: #f2f2f2;
  border: none;
  outline: none;
  padding: 10px 20px;
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  text-align: center;
  color: #333;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  flex: 1; /* Add this line to make the buttons occupy equal width */
  min-width: 0; /* Add this line to override the default min-width */
}

.tab-button.active,
.tab-button:hover {
  background-color: #cbde00;
}

.accordion-content-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start; /* Updated: Align items to flex-start */
  justify-content: center;
  width: 70%; /* Adjust the width as needed */
}

.accordion-content {
  background-color: #f2f2f2;
  padding: 20px;
  border-radius: 4px;
  display: none;
  overflow: hidden;
}

.accordion-content.active {
  display: block;
}

.content-with-image {
  display: flex;
  align-items: flex-start;
}

.image-container {
  width: 50%;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.tab-button {
    font-weight: bold;
      padding: 20px 20px;
}

.text-container {
  margin-left: 20px;
  width: 50%;
  flex: 1 1 auto; /* Allow the text container to fill the remaining space */
}
.tab-number {
  display: none; /* Hide the numbers by default */
}


 @media (max-width: 768px) {
  .content-with-image {
    flex-direction: column;
    align-items: center;
  }
  .image-container {
    width: 100%;
  }
  .text-container {
    width: 100%;
    margin-left: 0;
  }
   
  .tab-button {
    padding: 10px 15px;
    font-size: 14px;
  }
.tab-number {
    display: inline; /* Show the numbers */
  }

 .tab-title {
    display: none; /* Show the numbers */
  }
</style>
