@import url("https://fonts.googleapis.com/css?family=Open+Sans:300,600");
@import url("https://fonts.googleapis.com/css?family=Muli:300,400,700&display=swap&subset=latin-ext");
html {
  scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Muli", sans-serif;
}

.scrollUp {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 50px;
  height: 50px;
  background: linear-gradient(#599c29, #396619);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  border-top-left-radius: 50%;
  z-index: 10;
  box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.2);
}

.scrollUp:hover {
  color: #fff;
  opacity: 0.8;
}

a {
  text-decoration: none;
  transition: all 250ms linear;
}

a:hover {
  text-decoration: none;
  opacity: 0.9;
}

.btn {
  border-radius: 0.35rem;
  border-radius: 12.35rem;
  padding: 0.3rem 1.5rem;
}

.btn-success {
  background: #599c29;
  border: #599c29;
}

.btn-success::hover {
  background: #396619 !important;
  border: #396619 !important;
}

.btn-primary {
  background: #2e9dd2;
  border: #2e9dd2;
}

.btn-primary::hover {
  background: #2e9dd2;
  background: #207197;
}

*,
*::after,
*::content {
  box-sizing: border-box;
}

body {
  font-family: "Open Sans", sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.6;
  background: #fff;
  font-smooth: always;
  font-smooth: 2em;
}

p {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.7);
}

.toper {
  padding: 10px 0;
  background: #f8f9fb;
  font-size: 1.1rem;
}

.toper .uil {
  color: #599c29;
  font-size: 1.5rem;
}

.nav {
  background-color: #fff;
  padding: 30px 0;
}

.nav__btn {
  color: #fff;
  background: #599c29;
  border: none;
  font-size: 1.2rem;
}

.nav .row {
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-family: "Muli", sans-serif;
  font-size: 1.7rem;
}

.nav__logo b {
  color: #599c29;
}

.nav a {
  color: rgba(0, 0, 0, 0.8);
}

.nav__menu {
  position: relative;
  margin: 0;
  padding: 0;
  list-style-type: none;
  display: flex;
  margin-top: -5px;
}

.nav__menu li {
  cursor: pointer;
  margin-left: 15px;
}

.nav__menu li ul {
  position: absolute;
  list-style-type: none;
  margin: 0;
  padding: 15px;
  transform: translate(5px);
  background: #fff;
  transform: translate(-10px, 0);
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.nav__menu li ul li {
  margin: 10px 0;
}

.nav__menu a {
  font-weight: 600;
  padding-bottom: 5px;
  padding-left: 5px;
  padding-right: 5px;
  border-bottom: solid 2px transparent;
}

.nav__menu a:hover {
  border-bottom: solid 2px #599c29;
}

@media (max-width: 768px) {
  .nav {
    padding-left: 15px;
    padding-right: 15px;
  }
  .nav__menu {
    margin: 0;
    padding: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 20px;
  }
  .nav__menu li {
    margin: 10px 0;
    text-align: center;
  }
  .nav__menu li ul {
    position: relative;
    border-radius: 0;
    width: 100%;
    transform: translate(0, 0);
    margin-top: 15px;
    border-top: solid 1px rgba(0, 0, 0, 0.2);
    border-bottom: solid 1px rgba(0, 0, 0, 0.2);
    padding: 0;
  }
  .nav__menu li ul li {
    margin: 20px 0;
  }
}

.slider {
  position: relative;
  width: 100%;
  background: #2e9dd2;
  height: 75vh;
  overflow: hidden;
}

.slider__doter {
  position: absolute;
  top: 42%;
  right: 10px;
  z-index: 5;
  list-style-type: none;
}

.slider__doter li {
  width: 20px;
  height: 20px;
  border: solid 3px #fff;
  margin: 10px 0;
  border-radius: 50%;
  list-style-type: none;
  cursor: pointer;
  filter: drop-shadow(1px 1px 10px #000);
}

.slider__doter--active {
  background: #599c29;
  border: solid 3px #599c29 !important;
  width: 50px;
}

.slider p {
  color: #fff;
}

.slider__item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  color: #fff;
  display: none;
}

.slider__item--active {
  display: block;
}

.slider__item__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  object-position: center center !important;
  z-index: 1;
  opacity: 0.3;
  animation: fadeInSlider 1s linear;
  animation-fill-mode: forwards;
}

