.certifications-section {
  background-color: #c0d9cc;
  padding: 4rem 2rem;
  font-family: 'Inter', sans-serif;
  text-align: center;
}

.certifications-section h2 {
  font-size: 2rem;
  color: #1f3b2c;
  margin-bottom: 1rem;
}

.section-subheading {
  color: #2f4f3c;
  font-size: 1rem;
  max-width: 700px;
  margin: 0 auto 2.5rem auto;
  line-height: 1.5;
}

/* Scrollable Flex Layout */
.certifications-scroll {
  display:flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  justify-content: center;
  
}

.cert-card {
  background: #fff;
  border-radius: 12px;
  flex: 0 0 220px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  padding: 1.5rem;
  text-align: center;
  scroll-snap-align: start;
  transition: transform 0.3s ease;
}

.cert-card:hover {
  transform: translateY(-5px);
}

.cert-card img {
  max-height: 140px;
  width: auto;
  object-fit: contain;
  margin-bottom: 1rem;

}



.certifications-scroll::-webkit-scrollbar {
  height: 8px;
}

.certifications-scroll::-webkit-scrollbar-track {
  background: #c0d9cc;
}

.certifications-scroll::-webkit-scrollbar-thumb {
  background: #8cae9a;
  border-radius: 4px;
}

.client-slider {
  padding: 40px 0;
  background-color: #fff; /* light mint tone */
  overflow: hidden;
  text-align: center;
}

.client-slider h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #024c2f; /* dark green */
  font-family: "Montserrat", sans-serif;
}

.slider-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.slider-track {
  display: flex;
  width: max-content;
  animation: scrollLeft 50s linear infinite;
}

.slider-track a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
  min-width: 160px;
}

.slider-track img {
  max-height: 100px;
  width: auto;
  
  transition: filter 0.3s ease;
}






@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .slider-track a {
    padding: 0 20px;
    min-width: 120px;
  }

  .slider-track img {
    max-height: 40px;
  }
    .client-slider .slider-wrapper a img {
    height: 60px;     
    margin: 0 20px;
  }
}
