body {
  overflow-x: hidden;
}
.container {
  max-width: 1300px;
}
.comm-padd {
  padding-top: 100px;
  padding-bottom: 100px;
}
.d-right h2 {
  color: #fff;
  font-size: 72px;
  margin-bottom: 40px;
  line-height: normal;
}
.d-right .title-h2 p {
  font-size: 20px;
  color: #fff;
}

.dental-img-wrap {
  width: 100%;
  height: 500px;
}

.dental-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.d-left {
  padding-left: 140px;
}
.rotated-text {
  width: fit-content;
  text-align: center;
  font-size: 120px;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px #fff;
  cursor: pointer;
  position: absolute;
  transform: rotate(-90deg);
  left: -40px;
  top: 50%;
}
.d-right {
  padding-left: 60px;
}
.qus-ans-sec {
  background-color: #fff6e3;
}
.qus-ans-card {
  background-color: #fff;
  padding: 40px 40px;
}

.qus-ans-card h6 {
  color: #cd8d05;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-weight: 500;
}

.qus-ans-card h3 {
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 26px;
  line-height: normal;
  margin-bottom: 20px;
}

.qus-ans-card .read-time {
  color: rgb(22 69 112);
  font-size: 18px;
  margin-bottom: 15px;
}
.qus-ans-card p {
  color: #0c2d62;
  font-size: 16px;
}
.qus-ans-sec .col-lg-6,
.qus-ans-sec .col-lg-3 {
  margin-bottom: 20px;
}
.qus-ans-sec::after {
  background: url(../../assets/images/shape-a.svg);
  bottom: 0;
  content: "";
  height: 280px;
  left: 0;
  position: absolute;
  right: 0;
  background-repeat: no-repeat;
  z-index: 1;
  background-size: cover;
}
.qus-ans-sec .container {
  position: relative;
  z-index: 2;
}
.dental-section {
  background-color: #0c2d62;
  position: relative;
}
.dental-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 20%;
  background-color: #fff;
}
.dental-section .container {
  position: relative;
  z-index: 1;
}
.qus-border-box {
  background-color: #f9f4f1;
}
.border-box-row {
  border: 1px solid #dcccc1;
  margin: 0px 40px;
  padding: 0px 3px;
  padding-top: 40px;
  border-top: none;
}
.border-box-row .col-lg-6 .qus-border-col {
  border-left: 1px solid #dcccc1;
  border-right: 1px solid #dcccc1;
  border-top: 1px solid #dcccc1;
  padding: 30px 30px;
}
.border-box-row .col-lg-6 {
  padding: 0px 1px;
}

.qus-border-col h3 {
  color: #d7b56d;
  font-weight: 400;
}

.bottom-of-the-text span {
  color: #0c2d62;
  font-size: 20px;
}

.bottom-of-the-text {
  margin-top: 65px;
}
.border-box-row .col-lg-6 .qus-border-col:hover h3 {
  color: #ffa800;
}
.text-scroll-wrap {
  background-color: #0c2d62;
}
.scroll-tab-content {
  height: 700px;
  overflow-y: scroll;
  background-color: #fff;
  padding: 20px;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1), 5px 20px 40px rgba(0, 0, 0, 0.2);
}
.scroll-img-right {
  height: 100%;
  display: flex;
  align-items: center;
}

.scroll-tab-content::-webkit-scrollbar-track, .text-scroll-row ul::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: #fff;
}

.scroll-tab-content::-webkit-scrollbar, .text-scroll-row ul::-webkit-scrollbar {
  width: 6px;
  background-color: #fff;
}

.scroll-tab-content::-webkit-scrollbar-thumb, .text-scroll-row ul::-webkit-scrollbar-thumb {
  background-color: #0c2d62;
}
.text-scroll-row ul {
  list-style: none;
  padding-top: 60px;
  height: 700px;
  overflow: auto;
  margin: 0;
}
.text-scroll-row ul li {
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 30px;
}

a.know_more_serv {
  color: #2a4775;
  text-align: center !important;
  font-weight: 600;
}

h6.know_more_serv {
  text-align: center;
  color: #1c4a74;
  font-family: "DM Sans";
  text-transform: capitalize;
  font-weight: 400;
}
.dental-section {
  margin-bottom: 100px;
}
/* .section-head .sx-separator-outer.separator-center .sep-line-one,
.section-head .sx-separator-outer.separator-center .sep-line-one span {
  overflow: hidden;
} */

@media only screen and (max-width: 1280px) {
  .d-right {
    padding-left: 0px;
  }
  .d-right h2 {
    margin-bottom: 20px;
    font-size: 45px;
  }
  .comm-padd {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  .dental-section {
    margin-bottom: 50px;
  }
  .qus-ans-card {
    padding: 22px 22px;
  }
  .text-scroll-row ul {
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media only screen and (max-width: 992px) {
  .text-scroll-row ul li {
    text-align: center;
  }
  .scroll-img-right {
    margin-top: 20px;
  }
  .text-scroll-wrap {
    padding-bottom: 30px !important;
  }
  .border-box-row h3 {
    font-size: 26px;
  }
  .sx-separator:after {
    font-size: 62px;
  }
  .bottom-of-the-text {
    margin-top: 30px;
  }
  .d-right .title-h2 p {
    font-size: 18px;
  }
}

@media only screen and (max-width: 768px) {
  .border-box-row h3 {
    font-size: 24px;
    line-height: 1.5;
  }
  .rotated-text {
    font-size: 74px;
    left: 12px;
    top: 50%;
  }
  .text-scroll-row ul li {
    margin-bottom: 20px;
  }
  .dental-section::after {
    height: 0%;
  }
  .d-right {
    padding-top: 30px;
  }
}
@media only screen and (max-width: 578px) {
  .d-left {
    padding-left: 70px;
  }
  .rotated-text {
    left: -50px;
    top: 50%;
  }
  .border-box-row {
    margin: 0px 10px;
  }
  .border-box-row .col-lg-6 .qus-border-col {
    padding: 20px 20px;
  }
  .d-right h2 {
    font-size: 38px;
  }
}
