.pds-widget-root {
  width: 100%;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  background: #ffffff;
  color: #000000;
}

.pds-widget-root,
.pds-widget-root * {
  box-sizing: border-box;
}

.pds-widget-root .popular-services-section {
  width: 100%;
  background: #ffffff;
  border-top: 1px solid #222222;
  padding: 47px 20px 40px;
}

.pds-widget-root .popular-services-container {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  text-align: center;
}

.pds-widget-root .popular-services-title {
  font-size: 39px;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: 5px;
  color: #020202;
  margin: 0 0 15px;
}

.pds-widget-root .popular-services-title span {
  color: #9f2119;
}

.pds-widget-root .popular-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.pds-widget-root .service-card {
  position: relative;
  height: 300px;
  overflow: hidden;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.pds-widget-root .service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--pds-card-overlay-color, rgba(0, 0, 0, 0.46));
  z-index: 1;
  transition: background 0.25s ease;
}

.pds-widget-root .service-card:hover::before {
  background: var(--pds-card-overlay-hover-color, rgba(0, 0, 0, 0.36));
}

.pds-widget-root .service-card-title {
  position: relative;
  z-index: 2;
  min-width: 185px;
  height: 52px;
  padding: 0 23px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 24px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: none;
  background: rgba(255, 255, 255, 0.02);
}

.pds-widget-root .popular-services-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 202px;
  height: 39px;
  border-radius: 8px;
  background: #9f261d;
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.2px;
  box-shadow: 0 5px 16px rgba(159, 38, 29, 0.38);
  transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.pds-widget-root .popular-services-btn:hover {
  transform: translateY(var(--pds-button-hover-y, -1px));
  opacity: 0.94;
  text-decoration: none;
}

@media (max-width: 1200px) {
  .pds-widget-root .popular-services-container {
    max-width: 1000px;
  }

  .pds-widget-root .service-card {
    height: 250px;
  }

  .pds-widget-root .popular-services-title {
    font-size: 35px;
    letter-spacing: 4px;
  }
}

@media (max-width: 900px) {
  .pds-widget-root .popular-services-section {
    padding: 42px 20px 42px;
  }

  .pds-widget-root .popular-services-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto 24px;
    gap: 18px;
  }

  .pds-widget-root .service-card {
    height: 260px;
  }

  .pds-widget-root .popular-services-title {
    font-size: 31px;
    letter-spacing: 2.5px;
    margin-bottom: 24px;
  }
}

@media (max-width: 520px) {
  .pds-widget-root .popular-services-section {
    padding: 36px 15px 38px;
  }

  .pds-widget-root .popular-services-title {
    font-size: 27px;
    line-height: 1.25;
    letter-spacing: 1.5px;
  }

  .pds-widget-root .service-card {
    height: 220px;
  }

  .pds-widget-root .service-card-title {
    min-width: 165px;
    height: 48px;
    font-size: 21px;
  }

  .pds-widget-root .popular-services-btn {
    width: 190px;
    height: 38px;
    font-size: 14px;
  }
}
