html {
  scroll-behavior: smooth;
}

main {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

nav {
  padding: 1rem;
  background-color: white;
  display: flex;
  justify-content: space-around;
  align-items: center;
  color: #00109f;
  font-weight: 700;
  font-size: medium;
  position: sticky;
  top: 0;
  width: 100%;
}

#logo-and-button {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  /* width: 100%; */
}

#nav-links {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 10px;
  width: 80%;
  position: relative;
}

#menu-btn {
  display: none;
}

#sidebar-close-button {
  display: none;
}

#overlay {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(128, 128, 128, 0.5);
  z-index: 28;
}

@media screen and (max-width: 900px) {
  #nav-links {
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    padding: 4rem 1rem;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    background-color: white;
    width: 60%;
    justify-content: space-evenly;
    z-index: 30;
  }

  #nav-links.show {
    transform: translateX(0);
  }

  #logo-and-button {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
  }

  #menu-btn {
    display: inline-block;
    margin-right: 15px;
    font-weight: bold;
    font-size: x-large;
  }

  #sidebar-close-button {
    position: absolute;
    top: 15px;
    right: 10px;
    z-index: 30;
    display: inline-block;
    /* color: #00109F; */
  }
}

header {
  position: sticky;
  top: 0;
  z-index: 25;
}

footer {
  background-color: #00109f;
  color: white;
  padding: 1.7rem;
  font-size: small;
  display: flex;
  flex-direction: column;
  width: 100%;
}

section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.footer-item {
  margin: 0.8rem;
  display: block;
}

.footer-title-item {
  font-weight: 700;
  font-size: medium;
  margin-right: 15px;
}

.section-header {
  font-size: 2rem;
  font-weight: bold;
  color: #52555b;
  text-align: center;
  width: 80%;
}

@media screen and (max-width: 600px) {
  .section-header {
    font-size: 1.2rem;
    font-weight: bold;
    color: #52555b;
    text-align: center;
    width: 85%;
  }
}

@media screen and (max-width: 600px) {
  .consult-image {
    height: 230px;
    width: 100%;
    background-size: cover;
  }

  .home-nurse-image {
    height: 800px;
    width: 100%;
    background-size: cover;
  }
}

@media screen and (min-width: 601px) and (max-width: 800px) {
  .consult-image {
    height: 480px;
    width: 100%;
  }

  .home-nurse-image {
    height: 850px;
    width: 100%;
    background-size: cover;
  }
}

@media screen and (min-width: 801px) {
  .consult-image {
    height: 480px;
    width: 100%;
  }

  .home-nurse-image {
    height: 600px;
    width: 100%;
    background-size: cover;
  }
}

.brown-container {
  background-color: #2f1b2f;
  color: white;
  font-weight: 600;
}

.orange-container {
  background-color: #c7782f;
  color: white;
  font-weight: 600;
}

.aligned-row {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  width: 100%;
  flex-wrap: wrap;
}

.header-text {
  opacity: 0;
  transform: translateY(30px);
}

.circle-item {
  text-align: center;
  align-items: center;
  display: flex;
  justify-content: center;
  flex-direction: column;
  opacity: 0;
  transform: translateY(50px);
}

.circle {
  width: 110px;
  height: 110px;
  background-color: #00109f;
  border-radius: 50%;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.circle:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
  box-shadow: 0px 0px 15px rgb(47, 40, 107);
}

.circle:not(:hover) {
  transform: scale(1);
  transition: transform 0.3s ease;
}

