.precision{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    /* padding: 80px 0 60px 0; */
    height: 85vh;
    align-items: center;
    /* padding-top: 80px; */
}
.precision-content h1{
    font-size: 85px;
    line-height: 100px;
    font-weight: 400;
    margin-bottom: 15px;
}
.precision-content p{
    font-size: 34px;
    margin-bottom: 50px;
}
.precision-content a{
    background: linear-gradient(90deg, #034ea1 0, #00b7ac 100%);
    border-radius: 8px;
    color: #fff;
    text-align: center;
    padding: 15px 120px;
    display: inline-block;
    font-size: 20px;
}
.home-bg{
  position: relative;
  overflow: hidden;
}

.home-bg::before {
  content: "";
  position: absolute;
  top: 3%;
  left: 25px;
  width: calc(100% - 50px); /* Adjust width to leave 25px gap on both sides */
  height: 100%;
  background-image: radial-gradient(rgb(3 78 161 / 7%) 1px, #00000000 1px);
  background-size: 10px 10px;
  z-index: 0;
  overflow: hidden;
  max-width: 100%;
}
.precision img {
    place-self: center;
    width: 40%;
}
.mirss{
    font-size: 90px;
    margin-bottom: 30px;
    font-weight: 400;
}
.mirss-para{
    font-size: 24px;
    line-height: 42px;
}
.mirss-para span{
    color: rgba(3, 78, 161, 1);
    font-weight: 700;
}
/* .counter-section, .counter{
    padding-top: 60px;
} */
 .bariatric-surgery-image{
  width: 60%;
  display: block;
  margin: 0 auto;
 }
.counter h4{
    color: rgba(0, 183, 172, 1);
    font-size: 70px;
    margin-bottom: 15px;
    font-weight: 400;
}
.counter p{
    font-size: 30px;
    color: rgba(3, 78, 161, 1);
    margin-bottom: 30px;
}

.counter-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 140px;
    align-items: center;
    padding-top: 60px;
  }
  
  .counter-bg {
    position: relative;
  }
  .counter-section{
    margin-left: 10%;
  }

  .counter-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 25px;
    width: calc(100% - 50px);
    height: 53%;
    background-image: radial-gradient(rgb(3 78 161 / 7%) 1px, #00000000 1px);
    background-size: 10px 10px;
    z-index: -1;
  }
  .how-robotic{
    margin: 0px 0px 80px;
  }
  .robotic{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
  /* .how-robotic h4{
    font-size: 36px;
    color: rgba(3, 78, 161, 1);
    margin-bottom: 35px;
    text-align: center;
    font-weight: 300;
  } */
  .robotic-card{
    border: 1px solid rgba(3, 78, 161, 0.2);
    padding: 40px 25px;
    border-radius: 30px;
    box-shadow: 0 20px 40px -4px rgba(3, 78, 161, 0.2);
  }
  .robotic-card p{
    font-size: 22px;
    line-height: 40px;
  }
  .robotic-card p span{
    color: rgba(0, 183, 172, 1);
  }
  .chatbot-section {
    display: grid;
    grid-template-columns: 70% 30%;
    gap: 25px;
  }
  .chatbot-content{
    place-content: center;
  }
  .chatbot-content a {
    background: linear-gradient(90deg, #034ea1 0, #00b7ac 100%);
    border-radius: 8px;
    color: #fff;
    text-align: center;
    padding: 15px 120px;
    display: inline-block;
    font-size: 20px;
}
.chatbot-section img{
    width: 100%;
}
.chatbot-content p{
    font-size: 50px;
    margin-bottom: 40px;
    line-height: 60px;
    color: rgba(95, 95, 95, 1);
    width: 70%;
}

.chatbot-content p span:nth-of-type(1) {
    color: rgba(3, 78, 161, 1);;
  }
  .chatbot-content p span:nth-of-type(2) {
    color: rgba(0, 183, 172, 1);
  }
  .mira-bg{
    position: relative;
    margin: 80px 0 0;
  }
  .mira-bg::before {
    content: "";
    position: absolute;
    top: 10%;
    left: 25px;
    width: calc(100% - 50px);
    height: 66%;
    background-image: radial-gradient(rgba(3, 78, 161, 0.2) 1px, transparent 1px);
    background-size: 10px 10px;
    z-index: 0;
}
.patient-section{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.stories-content h5{
    color: rgba(3, 78, 161, 1);
    font-size: 40px;
    margin-bottom: 30px;
    font-weight: 400;
}
.stories-content{
    place-content: center;
}
.stories-content p {
  font-size: 18px;
  line-height: 32px;
}
.patiet-stories {
  background-image: url(../images/left-bg.webp), url(../images/right-bg.webp);
  background-position: top left, bottom right;
  background-repeat: no-repeat, no-repeat;
  background-size: auto, auto; 
  padding-bottom: 200px;
}
.patients p{
  font-size: 20px;
  text-align: center;
  margin-top: 20px;
  line-height: 26px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;  
  overflow: hidden;

}
.patiet-stories .splide__pagination{
  bottom: -100px !important;
}
.patiet-stories  .splide__arrows{
  bottom: -90px !important;
}
.testimonial-slider .custom-play-button{
  width: 40px;
  height: 40px;
}
.testimonial-slider .custom-play-button::before{
  border-left: 15px solid white;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}
.testimonials-bg{
  padding-bottom: 150px;
}
.gg-chevron-down {
  box-sizing: border-box;
  position: relative;
  transform: scale(var(--ggs,1));
  width: 22px;
  height: 22px;
  border: 2px solid transparent;
  border-radius: 100px
}
.gg-chevron-down::after {
  content: "";
  display: block;
  box-sizing: border-box;
  position: absolute;
  width: 10px;
  height: 10px;
  border-bottom: 2px solid;
  border-right: 2px solid;
  transform: rotate(45deg);
  left: 4px;
  top: 2px
}
/* FAQ Start */
.accordion {
  width: 100%;
  max-width:100%;
  overflow: hidden;
  background-color: #fff;
  border-bottom: 1px solid #034ea1;
}
.accordion__intro {
  position: relative;
  padding: 20px 0;
  cursor: pointer;
}
.accordion__intro span{
  position: absolute;
  right: 30px;
  top: 35%;
  transition: all 0.3s ease-in-out;
  color: #034ea1;
}
.accordion.accordion__active .accordion__intro span{
  transform: rotate(180deg);
}
.accordion__content {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  will-change: max-height;
  transition: all 0.25s ease-out;
  opacity: 0;
}
.accordion h3,
.accordion p {
  margin: 0;
}
.accordion h3 {
  color: #034ea1;
  font-size: 20px;
  font-weight: 400;
}
.accordion p, .accordion ul li {
  color: #434343;
  font-size: 20px;
  margin: 0;
  line-height: 28px;
}
.accordion ul li a{
  color: #0C356A;
  text-decoration: underline;
}
.accordion__active .accordion__content {
  padding:20px 0;
  opacity: 1;
}
/* FAQ End */
.testivideo-align {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.video-thumbnail-wrapper-outer{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.video-thumbnail-wrapper-inner{
  width: 100%;
  height: auto;
  position: relative;
}
.video-thumbnail-wrapper-description p{
  font-size: 20px;
    text-align: center;
    margin-top: 5px;
    line-height: 26px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* Chatbot Start */
.chatbot-container {
  max-width: 800px;
  margin: 30px auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  background: #ffffff;
  border: 1px solid #e6e6e6;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  animation: fadeInUp 0.5s ease-in-out;
}

.chatbot-header {
  background:linear-gradient(90deg, #034EA1 0%, #00B7AC 100%);
  color: white;
  padding: 16px;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  border-bottom: 1px solid #ccc;
}

.chat-embed-wrapper {
  padding: 10px;
  background: #f9f9f9;
}
/* .chat-embed> div{
  height: 300px !important;
} */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Chatbot End */
/* Responsive */
@media (max-width: 1280px) {
  .nav-list{
    gap: 15px;
  }
  .nav-list li a{
    font-size: 15px;
  }
  .precision-content h1 {
    font-size: 60px;
    line-height: 68px;
}
.precision{
  padding: 0 40px;
  height: 85vh;
  align-items: center;
}
.precision img{
  display: block;
  place-self: unset;
  margin-left: auto;
  width: 50%;
}
.home-bg::before{
  top: 0%;
}
}
@media (max-width: 1199px) {
  .precision-content a{
    padding: 15px 95px;
  }
  .mira-bg{
    padding-bottom: 50px;
  }
  .stories-content{
    order: 2;
  }
  .video-thumbnail-wrapper{
    order: 1;
  }
  .patient-section{
    grid-template-columns: 1fr;
  }
  .splide__arrows{
    width: 50%;
  }
}
@media (max-width: 991px) {
  .precision{
    padding-top: 30px;
  }
  .precision-content h1 {
    font-size: 50px;
    line-height: 65px;
  }
  .precision-content p {
    font-size: 24px;
    margin-bottom: 30px;
  }
  .precision-content a{
    padding: 15px 60px;
  }
  .precision img {
      width: 65%;
  }
  .mirss {
    font-size: 65px;
    margin-bottom: 10px;
  }
  .counter h4 {
    color: rgba(0, 183, 172, 1);
    font-size: 36px;
    margin-bottom: 10px;
  }
  .counter p {
    font-size: 24px;
    color: rgba(3, 78, 161, 1);
    margin-bottom: 25px;
}
.robotic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.chatbot-content p{
  width: 100%;
}
}
@media (max-width: 767px) {
      .precision img {
        display: block;
        place-self: unset;
        margin: 40px auto;
        width: 50%;
    }
      .precision {
        grid-template-columns: 1fr;
        position: relative;
        padding: 15px 15px 150px 15px;
        height: 100vh;
        gap: 0;
        align-items: flex-start;
    }
  .precision-content a {
    padding: 15px 70px;
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
  }
  .precision-content h1 {
        font-size: 48px;
        line-height: 54px;
    }
  .robotic::-webkit-scrollbar {
    height: 4px;
}
.accordion__intro span{
  right: 0;
}
.accordion__intro {
  position: relative;
  padding: 15px 50px 15px 0;
  cursor: pointer;
}
.home-bg::before {
  top: 0%;
  left: 0px;
  width: calc(100% - 0px);
}
.counter-bg::before{
  left: 0px;
  width: calc(100% - 0px);
}
.robotic-card p{
  font-size: 18px;
  line-height: 30px;
}
.robotic-card{
  padding: 20px 20px;
}
.accordion h3{
  font-size: 16px;
}
.section-padding{
  padding: 50px 0 30px;
}

.precision-content p {
  font-size: 24px;
  margin-bottom: 0;
}
}
@media (max-width: 499px) {
  .precision{
    gap: 10px;
  }
  .precision-content h1 {
    font-size: 39px;
    line-height: 44px;
}
.precision-content a{
  width: 100%;
}
.precision img {
  margin:0 auto;
  display: block;
}
.precision-content p {
  font-size: 20px;
}
.mirss {
  font-size: 40px;
}
.mirss-para {
  font-size: 16px;
  line-height: 30px;
}
.counter-wrapper {
  display: grid;
  grid-template-columns: 1fr;
}
.robotic{
  display: flex;
  gap: 15px;
  overflow-x: auto; /* Enables horizontal scrolling */
  white-space: nowrap; /* Prevents wrapping */
  width: 100%;
  padding-bottom: 20px;
}
.robotic-card{
  flex: 0 0 85%;
  box-shadow: inset 0 0 20px rgba(3, 78, 161, 0.15);
}
.robotic-card p {
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal; /* Allows text to wrap */
  width: 100%;
  flex-shrink: 0;
}
.section-title {
  font-size: 20px;
  margin-bottom: 20px;
}
.chatbot-section {
  display: grid;
  grid-template-columns: 1fr;
}
.chatbot-content p {
  font-size: 16px;
  margin-bottom: 10px;
  line-height: 27px;
}
.stories-content h5{
  font-size: 26px;
  margin-bottom: 10px;
}
.stories-content p {
  font-size: 16px;
  line-height: 26px;
}
.how-robotic{
  margin: 0px 0px 20px;
}
.patiet-stories{
  padding-bottom: 30px;
}
.testimonials-bg{
  padding-top: 105px;
}
.testivideo-align {
  display: unset;
}
.video-thumbnail-wrapper-outer{
  gap: 8px;
}
.video-thumbnail-wrapper-description p{
  font-size: 14px;
}
}