html, body {
  overflow-x: clip;
}

.h1 {
  font-size: 40px;
  line-height: 1.25;
  letter-spacing: 0;
  font-family: Geologica;
  font-weight: bold;
  text-transform: uppercase;
  color: #1f2a36;
}

.h2 {
  font-size: 30px;
  line-height: 1.25;
  letter-spacing: 0.03;
  font-family: Geologica;
  font-weight: 600;
  text-transform: uppercase;
}

.h3 {
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: 0.03;
  font-family: Geologica;
  font-weight: SemiBold;
}

.h4 {
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: 0.03;
  font-family: Geologica;
  font-weight: 500;
  text-transform: uppercase;
  color: #1f2a36;
}

@media (max-width: 768px) {
  .h1 {
    font-size: 24px;
    line-height: auto;
    letter-spacing: 0.03;
  }
  .h2 {
    font-size: 30px;
    line-height: 1.25;
    letter-spacing: 0.03;
    font-family: SemiBold;
  }
  .h3 {
    font-size: 24px;
    line-height: 1.25;
    letter-spacing: 0.03;
    font-family: SemiBold;
  }
  .h4 {
    font-size: 16px;
    line-height: auto;
    letter-spacing: 0.03;
  }
}
.body-lg {
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: 0;
  font-family: Geologica;
  font-weight: 100;
}

.body-new {
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: 0;
  font-family: Geologica;
  font-weight: 100;
}

@media (max-width: 768px) {
  .body-lg {
    font-size: 20px;
    line-height: 1.25;
    letter-spacing: 0;
  }
  .body-new {
    font-size: 16px;
    line-height: auto;
  }
}
.tag {
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: 0;
  font-family: Geologica;
  font-weight: 500;
}

.default-arrow:hover {
  transform: scale(1.1);
}
.default-arrow:hover img {
  animation: bounceToLeft 1s ease forwards;
}

@keyframes bounceToLeft {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(200%);
  }
  50.01% {
    transform: translateX(-200%);
  }
  100% {
    transform: translateX(0);
  }
}
@media (max-width: 768px) {
  .tag {
    font-size: 16px;
    line-height: auto;
  }
}
.dental-services {
  max-width: 1420px;
  width: 100%;
  margin: 0 auto 100px auto;
  padding: 0 20px;
}

.ds-head {
  max-width: 1000px;
}

.ds-title {
  color: #1f2a36;
}

.ds-text {
  margin: 20px 0 68px 0;
}

.ds-container {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 20px 24px;
}

.ds-item {
  position: relative;
  width: calc((100% - 24px) / 2);
  padding: 30px;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  z-index: 1;
}
.ds-item svg {
  position: absolute;
  top: -20%;
  right: -5%;
  z-index: -1;
  transform: rotate(25deg);
  width: 206px;
  height: 257px;
}

.ds-counter {
  margin-bottom: 28px;
  font-size: 20px;
  line-height: auto;
  letter-spacing: 0;
  font-family: Geologica;
  font-weight: 400;
  color: #b3c0c4;
}

.ds-service {
  text-transform: uppercase;
  color: #1f2a36;
}

.ds-icon {
  position: absolute;
  top: 26px;
  right: 30px;
  width: 56px;
  height: 56px;
}

.ds-btn {
  width: fit-content;
  margin: 50px 0 0 auto;
  display: flex;
  align-items: center;
  gap: 35px;
  color: #1f2a36;
}
.ds-btn:has(.tag:hover) .default-arrow {
  transform: scale(1.1);
}
.ds-btn:has(.tag:hover) .default-arrow img {
  animation: bounceToLeft 1s ease forwards;
}

@media (max-width: 1024px) {
  .dental-services {
    padding: 0 16px;
  }
}
@media (max-width: 1000px) {
  .ds-item {
    width: 100%;
  }
}
@media (max-width: 768px) {
  .dental-services {
    margin: 0 auto 56px auto;
  }
  .ds-text {
    margin: 16px 0 24px 0;
  }
  .ds-container {
    gap: 8px;
  }
  .ds-item {
    padding: 36px 16px 16px 16px;
  }
  .ds-item svg {
    top: -5%;
    right: -5%;
    width: 124px;
    height: 154px;
  }
  .ds-counter {
    margin-bottom: 8px;
  }
  .ds-icon {
    top: 16px;
    right: 24px;
    width: 40px;
    height: 40px;
  }
  .ds-btn {
    margin: 24px 0 0 auto;
    gap: 16px;
  }
}