.inner-circle {
  width: 100px;
  height: 100px;
  border: 1.7px solid white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.circle-title {
  font-size: 22px;
  font-weight: bold;
  color: #323335;
}

.padding-vertical {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.section-dash {
  font-size: 40px;
  font-weight: 700;
}

.section-text {
  font-weight: 400;
  color: #525252;
  text-align: center;
  /* font-size: 1.21rem; */
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.know-us-text {
  width: 60%;
}

@media (max-width: 600px) {
  .know-us-text {
    width: 80%;
  }
}

.highlighted-text {
  color: #00109f;
  font-weight: 700;
  font-size: large;
}

.results-highlighted-text {
  color: #001aff;
  font-weight: 700;
  font-size: large;
}

.services-header-image {
  background-image: url("./assets/images/common-framework-healthcare.png");
}

.about-us-header-image {
  background-image: radial-gradient(
      circle at top left,
      rgba(255, 255, 255, 0.3) 30%,
      transparent
    ),
    url("./assets/images/about-us-hero.jpg");
}

.results-header-image {
  background-image: url(./assets/images/results-hero.jpg);
  background-position: 55%;
}

.testimonials-header-image {
  background-image: url("./assets/images/smiling-handshakecopy.png");
}

.contact-header-image {
  background-image: url("./assets/images/nurse.png");
}

@media screen and (max-width: 767px) {
  .services-header-image {
    background-image: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.65) 50%,
        transparent
      ),
      url("./assets/images/common-framework-healthcare.png");
  }

  .about-us-header-image {
    background-image: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.65) 50%,
        transparent
      ),
      url("./assets/images/about-us-hero.jpg");
  }

  .results-header-image {
    background-image: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.65) 50%,
        transparent
      ),
      url(./assets/images/results-hero.jpg);
    background-position: 42% -20%;
  }

  .testimonials-header-image {
    background-image: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.65) 50%,
        transparent
      ),
      url("./assets/images/smiling-handshakecopy.png");
  }

  .contact-header-image {
    background-image: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.5) 20%,
        transparent
      ),
      url("./assets/images/nurse.png");
  }
}

.small-rectangle-container {
  text-align: center;
  color: white;
  width: 100%;
  height: 100%;
  align-items: center;
  display: flex;
  justify-content: center;
  flex-direction: column;
  opacity: 0;
  transform: translateY(50px);
  border-radius: 8px;
}

.small-rectangle-container.animate {
  animation: resultsRise 1s forwards;
}

.div-result-container {
  margin: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 0 200px;
  border-radius: 8px;
  width: 200px;
  height: 150px;
}

.div-result-container:hover {
  transform: scale(1.04);
  transition: transform 0.3s ease;
}

.circle-item.animate {
  animation: rise 1s forwards;
}

.header-text.animate {
  animation: rise 1s forwards;
}

@keyframes slideRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes resultsRise {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleUp {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1.02);
  }
}

.result-item-wrapper {
  opacity: 0;
  animation: slideIn 1s forwards;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.services-box {
  transition: transform 0.3s ease-in-out;
}

.services-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 13px 2px rgba(92, 92, 92, 0.2);
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 20px 0 rgba(0, 148, 60, 0.3);
  }
  50% {
    box-shadow: 0 0 20px 20px rgba(0, 148, 60, 0.1);
  }
}

.result-item-wrapper:hover .result-item {
  transform: scale(1.03);
  transition: transform 0.3s ease;
}

.result-item-wrapper:not(:hover) .result-item {
  transform: scale(1);
  transition: transform 0.3s ease;
}

.result-item-wrapper.enlarge .result-item {
  transform: scale(1.03);
  transition: transform 0.3s ease;
}

.result-item {
  flex: 1;
  margin-bottom: 10px;
  border-radius: 5px;
  color: white;
  align-items: center;
  display: flex;
  justify-content: flex-start;
  padding-left: 20px;
}

.table-cellcontainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid white;
  /* font-size: large; */
  font-weight: 700;
  color: #525252;
}

.section {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 50px solid;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  transform-origin: 50% 100%;
}