.slider__item__content {
  position: relative;
  z-index: 2;
  text-align: center;
  opacity: 0;
  animation: fadeInUp 500ms ease-in;
  animation-delay: 300ms;
  animation-fill-mode: forwards;
}

@media (max-width: 768px) {
  .slider .display-4 {
    font-size: 2.5rem;
  }
  .slider__doter {
    display: none;
  }
}

.boxes {
  position: relative;
  z-index: 4;
  background: #f8f9fb;
  padding-bottom: 50px;
}

.boxes__container {
  transform: translate(0, -30px);
}

.boxes .row {
  gap: 6px;
}

.boxes__item {
  width: calc(33% - 3px);
  padding: 15px;
  color: #fff;
  opacity: 0;
  animation-fill-mode: forwards;
}

.boxes__item a {
  color: #fff;
}

.boxes__item a:hover {
  opacity: 0.9;
}

.boxes__item p {
  font-size: 15px;
  text-align: justify;
  margin: 20px 0;
}

.boxes__item h3 {
  font-size: 1.75rem;
}

.boxes__item:nth-child(1) {
  background: #ffffff;
  color: #000;
}

.boxes__item:nth-child(1) a {
  color: #000;
}

.boxes__item:nth-child(2) {
  background: linear-gradient(#2e9dd2, #207197);
}

.boxes__item:nth-child(2) p {
  color: rgba(255, 255, 255, 0.7);
}

.boxes__item:nth-child(3) {
  background: linear-gradient(#599c29, #396619);
}

.boxes__item:nth-child(3) p {
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
  .boxes__container {
    transform: translate(0, 0);
  }
  .boxes .row {
    gap: 0;
  }
  .boxes__item {
    width: 100%;
  }
}

.about {
  position: relative;
  padding-top: 50px;
  padding-bottom: 100px;
  background: #f8f9fb;
}

.about .about__content,
.about .about__img {
  opacity: 0;
  animation-fill-mode: forwards;
}

.about h1:after,
.about h2:after,
.about h3:after,
.about h4:after,
.about h5:after,
.about h6:after {
  content: "";
  width: 50px;
  border-radius: 5px;
  height: 3px;
  margin: 15px 0;
  background: #599c29;
  display: block;
}

.about p {
  text-align: justify;
}

.about .abouttitle {
  position: absolute;
  z-index: 1;
  font-size: 10vh;
  font-weight: bold;
  top: 45%;
  right: 10px;
  padding: 0;
  margin: 0;
  color: #333;
  opacity: 0.1;
  line-height: 1.5;
  transform: rotate(-90deg);
  font-family: "Roboto Slab", serif;
}

.about .abouttitle::after {
  content: "";
  width: 40px;
  height: 10px;
  margin-left: 5px;
  background: #333;
  display: block;
}

.about .container {
  position: relative;
  z-index: 2;
}

.about img {
  border-radius: 5px;
  filter: drop-shadow(-15px -15px 0 rgba(0, 0, 0, 0.04));
}

@media (max-width: 768px) {
  .about .about__content,
  .about .about__img {
    margin: 20px 0;
  }
}

.whatwedo {
  position: relative;
  background: #ffffff;
  width: 100%;
  padding: 100px 0;
}

.whatwedo .uil {
  margin-top: -6px;
  font-size: 2rem;
  color: #599c29;
  display: block;
}

.whatwedo__item {
  opacity: 0;
  animation-fill-mode: forwards;
}

.whatwedo__item p {
  margin: 20px 0;
}

@media (max-width: 768px) {
  .whatwedo {
    padding: 40px 0;
  }
}

.counter {
  position: relative;
  width: 100%;
  height: 500px;
  background: #207197 url("../img/dental4.jpg");
  background-blend-mode: multiply;
  background-size: cover;
  background-position: center center;
  color: #fff;
  text-align: center;
}

.counter__content {
  opacity: 0;
  animation-fill-mode: forwards;
}

.counter p {
  color: #fff;
}

.counter span {
  font-size: 5rem;
  font-weight: 600;
}

.counter__fog {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(46, 157, 210, 0.5);
}

.counter__item {
  opacity: 0;
  animation-fill-mode: forwards;
}

.counter__item span {
  margin: 0;
  padding: 0;
  margin-bottom: -5%;
  display: block;
}

.counter__item p {
  padding: 0;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 2px;
}

@media (max-width: 768px) {
  .counter {
    height: 100vh !important;
    padding: 50px 0;
  }
  .counter .display-4 {
    font-size: 2.5rem;
  }
  .counter span {
    font-size: 3rem;
    margin: 0;
    padding: 0;
  }
}

.contactwithus {
  position: relative;
  background: linear-gradient(#599c29, #396619);
  color: #fff;
  height: 550px;
}

.contactwithus__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.contactwithus p {
  color: #fff;
}

.contactwithus label {
  margin-bottom: 0;
  margin-top: 10px;
}

.contactwithus textarea,
.contactwithus input {
  background: transparent;
  border-radius: 5px;
  width: 100%;
  color: #fff;
  padding: 5px;
  margin: 5px 0;
  border: solid 1px rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
  .contactwithus {
    padding: 50px 0;
    height: auto;
  }
  .contactwithus__img {
    height: 100%;
    width: 100%;
    object-fit: cover !important;
    object-position: center center !important;
    opacity: 0.1;
  }
  .contactwithus input,
  .contactwithus textarea {
    color: #333;
    background: #fff;
  }
}

.footer {
  padding: 80px 0;
  background: #1b2024;
}

.footer .uil {
  color: #599c29;
  font-size: 1.2rem;
}

.footer__social {
  list-style-type: none;
  display: flex;
  margin-top: 15px;
  padding: 0;
}

.footer__social li {
  padding: 5px;
  margin-right: 15px;
  background: #599c29;
  transition: all 250ms linear;
}

.footer__social li:hover {
  background: #396619;
}

.footer__social a {
  color: #fff;
}

.footer__social .uil {
  font-size: 1.3rem;
  color: #fff;
}

.footer h1,
.footer h2,
.footer h3,
.footer h4,
.footer h5,
.footer h6 {
  color: #599c29;
}

.footer p {
  text-align: justify;
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
  .footer {
    padding: 40px 0;
  }
  .footer .col-md-4 {
    margin: 30px 0;
  }
}

.subfooter {
  padding: 10px 0;
  background: #13171a;
  text-align: center;
  font-size: 11px;
}

.subfooter p {
  color: rgba(255, 255, 255, 0.5);
  padding: 0;
  margin: 0;
}

.subfooter a {
  color: #599c29;
}

.title {
  position: relative;
  padding: 80px 0;
  background: #f8f9fb;
  border-bottom: solid 1px rgba(0, 0, 0, 0.2);
}

.title h1 {
  color: #599c29;
}

.title::after {
  content: "";
  position: absolute;
  width: 40%;
  height: 3px;
  background: #599c29;
  display: block;
  bottom: -2px;
}

article {
  padding: 80px 0;
}

article img {
  border-radius: 5px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate(0, 40px);
  }
  to {
    opacity: 1;
    transform: translate(0, 0);
  }
}

@keyframes fadeInSlider {
  from {
    opacity: 0;
    transform: scale(1.2);
  }
  to {
    opacity: 0.3;
    transform: scale(1);
  }
}
