* {
  margin: 0;
  padding: 0;
  outline: none;
  font-family: "Poppins", sans-serif;
  text-decoration: none;
}
html {
  scroll-behavior: smooth;
}
::-webkit-scrollbar {
  width: 5px;
  background-color: #ffffff;
}
::-webkit-scrollbar-thumb {
  background-color: #70cead;
  border-radius: 100px;
}
::-webkit-scrollbar-track {
  border-radius: 100px;
  background-color: #ffffff;
}
.btn {
  border: none;
  background-color: #7ce4bf;
  color: #ffffff;
  padding: 15px 20px;
}

body {
  overflow-x: hidden;
  /* overflow-y: scroll; */
  /* scroll-snap-type: y mandatory; */
}

/* .homePage {
  position: relative;
  width: 100%;
  height: 90px;
  background-color: #ffffff;
  overflow: hidden;
  scroll-snap-align: start;
} */
.header {
  position: absolute;
  background-color: transparent;
  right: 0;
  top: 0;
  left: 0;
  height: 90px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.4s;
  z-index: 50;
}
#logo {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.6s ease, opacity 1s ease;
}
.hamburger {
  width: 40px;
  background-color: transparent;
  display: none;
  cursor: pointer;
}
.ham {
  width: 100%;
  height: 4px;
  background-color: #ffffff;
  margin: 2px 0;
  float: right;
  border-radius: 50px;
}
#ham1 {
  width: 60%;
}
#ham2 {
  width: 70%;
}
#ham3 {
  width: 40%;
}
.close {
  width: 30px;
  height: 30px;
  background-color: transparent;
  position: fixed;
  top: 35px;
  right: 25px;
  display: none;
  cursor: pointer;
}
.closebtn {
  width: 100%;
  height: 3px;
  margin: 4px 0;
  background-color: #70cead;
  border-radius: 100px;
}
#cb1 {
  transform: rotate(45deg) translateY(5px);
}
#cb2 {
  transform: rotate(-45deg) translateY(-5px);
}
.inner {
  width: 95%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.4s;
}
.header a {
  color: #67bb9d;
  margin: 0 25px;
  font-weight: 300;
  font-size: 15px;
}
.h_scroll {
  background-color: #ffffff;
  box-shadow: 2px 2px 10px #00000013;
  position: fixed;
}
.h_scroll #logo {
  opacity: 1;
  transform: translateX(0px);
}
.h_scroll .inner {
  width: 88%;
}
.h_scroll .ham {
  background: linear-gradient(to left, #6bc4a5, #7ce4bf);
  background-size: 300% 300%;
}
.h_scroll .logo_container {
  height: 100%;
  width: 110px;
  overflow: hidden;
  background-color: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.h_scroll .logo_container img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}
/* Slider Starts Here */
.slider {
  position: relative;
  top: 0;
  overflow: hidden;
  height: calc(70vh);
  width: 100%;
}
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
  /* display: flex;
  justify-content: center;
  align-items: center; */
  box-shadow: inset 0px -5px 10px #00000025;
}
.slide.current {
  opacity: 1;
}

.slide .contente {
  position: absolute;
  top: 50%;
  left: 120px;
  transform: translateY(-50%);
  min-height: 280px;
  width: 400px;
  padding: 40px;
  background-color: #ffffff;
  color: #404040;
  opacity: 0;
  transition: transform 0.8s ease, opacity 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  overflow: hidden;
  border-radius: 3px;
  box-shadow: 2px 2px 10px #00000031;
  background-image: url("../resources/backCon.png");
  background-repeat: no-repeat;
  background-size: contain;
}
.slide .contente h1 {
  /* margin-bottom: 10px; */
  font-weight: 800;
  text-align: left;
  font-size: 20px;
  padding: 10px 0;
}
.slide .contente p {
  text-align: center;
  font-weight: 200;
}

