/* youtube btn css */

.youtube-btn {
  cursor: pointer;
  background-color: #ff0000;
  color: white;
  border: none;
  border-radius: 50px;
  padding: 12px 25px;
  font-size: 1.3rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.youtube-btn:hover {
  background-color: #fff;
  transform: translateY(-2px);
  color: #000;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

.youtube-btn i {
  margin-right: 10px;
  font-size: 24px;
}

#youtubeModal .modal-dialog {
  border-radius: 10px 0px 10px 10px;
}

#youtubeModal iframe,
#youtubeModal .modal-dialog,
#youtubeModal .modal-content {
  border-radius: 10px 0px 10px 10px;
}

#close_modal {
  background: #016dee;
  color: #fff;
  padding: 10px !important;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  position: absolute;
  top: -5px;
  right: -5px;
  z-index: 1000 !important;
  border: 0;
  margin-top: 0;
  opacity: 1;
  font-size: 1rem;
}

#youtubeModal .modal-header {
  border: none !important;
  padding: 0px !important;
  top: -8px;
  right: -9px;
  position: absolute;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
/* youtube btn css end */

/* clients slider section */
.slider_section {
  margin: 4rem 0 3rem 0;
}

.slider-container {
  position: relative;
  overflow: hidden;
}

.slider-header {
  text-align: center;
  margin-bottom: 20px;
}

.slider-header h3 {
  font-weight: 600;
  text-align: center;
  color: #f5a623;
  font-size: 1rem;
  text-transform: uppercase;
}

.slider-header h4 {
  text-align: center;
  color: #000;
  font-weight: 600;

  font-size: 2.2rem;
  margin: 1rem 0 1rem 0;
}
.testimonials_head img {
  border-radius: 100%;
}
.testimonials_head h5 {
  font-size: 1.2rem;
  margin-top: 10px;
  margin-bottom: 5px;
  font-weight: 500;
}
.testimonials_head h6 {
  font-size: 1rem;
  font-weight: 500;
}
.slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  flex: 0 0 33.33333%;

  padding: 15px;
}