.background-image {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.my-card {
  width: calc(50% - 30px);
  min-height: 250px;
  color: white;
  border-radius: 8px;
  padding: 10px;
  flex-wrap: wrap;
  flex: 0 0 auto;
  justify-content: center;
}

@media (max-width: 600px) {
  .my-card {
    width: calc(100% - 5px);
    height: auto;
    min-height: 250px;
    color: white;
    border-radius: 8px;
    padding: 10px;
    flex-wrap: wrap;
    flex: 0 0 auto;
    align-self: center;
  }
}

.truncate {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 250px;
}

.carousel {
  margin: 2% 5%;
  width: 49%;
}

@media screen and (max-width: 768px) {
  .carousel {
    width: 90%;
  }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
  .carousel {
    width: 90%;
  }
}

.carousel-main {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 35px;
}

.carousel-content {
  display: flex;
  margin: 0 35px;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  align-items: flex-start;
}

.carousel-content > * {
  flex: 0 0 auto;
  margin-right: 50px;
}

.carousel-content > :last-child {
  margin-right: 0;
}

.carousel-arrow {
  flex: 0 0 auto;
  width: 35px;
  height: 35px;
  border: 5px solid #00943c;
  transform: rotate(45deg);
  transition: 0.2s;
  cursor: pointer;
}

.carousel-arrow:hover {
  transform: rotate(45deg) scale(1.05);
}

/*.carousel-arrow-disabled,
  .carousel-arrow-disabled:hover {
    opacity: 0.25;
    transform: rotate(45deg);
    cursor: auto;
  }*/

.carousel-arrow-left {
  border-top: none;
  border-right: none;
}

.carousel-arrow-right {
  border-bottom: none;
  border-left: none;
}

.carousel-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-dot {
  width: 15px;
  height: 15px;
  border-radius: 15px;
  margin: 0 15px;
  border: 3px solid black;
  transition: 0.1s;
  cursor: pointer;
}

.carousel-dot:hover {
  background-color: lightgray;
}

.carousel-dot-active,
.carousel-dot-active:hover {
  background-color: black;
  cursor: auto;
}

.services-carousel-content {
  display: flex;
  margin: 0 35px;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  align-items: stretch;
}

.services-carousel-content > * {
  flex: 0 0 auto;
  margin-right: 50px;
}

.services-carousel-content > :last-child {
  margin-right: 0;
}

.search-button {
  position: absolute;
  background: none;
  border: none;
  right: 15px;
  top: 25%;
}

.search-button svg {
  width: 20px;
  height: 20px;
}

.doctor-bg-image {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url("./assets/images/doctor-with-patient.png");
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  opacity: 0.4;
  z-index: 1;
}

.older-people-exercising {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url("./assets/images/older-people-exercising.png");
  background-size: cover;
  background-attachment: fixed;
  opacity: 0.4;
  z-index: 1;
}

.clickable-text {
  cursor: pointer;
  color: white;
  margin-right: 1.5rem;
  font-weight: 500;
  padding: 0.5rem;
  font-size: medium;
  margin-bottom: 15px;
  background-color: #7a7575;
  border-radius: 5px;
}

.clickable-text.active {
  background-color: rgb(0, 16, 159);
  font-weight: bold;
}

#text-display {
  background-color: rgb(0, 16, 159);
  color: white;
  padding-top: 2rem;
  padding-bottom: 2rem;
  width: 100%;
  align-items: center;
  display: flex;
  justify-content: center;
  text-align: left;
  flex-direction: column;
}

@media screen and (max-width: 768px) {
  #text-display {
    text-align: center;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
}

.hidden {
  display: none;
}

#displayed-header {
  margin-bottom: 1rem;
  font-weight: 700;
  font-size: larger;
}

#displayed-text {
  font-size: large;
  font-weight: 300;
}

#text-row {
  display: flex;
  flex-direction: row;
  align-content: flex-start;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-left: 1.5rem;
  width: 90%;
}

.box {
  display: flex;
  perspective: 1000px;
  transform-style: preserve-3d;
  transition: transform 0.8s;
}

.box:hover {
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transform: translateY(-10px);
}