.slide.current .contente {
  /* transform: translateY(0px); */
  opacity: 1;
}
.slider_container .btn_container .btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 50px;
  width: 50px;
  outline: none;
  border: none;
  padding: 10px;
  background-color: transparent;
  color: #0000008c;
  cursor: pointer;
  transition: all 0.4s;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 50px;
  border-radius: 50px;
  opacity: 0;
}
.slider_container:hover .btn_container .btn {
  opacity: 1;
}
.slider_container .btn_container .btn:hover {
  /* background-color: #000000a4; */
  color: #000000c0;
}
#next {
  right: 20px;
  /* border-radius: 100px 0 0 100px; */
  /* background: linear-gradient(to left, #00000050, #00000000); */
}
#prev {
  left: 20px;
  /* border-radius: 0 100px 100px 0; */
  /* background: linear-gradient(to right, #00000050, #00000000); */
}

/* Slider Ends Here */
.contente .btn{
  position: absolute;
  bottom: 0;
  padding: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 50px;
  cursor: pointer;
  background-color: #70cead;
  transition: all .4s;
}
#bme {
  position: absolute;
  bottom: 20%;
  right: 7%;
  width: 27%;
}
#AD {
  position: relative;
}
.AD {
  position: absolute;
  top: 58%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 100px;
  width: 300px;
  height: 65px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 1px;
  background: linear-gradient(-120deg, #5db8b2, #7ce4bf);
  background-size: 400%;
  box-shadow: 2px 2px 10px #7ce4c071;
  cursor: pointer;
  transition: all 0.4s;
}
.AD:hover {
  top: 56.9%;
  background-size: 200%;
  box-shadow: 5px 5px 10px #7ce4c0d5;
}
.circle {
  /* clip-path: circle(50% at 0 0); */
  clip-path: circle(96.9% at 5% 80%);
  height: 100%;
  width: 70%;
  background: linear-gradient(-30deg, #5db8b2e7, #7ce4bf),
    url("http://dentalnewspk.com/wp-content/uploads/2017/04/Dentists-instruments.jpg");
  /* background-position: 65% 100%; */
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: moveImg 35s infinite ease;
  transition: clip-path 0.4s;
}
#logo_c {
  transform: translateX(-100px);
  transition: all 0.4s;
}
.active {
  background-color: #ffffff;
  background-size: 200% 200%;
  color: #ffffff;
  padding: 8px 25px;
  box-shadow: 2px 0px 10px #00000021;
  border-radius: 50px;
}

@keyframes moveImg {
  0% {
    background-position-x: 0;
  }
  50% {
    background-position-x: -100px;
  }
  100% {
    background-position-x: 0px;
  }
}

.Services {
  position: relative;
  width: 100%;
  min-height: calc(100vh);
  /* scroll-snap-align: start; */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  overflow: hidden;
  background-color: #ffffff;
}
.container {
  width: 80%;
  background-color: transparent;
  min-height: calc(100vh);
}
.grid3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  justify-items: center;
  grid-row-gap: 0px;
}
.grid3 .box {
  background-color: #ffffff;
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.Services .container .box:last-child {
  position: relative;
}
.Services .container .box:last-child .AD {
  font-size: 13px;
  letter-spacing: 0;
  top: 50%;
  width: 200px;
  font-size: 15px;
}
.Services .container .box:last-child .AD:hover {
  top: 48.6%;
}
.Services .container .box:last-child i {
  font-size: 15px;
  padding-left: 8px;
}
.content_b {
  width: 90%;
  height: 300px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border-radius: 2.5px;
  box-shadow: 5px 5px 20px #00000031;
  background-color: #f1f1f1;
  cursor: pointer;
  transition: all 0.3s ease;
}
.content_b img {
  object-fit: cover;
  height: 65%;
}
.content_b .text {
  /* padding: 20px; */
  background-color: #ffffff;
  height: 35%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 30px;
}
.content_b .text .h {
  font-weight: 700;
  color: #4aa09a;
  padding-bottom: 10px;
  font-size: 16px;
  text-transform: uppercase;
}
.content_b .text .p {
  font-weight: 300;
  font-size: 12px;
  color: #808080;
}
.content_b:hover {
  transform: translateY(-5px);
  box-shadow: 8px 5px 20px #0000003b;
}
.content_b:active {
  transform: translateY(0px);
  box-shadow: 5px 5px 20px #00000031;
  transition: all 0s;
}
.section {
  width: 100%;
  min-height: 100vh;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.container8 {
  width: 80%;
  height: 85%;
}

.CF {
  margin: 30px 0;
  background: linear-gradient(45deg, #70cead, #5db8b2);
  background-size: 300% 300%;
  cursor: pointer;
  transition: all 0.4s;
  border-radius: 100px;
  padding: 15px 40px;
}
.CF:hover {
  background-size: 100% 100%;
  transform: translateY(-2px);
  box-shadow: 2px 2px 10px #70cead9a;
}
.CF:active {
  background-size: 100% 100%;
  transform: translateY(0px);
  box-shadow: none;
  transition: all 0s;
}
.welcome img {
  float: right;
  height: 300px;
  width: 400px;
  object-fit: cover;
  margin: 20px;
  margin-left: 50px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0px 0px 20px #325f4942;
  border: 8px solid #ffffff;
  transition: transform 0.4s, box-shadow 0.5s;
}
.welcome img:hover {
  transform: scale(1.03);
  box-shadow: 0px 0px 20px #325f497a;
}
.welcome h1 {
  color: #62b699;
}
.headd {
  font-size: 20px;
  padding: 20px 0;
}
.welcome h5 {
  font-size: 13px;
  font-weight: 400;
  font-style: italic;
  color: #3f8a6fa4;
  text-transform: uppercase;
}
.welcome p {
  font-weight: 400;
  text-align: justify;
  color: #949494;
  font-size: 15px;
}
.welcome {
  background-color: transparent;
  position: relative;
}
.overlay {
  color: #cfcfcf25;
  position: absolute;
  top: 42%;
  left: 40%;
  z-index: -8;
  transform: translate(-50%, -50%);
  font-size: 150px;
  line-height: 120px;
}
.overlay span:last-child {
  padding-left: 180px;
}
.serv {
  margin-top: 120px;
  width: 100%;
}
.containerN {
  width: 80%;
  margin: 0 auto;
  height: 100%;
}
.serv .img {
  overflow: hidden;
  width: 90%;
  height: 90%;
  margin: auto;
  border-radius: 2.5px;
}
.serv .img:hover img {
  transform: scale(1.1);
}
.serv .img img {
  object-fit: cover;
  height: 100%;
  width: 100%;
  transition: all 0.4s;
}
.ser_box {
  display: grid;
  margin: 80px 0;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 20px;
  justify-items: center;
  align-items: center;
}
.serv .text p {
  color: #686868;
  font-size: 14px;
}
.serv strong {
  font-size: 25px;
  color: #6bc4a5;
}
.serv .tag {
  font-style: italic;
  text-transform: uppercase;
  font-size: 12px;
  color: #569c84cb;
}
.serv .text ul {
  padding-left: 40px;
  font-size: 14px;
  color: #818181;
}
.light {
  font-weight: 600;
}

.headImg {
  width: 100%;
  height: 400px;
  background: linear-gradient(40deg, #7ce4c0dc, #6bc4a5e5),
    url("../resources/headerIMG.png");
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: inset 0px -5px 10px #00000017;
}
.headImg h1 {
  color: #7ce4bf;
  padding: 20px 40px;
  transform: translateY(40px);
  letter-spacing: 1px;
  font-weight: 200;
  font-size: 40px;
  background-color: #ffffff;
  box-shadow: 2px 2px 10px #00000017;
}
.imgser {
  display: flex;
  justify-content: center;
  align-items: center;
}
.imgser img {
  height: 100%;
  width: 50%;
  object-fit: contain;
}
.line {
  width: 100%;
  height: 1px;
  background-color: #03030327;
  margin: 40px 0;
}
.img_cont {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  margin: 50px 0;
  grid-gap: 40px;
}
.img_cont img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 2px 2px 10px #00000033;
}
.abouts {
  margin-bottom: 50px;
}
.team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  justify-items: center;
  align-items: center;
  margin: 50px 0;
  grid-row-gap: 50px;
}
.team .t_box {
  overflow: hidden;
  background-color: #ffffff;
  width: 90%;
  height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0px 0px 10px #00000021;
  border-radius: 3px;
  border: 1px dashed #0000001f;
}
.team .t_box .pic {
  overflow: hidden;
  width: 150px;
  height: 150px;
  border-radius: 100%;
  border: 10px solid #ffffff;
  box-shadow: 0px 0px 10px #00000031;
}
.team .t_box .pic img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.team .t_box .name {
  font-size: 18px;
  font-weight: 600;
  color: #67bb9d;
  padding: 10px 20px;
  text-align: center;
  text-transform: capitalize;
}
.team .t_box .details {
  text-align: center;
  font-size: 13px;
  padding: 10px 40px;
  color: #656565;
}
.page {
  width: 100%;
  min-height: 80vh;
  background-color: transparent;
  margin: 120px 0;
  margin-bottom: 40px;
}
.wide {
  width: 200%;
  height: 450px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.wide .t_box {
  transform: translateX(-0%);
  animation: carousel 50s linear infinite;
  margin: 0 20px;
}
.wide:hover .t_box {
  animation-play-state: paused;
}
.cc {
  overflow-x: hidden;
}
@keyframes carousel {
  0% {
    transform: translateX(-0%);
  }
  2% {
    transform: translateX(-0%);
  }
  50% {
    transform: translateX(-400%);
  }
  98% {
    transform: translateX(-0%);
  }
  100% {
    transform: translateX(-0%);
  }
}
.inside {
  width: 80%;
  margin: 0 auto;
  height: 90%;
  background-color: transparent;
}
.contact {
  min-height: calc(100vh);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  background-color: #ffffff;
}
.inside h1 {
  margin: 50px 0;
  font-size: 40px;
  color: #70cead;
}
.content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  justify-items: center;
  align-items: center;
  grid-row-gap: 50px;
}
.content .maps {
  width: 100%;
}
.info_text strong {
  color: #303030;
}
.info_text p {
  font-size: 14px;
  color: #606060;
  background-color: transparent;
  width: 400px;
}
.info_text p .p {
  display: flex;
  justify-content: space-between;
}
.info_text p .p .l {
  font-weight: 600;
  background-color: transparent;
}
.info_text p .p .r {
  background-color: transparent;
}
.links {
  display: flex;
  flex-direction: column;
  justify-items: center;
  align-items: center;
  background-color: transparent;
  margin: 20px 0;
  background-color: transparent;
}
.links .ext_lin {
  display: flex;
  align-items: center;
  justify-content: start;
  margin: 10px 0;
  width: 100%;
  background-color: transparent;
}
.ext_lin i {
  margin: 0 20px;
  background: linear-gradient(#7ce4bf, #67bb9d);
  background-size: 200% 200%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  border-radius: 100px;
}
.footer {
  background: linear-gradient(30deg, #151515f5, #202020f5),
    url("../resources/oc1.png");
  height: 120px;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  box-shadow: inset 0px 2px 10px #0000006e;
}
.innerf {
  width: 85%;
  height: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer p {
  color: #ffffffa4;
  font-size: 13px;
  font-weight: 300;
}
.footer a {
  color: #ffffff71;
  border-bottom: 1px dotted #ffffff28;
  padding: 0 5px;
  transition: all 0.4s;
}
.footer:hover a {
  color: #7ce4c0b2;
}
/*  







Media Query Starts  






*/
@media (max-width: 1300px) {
  .wide {
    width: 100%;
    height: 100%;
    position: relative;
    display: grid;
    justify-content: center;
    align-items: center;
  }
  .wide .t_box {
    transform: translateX(-0%);
    animation: none;
    margin: 0 20px;
  }
  .cc {
    overflow-x: unset;
  }
}
@media (max-width: 1250px) {
  .content {
    justify-items: left;
  }
}
@media (max-width: 1500px) {
  .circle {
    animation-duration: 35s;
    clip-path: circle(88% at 5% 80%);
  }
  #logo_c {
    height: 320px;
    transform: translate(-100px, 20px);
  }
  .grid3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  .content_b {
    box-shadow: 2px 2px 10px #00000017;
  }
  .content_b:hover {
    box-shadow: 2px 2px 20px #0000001c;
  }
}

@media (max-width: 1500px) and (max-height: 800px) {
  #bme {
    position: absolute;
    bottom: 11%;
    right: 7%;
    width: 27%;
  }
}
@media (max-height: 740px) {
  .content_b {
    height: 70%;
  }
  .grid3 {
    grid-row-gap: 0px;
  }
  .content_b {
    height: 90%;
  }
  .box:last-child,
  .box:first-child svg {
    padding: 50px 0;
  }
}

@media (max-width: 600px) and (max-height: 1000px) {
  .Services {
    margin-top: 40px;
  }
  .grid3 {
    grid-row-gap: 20px;
  }
}
@media (max-width: 640px) {
  .content {
    display: block;
  }
  .maps {
    margin-bottom: 50px;
  }
  .hopened {
    width: 100%;
  }
  .info_text p {
    width: 100%;
    font-size: 10px;
  }
  .ext_lin i {
    font-size: 8px;
    margin: 0 10px;
    height: 27px;
    width: 30px;
    border-radius: 100%;
  }
  .slide .contente {
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    background-color: #ffffffe0;
    background-image: none;
  }
}
@media (max-width: 500px) {
  .content_b {
    width: 100%;
  }
  .welcome img {
    width: 90%;
  }
  .headd::after {
    width: 100%;
    margin: 10px 0;
  }
  .welcome p {
    font-size: 13px;
  }
  .overlay {
    font-size: 100px;
    left: 50%;
    top: 30%;
  }
  .overlay span:last-child {
    padding: 0;
  }
  .serv .img {
    width: 100%;
  }
  .headImg h1 {
    font-size: 20px;
    font-weight: 400;
  }
  .imgser img {
    height: 100%;
    width: 100%;
    object-fit: contain;
  }
  .img_cont {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}
@media (max-width: 1200px) {
  .circle {
    animation-duration: 35s;
    clip-path: circle(75% at 5% 70%);
  }
  .header a {
    color: #70cead;
    margin: 0 20px;
    font-weight: 300;
    font-size: 13px;
  }
  .AD {
    height: 55px;
    width: 200px;
    font-size: 13px;
  }
  #logo_c {
    height: 250px;
    transform: translate(-100px, 40px);
  }
}

@media (max-width: 920px) {
  .circle {
    clip-path: none;
    width: 100%;
    background-size: cover;
    animation: none;
  }
  .homePage #bme_btn {
    display: none;
  }
  .homePage #bme {
    position: absolute;
    bottom: 120px;
    left: 0;
    right: 0;
    width: 80%;
    margin: 0 auto;
  }
  .homePage .AD {
    background: #ffffff;
    color: #4aa09a;
    width: 100%;
    height: 60px;
    font-size: 15px;
    text-transform: uppercase;
    border-radius: 50px;
  }
  #logo_c {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .header a {
    color: #4aa09a;
  }
  .header .nav_container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: fixed;
    z-index: 51;
    background-color: #ffffff;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
  }
  .close {
    display: block;
  }
  .header a {
    margin: 12px 0;
    text-transform: uppercase;
  }
  .inner {
    width: 88%;
  }
  .hamburger {
    display: block;
  }
}
@media (max-width: 400px) {
  #logo_c {
    height: 220px;
  }
  .homePage .AD {
    height: 55px;
    width: 230px;
    font-size: 13px;
  }
  .grid3 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  .grid3 .content_b .h {
    width: 100%;
  }
  .grid3 .content_b .p {
    font-size: 10px;
    width: 80%;
    margin: 0 auto;
  }
  .grid3 .content_b .text {
    padding: 0;
    text-align: center;
  }
}
@media (max-width: 321px) {
  #logo_c {
    height: 180px;
  }
  .ser_box {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .team {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
  .content {
    grid-template-columns: (auto-fit, minmax(150px, 1fr));
  }
}
