:root {
  --color-1: #787878;
  --color-2: #fff;
  --color-3: #3368c6;
  --color-4: #444;
  --color-5: #f6f7f5;
}

body {
  color: var(--color-1);
  font-weight: 400;
  font-size: 16px;
  font-family: "Roboto", sans-serif;
  line-height: 27px;
  overflow-x: hidden;
}

@media (max-width: 1023px) {
  body {
    font-size: 15px;
    line-height: 24px;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 14px;
    line-height: 20px;
  }
}

.bg-odd {
  background-color: var(--color-5);
}

p {
  font-size: 15px;
  line-height: 24px;
  margin-bottom: 20px;
}


h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--color-4);
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  color: var(--color-4);
  transition: .2s;
}

h1 a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover,
h5 a:hover,
h6 a:hover {
  color: var(--color-3);
  text-decoration: none;
}

h1,
.h1 {
  font-family: "Poppins", serif;
  line-height: 1.22em;
  margin-bottom: 10px;
  font-weight: 600;
}




@media (max-width: 1023px) {

  h1,
  .h1 {
    font-size: 30px;
    line-height: 1.2em;
  }
}

@media (max-width: 767px) {

  h1,
  .h1 {
    font-size: 25px;
    line-height: 30px;
  }
}

@media (max-width: 1023px) {

  h1+.h-decor,
  .h1+.h-decor {
    position: relative;
    top: -5px;
  }
}

@media (max-width: 767px) {

  h1+.h-decor,
  .h1+.h-decor {
    top: -10px;
  }
}

@media (max-width: 575px) {

  h1+.h-decor,
  .h1+.h-decor {
    position: relative;
    top: -7px;
  }
}

h2 {
  font-family: "Poppins", serif;
  line-height: 1.22em;
  margin-bottom: 10px;
  font-weight: 600;
}

@media (max-width: 1023px) {
  h2 {
    font-size: 30px;
    line-height: 1.2em;
  }
}

@media (max-width: 767px) {
  h2 {
    font-size: 26px;
    line-height: 30px;
  }
}

@media (max-width: 1023px) {
  h2+.h-decor {
    position: relative;
    top: -5px;
  }
}

@media (max-width: 767px) {
  h2+.h-decor {
    top: -10px;
  }
}

@media (max-width: 575px) {
  h2+.h-decor {
    position: relative;
    top: -10px;
  }
}

h3 {
  font-family: "Poppins", serif;
  line-height: 1em;
  margin-bottom: 20px;
  font-weight: 600;
}

@media (max-width: 1023px) {
  h3 {
    font-size: 20px;
  }
}

@media (max-width: 767px) {
  h3 {
    font-size: 18px;
  }
}

h3+.h-decor {
  position: relative;
  top: -20px;
  height: 2px;
  width: 27px;
}

h4 {
  font-family: "Poppins", serif;
  line-height: 1.55em;
  margin-bottom: 18px;
  font-weight: 600;
}

@media (max-width: 1023px) {
  h4 {
    font-size: 20px;
  }
}

@media (max-width: 767px) {
  h4 {
    font-size: 18px;
  }
}

h5 {
  font-family: "Poppins", serif;
  line-height: 1em;
  margin-bottom: 20px;
  font-weight: 600;
}

@media (max-width: 1023px) {
  h5 {
    font-size: 17px;
    line-height: 24px;
  }
}

@media (max-width: 767px) {
  h5 {
    font-size: 15px;
    line-height: 22px;
  }
}

h5+.h-decor {
  position: relative;
  top: -20px;
  height: 1px;
  width: 25px;
}

h2+h5 {
  margin-top: 5px;
}

h6 {
  font-family: "Poppins", serif;
  line-height: 1.2em;
  margin-bottom: 22px;
}

@media (max-width: 1229px) {
  h6 {
    font-size: 17px;
  }
}

@media (max-width: 1023px) {
  h6 {
    font-size: 16px;
  }
}


h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  margin-bottom: 0.5rem;
  font-family: "Poppins", serif;
  font-weight: 500;
  line-height: 1.2;
  color: #444;
}

h1,
.h1 {
  font-size: 36px;
}

h2,
.h2 {
  font-size: 36px;
}

