/*
---------------------------------------------
Facts Style
---------------------------------------------
*/

.fact-card {
  background: var(--white-color);
  border: solid 5px var(--secondary-color);
  border-radius: 15px;
  padding: 40px 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}

.fact-card:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.fact-card .icon {
  font-size: 40px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.fact-card h2 {
  font-size: 24px;
  font-weight: 700;
  color: #222;
  margin-bottom: 10px;
}

.fact-card p {
  font-size: 15px;
  color: #444;
  margin-bottom: 20px;
  line-height: 1.5;
  flex-grow: 1;
}

.fact-card .main-button {
  font-size: 14px;
  color: var(--white-color);
  background-color: var(--primary-color);
  display: inline-block;
  height: 50px;
  line-height: 50px;
  padding: 0px 25px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
}

@media(min-width: 768px) {
  .fact-card {
    min-height: 350px;
  }
}

@media(min-width: 1201px) {
  .fact-card {
    margin-bottom: 0;
  }
}
