/* ── Highlight Section ───────────────────────────────────────── */

.highlight-section {
  background:
    radial-gradient(circle at top left, rgba(34, 163, 85, 0.08), transparent 32%),
    linear-gradient(180deg, #f7fff8 0%, #effaf1 100%);
  padding: 48px 20px 34px;
  overflow: hidden;
}

.highlight-heading {
  margin: 0 0 34px;

  font-family: var(--font-display, "Sora", sans-serif);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;

  color: #0d3d20;
  text-align: center;
  letter-spacing: -0.04em;
}

/* ── Grid Container ──────────────────────────────────────────── */

.highlight-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
  gap: 22px;

  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ── Highlight Card ──────────────────────────────────────────── */

.highlight-card {
  position: relative;

  padding: 24px 18px;
  min-height: 170px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;

  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid #e1efe5;

  box-shadow: 0 10px 28px rgba(13, 61, 32, 0.06);

  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease;
}

.highlight-card:hover {
  transform: translateY(-6px);
  border-color: #a8d8b7;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(13, 61, 32, 0.12);
}

/* Optional soft glow behind image */
.highlight-card::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 50%;

  width: 72px;
  height: 72px;

  border-radius: 50%;
  background: rgba(34, 163, 85, 0.1);

  transform: translateX(-50%);
  z-index: 0;
}

/* ── Image ───────────────────────────────────────────────────── */

.highlight-image {
  position: relative;
  z-index: 1;

  width: 92px;
  height: 92px;
  margin: 0 auto 12px;

  display: block;
  object-fit: contain;

  transition: transform 0.25s ease;
}

.highlight-card:hover .highlight-image {
  transform: scale(1.08);
}

/* Text inside card, if present */
.highlight-card h3,
.highlight-card p {
  position: relative;
  z-index: 1;
}

.highlight-card h3 {
  margin: 6px 0 4px;
  font-size: 0.95rem;
  font-weight: 800;
  color: #163b27;
  line-height: 1.3;
}

.highlight-card p {
  margin: 0;
  font-size: 0.82rem;
  color: #65786b;
  line-height: 1.45;
}

/* ── Tablet ──────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .highlight-section {
    padding: 42px 16px 30px;
  }

  .highlight-container {
    gap: 18px;
  }

  .highlight-card {
    padding: 22px 16px;
  }
}

/* ── Mobile Horizontal Slider ────────────────────────────────── */

@media (max-width: 768px) {
  .highlight-section {
    padding: 38px 0 28px;
  }

  .highlight-heading {
    margin-bottom: 26px;
    padding: 0 18px;
  }

  .highlight-container {
    display: flex;
    flex-wrap: nowrap;
    gap: 14px;

    max-width: none;
    overflow-x: auto;

    padding: 4px 18px 18px;

    scroll-snap-type: x mandatory;
    scroll-padding-left: 18px;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .highlight-container::-webkit-scrollbar {
    display: none;
  }

  .highlight-card {
    flex: 0 0 72%;
    min-height: 155px;
    scroll-snap-align: start;
    border-radius: 18px;
  }

  .highlight-image {
    width: 68px;
    height: 68px;
  }

  .highlight-card::before {
    width: 58px;
    height: 58px;
    top: 24px;
  }
}

/* ── Small Mobile ────────────────────────────────────────────── */

@media (max-width: 420px) {
  .highlight-card {
    flex-basis: 78%;
    padding: 20px 15px;
  }

  .highlight-image {
    width: 62px;
    height: 62px;
  }

  .highlight-card h3 {
    font-size: 0.9rem;
  }

  .highlight-card p {
    font-size: 0.78rem;
  }
}