h3,
.h3 {
  font-size: 26px;
}

h4,
.h4 {
  font-size: 24px;
}

h5,
.h5 {
  font-size: 20px;
}

h6,
.h6 {
  font-size: 19px;
}

.header {
  font-size: 14px;
  color: var(--color-2);
}

.top-bar {
  font-size: 14px;
  line-height: 1.2em;
  letter-spacing: .5px;
  word-spacing: -2px;
  min-height: 48px;
  background: var(--color-3);
  color: var(--color-2);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar .contact-info span {
  margin-right: 15px;
}

.top-bar a {
  color: var(--color-2);
  text-decoration: none;
  margin-left: 10px;
}







.grid-item {
  background-color: var(--color-2);
  text-align: left;
  padding: 20px;
  aspect-ratio: 1/1;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04);
  color: var(--color-3);

}


.grid-item:hover {
  background-color: var(--color-3);
  color: var(--color-2);
  box-shadow: none;

}

.grid-item h2 {

  font-size: 90px;
  line-height: 1em;
  font-weight: 600;
  font-family: "Poppins", serif;
  color: var(--color-3);
}

.grid-item:hover p,
.grid-item:hover h2 {
  color: var(--color-2);
}

.grid-item p {

  position: relative;
  font-size: 20px;
  line-height: 1em;
  font-weight: 600;
  font-family: "Poppins", serif;
  color: var(--color-4);
}

.grid-item p::before {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 30%;
  height: 3px;
  background-color: var(--color-3);
}

.grid-item:hover p::before {

  background-color: var(--color-2);
}


.about {
  max-width: 600px;
}

.about h2 {
  font-size: 2rem;
  color: #333;
}

.about h2 span {
  color: var(--color-3);
}

.about p {
  margin: 15px 0;
  line-height: 1.6;
}

.about ul {
  list-style: none;
  padding: 0;
}

.about ul li {
  margin: 10px 0;
  display: flex;
  align-items: center;
}

.about ul li::before {
  content: '\2713';
  color: var(--color-3);
  margin-right: 10px;
}

.cta-button {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background-color: var(--color-3);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  font-size: 1rem;
}

.cta-button:hover {
  background-color: #357ab8;
}



.services .grid-container-item {

  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background-color: var(--color-2);
  text-align: center;
  border-radius: 5px;

}


.services .grid-container-item:hover {
  background: var(--color-3);
  color: var(--color-2);
}

.services .grid-container-item:hover>span,
.services .grid-container-item:hover [class*='icon'] {
  color: var(--color-2);
}



.services .grid-container-item [class*='icon'] {
  display: block;
  font-size: 62px;
  color: var(--color-3);
}

.services .grid-container-item>span {
  color: var(--color-4);
  font-size: 14px;
  font-weight: 600;
}

.h-decor {
  position: relative;
  display: inline-block;
  height: 3px;
  width: 53px;
  background-color: var(--color-3);
}

.h-decor+h5 {
  line-height: 34px;
  margin-bottom: 0;
}

@media (max-width: 1023px) {
  .h-decor {
    height: 2px;
    width: 34px;
  }
}

@media (max-width: 575px) {
  .h-decor {
    height: 2px;
    width: 34px;
  }
}


/* footer */

footer {
  margin-top: 110px;
  background: #f7f7f7;
  overflow: hidden;
}



footer a {
  font-size: 15px;
  color: #8f8f8f;
}


.footer-address .line {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 7px;

}

.footer-address .line i {
  color: var(--color-3);

  font-size: 18px;
}

.footer-address .line span {
  font-size: 15px;
  display: inline-flex;
  align-items: flex-start;
}


.footer-links li:before {
  content: '\2794';
  color: var(--color-3);
  margin-right: 10px;
}



.footer-copyright {
  font-size: 15px;
}

.footer-copyright a,
.footer-copyright span {
  color: #878787;
}

.footer-text p {
  margin-bottom: 10px;
}

.footer-text p:last-child {
  margin-bottom: 0;
}

.footer-social {
  font-size: 16px;
  line-height: 48px;
}

.footer-social:not(.first-child) {
  margin-top: 35px;
}

