/** funfact-section **/
.funfact-section {
  position: relative;
  background: #fff;
  text-align: center;
  padding: 60px 0;
}

.section-title {
  font-size: 24px;
  font-weight: 700;
  color: #111;
  margin-bottom: 35px;
}

.funfact-block-one {
  display: flex;
  justify-content: center;
  align-items: center;
}

.funfact-block-one .inner-box {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 1px solid #E7E7E7;
  border-radius: 16px;
  padding: 28px 15px;
  background: #fff;
  width: 100%;
  /* max-width: 180px; */
  margin: 0 auto;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.funfact-block-one .inner-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
  border-color: var(--secondary-color); /* highlight green border */
}

.funfact-block-one .count-outer {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--secondary-color); /* highlight color */
  margin-bottom: 6px;
}

.funfact-block-one .inner-box p {
  font-size: 15px;
  line-height: 22px;
  color: #444;
  margin: 0;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 991px) {
  .funfact-block-one .inner-box {
    /* max-width: 160px; */
    padding: 25px 12px;
  }
  .funfact-block-one .count-outer {
    font-size: 38px;
  }
}

@media (max-width: 767px) {
  .funfact-section {
    padding: 40px 0;
  }

  .funfact-section .row {
    row-gap: 10px;
  }

  /* .funfact-section .col-6 {
    flex: 0 0 50%;
    max-width: 50%;
  } */

  .funfact-block-one .inner-box {
    /* max-width: 150px; */
    padding: 22px 10px;
  }

  .funfact-block-one .count-outer {
    font-size: 34px;
  }

  .funfact-block-one .inner-box p {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  /* .funfact-section .col-6 {
    flex: 0 0 50%;
    max-width: 50%;
  } */

  .funfact-block-one .inner-box {
    /* max-width: 200px ; */
    padding: 20px 8px;
  }

  .funfact-block-one .count-outer {
    font-size: 32px;
  }
}