.front,
.back {
  backface-visibility: hidden;
  /* position: absolute; */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.back {
  transform: rotateY(180deg);
}

.box.flip {
  transform: rotateY(180deg);
}

#green-border-div,
#orange-border-div,
#predicted-cost-border-div {
  transition: opacity 0.4s ease-in-out;
  opacity: 0;
}

#demo-bg,
#stat-bg,
#cost-bg {
  transition: background 0.4s ease-in-out;
}

@media screen and (max-width: 600px) {
  #green-border-div,
  #orange-border-div,
  #predicted-cost-border-div {
    opacity: 1 !important;
  }
}

.cta-button {
  background-color: #009338;
  color: white;
  font-weight: bold;
  font-size: large;
  border: 1px solid gray;
  border-radius: 5px;
  padding: 5px;
  width: 450px;
  /* margin-left: 80px; */
  margin-top: 25px;
  text-align: center;
}

@media screen and (max-width: 768px) {
  #text-row {
    align-items: center;
    align-self: center;
    align-content: center;
    justify-content: center;
    margin-left: 0rem;
  }

  .clickable-text {
    margin-right: 5px;
    margin-left: 5px;
    margin-bottom: 10px;
  }
  .cta-button {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

.arrow {
  text-align: center;
}

.arrow-body {
  width: 10px;
  height: 50px;
  margin: 0 auto;
}

.arrow-pointer {
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 25px solid #00109f;
  margin: 0 auto;
}

.hidden-image-grid {
  display: block;
}

@media screen and (max-width: 768px) {
  .hidden-image-grid {
    display: none;
  }
}

#grid-table {
  position: relative;
}

.about-circle-item:hover {
  transform: scale(1.2);
  transition: transform 0.3s ease;
  box-shadow: 0px 0px 15px rgb(56, 107, 40);
}

.about-circle-item:not(:hover) {
  transform: scale(1);
  transition: transform 0.3s ease;
}

@keyframes moveDown {
  0% {
    transform: translateY(-25px);
    opacity: 0;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    transform: translateY(0px);
    opacity: 1;
  }
}

.arrow-item {
  transform: translateY(-25px);
  opacity: 0;
}

.arrow-item.animate {
  animation: moveDown 1s forwards;
}

.about-person-circle:hover {
  transform: scale(1.1);
  transition: transform 0.3s ease;
  box-shadow: 0px 0px 15px rgb(128, 128, 128);
}

.about-person-circle:not(:hover) {
  transform: scale(1);
  transition: transform 0.3s ease;
}

.group-1 {
  background-color: "rgb(0, 128, 0, 0.3)";
}

.group-2 {
  background-color: "rgb(169, 102, 4, 0.3)";
}

.group-3 {
  background-color: "rgb(47,27,47, 0.3)";
}

.privacy-section {
  padding-top: 300px;
  margin-top: -300px;
}

.bg-less-than-cover {
  height: 500px;
  background-size: auto;
}

@media (max-width: 767px) {
  .bg-less-than-cover {
    max-height: 300px;
    background-size: 300%;
    background-repeat: no-repeat;
    background-position: center;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  /* Apply these styles on medium screens only */
  .bg-less-than-cover {
    max-height: 300px;
    background-size: 150%; /* Set the size of the background image to 90% */
    background-repeat: no-repeat; /* Prevent the background image from repeating */
    background-position: center; /* Center the background image */
  }
}

.nurse-home-box:hover {
  transform: scale(1.02);
  transition: transform 0.3s ease;
  box-shadow: 0px 0px 15px rgba(70, 67, 102, 0.607);
}

.nurse-home-box:not(:hover) {
  transform: scale(1);
  transition: transform 0.3s ease;
}

/* Hide the Osano Cookie Consent Manager floating icon and hyperlink text */
.osano-cm-link {
  display: none !important;
}

.osano-cm-widget {
  display: none !important;
}