@media (max-width: 1023px) {
  .footer-social:not(.first-child) {
    margin-top: 0;
  }
}

@media (max-width: 767px) {
  .footer-social:not(.first-child) {
    margin-top: 25px;
  }
}

@media (max-width: 767px) {
  .footer-social {
    line-height: 48px;
  }
}

.footer-social a {
  display: inline-block;
  margin-right: 4px;
  width: 48px;
  height: 48px;
  color: var(--color-3);
  background-color: #fff;
  text-align: center;
  border-radius: 50%;
  transition: 0.2s;
}

@media (max-width: 767px) {
  .footer-social a {
    width: 48px;
    height: 48px;
  }
}

.footer-social a:hover {
  color: var(--color-3);
  text-decoration: none;
  box-shadow: inset 0 0 0 5px rgba(51, 104, 198, 0.2);
}

/* footer end */



.borders {
  position: relative;
}

.borders::before {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 30%;
  height: 2px;
  background-color: var(--color-3);
}

.borders::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 30%;
  width: 70%;
  height: 2px;
  background-color: #333;
}

.bordersingle {
  position: relative;
}

.bordersingle::before {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 30%;
  height: 2px;
  background-color: var(--color-3);
}




.splink {
  position: relative;
}

.splink:hover:before {
  width: 100%;
}

.splink:before {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-3);
  content: "";
  -webkit-transition: all 300ms ease;
  transition: all 300ms ease;
}








ul.marker-list-md {
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 0;
  padding: 0;
  list-style: none;
  font-size: 16px;
  line-height: 22px;
}

@media (max-width: 1023px) {
  ul.marker-list-md {
    font-size: 15px;
    line-height: 22px;
  }
}

@media (max-width: 767px) {
  ul.marker-list-md {
    font-size: 14px;
    line-height: 22px;
  }
}

ul.marker-list-md li {
  position: relative;
  padding-left: 34px;
}

ul.marker-list-md li:before {
  content: '\e906';
  font-size: 10px;
  font-family: 'dentco';
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--color-3);
}

ul.marker-list-md li:not(:last-child) {
  margin-bottom: 14px;
}

@media (max-width: 1023px) {
  ul.marker-list-md li:not(:last-child) {
    margin-bottom: 7px;
  }
}




.over-image-card {
  position: absolute;
  z-index: 1;
  display: flex;
  width: 455px;
  padding: 30px;
  background-color: var(--color-3);
  color: #ffffff;
  left: 25px;
  bottom: -15px;
}

.over-image-card h4 {
  margin-bottom: 10px;
  color: #ffffff;
}

.over-image-card p {
  margin-bottom: 25px;
}

.over-image-card.pos-right {
  right: -30px;
  bottom: -120px;
  width: 430px;
  padding: 35px 25px;
  left: auto;
}





.over-image-card-icon {
  font-size: 70px;
  padding-right: 25px;
}

.faq-wrap-bg {
  background: #f6f7f5;
  padding: 30px;
}


.faq-item {
  margin-bottom: 10px;
  border: 0;
}

.faq-item [data-toggle='collapse'] {
  display: flex;
  position: relative;
  padding: 20px 45px 19px 25px;
  font-size: 16px;
  font-weight: 600;
  font-family: "Poppins", serif;
  line-height: 1em;
  background-color: #fff;
  color: #444;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.faq-item [data-toggle='collapse'] span:first-child {
  font-size: 16px;
  min-width: 26px;
  color: var(--color-3);
}



.faq-item [data-toggle='collapse']:hover {
  text-decoration: none;
}

.faq-item [data-toggle='collapse']:after {
  position: absolute;
  top: 50%;
  right: 28px;
  content: '\e932';
  font-family: 'dentco';
  font-size: 12px;
  color: var(--color-3);
  transform: translateY(-50%);
}

.faq-item [data-toggle='collapse'][aria-expanded="true"]:after {
  content: '\e931';
}

.faq-item>a:not(.collapsed) {
  color: #444;
}

.faq-item .faq-item-content>* {
  padding: 10px 40px 10px 50px;
}


.faq-accordion {
  margin: 15px 0 0;
}




.collapse.show {
  display: block;
}

.collapse {
  display: none;
}