/* Import Google Font if not already imported in main stylesheet */
@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600;700&display=swap");

/* Section background */
.impact_numbers_section {
  background: #ffff;
  padding-top: 3rem;
  padding-bottom: 3rem;
  font-family: "Raleway", sans-serif;
}

/* Container wrapper */
.impact_container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Section title */
.impact_section_title {
  margin-bottom: 2rem;
}

.impact_section_title p {
  font-size: 1rem;
  color: #666;
}

/* Flex layout for cards */
.impact_row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* Column/card wrapper */
.impact_col {
  flex: 1 1 22%;
  min-width: 220px;
  max-width: 280px;
  box-sizing: border-box;
}

/* Card styling */
.impact_card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
  padding: 32px 16px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.impact_card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

/* Counter number style */
.impact_counter {
  font-size: 2.5rem;
  font-weight: bold;
  color: #f0542c;
  margin-bottom: 0.5rem;
}

/* Title (inherits font from global heading styles) */
.impact_card h5 {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #333;
}

/* Description */
.impact_card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.4;
  margin: 0;
}

/* Utility classes */
.impact_text_center {
  text-align: center;
}
.impact_mb_4 {
  margin-bottom: 2rem;
}

.client_logo_scroller {
  overflow: hidden;
  position: relative;
}

.logo_scroller_wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.logo_scroller {
  display: flex;
  gap: 130px;
  animation: scrollLogos 20s linear infinite;
  width: max-content;
}

.logo_scroller img {
  height: 70px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  /* filter: grayscale(100%);
  transition: filter 0.3s ease; */
}

/* .logo_scroller img:hover {
  filter: grayscale(0%);
} */

@keyframes scrollLogos {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .logo_scroller img {
    height: 40px;
    gap: 20px;
  }
}

/* Responsive styles */
@media (max-width: 991px) {
  .impact_col {
    flex: 1 1 45%;
  }
}

@media (max-width: 575px) {
  .impact_col {
    flex: 1 1 100%;
  }

  .impact_card {
    padding: 20px 12px;
  }

  .impact_counter {
    font-size: 2rem;
  }

  .impact_card h5 {
    font-size: 1rem;
  }

  .impact_card p {
    font-size: 0.9rem;
  }
}

.impact_numbers_section,
.impact_card,
header,
main,
footer {
  position: relative;
  z-index: 1;
}
