.cc-hero {
  height: 70vh;
  background-image: linear-gradient(
      90deg,
      rgba(232, 231, 227, 1) 0%,
      rgba(255, 255, 255, 0) 100%
    ),
    url("../../images/care-connect/1F-02.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: right;
  display: flex;
  align-items: center;
}

.cc__heading {
  font-family: "BR Sonoma Regular", sans-serif;
  font-weight: 600;
  color: #2999a3;
  font-size: 25px;
}

.cc-btn {
  padding: 15px 30px;
  background: #0097ad;
  border-radius: 5px;
  color: #fff;
  text-decoration: none;
}

.cc-btn:hover {
  color: #fff;
}

.cc-learn-more {
  background-color: #ffefe2;
}

.cc-better-care-content {
  padding: 50px 30px;
  box-shadow: 0px 14px 38px 0px rgb(0 0 0 / 11%);
  background: #fff;
  height: 350px;
}

.cc-better-care__img {
  width: 100%;
}

.split {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.split > * {
  flex-basis: 100%;
}

.cc-services-bg {
  background-image: url("../../images/care-connect/healthcare_providers.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.split-section {
  padding: 6rem 0;
}

.split-section-text {
  padding-right: 5vw;
  padding-left: 3rem;
}

.cc-platform__img {
  max-width: 535px;
}

.hero-words {
  color: #ffa500;
  overflow: hidden;
}

.hero-words span {
  display: none;
}

.hero-words span.text-in {
  display: block;
  animation: textIn 0.5s ease;
}

.hero-words span.text-out {
  display: block;
  animation: textOut 0.5s ease;
}

.cc-link {
  color: #444444;
}

@keyframes textIn {
  0% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(0%);
  }
}

@keyframes textOut {
  0% {
    transform: translateY(0%);
  }
  100% {
    transform: translateY(-100%);
  }
}

.cc-talk {
  background-color: #f6f7f9;
  background-size: cover;
  background-position: top right;
}

.cc-btn {
  border: none;
}

@media screen and (min-width: 992px) {
  .cc-hero {
    background-image: url("../../images/care-connect/1F-02.jpg");
  }

  .cc__heading {
    font-size: 41px;
  }

  .cc-better-care-content {
    position: relative;
    margin-right: -80px;
    z-index: 1;
  }

  .cc-better-care__img {
    margin-left: -80px;
  }

  .split {
    flex-direction: row;
  }

  .cc-talk {
    background-color: #f6f7f9;
    background-size: cover;
    background-position: top right;
  }
}

@media screen and (min-width: 1200px) {
  .cc-learn-more__text {
    font-size: 22px;
    font-weight: 500;
    max-width: 800px;
  }

  .cc__heading.hero-words {
    font-size: 48px;
  }
}
