/* services section */
.rpm-section {
  display: flex;
  flex-wrap: wrap;
  margin: 2.5rem 0;
  gap: 30px;
}

.rpm-head {
  margin-bottom: 1.4rem;
  color: #0a78be;
  font-size: 2.4rem;
  text-align: center;
  font-weight: 600;
}

/* Left content */
.rpm-content {
  flex: 1 1 55%;
  background-color: #f4f4f4;
  padding: 40px;
  border-radius: 12px;
  position: relative;
}

.rpm-number {
  font-size: 120px;
  font-weight: 800;
  color: #eaeaea;
  position: absolute;
  top: -3rem;
  left: 20px;
  z-index: 0;
}

.rpm-title {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.rpm-text {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.rpm-btn {
  display: inline-block;
  background-color: #0a78be;
  color: #fff;
  padding: 15px 30px;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

.rpm-btn:hover {
  background-color: #0a78be;
}

.rpm-nav {
  display: flex;
  gap: 15px;
  margin-top: 1rem;
}

.rpm-arrow {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid #0a78be;
  color: #0a78be;
  background: none;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.rpm-arrow:hover {
  background-color: #0a78be;
  color: #fff;
}

/* Sidebar */
.rpm-sidebar {
  flex: 1 1 35%;
  background-color: #f4f4f4;
  padding: 40px 20px;
  border-radius: 12px;
}

.rpm-steps {
  list-style: none;
}

.rpm-steps li {
  display: flex;
  align-items: center;
  font-size: 20px;
  font-weight: 600;
  padding: 15px 0;
  border-bottom: 1px solid #ddd;
  cursor: pointer;
  transition: 0.3s ease;
  color: #0a0a0a;
}

.rpm-steps li span {
  font-size: 24px;
  font-weight: 600;
  color: #aaa;
  margin-right: 15px;
}

.rpm-steps li.active,
.rpm-steps li:hover {
  color: #0a78be;
  font-weight: 600;
}

.rpm-services {
  margin: 0;
  padding-left: 20px;
}

.rpm-services li {
  margin-bottom: 6px;
  font-size: 16px;
  line-height: 1.5;
}

#rpmServices p {
  margin-bottom: 10px;
}

/* Highlight for active right tab */
.rpm-steps li.active {
  color: #0a78be;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 1024px) {
  .rpm-section {
    flex-direction: column;
  }

  .rpm-sidebar {
    order: -1;
  }

  .rpm-number {
    font-size: 80px;
  }

  .rpm-title {
    font-size: 28px;
  }

  .rpm-text {
    font-size: 16px;
  }
}

@media (max-width: 600px) {
  .rpm-content,
  .rpm-sidebar {
    padding: 20px;
  }

  .rpm-number {
    font-size: 60px;
  }

  .rpm-title {
    font-size: 24px;
  }

  .rpm-btn {
    width: 100%;
    text-align: center;
  }

  .rpm-steps li {
    font-size: 18px;
  }
}
/* rpm section end */

/* rpm integration  */
.tm-container {
  margin: 0 auto;
  padding: 50px 0;
}

.swiperProcess__wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 50px;
}

.swiperProcess__title {
  margin-bottom: 1.5rem;
  color: #0a78be;
  font-size: 2.5rem;
  text-align: center;
  font-weight: 600;
}

/* Left circle */
.swiperProcess__image {
  flex: 1 1 40%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiperProcess__image img {
  filter: invert(1);
  max-width: 100%;
}

/* Right slides container */
.swiperProcess__swiper {
  flex: 1 1 55%;
  position: relative;
}

.swiperProcess__item-wrap {
  background: #000;
  border-radius: 8px;
  padding: 3rem 1.5rem;

  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
}

.swiperProcess__item-wrap.active {
  opacity: 1;
  transform: translateX(0);
  position: relative;
}

.swiperProcess__item-step {
  width: 70px;
  text-align: center;
  background: #fff;
  color: #000;
  font-size: 14px;
  margin-bottom: 10px;
  border-radius: 10px;
  padding: 2px 10px;
}

.swiperProcess__item-title {
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: #fff;
}

.swiperProcess__item-text p {
  font-size: 16px;
  line-height: 1.5;
  color: #ddd;
  margin: 0;
}

/* Controls */
.swiperProcess-controls {
  display: flex;
  justify-content: flex-start;
  margin-top: 20px;
  gap: 10px;
}

.swiperProcess__button {
  width: 40px;
  height: 40px;
  border: 1px solid #444;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.swiperProcess__button.disabled {
  opacity: 0.3;
  cursor: default;
}

@media (max-width: 768px) {
  .swiperProcess__wrap {
    flex-direction: column;
  }

  .swiperProcess__image,
  .swiperProcess__swiper {
    flex: 1 1 100%;
  }

  .swiperProcess-controls {
    justify-content: center;
  }
}
/* rpm integration end */

.integration-section {
  padding: 3rem 0 0 0;
}

/* left sticky column */
.integration-left {
  position: sticky;
  top: 6rem;
  align-self: flex-start;
}

.integration-left h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: #0a78be;
}

.integration-left p {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
}

.integration-block {
  padding: 20px 0;
  border-bottom: 1px solid #e5e5e5;
}

.integration-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.integration-number img {
  background-color: #0a79be1f;
  border-radius: 50%;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
}

.integration-title {
  font-weight: 700;
  font-size: 18px;
  color: #000;
}

.integration-text {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 8px;
}

.integration-list {
  margin: 0 0 0 18px;
  padding: 0;
}

.integration-list li {
  margin-bottom: 4px;
}

/* rpm process section */
.rpm-services-container {
  background: #f9fbfd;
  padding: 3rem 0 0 0;
}

.rpm-services-container h3 {
  margin-bottom: 1rem;
  color: #0a78be;
  font-size: 2.5rem;
  text-align: center;
  font-weight: 600;
}

.rpm-slider {
  display: flex;
  overflow: hidden;
  scroll-behavior: smooth;
}

.rpm-card {
  flex: 0 0 350px;
  margin: 0 10px;
  background: #ddddddb2;
  border-radius: 12px;
  padding: 25px;
  min-height: 230px;
}

.rpm-card:hover {
  background-color: #0a78be;
}

.rpm-card:hover p,
.rpm-card:hover h3 {
  color: #fff;
}

.rpm-card p {
  color: #000;
  margin-bottom: 0;
  font-size: 15px;
}

.rpm-card h3 {
  text-align: start;
  color: #000;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.rpm-arrows {
  text-align: center;
  margin-top: 20px;
}

.rpm-arrows span {
  display: inline-block;
  width: 45px;
  height: 45px;
  line-height: 45px;
  margin: 0 5px;
  text-align: center;
  background: #fff;
  color: #0a78be;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* responsive */
@media (max-width: 768px) {
  .rpm-card {
    flex: 0 0 280px;
  }
}

@media (max-width: 576px) {
  .rpm-card {
    flex: 0 0 80%;
  }
}
/* rpm process section  end*/
/* cta section */
.regardlessRemotePatient {
  background: linear-gradient(rgba(9, 9, 155, 0.58), rgba(2, 7, 54, 0.75))
      center center / cover,
    url(https://healthsnap.io/wp-content/uploads/2023/09/ea27d8d0-dbbb-4c22-a505-bf61b98dd200.png);
  background-position: center center;
  /* dark blue */
  padding: 3rem 0;
  border-radius: 20px;
  margin: 40px auto;
}

.regardTechnology h3 {
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
}

.regardTechnology p {
  color: #ddd;
  font-size: 16px;
  max-width: 700px;
  margin: 15px auto 25px;
}

.cta-btn {
  cursor: pointer;
  display: inline-block;
  padding: 12px 40px;
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
  border-radius: 6px;
  text-transform: capitalize;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  background: #fff;
  color: #000;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 576px) {
  .regardTechnology h3 {
    font-size: 24px;
  }

  .regardTechnology p {
    font-size: 14px;
  }
}
/* cta section end */

/* global presence */
.global_pressence {
  background-color: #000;
  padding: 4rem 0;
  margin-bottom: 2rem;
}

.global_pressence h4,
.global_pressence h3 {
  text-align: center;
  color: #fff;
  font-weight: 600;
  margin-bottom: 2rem;
  font-size: 2.2rem;
}

.global_pressence p {
  text-align: center;
  color: #fff;
  line-height: normal;
  font-size: 1rem;
}

.glob_pres_box {
  margin-top: 3rem;
  margin-bottom: 3rem;
  padding: 3rem 3rem 0 3rem;
  border-radius: 1.3rem;
  background-color: #4e4c4c8a;
}

.glob_pres_box .col-lg-2 {
  flex: 0 0 20%;
  /* Force equal width (20% for 5 items per row) */
  max-width: 20%;
  /* Ensure Bootstrap respects the width */
  margin-bottom: 3rem;
}

.glob_pres_box .col-lg-2 img {
  width: 100px;
  height: 100px;
  border-radius: 100%;
  margin: 0 auto;
  display: block;
}

.glob_pres_box .col-lg-2 h5 {
  text-align: center;
  color: #fff;
  font-weight: 600;
  margin-top: 1rem;
  font-size: 1.3rem;
}

.world_map {
  width: 100%;
  height: auto;
  display: block;
  margin: auto;
}

/* healthcare side and patient side */

.rpm-arch-container {
  background: #000;
  color: #fff;
  padding: 2.5rem 0;
}

.rpm-arch-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.rpm-arch-tabs {
  display: flex;
  padding: 10px;
  justify-content: center;
  background: #fff;
  border-radius: 30px;
  overflow: hidden;
  width: fit-content;
  margin: 0 auto 30px;
}

.rpm-arch-tab {
  border-radius: 20px;
  padding: 9px 20px;
  cursor: pointer;
  font-weight: 600;
  color: #000;
  transition: all 0.3s;
}

.rpm-arch-tab.active {
  border-radius: 20px;
  background: linear-gradient(90deg, #4568dc, #b06ab3);
  color: #fff;
}

.rpm-arch-content {
  max-width: 1200px;
  margin: auto;
}

.rpm-arch-screen {
  display: none;
}

.rpm-arch-screen.active {
  display: block;
}

.rpm-arch-box {
  display: flex;
  align-items: center;

  background-color: #fff;
  text-align: start;
  color: #000;

  border-radius: 10px;
  padding: 10px 10px;
  margin-bottom: 20px;
}

.rpm-arch-box img {
  border-radius: 0;
  width: 35px;
  height: 35px;
}

.rpm-arch-box span {
  line-height: normal;
  margin-left: 10px;
  font-size: 14px;
}

.rpm-arch-mobile-img {
  display: none;
}
.rpmarrow {
  position: absolute;
  width: 120px;
  height: 2px;
  background: #fff;
  /* arrow line color */
}

.rpmarrow::after {
  content: "";
  position: absolute;
  right: -10px;
  top: -5px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid #fff;
  /* arrow head */
}

.rpmarrow::before {
  content: "";
  position: absolute;
  left: -10px;
  top: -5px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-right: 10px solid #fff;
  /* tail head */
}

/* Example positions (adjust numbers) */
.rpmarrow.analytics-to-ehr {
  top: 30px;
  left: 255px;
  width: 40px;
  transform: rotate(34deg);
}

.rpmarrow.ehr-to-alerts {
  top: 55px;
  left: 227px;
  width: 100px;
  transform: rotate(67deg);
}

.rpmarrow.alerts-to-patient {
  top: 5px;
  left: 245px;
  width: 50px;
  transform: rotate(327deg);
}

.rpmarrow.alerts-to-telemedicine {
  top: 90px;
  left: 260px;
  width: 33px;
  transform: rotate(327deg);
}

.rpmarrow.alerts-to-security {
  top: 100px;
  left: 227px;
  width: 70px;
  transform: rotate(36deg);
}
/* Responsive */
@media (max-width: 768px) {
  .rpm-arch-title {
    font-size: 22px;
  }

  .rpm-arch-tab {
    padding: 10px 16px;
    font-size: 14px;
  }
}
/* healthcare side and patient side */

@media only screen and (max-width: 500px) {
  .global_pressence h4,
  .global_pressence h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
  }

  .global_pressence {
    padding: 2rem 0;
  }

  .glob_pres_box {
    margin: 0 0 2rem 0;
    padding: 2rem 0 0 0;
  }

  .glob_pres_box .col-lg-1 {
    display: none;
  }

  .glob_pres_box .col-lg-2 {
    flex: 0 0 33.33%;
    max-width: 33.33%;
    margin-bottom: 2rem;
  }

  .glob_pres_box .col-lg-2 img {
    width: 50px;
    height: 50px;
  }

  .glob_pres_box .col-lg-2 h5 {
    font-size: 1rem;
  }

  /*  */

  .rpm-head,
  .integration-left h2,
  .swiperProcess__title,
  .rpm-services-container h3 {
    font-size: 2rem;
  }
  #rpmServices {
    margin-left: 2rem;
  }
  .rpm-sidebar {
    display: none;
  }
  .rpm-arch-mobile-img img {
    width: 100%;
    height: auto;
  }
  .rpm-arch-mobile-img {
    display: block !important;
  }
  .rpm-arch-img .row {
    display: none;
  }

  /*  */
  .integration-left {
    position: relative;
    top: 0;
    align-self: flex-start;
  }

  .tm-container {
    margin: 0 auto;
    padding: 2rem 1rem 0;
  }
  .swiperProcess__title {
    margin-bottom: 0;
  }
  .rpm-card {
    min-height: auto;
    height: auto;
  }
  .rpm-card h3 {
    font-size: 1.2rem;
  }
  .swiperProcess__image {
    display: none;
  }
}
