.carousel-container {
  width: 100%;
  margin-top: 32px;
}

.main-image {
  width: 100%;
  height: 655px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.thumbnails {
  gap: 10px;
  display: flex;
  justify-content: center;
  margin-top: 15px;
}

.thumbnails img {
  width: 100%;
  max-width: 182px;
  height: 120px;
  object-fit: cover;
  cursor: pointer;
  transition: border 0.3s ease;
}

.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(20px);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-content {
  position: relative;
  width: 100%;
  text-align: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.popup img {
  width: 690px;
  height: 390px;
  object-fit: cover;
}

.close-btn {
  position: absolute;
  top: 0;
  right: 40px;
  font-size: 30px;
  color: white;
  cursor: pointer;
}

.arrow {
  position: absolute;
  top: 200px;
  width: 48px;
  height: 48px;
  transform: translateY(-50%);
  font-size: 20px;
  background: rgba(213, 38, 24, 1);
  color: #fff;
  border-radius: 75px;
  padding: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arrow-left {
  left: 306px;
}

.arrow-right {
  right: 306px;
}

.popup-thumbnails-wrapper {
  overflow-x: auto;
  white-space: nowrap;
  display: flex;
  justify-content: flex-start;
  max-width: 100%;
  padding: 10px 0;
  position: relative;
  scroll-padding: 10px;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
}

.popup-thumbnails-wrapper::-webkit-scrollbar {
  display: none;
}

.popup-thumbnails {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 15px;
  transition: transform 0.3s ease-in-out;
}

.popup-thumbnails img {
  width: 200px;
  height: 134px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease, border 0.3s ease;
  flex: 0 0 auto;
  scroll-snap-align: center;
}

.popup-thumbnails img.active {
  transform: scale(1.2);
  margin-right: 20px;
  margin-left: 20px;
}

.error-message {
  color: #d52618;
}

.featured-service-slide.no-url-slide {
  display: block !important;
  background-color: white;
  border: 1px solid rgba(233, 238, 241, 1);
  border-radius: 4px;
}

.featured-service-slide.no-url-slide:hover {
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.08);
}

.featured-service-slide span.no-url {
  bottom: 140px;
  bottom: 0;
  width: 303px;
  color: rgb(47, 46, 46);
  display: block;
  top: 20px;
  font-weight: 300 !important;
}

.no-image-card-text {
  font-size: 16px !important;
  color: rgba(122, 125, 127, 1) !important;
  line-height: 20px !important;
  font-weight: 300 !important;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  bottom: 0 !important;
  margin-top: 50px;
  color: rgba(122, 125, 127, 1) !important;
}

.featured-service-slide.no-url-slide::after {
  background: unset !important;
}

@media (max-width: 768px) {
  .thumbnails {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .popup-image {
    width: 380px !important;
  }

  .featured-service-slide span.no-url {
    bottom: 80px;
    width: 90%;
  }

  .no-image-card-text {
    margin-top: 40px;
  }

  .featured-service-slide span {
    font-size: 12px !important;
    line-height: 16px !important;
  }
}
