* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
}

body {
  background-color: #fff;
  color: #1f2937;
  /* padding: 2rem; */
}

.hero {
  display: flex;
  justify-content: space-evenly;
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 10px;
  margin-bottom: 7rem;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  text-align: center;
  margin-top: 2rem;
}

.hero-text h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero-text p {
  font-size: 1.2rem;
}

.hero img {
  width: 100%;
  max-width: 450px;
  border-radius: 8px;
}

.categories {
  margin-bottom: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.categories button {
  padding: 0.5rem 1.3rem;
  background-color: #a7f3d0;
  border: none;
  border-radius: 20px;
  color: #065f46;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  user-select: none;
  transition: 0.3s ease;
}

.categories button:hover {
  background-color: #6ee7b7;
  transform: scale(1.1);
}

.categories button.active {
  background-color: #6ee7b7;
  color: #000;
  font-weight: 500;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
  padding: 2rem;
}

.card {
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  cursor: pointer;
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-body {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-title {
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.card-text {
  font-size: 0.95rem;
  color: #374151;
}

.card-footer {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.card-footer button {
  background-color: #a7f3d0;
  color: #065f46;
  border: none;
  padding: 0.4rem 0.8rem;
  margin: 0.5rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.25s ease;
  font-weight: bold;
}

.card:hover {
  transform: translateY(-25px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.card-footer button:hover {
  background-color: #6ee7b7;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .hero-text h2 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 1rem;
  }
}
