/*-- # Hero Section --*/
.hero {
  width: 100%;
  /* position: relative; */
  padding: 100px 0 30px 0px;
  overflow: hidden;
  background: url("../images/bannertopbg.webp") no-repeat center center / cover;
}
.header.scrolled .branding {
  background: #0f4a49;
  transition: background-color 0.3s ease, padding 0.3s ease,
    box-shadow 0.3s ease;
}
.header .branding {
  position: absolute;
}
.herobgimage {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
#carouselExampleDark .carousel-inner {
  /* height: 100%; */
  display: flex;
  transition: transform 0.6s ease-in-out;
  width: 100%;
  position: relative;
}
.carousel-inner-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
}
#carouselExampleDark .carousel-inner .carousel-item {
  min-width: 100%;
  box-sizing: border-box;
  transition: transform 0.6s ease;
}
#carouselExampleDark .carousel-inner .carousel-item img {
  height: auto;
  object-fit: cover;
}
/* .carousel-control-next, .carousel-control-prev {position: absolute;top:unset;bottom: 0px;width: 96%;}
.carousel-control-next:hover, .carousel-control-prev:hover {opacity: 1 !important;}
.carousel-control-next, .carousel-control-prev{opacity: 1 !important;} */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  width: 2.2rem;
  height: 2.2rem;
}
.carousel-controls-inside button {
  display: flex;
  justify-content: space-between;
}
.prviousbutton {
  position: absolute;
  top: unset;
  bottom: 0px;
}
.nextbutton {
  position: absolute;
  top: unset;
  bottom: 0px;
  right: 630px;
}
.carousel-control-next:hover,
.carousel-control-prev:hover {
  opacity: 1 !important;
}
.carousel-control-next,
.carousel-control-prev {
  opacity: 1 !important;
}
.squarebox {
  padding: 8px;
  background-color: var(--white-color);
  display: inline-block;
  border-radius: 3px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.sliderrow {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 20px;
  align-items: center;
}
.rahulpic {
  position: relative;
}
.ratinglist {
  font-size: 15px;
  color: #fff;
  text-align: center;
}
.sliderratingbox {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  color: #fff;
  justify-content: center;
  flex-direction: column;
  z-index: 9;
  background: rgba(11, 62, 93, 1);
  position: absolute;
  top: 0px;
  right: 15px;
  display: flex;
  align-items: center;
  border: 2px solid rgba(255, 255, 255, 0.25);
  margin-top: 4rem;
}
.ratingcolor {
  font-size: 18px;
  padding-top: 5px;
}
.ratingcolor span {
  padding: 0px 2px;
  color: #fbd45f;
}
.beforebox {
  width: 60%;
  position: relative;
  margin-top: -145px;
  float: right;
  margin-right: -16px;
}
.hero .container {
  position: relative;
}

.hero .hero-heading {
  margin: 0;
  font-size: 65px;
  font-weight: 400;
  line-height: 75px;
  font-family: var(--heading-font);
  color: var(--white-color);
}

.hero .hero-heading span {
  color: #a7cbcb;
}

.hero p {
  color: var(--white-color);
  margin: 1.5rem 0 30px 0;
  font-size: 18px;
  font-weight: 400;
}

.hero .btn-get-started {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-family: var(--heading-font);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 30px;
  border-radius: 4px;
  transition: 0.5s;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.hero .btn-get-started:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}
.hero .animated {
  animation: up-down 2s ease-in-out infinite alternate-reverse both;
}
.rahulpic.another_card{
  position: relative;
}
.another_card .patient_name {
  background: linear-gradient(
    90.24deg,
    #071739 14.51%,
    rgba(7, 23, 57, 0.7) 61.91%,
    rgba(7, 23, 57, 0) 99.83%
  );
  color: #FFFFFF;
  font-size: 20px;
  line-height: 30px;
  font-weight: 600;
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 20px 30px;
  width: 40%;
  border-left: 3px solid #fff;
  border-bottom: 3px solid #fff;
}
.beforebox.another_card{
  display: flex;
}
.another_card .big_img img{
  border: 3px solid #fff;
}
.before_img img, .after_img img{
  position: relative;
  border: 3px solid #fff;
}
.another_card .before_img img{
   border-right: 2px solid #fff;
}
.another_card .after_img img{
  border-left: 2px solid #fff;
}
.before_img .label, .after_img .label{
 font-size: 15px;
 padding: 5px 10px;
 position: absolute;
 left: 10px;
 bottom: 10px;
 color: #fff;
 font-weight: 500;
 font-size: 14px;
 width: 60px;
 height: 25px;
 display: flex;
 align-items: center;
 justify-content: center;
}
.label.before{
  background-color: #0F4A49;
}
.label.after{
  background-color: #2C5978;
  left: 49%;
}
.schedulebtn {
  color: #0f4a49;
  background: var(--btn-color);
  font-weight: 500;
  font-size: 16px;
  display: inline-block;
  padding: 12px 30px;
  z-index: 9;
  transition: 0.5s;
  position: relative;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}
.schedulebtn:hover {
  color: #222;
  background-color: #fff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}
@keyframes up-down {
  0% {
    transform: translateY(10px);
  }

  100% {
    transform: translateY(-10px);
  }
}
/* Start of slider */
.featuredaward {
  margin: 0px;
  padding: 12px 0 0 0px;
}
.clients-wrap {
  border-top: 1px solid #ddd;
}

.client-logo {
  background-color: var(--white-color);
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  align-items: center;
  border-right: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  overflow: hidden;
  padding: var(--spacing-md);
}
.client-logo img {
  padding-top: 30px;
  padding-bottom: 22px;
  padding-left: 40px;
  padding-right: 40px;
  transition: 0.3s;
}
.client-logo:last-child {
  border-right: 0px;
}
.client-logo p {
  margin-bottom: 0px;
  font-size: 18px;
  text-align: center;
  font-weight: 500;
}
.client-logo.odd {
  background: #eff6f6;
}

/* Start of techniquessection */
.techniquessection {
  padding: 4rem 0 4rem 0px;
  text-align: center;
  background-color: var(--white-color);
}
.techniquesubheading {
  color: rgba(19, 35, 61, 1);
  font-size: 20px;
}
.techniquessection h2 span {
  color: var(--accent-color);
}

.techniquessection p {
  color: var(--default-color);
}
.servicesgrid {
  display: grid;
  margin-top: 1rem;
  grid-template-columns: repeat(4, 1fr); /* 4 equal columns */
  gap: 20px; /* spacing between columns and rows */
}
.serviceitem {
  background: rgba(255, 255, 255, 1);
  text-align: center;
  padding: 40px 25px;
  transition: border ease-in-out 0.3s;
  min-height: 100%;
  border-radius: 5px;
  box-shadow: 0px 5px 30px 0px rgba(0, 0, 0, 0.1);
}

.serviceitem .icon {
  margin: 0 auto;
  width: 100px;
  height: 100px;
  background: var(--surface-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: 0.3s;
}
.serviceitem .icon img {
  width: 50%;
  height: auto;
  transition: ease-in-out 0.3s;
  filter: brightness(0) invert(1);
}
.serviceitem .servicesubheading {
  font-weight: 600;
  margin: 10px 0 8px 0;
  font-size: 18px;
  transition: 0.3s;
}
.serviceitem .servicesubheading a {
  cursor: default;
}
.serviceitem .servicesubheading a {
  color: var(--default-color);
}
.serviceitem .servicesubheading a:hover {
  color: var(--accent-color);
}
.serviceitem p {
  line-height: 24px;
  font-size: 1rem;
  margin-bottom: 0;
  color: rgba(131, 139, 156, 1);
}
.serviceitem p a {
  color: var(--default-color);
}
.serviceitem:hover {
  border-color: var(--accent-color);
}
.serviceitem:hover .icon {
  background-color: #2c5978;
}
.serviceitem:hover .icon img {
  filter: brightness(0) invert(1);
}
.serviceitem:hover .servicesubheading {
  color: var(--accent-color);
}

/* Start of tabsection */
.navbtn {
  background-color: var(--accent-color);
  color: #fff;
  border: none;
  padding: 10px 25px;
  margin: 0 10px;
  font-size: 16px;
  border-radius: 30px;
  cursor: pointer;
  position: relative;
  transition: background 0.3s;
}
.tab-nav-controls {
  position: relative;
}
.tabnext {
  background: var(--accent-color);
  position: absolute;
  right: 10px;
  top: 44%;
  z-index: 99;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--accent-color);
}
.tabprev {
  background: #fff;
  position: absolute;
  left: 10px;
  top: 44%;
  z-index: 99;
  width: 36px;
  height: 36px;
  border-radius: 50%;
}
.tabsection {
  margin: 0px auto;
  overflow: hidden;
  position: relative;
  background: #fff;
  padding-bottom: 80px;
}
/* .tab-buttons{width: 1130px;z-index: 99;
  margin: 0px auto 0px auto; background: rgba(255, 255, 255, 1);position: absolute; bottom: 0px;left:0px;right: 0px;box-shadow: 0px 10px 40px 10px rgba(0, 0, 0, 0.08);
} */
.tab-buttons {
  width: 1130px;
  z-index: 99;
  margin: 40px auto 0 auto; /* Added 40px space at the top */
  background: rgba(255, 255, 255, 1);
  position: absolute;
  bottom: -28px; /* Optional: pull it down further */
  left: 0;
  right: 0;
  box-shadow: 0px 10px 40px 10px rgba(0, 0, 0, 0.08);
}
.tab-buttons {
  bottom: -28px; /* was 0px before, now pulled down */
}
.tab-content {
  position: relative;
  max-width: 1130px;
  margin: 0 auto;
  min-height: 500px;
  z-index: 1;
}
.tab-content::before {
  content: "";
  min-height: 500px;
  width: 100%;
  background-color: var(--default-color);
  /* background: url("../images/tabprevbg.webp") no-repeat left center / cover; */
  position: absolute;
  left: -100%;
  top: 0px;
}
.tab-content::after {
  content: "";
  min-height: 500px;
  width: 100%;
  /* background: url("../images/tabnextbg.webp") no-repeat left center / cover; */
  background-color: var(--default-color);
  position: absolute;
  right: -100%;
  top: 0px;
}
.tab-content > .tab-pane {
  display: none;
}
.tab-content > .tab-pane.active {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 20px;
  align-items: center;
}
.tabimage {
  padding: 0px;
}
.tabtext {
  padding: 0px 50px;
  margin-top: -60px;
}
.tabimage img {
  width: 100%;
  height: 500px;
  max-width: 400px;
  object-fit: cover;
}
.tabtext .tabheading {
  font-size: 30px;
  font-family: var(--heading-font);
  color: var(--default-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.tabtext p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  padding-bottom: 10px;
}

button {
  position: relative;
  display: inline-block;
  cursor: pointer;
  outline: none;
  border: 0;
  vertical-align: middle;
  text-decoration: none;
  background: transparent;
  padding: 0;
  font-size: 16px;
  font-family: inherit;
}

/* "Learn More" button specific styles */
button.learn-more {
  width: 8.8rem;
  height: auto;
}

/* Circular background styles */
button.learn-more .circle {
  transition: all 0.45s;
  position: relative;
  display: block;
  margin: 0;
  float: right;
  width: 2.2rem;
  height: 2.2rem;
  background: var(--surface-color);
  border-radius: 1.625rem;
}

/* Icon base styles */
button.learn-more .circle .icon {
  transition: all 0.45s;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  background: #fff;
}

/* Arrow icon styles */
button.learn-more .circle .icon.arrow {
  transition: all 0.45s;
  right: 0.9rem;
  width: 1rem;
  height: 0.125rem;
  background: none;
}

/* Arrow icon before pseudo-element (creates arrowhead) */
button.learn-more .circle .icon.arrow::before {
  position: absolute;
  content: "";
  top: -0.25rem;
  right: 0.0625rem;
  width: 0.625rem;
  height: 0.625rem;
  border-top: 0.125rem solid #fff;
  border-right: 0.125rem solid #fff;
  transform: rotate(45deg);
}

/* Button text styles */
button.learn-more .button-text {
  transition: all 0.45s;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.75rem 0;
  margin: 0 3rem 0 0rem;
  color: #1e1e1e;
  font-weight: 500;
  line-height: 0.6;
  text-align: center;
}
.button-bg {
  background-color: #0f4a49;
  color: #fff;
  padding: 10px 24px;
  display: inline-block;
  font-size: 16px;
  transition: all 0.3s ease;
}
.button-bg:hover {
  background-color: var(--default-color);
}

/* Hover effects for the button */
/* button:hover .circle {
  width: 100%;
}

button:hover .circle .icon.arrow {
  background: #fff;
  transform: translate(0rem, 0);
}

button:hover .button-text {
  color: #fff;
} */

.tab-buttons {
  display: flex;
  justify-content: space-around;
  border-top: 1px solid #eee;
  background: #fff;
}

.tab-btn {
  flex: 1;
  padding: 26px 10px;
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s;
}

.tab-btn.active {
  background: #0f4a49;
  font-weight: 500;
  color: #fff;
}

.quotesection {
  text-align: center;
  padding: var(--spacing-lg) 0px var(--spacing-lg) 0px;
  background: #fff;
}
.quotesrow {
  display: flex;
  justify-content: center;
  width: 800px;
  margin: 0 auto;
}
.quoteicon {
  font-size: 125px;
  color: var(--accent-color);
  text-align: left;
  margin-bottom: 20px;
  width: 150px;
}

.quotesection p {
  font-size: 20px;
  text-align: left;
  color: #1a1a1a;
  font-style: italic;
  margin: 0 auto;
  line-height: 1.8;
}

.highlight {
  color: var(--accent-color);
  font-weight: 600;
}

/* Start of meetoursection */
.specialist-section {
  display: flex;
  padding: var(--spacing-md) var(--spacing-xl) var(--spacing-xl)
    var(--spacing-xl);
  align-items: flex-start;
}

.text-content {
  padding-right: 0px;
}

.text-content .mainheading {
  font-size: 40px;
  font-weight: 400;
  color: var(--default-color);
  line-height: 1.2;
}

.text-content .mainheading span {
  color: var(--accent-color);
}

.text-content p {
  color: var(--default-color);
  margin: 10px 0 20px;
}

.nav-buttons {
  display: flex;
  gap: 10px;
  margin-top: var(--spacing-xl);
}

.nav-btn {
  background: rgba(255, 255, 255, 1);
  border: 1px solid rgba(220, 220, 220, 0.4);
  box-shadow: 0px 2px 25px 0px rgba(0, 0, 0, 0.12);
  border-radius: 50%;
  width: 40px;
  line-height: 40px;
  height: 40px;
  font-size: 24px;
  cursor: pointer;
}

.nav-btn.active {
  background: rgba(19, 35, 61, 1);
  color: #fff;
  border: 1px solid rgba(220, 220, 220, 0.4);
  box-shadow: 0px 2px 25px 0px rgba(0, 0, 0, 0.12);
}

.cards-container {
  display: flex;
  gap: 25px;
  overflow-x: hidden;
  width: 88%;
  margin: 0 auto;
}
.card {
  background: rgba(255, 255, 255, 1);
  border-radius: 1px;
  padding: 10px;
  margin-top: 10px;
  flex: 0 0 calc(51% - 25px);
  min-width: 350px;
  box-sizing: border-box;
  border: 1px solid rgba(131, 139, 156, 0.4);
  position: relative;
  transition: opacity 0.5s ease-in-out;
  box-shadow: rgba(17, 17, 26, 0.05) 0px 1px 0px,
    rgba(17, 17, 26, 0.1) 0px 0px 8px;
}
.card img.doctor-img {
  width: 100%;
  height: auto;
  border-radius: 2px;
}
.doctorboxcenter {
  width: 97%;
  margin: 0 auto;
  text-align: left;
}
.card .badges {
  position: absolute;
  top: 15px;
  right: 15px;
}
.badgebox {
  width: 80px;
  height: 72px;
  border-radius: 50%;
  background-color: #fff;
  margin-bottom: 5px;
  padding: 5px;
  box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 1);
}
.badgebox img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  vertical-align: middle;
}

.card .drtitle {
  margin-top: 15px;
  margin-bottom: 3px;
  font-size: 20px;
  font-weight: 400;
  color: var(--text-color);
  padding-bottom: 5px;
}

.card span {
  font-weight: 600;
  font-size: 16px;
  white-space: normal;
  text-transform: uppercase;
  color: var(--default-color);
  margin-bottom: 0px;
}

.card p {
  font-size: 16px;
  color: var(--text-black);
  margin: 10px 0 20px 0px;
  white-space: normal;
}

.doctorsbox {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.consultationbtn {
  background: var(--surface-color);
  color: #fff;
  text-align: center;
  border: var(--accent-color) 1px solid;
  padding: 11px 15px;
  font-size: 15px;
  border-radius: 1px;
  display: inline-block;
  cursor: pointer;
  width: 60%;
  /* flex: 0 0 60%; */
}

.detailsbtn {
  background: rgba(255, 255, 255, 1);
  color: rgba(131, 139, 156, 1);
  display: inline-block;
  text-align: center;
  border: 1px solid rgba(131, 139, 156, 1);
  padding: 11px 15px;
  font-size: 15px;
  border-radius: 1px;
  /* flex: 0 0 40%; */
  width: 35%;
  cursor: pointer;
}
.dots-container {
  text-align: center;
  margin-top: 10px;
}

.dots-container {
  text-align: center;
  margin-top: 15px;
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 6px;
  background-color: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
}

.dot.active {
  background-color: var(--accent-color);
}

.tabheadingbox {
  padding-top: var(--spacing-xl);
  border-top: #ddd 1px solid;
}
.tabheadingbox .mainheading {
  margin-bottom: 0px;
  padding-bottom: 0px;
}

/* Start of gallerysection */
.gallerysection {
  padding: 0px;
  margin: 0px;
}
.gallerysection img {
  width: 100%;
}
.galleryrow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
.gallerycolumn {
  background: rgba(255, 255, 255, 1);
  padding: 5px;
  transition: border ease-in-out 0.3s;
  min-height: 100%;
}
.aboutcirclesection {
  padding: 0px 0 var(--spacing-xl) 0;
  position: relative;
  margin-top: -60px;
}
.aboutcirclescolumn {
  background-color: #fff;
  text-align: center;
  box-shadow: 0px 10px 50px 0px #00000014;
  padding: var(--spacing-xl);
}
.aboutcirclescolumn h2 span {
  color: var(--accent-color);
}
.aboutcirclescolumn p {
  padding-bottom: var(--spacing-md);
  color: var(--text-black);
  line-height: 1.6;
}
.moreclinicbtn {
  background-color: #fff;
  box-shadow: 0px 10px 50px 0px #00000014;
  padding: 11px 25px;
  font-size: 1rem;
  border: 1px solid #141e46;
  transition: 0.3s;
  color: var(--default-color);
}
.moreclinicbtn:hover {
  color: var(--accent-color);
  border: 1px solid var(--accent-color);
}

/* Start of Mini Desktop Screen */
@media screen and (max-width: 1400px) and (min-width: 1301px) {
  .beforebox {
    margin-right: 26px;
  }
  .prviousbutton {
    bottom: -10px;
  }
  .nextbutton {
    right: 510px;
    bottom: -10px;
  }
  .tabnext {
    right: -50px;
  }
  .tabprev {
    left: -50px;
  }
  .techniquessection .mainheading br {
    display: none;
  }
  .tab-buttons {
    width: 100%;
  }
}

/* Start of Mini Desktop Screen */
@media screen and (max-width: 1300.98px) and (min-width: 1201px) {
  .beforebox {
    margin-right: 35px;
  }
  .prviousbutton {
    bottom: -10px;
  }
  .nextbutton {
    right: 500px;
    bottom: -10px;
  }
  .tabnext {
    right: -50px;
  }
  .tabprev {
    left: -50px;
  }
  .techniquessection .mainheading br {
    display: none;
  }
  .tab-buttons {
    width: 100%;
  }
  .hero .hero-heading {
    font-size: 50px;
    line-height: 58px;
  }
  .schedulebtn {
    padding: 12px 20px;
  }
}

/* Start of Mini Desktop Screen */
@media screen and (max-width: 1200.98px) and (min-width: 1101px) {
  .beforebox {
    margin-right: 20px;
  }
  .prviousbutton {
    bottom: 0px;
  }
  .nextbutton {
    right: 515px;
    bottom: 0px;
  }
  .tabnext {
    right: -50px;
  }
  .tabprev {
    left: -50px;
  }
  .techniquessection .mainheading br {
    display: none;
  }
  .tab-buttons {
    width: 100%;
  }
  .hero .hero-heading {
    font-size: 50px;
    line-height: 58px;
  }
  .schedulebtn {
    padding: 12px 20px;
  }
  .sliderratingbox {
    width: 140px;
    height: 140px;
    right: 5px;
    margin-top: 1rem;
  }
  .rahulpic {
    width: 90%;
  }

  .client-logo p {
    font-size: 16px;
  }

  /* Start of techniquessection */
  .techniquessection {
    padding: 2rem 0 2rem 0px;
  }
  .techniquesubheading {
    font-size: 16px;
    padding-bottom: 8px;
  }
  .mainheading {
    font-size: var(--font-lg);
  }
  .techniquessection p {
    font-size: 1rem;
  }
  .client-logo p {
    font-size: 1rem;
  }

  /* Start of servicesgrid section */
  .servicesgrid {
    display: flex;
    overflow-x: scroll;
    white-space: nowrap;
    gap: 5px;
    width: 100%;
    margin-top: 0px;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
  }
  .servicesgrid > * {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }
  .servicesgrid::-webkit-scrollbar {
    display: none;
  }
  .serviceitem {
    width: 30%;
    padding: 30px 12px 12px 12px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    margin: 10px 10px 10px 0px;
  }
  .serviceitem p {
    white-space: normal;
  }

  /* Start of tab section */
  .tabtext {
    padding: 0px 20px;
    margin-top: 0px;
  }
  .tabimage img {
    width: 100%;
    height: 420px;
    max-width: 400px;
    object-fit: cover;
  }
  .tab-content {
    max-width: 100%;
    min-height: 420px;
  }
  .tabtext .tabheading {
    font-size: 27px;
    margin-bottom: 5px;
  }
  .tabtext p {
    padding-bottom: 0px;
  }
  .tab-buttons {
    width: 100%;
    bottom: -80px;
  }
  .tabprev {
    left: -20px;
  }
  .tabnext {
    right: -20px;
  }
  .tab-content > .tab-pane.active {
    gap: 0px;
  }

  /* Start of quotesection */
  .quotesection {
    padding: var(--spacing-xxl) 0px var(--spacing-xxl) 0px;
  }
  .quoteicon {
    font-size: 100px;
    width: 100px;
  }
  .quotesrow {
    width: 90%;
  }
  .quotesection p {
    font-size: 18px;
  }

  /* Start of doctorsection */
  .specialist-section {
    padding: var(--spacing-xl);
  }
  .text-content .mainheading {
    padding-bottom: 10px;
  }
  .cards-container {
    display: flex;
    gap: 15px;
    overflow-x: unset;
    width: 100%;
    margin: 0 auto;
  }
  .card {
    flex: 0 0 calc(50% - 15px);
    min-width: 340px;
  }
  .consultationbtn {
    padding: 7px 10px;
    font-size: 14px;
    width: 60%;
  }
  .detailsbtn {
    padding: 7px 10px;
    font-size: 14px;
  }

  /* Start of aboutcirclesection */
  .aboutcirclesection {
    padding: 0px 0 var(--spacing-lg) 0;
    margin-top: -40px;
  }
  .aboutcirclescolumn p {
    font-size: 1rem;
  }
}

/* Start of IPad Pro Screen */
@media screen and (max-width: 1100.98px) and (min-width: 992px) {
  .beforebox {
    margin-right: 20px;
  }
  .prviousbutton {
    bottom: 0px;
  }
  .nextbutton {
    right: 430px;
    bottom: 0px;
  }
  .tabnext {
    right: -50px;
  }
  .tabprev {
    left: -50px;
  }
  .techniquessection .mainheading br {
    display: none;
  }
  .tab-buttons {
    width: 100%;
  }
  .hero .hero-heading {
    font-size: 50px;
    line-height: 58px;
  }
  .rahulpic {
    width: 90%;
  }
  .beforebox {
    width: 60%;
    margin-top: -145px;
    margin-right: 20px;
  }
  .sliderratingbox {
    width: 110px;
    height: 110px;
    margin-top: 5px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ratinglist {
    font-size: 10px;
  }
  .ratingcolor {
    font-size: 13px;
    padding-top: 0px;
  }

  .client-logo p {
    font-size: 16px;
  }

  /* Start of techniquessection */
  .techniquessection {
    padding: 2rem 0 2rem 0px;
  }
  .techniquesubheading {
    font-size: 16px;
    padding-bottom: 8px;
  }
  .mainheading {
    font-size: var(--font-lg);
  }
  .techniquessection p {
    font-size: 1rem;
  }
  .client-logo p {
    font-size: 1rem;
  }

  /* Start of servicesgrid section */
  .servicesgrid {
    display: flex;
    overflow-x: scroll;
    white-space: nowrap;
    gap: 5px;
    width: 100%;
    margin-top: 0px;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
  }
  .servicesgrid > * {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }
  .servicesgrid::-webkit-scrollbar {
    display: none;
  }
  .serviceitem {
    width: 30%;
    padding: 30px 12px 12px 12px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    margin: 10px 10px 10px 0px;
  }
  .serviceitem p {
    white-space: normal;
  }

  /* Start of tab section */
  .tabtext {
    padding: 0px 20px;
    margin-top: 0px;
  }
  .tabimage img {
    width: 100%;
    height: 420px;
    max-width: 400px;
    object-fit: cover;
  }
  .tab-content {
    max-width: 100%;
    min-height: 420px;
  }
  .tabtext .tabheading {
    font-size: 27px;
    margin-bottom: 5px;
  }
  .tabtext p {
    padding-bottom: 0px;
  }
  .tab-buttons {
    width: 100%;
    bottom: -80px;
  }
  .tabprev {
    left: 0px;
  }
  .tabnext {
    right: 0px;
  }
  .tab-content > .tab-pane.active {
    gap: 0px;
  }

  /* Start of quotesection */
  .quotesection {
    padding: var(--spacing-xxl) 0px var(--spacing-xxl) 0px;
  }
  .quoteicon {
    font-size: 100px;
    width: 100px;
  }
  .quotesrow {
    width: 90%;
  }
  .quotesection p {
    font-size: 18px;
  }

  /* Start of doctorsection */
  .specialist-section {
    padding: var(--spacing-xl);
  }
  .text-content .mainheading {
    padding-bottom: 10px;
  }
  .cards-container {
    display: flex;
    gap: 15px;
    overflow-x: unset;
    width: 100%;
    margin: 0 auto;
  }
  .card {
    flex: 0 0 calc(50% - 15px);
    min-width: 340px;
  }
  .consultationbtn {
    padding: 7px 10px;
    font-size: 14px;
    width: 60%;
  }
  .detailsbtn {
    padding: 7px 10px;
    font-size: 14px;
  }

  /* Start of aboutcirclesection */
  .aboutcirclesection {
    padding: 0px 0 var(--spacing-lg) 0;
    margin-top: -40px;
  }
  .aboutcirclescolumn p {
    font-size: 1rem;
  }
}

/* Start of Mini IPad Pro Screen */
@media screen and (max-width: 991.98px) and (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero .hero-heading {
    font-size: 35px;
    line-height: 44px;
  }
  .hero p {
    margin: 0.5rem 0 15px 0;
    font-size: 15px;
  }
  .hero p br {
    display: none;
  }
  .nextbutton {
    right: 300px;
  }
  .rahulpic {
    width: 90%;
  }
  .beforebox {
    width: 60%;
    margin-top: -100px;
    margin-right: 20px;
  }
  .sliderratingbox {
    width: 110px;
    height: 110px;
    margin-top: 5px;
  }
  .ratinglist {
    font-size: 12px;
  }
  .ratingcolor {
    font-size: 13px;
    padding-top: 2px;
  }
  #carouselExampleDark .carousel-inner .carousel-item img {
    margin-top: 0px;
  }
  .mainheading br {
    display: none;
  }

  /* Start of techniquessection */
  .techniquessection {
    padding: 2rem 0 2rem 0px;
  }
  .techniquesubheading {
    font-size: 16px;
    padding-bottom: 8px;
  }
  .mainheading {
    font-size: var(--font-lg);
  }
  .techniquessection p {
    font-size: 1rem;
  }
  .client-logo p {
    font-size: 1rem;
  }

  /* Start of servicesgrid section */
  .servicesgrid {
    display: flex;
    overflow-x: scroll;
    white-space: nowrap;
    gap: 5px;
    width: 100%;
    margin-top: 0px;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
  }
  .servicesgrid > * {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }
  .servicesgrid::-webkit-scrollbar {
    display: none;
  }
  .serviceitem {
    width: 45%;
    padding: 30px 12px 12px 12px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    margin: 10px 10px 10px 0px;
  }
  .serviceitem p {
    white-space: normal;
  }

  /* Start of tab section */
  .tabtext {
    padding: 0px 20px;
    margin-top: 0px;
  }
  .tabimage img {
    width: 100%;
    height: 400px;
    max-width: 400px;
    object-fit: cover;
  }
  .tab-content {
    max-width: 100%;
    min-height: 400px;
  }
  .tabtext .tabheading {
    font-size: 27px;
    margin-bottom: 5px;
  }
  .tabtext p {
    padding-bottom: 0px;
  }
  .tab-buttons {
    width: 100%;
    bottom: -80px;
  }
  .tabprev {
    left: 0px;
  }
  .tabnext {
    right: 0px;
  }
  .tab-content > .tab-pane.active {
    gap: 0px;
  }

  /* Start of quotesection */
  .quotesection {
    padding: var(--spacing-xl) 0px var(--spacing-xl) 0px;
  }
  .quoteicon {
    font-size: 100px;
    width: 100px;
  }
  .quotesrow {
    width: 90%;
  }
  .quotesection p {
    font-size: 18px;
  }

  /* Start of doctorsection */
  .specialist-section {
    padding: var(--spacing-lg);
  }
  .text-content .mainheading {
    padding-bottom: 10px;
  }
  .cards-container {
    display: flex;
    gap: 15px;
    overflow-x: unset;
    width: 100%;
    margin: 0 auto;
  }
  .card {
    flex: 0 0 calc(50% - 15px);
    min-width: 340px;
  }
  .consultationbtn {
    padding: 7px 10px;
    font-size: 14px;
    width: 60%;
  }
  .detailsbtn {
    padding: 7px 10px;
    font-size: 14px;
  }

  /* Start of aboutcirclesection */
  .aboutcirclesection {
    padding: 0px 0 var(--spacing-xl) 0;
    margin-top: -40px;
  }
  .aboutcirclescolumn p {
    font-size: 1rem;
  }
}

/* Start of Mini Ipad Screen */
@media screen and (max-width: 767px) and (min-width: 600px) {
  .sliderrow {
    display: block;
    grid-template-columns: unset;
    gap: unset;
    align-items: unset;
    text-align: center;
    margin-top: 5px;
  }
  .hero {
    background-color: var(--darkbluebg);
  }
  .hero .hero-heading {
    font-size: 35px;
    line-height: 40px;
  }
  .hero p {
    margin: 10px 0 10px 0;
    font-size: 1rem;
  }
  .hero p br {
    display: none;
  }
  .sliderratingbox {
    display: none;
  }
  .leftcolumn {
    margin-bottom: 1rem;
  }
  .beforebox {
    width: 70%;
    position: relative;
    margin-top: -80px;
    float: none;
    margin-right: auto;
    margin-left: auto;
  }
  .carousel-control-next,
  .carousel-control-prev {
    bottom: 0px;
    width: 10%;
  }
  .carousel-control-prev {
    right: 0px;
  }
  .schedulebtn {
    font-size: 16px;
  }
  .rahulpic {
    width: 100%;
    margin: 0 auto;
  }
  .rahulpic img {
    height: auto;
  }
  .prviousbutton {
    bottom: 5px;
    left: 0px;
  }
  .nextbutton {
    bottom: 5px;
    right: 0px;
  }

  /* Start of featured section */
  .featuredaward {
    padding: 0rem 0px;
  }
  .statitem {
    gap: 10px;
    padding: 11px;
    border-radius: 10px;
    margin-bottom: 12px;
  }
  .statcontent {
    margin-bottom: 0px;
  }
  .statitem .statcontent .subheading {
    margin-bottom: 0px;
  }
  .client-logo p {
    font-size: 16px;
  }
  .client-logo img {
    padding-top: 10px;
    padding-bottom: 12px;
    padding-left: 30px;
    padding-right: 30px;
  }
  .subheading {
    padding-bottom: 8px;
  }
  .mainheading br {
    display: none;
  }
  .techniquessection {
    padding: 1rem 0 0rem 0px;
  }
  .techniquesubheading {
    font-size: 16px;
    padding-bottom: 8px;
  }
  .mainheading {
    font-size: var(--font-md);
  }
  .techniquessection p {
    font-size: 1rem;
  }

  /* Start of servicesgrid section */
  .servicesgrid {
    display: flex;
    overflow-x: scroll;
    white-space: nowrap;
    gap: 5px;
    width: 100%;
    margin-top: 0px;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
  }
  .servicesgrid > * {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }
  .servicesgrid::-webkit-scrollbar {
    display: none;
  }
  .serviceitem {
    width: 45%;
    padding: 30px 12px 12px 12px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    margin: 10px 10px 10px 0px;
  }
  .serviceitem p {
    white-space: normal;
  }
  .techniquessection {
    padding: 1.5rem 0 1.5rem 0px;
  }
  .tabheadingbox {
    padding-top: var(--spacing-md);
  }
  .tabprev {
    display: none;
  }
  .tabnext {
    display: none;
  }
  .tabsection {
    padding-bottom: 0px;
    border-bottom: #ddd 1px solid;
  }
  .tab-content::before {
    display: none;
  }
  .tab-content::after {
    display: none;
  }
  .tab-btn {
    padding: 26px 15px;
  }
  .tab-content {
    max-width: 100%;
    margin: 0 auto;
    min-height: auto;
  }
  .tab-content > .tab-pane.active {
    display: grid;
    grid-template-columns: unset;
    gap: 0px;
    align-items: center;
  }
  .tabimage img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: cover;
  }
  .tabtext {
    padding: 10px 0 0 0px;
    margin-top: 0px;
  }
  .tabtext .tabheading {
    font-size: 24px;
    margin-bottom: 5px;
  }
  .tab-buttons {
    width: 110%;
    z-index: unset;
    margin: 25px 10px 0 -12px;
    bottom: unset;
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    gap: 0px;
    position: relative;
    padding-bottom: 0px;
    scroll-snap-type: x mandatory;
  }
  .tab-buttons::-webkit-scrollbar {
    display: none;
  }
  .quotesection {
    padding-top: 0rem;
    text-align: center;
  }
  .quotesrow {
    display: block;
    justify-content: unset;
    width: 100%;
    margin: 0 auto;
  }
  .quoteicon {
    font-size: 100px;
    text-align: center;
    margin-bottom: 1rem;
    width: auto;
    height: 70px;
    vertical-align: middle;
    line-height: unset;
    display: inline-block;
  }
  .quotesection p {
    text-align: center;
  }
  .quotesection p br {
    display: none;
  }
  .cards-container {
    gap: 22px;
    width: 100%;
    margin-top: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .card {
    flex: 0 0 48%;
    min-width: auto;
    padding: 10px;
    scroll-snap-align: start;
  }
  .card p {
    margin: 3px 0 15px 0px;
  }
  .card .drtitle {
    padding-bottom: 0px;
  }
  .badgebox {
    width: 75px;
    height: 60px;
    margin-bottom: 0px;
  }
  .aboutcirclescolumn p {
    font-size: 1rem;
  }

  /* Start of gallerysection */
  .gallerysection {
    padding-bottom: 50px;
  }
  .gallery-scroll-wrapper {
    overflow-x: auto;
    width: 100%;
  }
  .gallery-scroll-wrapper::-webkit-scrollbar {
    display: none;
  }
  .galleryrow {
    grid-template-columns: repeat(3, 80vw);
    grid-template-rows: repeat(2, auto);
    flex-wrap: nowrap;
    width: max-content;
  }
  .gallerycolumn img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
  }
  .aboutcirclescolumn {
    padding: var(--spacing-lg) 10px 30px 10px;
  }
  .aboutcirclesection {
    margin-top: -70px;
    margin-bottom: 0px;
    padding-bottom: 1rem;
  }
  .aboutcirclescolumn h2.mainheading {
    margin-bottom: 5px;
  }

  /* Start of doctorsection */
  .specialist-section {
    padding: var(--spacing-lg) 0px;
  }
  .text-content {
    margin-top: var(--spacing-sm);
    padding-right: 0px;
    text-align: center;
  }
  .text-content .mainheading {
    font-size: 30px;
  }
  .text-content p {
    margin: 0px 0 0px;
  }
  .card .drtitle {
    margin-top: 10px;
    font-size: 18px;
    line-height: 1.6;
  }
  .doctorsbox {
    display: block;
    gap: 0px;
    justify-content: unset;
  }
  .consultationbtn {
    width: 100%;
    display: block;
    margin-bottom: 10px;
  }
  .detailsbtn {
    width: 100%;
    display: block;
  }
  .card .drtitle span {
    font-size: 16px;
    display: block;
  }
  .nav-buttons {
    gap: 10px;
    margin-top: var(--spacing-md);
    justify-content: center;
    display: none;
  }
}

/* Start of Iphone/Mobile Screen */
@media screen and (max-width: 599.98px) and (min-width: 320px) {
  .another_card .patient_name{
    display: none;
  }

  .before_img .label, .after_img .label{
    font-size: 12px;
    width: 40px;
    height: 20px;
    bottom: 6px;
    left: 6px;
  }
  .label.after{
    left: 53%;
  }
  .sliderrow {
    display: block;
    grid-template-columns: unset;
    gap: unset;
    align-items: unset;
    text-align: center;
    margin-top: 5px;
  }
  .hero {
    background-color: var(--darkbluebg);
    overflow: hidden;
    padding-top: 80px;
  }
  .hero .hero-heading {
    font-size: 30px;
    line-height: 36px;
  }
  .hero p {
    margin: 10px 0 10px 0;
    font-size: 14px;
  }
  .hero p br {
    display: none;
  }
  .sliderratingbox {
    display: none;
  }
  .leftcolumn {
    margin-bottom: 1rem;
  }
  .beforebox {
    width: 70%;
    position: relative;
    margin-top: -80px;
    float: none;
    margin-right: auto;
    margin-left: auto;
  }
  .carousel-control-next,
  .carousel-control-prev {
    bottom: 0px;
    width: 10%;
  }
  .carousel-control-prev {
    right: 0px;
  }
  .schedulebtn {
    width: 90%;
    font-size: 15px;
  }
  .rahulpic {
    width: 90%;
    margin: 0 auto;
  }
  .rahulpic img {
    height: auto;
  }
  .prviousbutton {
    bottom: 5px;
    left: 0px;
  }
  .nextbutton {
    bottom: 5px;
    right: 0px;
  }

  /* Start of featured section */
  .featuredaward {
    padding: 0rem 0px 1rem 0px;
  }
  .statitem {
    gap: 10px;
    padding: 11px;
    border-radius: 10px;
    margin-bottom: 12px;
  }
  .statcontent {
    margin-bottom: 0px;
  }
  .statitem .statcontent .subheading {
    margin-bottom: 0px;
  }
  .client-logo p {
    font-size: 15px;
  }
  .client-logo img {
    padding-top: 10px;
    padding-bottom: 12px;
    padding-left: 30px;
    padding-right: 30px;
  }
  .subheading {
    padding-bottom: 8px;
  }
  .mainheading br {
    display: none;
  }
  .techniquessection {
    padding: 1rem 0 0rem 0px;
  }
  .techniquesubheading {
    font-size: 16px;
    padding-bottom: 8px;
  }
  .mainheading {
    font-size: var(--font-md);
  }
  .techniquessection p {
    font-size: 15px;
  }

  /* Start of servicesgrid section */
  .servicesgrid {
    display: flex;
    overflow-x: scroll;
    white-space: nowrap;
    gap: 5px;
    width: 100%;
    margin-top: 0px;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
  }
  .servicesgrid > * {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }
  .servicesgrid::-webkit-scrollbar {
    display: none;
  }
  .serviceitem {
    width: 85%;
    padding: 30px 12px 12px 12px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    margin: 10px 8px 10px 0px;
  }
  .serviceitem p {
    white-space: normal;
  }
  .techniquessection {
    padding: 1rem 0 1rem 0px;
  }
  .tabheadingbox {
    padding-top: var(--spacing-md);
  }
  .tabprev {
    display: none;
  }
  .tabnext {
    display: none;
  }
  .tabsection {
    padding-bottom: 0px;
    border-bottom: #ddd 1px solid;
  }
  .tab-content::before {
    display: none;
  }
  .tab-content::after {
    display: none;
  }
  .tabtext p {
    font-size: 15px;
  }
  .tab-btn {
    padding: 26px 15px;
    font-size: 15px;
  }
  .tab-content {
    max-width: 100%;
    margin: 0 auto;
    min-height: auto;
  }
  .tab-content > .tab-pane.active {
    display: grid;
    grid-template-columns: unset;
    gap: 0px;
    align-items: center;
  }
  .tabimage img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: cover;
  }
  .tabtext {
    padding: 10px 0 0 0px;
    margin-top: 0px;
  }
  .tabtext .tabheading {
    font-size: 24px;
    margin-bottom: 5px;
  }
  .tab-buttons {
    width: 110%;
    z-index: unset;
    margin: 25px 10px 0 -12px;
    bottom: unset;
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    gap: 0px;
    position: relative;
    padding-bottom: 0px;
    scroll-snap-type: x mandatory;
  }
  .tab-buttons::-webkit-scrollbar {
    display: none;
  }
  .quotesection {
    padding-top: 0rem;
    text-align: center;
  }
  .quotesrow {
    display: block;
    justify-content: unset;
    width: 100%;
    margin: 0 auto;
  }
  .quoteicon {
    font-size: 100px;
    text-align: center;
    margin-bottom: 1rem;
    width: auto;
    height: 70px;
    vertical-align: middle;
    line-height: unset;
    display: inline-block;
  }
  .quotesection p {
    text-align: center;
  }
  .quotesection p br {
    display: none;
  }
  .cards-container {
    gap: 10px;
    width: 100%;
    margin-top: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .card {
    flex: 0 0 85%;
    min-width: auto;
    padding: 10px;
    scroll-snap-align: start;
  }
  .badgebox {
    width: 75px;
    height: 60px;
    margin-bottom: 0px;
  }
  .aboutcirclescolumn p {
    font-size: 15px;
  }
  .card p {
    font-size: 15px;
  }
  .text-content p {
    font-size: 15px;
  }

  /* Start of gallerysection */
  .gallerysection {
    padding-bottom: 50px;
  }
  .gallery-scroll-wrapper {
    overflow-x: auto;
    width: 100%;
  }
  .gallery-scroll-wrapper::-webkit-scrollbar {
    display: none;
  }
  .galleryrow {
    grid-template-columns: repeat(3, 80vw);
    grid-template-rows: repeat(2, auto);
    flex-wrap: nowrap;
    width: max-content;
  }
  .gallerycolumn img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
  }
  .aboutcirclescolumn {
    padding: var(--spacing-lg) 10px 30px 10px;
  }
  .aboutcirclesection {
    margin-top: -70px;
    margin-bottom: 0px;
    padding-bottom: 1rem;
  }
  .aboutcirclescolumn h2.mainheading {
    margin-bottom: 5px;
  }

  /* Start of doctorsection */
  .specialist-section {
    padding: var(--spacing-md) 0px;
  }
  .text-content {
    margin-top: var(--spacing-sm);
    padding-right: 0px;
    text-align: center;
  }
  .text-content .mainheading {
    font-size: 24px;
  }
  .text-content p {
    margin: 0px 0 0px;
  }
  .card .drtitle {
    margin-top: 10px;
    font-size: 18px;
    line-height: 1.6;
  }
  .doctorsbox {
    display: block;
    gap: 0px;
    justify-content: unset;
  }
  .consultationbtn {
    width: 100%;
    display: block;
    margin-bottom: 10px;
  }
  .detailsbtn {
    width: 100%;
    display: block;
  }
  .card .drtitle span {
    font-size: 15px;
    display: block;
  }
  .nav-buttons {
    gap: 10px;
    margin-top: var(--spacing-md);
    justify-content: center;
    display: none;
  }
}
