.anna-img-wrapper {
  padding-top: 67px;
}

.ornament-rt-2col-home {
  width: 380px;
  height: 380px;
  background-color: var(--primary-alt-color);
  border-top-right-radius: 1000px;
  border-bottom-right-radius: 1000px;
  border-bottom-left-radius: 1000px;
  display: flex;
  position: absolute;
  top: 0px;
  margin-bottom: 0px;
  margin-left: auto;
  margin-right: auto;
}

.anna-main-image {
  border-top-left-radius: 1000px;
  border-bottom-left-radius: 1000px;
  border-bottom-right-radius: 1000px;
  width: 80%;
  z-index: 50;
  position: relative;
}

.anna-card-wrapper {
  display: flex;
  position: relative; /* Use relative to position children absolutely */
  z-index: 100;
  margin-top: -40%;
  margin-right: auto;
  height: 300px; /* Set height to accommodate card contents */
}

.anna-card {
  width: 320px;
  height: 300px;
  padding: 24px 16px;
  background: white;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  display: inline-flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 27px;
  overflow: hidden; /* Ensures contents do not overflow */
  position: relative;
}

.anna-card-header {
  align-self: stretch;
  display: inline-flex;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
}

.anna-card-logo {
  width: 70px;
  height: 33px;
}

.anna-card-title {
  width: 118px;
  height: 19px;
  color: #102031;
  font-size: 14px;
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  word-wrap: break-word;
}

.anna-card-tabs {
  align-self: stretch;
  display: inline-flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 15px;
}

.anna-card-tab {
  flex: 1 1 0;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.anna-card-active {
  border-bottom: 1px #0D9FD0 solid;
}

.anna-card-tab-text {
  color: #0D9FD0;
}

.anna-card-retention .anna-card-tab-text,
.anna-card-financial .anna-card-tab-text {
  color: #9A9999;
}

.anna-card-tab-text {
  font-size: 14px;
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  word-wrap: break-word;
}

.anna-card-content {
  align-self: stretch;
  padding: 10px;
  background: #F9F9F9;
  border-left: 3px solid;
  display: none; /* Hide by default */
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 4px;
  min-height: 140px; /* Ensures minimum height */
  position: absolute; /* Remove from document flow */
  top: 0; /* Ensure it aligns correctly within the container */
  width: 100%; /* Ensure it takes full width */
  height: 100%; /* Ensure it takes full height */
}

.anna-card-content-yellow {
  border-left-color: #fbbf24;
}

.anna-card-content-green {
  border-left-color: #00D694;
}

.anna-card-content-red {
  border-left-color: #f87171;
}

.anna-card-content-active {
  display: flex;
  position: relative; /* Place in document flow */
}

.anna-card-content-title,
.anna-card-content-text {
  color: #9A9999;
  font-size: 13px;
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  word-wrap: break-word;
}

.circle-lt {
  width: 96px;
  height: 96px;
  border-radius: 99px;
  position: absolute;
  top: 40%;
  left: 0px;
  background-color: #36b37e;
}

.anna-card-right {
  width: 320px;
  padding: 24px 16px;
  background: white;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  display: inline-flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 20px;
  overflow: hidden;
  font-size: 14px;
}

.anna-card-right-wrapper {
  display: flex;
  position: static;
  z-index: 100;
  margin-top: -35%;
  margin-left: auto;
}

/* Media query for smaller screens */
@media (max-width: 1280px) {
  .ornament-rt-2col-home {
    width: 320px;
    height: 320px;
  }
  .anna-img-wrapper {
    padding-top: 50px;
  }
  img.ct-image.img-rt-2-col-home.anna-main-image {
    width: 90%;
  }
}
@media (max-width: 991px) {
  .circle-lt {
    width: 56px;
    height: 56px;
  }
  .anna-card-right-wrapper {
    margin-top: -18%;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 767px) {
  .anna-card,
  .anna-card-right {
    width: 280px;
    height: 260px;
    padding: 18px 12px;
    gap: 20px;
  }
  .anna-card-header {
    gap: 4px;
  }
  .anna-card-logo {
    width: 51px;
    height: 24px;
  }
  .anna-card-title {
    width: auto;
    height: 14px;
    font-size: 10px;
  }
  .anna-card-tabs {
    gap: 4px;
  }
  .anna-card-tab {
    height: 24px;
    padding: 2px 6px;
  }
  .anna-card-tab-text {
    font-size: 12px;
  }

  .anna-card-content,
  .anna-card-content-yellow {
    padding: 8px;
    gap: 3px;
    font-size: 12px;
  }
  .anna-card-content-title,
  .anna-card-content-text {
    font-size: 12px;
  }
  .circle-lt {
    left: 12px;
  }
  .anna-card-right-wrapper {
    margin-top: -30%;
    margin-left: auto;
  }
}

@media (max-width: 479px) {
  .anna-card-right-wrapper {
    margin-top: -30%;
    margin-left: auto;
  }
  .ornament-rt-2col-home {
    width: 280px;
    height: 280px;
  }
}

