.cm-servies-wrapper {
  padding: 20px 0;
}
.cm-servies-wrapper .cm-services-col {
  position: relative;
  overflow: hidden:
}
.cm-servies-wrapper .top-section-col h2 {
  margin: 0 0 10px;
  padding: 0;
  font-weight: 700;
  font-size: 35px;
}
.cm-servies-wrapper .cm-servies-group {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px;
  justify-content: center;
}

.cm-servies-group .cm-services-item {
  margin: 0 10px 20px;
  width: calc(33.33% - 20px);
  /*   background-color: #0f4d65; */
}
.cm-servies-group .cm-services-image a {
  display: flex;
  position: relative;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
}
.cm-servies-group .cm-services-image .servies-hover span {
  color: #fff;
  line-height: 1;
}
.cm-servies-group .cm-services-title h3 {
  color: #fff;
  font-size: 20px !important;
  font-weight: 400;
  line-height: 1.2 !important;
  padding: 0;
  letter-spacing: 1px;
}
.cm-servies-group .cm-services-image {
  overflow: hidden;
  padding-bottom: 75%;
  position: relative;
  border-radius: 20px;
}
.cm-servies-group .cm-services-image:before {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.2) 100%, rgba(0, 0, 0, 0.4));
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}
.cm-servies-group .cm-services-image img {
  position: absolute;
  left: 0;
  right: 0;
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.cm-servies-group .servies-hover {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(15, 77, 101, 0.7);
  transition: 0.5s ease-in;
  opacity: 0;
}
.cm-servies-group .cm-services-title {
  padding: 20px;
  position: absolute;
  bottom: 0;
  width: 100%;
  z-index: 2;
  transition: 0.3s;
  transform: translateY(30px);
}
.cm-servies-group .cm-services-title a {
  color: #fff;
}
.cm-servies-group .cm-services-title a:hover {
  color: #35b558;
}
.cm-servies-group .cm-services-image:hover .servies-hover {
  opacity: 1;
}
.cm-services-col:hover .cm-services-title {
  transform: translateY(-10px);
}
.cm-servies-group .cm-services-title span {
  color: #fff;
  opacity: 0;
  transition: 0.3s;
}
.cm-servies-group .cm-services-title span i {
  font-size: 13px;
  font-weight: 400;
  margin-left: 2px;
}
.cm-servies-group .cm-services-col:hover .cm-services-title span {
  opacity: 1;
}
.cm-servies-group .cm-services-image:after {
  background-color: rgba(15, 77, 101, .6);
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  content: '';
  opacity: 0;
  transition: 0.3s;
}
.cm-servies-group .cm-services-col:hover .cm-services-image:after {
  opacity: 1;
}

.dental-diagnosis-wrap {
  padding-top: 70px;
}
.dental-diagnosis-wrap .top-section-col h2 {
  font-style: italic;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}
.dental-diagnosis-wrap .cm-services-col {
  padding: 5px;
  border: 1px solid #0f4d65;
  border-radius: 5px;
}
.dental-diagnosis-wrap .cm-servies-group .cm-services-title {
  border-radius: 0 0 5px 5px;
}
.dental-diagnosis-wrap .cm-servies-group .servies-hover {
  background-color: rgb(15, 77, 101, 0.5);
}
.dental-diagnosis-wrap .cm-servies-group .cm-services-image {
  border-radius: 5px 5px 0 0;
  padding-bottom: 45%;
}
.cm-servies-wrapper .custom-bottom-button {
  text-align: center;
}
.cm-servies-wrapper .custom-bottom-button a.hs-button {
  display: inline-block;
  width: auto;
  line-height: 1.2;
}
@media (max-width: 980px) {
  .cm-servies-group .cm-services-item {
    width: calc(50% - 20px);
  }
}
@media (max-width: 640px) {
  .cm-servies-group {
    margin: 0px;
  }
  .cm-servies-group .cm-services-item {
    width: 100%;
    margin: 0 0 20px;
  }
  .cm-servies-wrapper .cm-servies-group {
    margin: 0;
  }
}
