#heroBannerService {
  display: inline-block;
  vertical-align: bottom;
  width: max-content;
  overflow: hidden;
  text-wrap: nowrap;
  transition: 0.7s;
}

#heroBannerServiceRef {
  position: absolute;
  visibility: hidden;
  width: max-content;
}

#threat {
  display: flex;
  flex-direction: column;
  gap: 5rem;
  padding: var(--vertical-gutter) calc(var(--horizontal-gutter) * 5);
}

#core-service-img {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 45px;
  max-width: 100%;
  justify-items: center;
  align-items: center;
  margin: 20px;
}

.title {
  margin-top: 5rem;
}

.accreditation-mark-img {
  flex-direction: column;
}

.looming-threat__wrap {
  display: flex;
  justify-content: space-between;
}

.looming-threat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.looming-threat>img {
  width: 60px;
  height: 60px;
}

.looming-theat__text {
  display: flex;
  justify-content: center;
  gap: 5rem;
  text-align: left;
  /* dk */
}

.looming-theat__text>p {
  flex: 1;
  margin: 0;
}

.looming-theat__text>p:first-child {
  font-size: 30px;
  line-height: normal;
}

.data-link {
  font-size: 15px;
  color: darkgrey;
}

.pdpc-data {
  font-size: 55px;
}

.csa-data {
  font-size: 55px;
}

.accr-button {
  background-color: white;
  color: var(--color-primary-green);
  border-radius: 70px;
  width: 200px;
  height: 50px;
  transition-duration: 0.4s;
  border: 1px solid var(--color-primary-green);
}

.accr-button:hover {
  background-color: var(--color-primary-green);
  color: whitesmoke;
  border: 1px var(--color-primary-green);
}

#core-service-img img {
 
  width: 280px;
  height: 250px;
}



@keyframes scroll {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%); /* ✅ scroll through 45 images, then reset */
  }
}

/* Carousel groups */
.carousel-group {
  display: none;
}

.carousel-group.active {
  display: block;
}

/* Carousel container */
.carousel {
  position: relative;
  overflow: hidden;
  background: #fff;
  padding: 20px 0;
  border-radius: 12px;
  box-shadow: 0 1px 5px rgba(109, 104, 104, 0.1), 
  0 0px 1px -1px rgba(201, 201, 201, 0.8);
  user-select: none;
  pointer-events: none;
  touch-action: none;
  overflow: hidden;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE 10+ */
   
}

/* Gradient fade effect */
.carousel::before,
.carousel::after {
  content: "";
  position: absolute;
  height: 100%;
  width: 200px;
  top: 0;
  z-index: 2;
  background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 50%);
  
}

.carousel::after {
  right: 0;
  transform: rotateZ(180deg);
}

/* .carousel-bottom-shadow {
  content:"";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: linear-gradient(to bottom,rgb(231, 230, 230) 0%, rgba(242, 242, 242,1) 100%);
  z-index: 2;
  pointer-events: none;
} */
.carousel::before {
  left: 0;
}

/* Track with animation */
.carousel-track {
  display: flex;
  gap: 40px;
  animation: scroll 100s linear infinite;
  will-change: transform;
  width: max-content;
}

/* Image styles */
.carousel-track img {
  height: 80px;
  width: 250px;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform 1.3s;
}

.carousel-track img:hover {
  transform: scale(1.1);
}
.carousel::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}



@media only screen and (max-width: 876px) {
  #threat {
    padding: var(--vertical-gutter) calc(var(--horizontal-gutter) * 5);
  }
}

@media only screen and (max-width: 603px) {
  #threat {
    padding: calc(var(--vertical-gutter) * 2) var(--horizontal-gutter);
  }

  .looming-threat__wrap {
    flex-wrap: wrap;
  }

  .looming-threat {
    flex: 1 1 50%;
    margin-bottom: 2rem;
  }

  .looming-threat:nth-child(5),
  .looming-threat:nth-child(6) {
    margin-bottom: 0px;
  }

  .looming-theat__text {
    flex-direction: column;
    gap: 0.5rem;
  }

  #testimonials {
    padding: calc(var(--vertical-gutter) * 2) var(--horizontal-gutter);
  }

  #core-service-img {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
@media only screen and (max-width: 1155px) {


  #core-service-img {
    grid-template-columns: 1fr;
    gap: 10px;
    
  }

}
@media only screen and (max-width: 603px) {
  #clientList img {
    width: 25%;
    height: auto;
    object-fit: scale-down;
  }
}
@media only screen and (max-width: 1602px) {
  .carousel::before,
.carousel::after {
  content: "";
  position: absolute;
  height: 100%;
  width: 200px;
  top: 0;
  z-index: 2;
  background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 5%);
  
}
}


  /* Carousel Responsiveness (unchanged) */
  .carousel {
    padding: var(--vertical-gutter) 0;
    overflow-x: auto;
  }

  .carousel-track {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 0 var(--horizontal-gutter);
    gap: 20px;
  }

  .carousel-track img {
    height: 140px;
    flex: 0 0 auto;
  }

  .carousel-track img:hover {
    transform: scale(1.05);
  }