.testimonial-card {
  height: 100%;
  background: white;
  border-radius: 10px;
  padding: 20px 20px 10px 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.testimonial-card p.profession {
  font-size: clamp(12px, 1.5vw, 14px);
  color: #777;
  margin-bottom: 15px;
}

.testimonial-card p.description {
  color: #555;
  margin-top: 1rem;
  text-align: start;
  line-height: 1.5;
  margin-bottom: 10px;
}

.stars {
  text-align: start;
  color: #f5a623;
  font-size: clamp(14px, 1.5vw, 16px);
}

.navigation {
  text-align: center;
  margin-top: 10px;
}

.dot {
  height: 10px;
  width: 10px;
  background-color: #bbb;
  /* border-radius: 50%; */
  display: inline-block;
  margin: 0 5px;
  cursor: pointer;
}

.dot.active {
  background-color: #f5a623;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(20px, 3vw, 30px);
  color: #333;
  cursor: pointer;
  user-select: none;
}

.arrow.left {
  left: 10px;
}

.arrow.right {
  right: 10px;
}

/* slider section end  */
.cta_btn {
  color: #fff;
  background-color: #0a78be;
  padding: 7px 15px;
  border-radius: 20px;
  cursor: pointer;
  margin-bottom: 1rem;
}

.cta_btn_left {
  float: left;
}

.cta_btn_tight {
  float: right;
}

.cta_btn_center {
  display: block;
  margin: 0 auto;
}

/*  */
.why_choose_use_card {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 10px;
  margin-top: 2rem;
}

.why_choose_use_card .card-body {
  flex: 1 1 auto;
  padding: 2rem 2rem;
}

.border2 {
  border-color: #000;
  border-radius: 10px;
}

.overlay6 {
  background-color: rgba(0, 0, 0, 0.37);
  height: 200px;
}

.why_choose_use_card .card-body h5,
.why_choose_use_card .card-body p {
  font-size: 1.4rem;
  line-height: normal;
  margin-bottom: 0;
  color: #fff;
  text-align: center;
  font-weight: 700;
  word-spacing: 0.1rem;
  letter-spacing: -0.01rem;
}

/*  */
.bussiness_sec {
  margin: 0 !important;
}

.bussiness_sec p {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 1.6rem;
}

.rpm_features_sec {
  position: relative;
  background-color: #000;
  padding: 4rem 0;
}

.rpm_features_sec h3,
.rpm_features_sec h4 {
  text-align: center;
  line-height: normal;
  font-size: 2.5rem;
  color: #fff;
  font-weight: 600;
  text-transform: capitalize;
  margin-bottom: 3rem;
}

.rpm_features_sec p {
  color: #fff;
  text-align: center;
  margin-bottom: 2rem;
}

.sticky_tab {
  position: sticky;
  top: 8rem;
  /* or another value */
}

.tab_head {
  font-size: 24px;
  margin-bottom: 1rem;
  display: block;
  font-weight: 300;
  text-transform: uppercase;
  color: #fff;
  margin-left: 1rem;
}

.rpm_tab_nav {
  max-height: 400px;
  overflow-y: scroll;
  /* padding-right: 30px; */
}

.rpm_tab_link {
  margin: 0 1rem 10px;
  font-size: 1.1rem;
  display: block;
  color: #000;
  background-color: #fff;
  text-decoration: none;
  line-height: 26px;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: 500;
  transition: all 0.3s ease-in-out;
}

/* Active state for the currently selected link */
.is_active {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  background: #0a78be;
  position: relative;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

/* Hover effect */
.rpm_tab_link:hover {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  background: #0a78be;
  position: relative;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  /* Optional: Adds a subtle shadow */
}

.rpm_tab_nav::-webkit-scrollbar,
.rpm_right_tabs::-webkit-scrollbar {
  width: 4px;
}

/* Track */
.rpm_tab_nav::-webkit-scrollbar-track,
.rpm_right_tabs::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
}

/* Handle */
.rpm_tab_nav::-webkit-scrollbar-thumb,
.rpm_right_tabs::-webkit-scrollbar-thumb {
  background: #0a78be;
  border-radius: 10px;
}

.rpm_right_tabs p {
  color: #fff;
  text-align: start;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.rpm_right_tabs h4,
.rpm_right_tabs h3 {
  margin: 2rem 0;
  text-align: start;
  line-height: normal;
  font-size: 2rem;
  color: #fff;

  font-weight: 600;
  text-transform: capitalize;
}

.rpm_right_tabs h5 {
  margin: 1rem 0;
  text-align: start;
  line-height: normal;
  font-size: 1.5rem;
  color: #fff;

  font-weight: 600;
  text-transform: capitalize;
}

.rpm_right_tabs img {
  margin-bottom: 1.5rem;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.rpm_right_tabs ul li,
.rpm_right_tabs ol li {
  color: #fff;
  margin-left: 1rem;
  list-style-type: none;
  margin-top: 15px;
  position: relative;
  padding-left: 1.2rem;
  line-height: 29px;
}

.rpm_right_tabs ul li:before,
.rpm_right_tabs ol li:before {
  content: "";
  width: 8px;
  height: 8px;
  background-color: #0a78be;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 10px;
}

.rpm_right_tabs ul li strong,
.rpm_right_tabs ol li strong {
  color: #0a78be;
}

/* banner img */
.service_banner_sec {
  background: url("../images/pos/restaurant-pOS-system-banner.webp") no-repeat 0 /
    cover;
}

.service_section {
  padding: 0 0 4rem 0;
  background-color: #000;
}

.services_sec_left {
  position: sticky;
  top: 6rem;
}

.services_sec_left img {
  width: 100%;
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.services_sec_left h2 {
  color: #fff;
  margin-bottom: 1rem;
  /* margin-left: 2rem; */
  text-align: start;
  font-size: 3rem;
  font-weight: 600;
  line-height: normal;
}

.services_sec_left p {
  /* margin-left: 2rem; */
  color: #fff;
  text-align: start;
  margin-bottom: 2rem;
}

.service-faq-item {
  width: 100%;
  border-bottom: 1px solid #f5f5f5;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.service-faq-item h3 {
  font-size: 1.5rem;
  font-weight: 500;
  margin: 2rem 0 1rem 0;
  color: #fff;
}

.service-faq-content {
  display: none;
  padding: 10px 0;
  font-size: 1.1rem;
  color: #fff;
}

.service-faq-content img {
  width: 100%;
  height: auto;
  margin-top: 1rem;
  border-radius: 5px;
}

.service-faq-toggle {
  margin-bottom: -38px;
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: #000;
  border: 1px solid #f5f5f5;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2em;
  color: #fff;
  transition: transform 0.3s;
  transform: rotate(180deg);
}

.service-faq-item.active .service-faq-toggle {
  transform: rotate(360deg);
  color: #ffa726;
}

.service_sec_right {
  padding: 0 2rem;
  width: 50%;
  height: auto;
  background-color: #000;
}

.service_sec_right .col-lg-6 {
  max-width: 100%;
}

/*  */
.ott_benefits_sec {
  padding: 3rem 0 0 0;
  background-color: #000;
}

.ott_benefits_sec h4,
.ott_benefits_sec h5,
.ott_benefits_sec h3 {
  color: #fff;
  margin-bottom: 2rem;
  text-align: center;
  font-size: 3rem;
  font-weight: 600;
  line-height: normal;
}

.ott_benefits_sec .left_img img {
  margin: 0 auto;
  display: block;
  width: auto;
  height: 400px;
}

.ott_benefits_sec .benefits_sec {
  border-radius: 6px;
  height: auto;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  padding: 1rem 10px;
  margin-bottom: 20px;
  font-size: 14px;
  color: #000;
  background: #fff;
  margin-top: 1rem;
}

.ott_benefits_sec .benefits_sec:hover {
  background: #0a78be;
}

.benefits_sec .benefits_sec_img {
  width: 75px;
  height: 75px;
  background: #f3f6ff;
  border-radius: 75px;
  text-align: center;
  display: block;
  line-height: 75px;
  margin: 0px auto 15px;
}

.benefits_sec .benefits_sec_img img {
  width: 40px;
  height: auto;
}

.benefits_sec p {
  color: #000;
  margin-bottom: 0;
  text-align: center;
}

.benefits_sec:hover p {
  color: #fff;
  text-align: center;
}

/*  */

.features_sec_img {
  width: 75px;
  height: 75px;
  background: #fff;
  border-radius: 75px;
  text-align: center;
  display: block;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  line-height: 75px;
  margin: 0px auto 15px;
}

.features_sec_img img {
  display: inline;
  width: 40px;
  height: auto;
}

.telemedtabcontent {
  display: block;
}

.pos-popup .modal-content img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Custom close button */
.pos-popup .custom-close {
  background: #016dee;
  color: #fff;
  padding: 10px !important;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  position: absolute;
  top: -10px;
  right: -10px;
  z-index: 1;
  border: 0;
  margin-top: 0;
  opacity: 1;
  font-size: 1.3rem;
}

.pos-popup .custom-close:hover {
  background: #000;
}

@media (max-width: 768px) {
  .slide_logo {
    flex: 0 0 33.33%;
    /* Show 3 logos on tablet */
  }

  .slide {
    flex: 0 0 50%;
  }

  .arrow {
    font-size: 24px;
  }

  .slider-header h1 {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .slide_logo {
    flex: 0 0 50%;
    /* Show 2 logos on mobile */
  }

  .slide {
    flex: 0 0 100%;
  }

  .arrow {
    font-size: 20px;
  }

  .slider-header h1 {
    font-size: 24px;
  }

  .slider-header h4 {
    font-size: 14px;
  }
}

/* vertical tab section start */
.healthcare_vertical_tab_section {
  background-color: #000;
}

.healthcare_vertical_tab_section .top_head_sec {
  text-align: center;
  color: #fff;
  margin-bottom: 2rem;
}

.healthcare_vertical_tab_section .top_head_sec h2,
.healthcare_vertical_tab_section .top_head_sec h3 {
  font-size: 2rem;
  font-weight: 600;
}

.main-container {
  border-radius: 20px;
  display: flex;
  min-height: 100vh;
  /* box-shadow: 0 0 20px rgba(0, 0, 0, 0.1); */
  background: white;
}

.tab-nav {
  width: 300px;
  background: #007bff;
  color: white;
  padding: 20px 0;
  position: relative;
  z-index: 1;
}

.tab-nav h3 {
  font-size: 1.1rem;
  padding: 15px 20px;
  margin: 0;
  cursor: pointer;
  transition: all 0.3s;
  border-left: 4px solid transparent;
}

.tab-nav h3:hover,
.tab-nav h3.active {
  background: rgba(255, 255, 255, 0.1);
  border-left: 4px solid white;
}

.tab-content {
  flex: 1;
  padding: 30px;
  overflow-y: auto;
  position: relative;
}

.tab-pane {
  position: absolute;
  top: 30px;
  left: 30px;
  right: 30px;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.3s ease;
}

.tab-pane.active {
  opacity: 1;
  transform: translateX(0);
  z-index: 10;
}

.tab-pane h4,
.tab-pane h3,
.tab-pane .h4para {
  font-size: 1.3rem;
  color: #007bff;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #007bff;
}

.tab-pane ul {
  padding-left: 20px;
}

.tab-pane li {
  margin-bottom: 10px;
}

.tab-content img {
  width: 100%;
  height: auto;
  margin-bottom: 2rem;
  border-radius: 10px;
}

/* vertical tab section end */

@media (max-width: 768px) {
  .main-container {
    flex-direction: column;
  }

  .tab-nav {
    width: 100%;
    display: flex;
    overflow-x: auto;
    padding: 0;
  }

  .tab-nav h3 {
    white-space: nowrap;
    padding: 15px 20px;
    border-left: none;
    border-bottom: 4px solid transparent;
  }

  .tab-nav h3:hover,
  .tab-nav h3.active {
    border-left: none;
    border-bottom: 4px solid #ffc107;
  }
}

/* left side fixed button */
.sideCall_modal {
  top: 50%;
  left: 0;
  position: fixed;
  transform: translate(0, -50%);
  z-index: 99;
}

.sideCall_btn {
  font-size: 17px;
  font-weight: 500;
  color: #000;
  background: #fff;
  border-radius: 0 10px 10px 0;
  display: flex;
  flex-direction: column-reverse;
  overflow: hidden;
  align-items: center;
  position: relative;
  cursor: pointer;
}

.sideCall_btn span {
  padding: 10px 0;
  writing-mode: vertical-rl;
  transform: scale(-1);
}

.sideCall_btn figure {
  margin: 0;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #006eef;
}

.sideCall_btn figure img {
  width: 20px;
  filter: brightness(0) invert(1);
}

/* ?end */

@media only screen and (max-width: 500px) {
  .slider_section {
    margin: 2rem 0 1rem 0;
  }

  .testimonial-card {
    height: auto;
  }

  .rpm_tab_nav {
    max-height: 100%;
    overflow: hidden;
  }

  .rpm_tab_link {
    color: #fff;
    font-size: 1rem;
    background-color: #3f51b5;
  }

  .rpm_features_sec h3 {
    font-size: 2rem;
    text-align: center;
  }

  .tab_head {
    text-align: center;
    margin: 1rem 0;
  }

  .rpm_features_sec p {
    margin-bottom: 0;
  }

  .rpm_right_tabs h4,
  .rpm_right_tabs h3 {
    font-size: 1.5rem;
  }

  .rpm_right_tabs h5 {
    font-size: 1.2rem;
  }

  /* banner img */
  .service_banner_sec {
    background: rgba(4, 12, 23, 0.7);
  }

  /*  */

  .service_section {
    padding: 0;
  }

  .services_sec_left {
    margin: 0 1rem;
  }

  .services_sec_left p {
    margin-left: 0;
    text-align: center;
  }

  .services_sec_left h2 {
    font-size: 2rem;
    line-height: normal;
    text-align: center;
    margin-bottom: 1rem;
    margin-left: 0;
  }

  .services_sec_left img {
    display: none;
  }

  .service_sec_right {
    padding: 0;
    width: 100%;
  }

  .service-faq-item h3 {
    font-size: 1.3rem;
  }

  .ott_benefits_sec {
    margin: 0;
  }

  .ott_benefits_sec h4 {
    font-size: 2rem;
    line-height: normal;
    text-align: center;
    margin-bottom: 1rem;
  }

  .ott_benefits_sec .left_img {
    display: none;
  }

  .rpm_features_sec {
    padding: 0 0 4rem 0;
  }
}
