.goals {
  padding: 60px 30px;
  background-color: #fff;
  text-align: center;
}

.goals h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 10px;
}

.goals p {
  color: #555;
  margin-bottom: 40px;
  font-size: 16px;
}

.goal-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}

.goal-card {
  position: relative;
  width: 260px;
  height: 360px;
  overflow: hidden;
  border-radius: 16px;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.goal-card:hover {
  transform: translateY(-6px);
}

.goal-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.goal-card:hover img {
  transform: scale(1.05);
}

.goal-text {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  text-align: left;
}

.goal-text h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 4px;
}

.goal-text span {
  font-size: 14px;
  color: #ccc;
}

/* Responsive */
@media (max-width: 480px) {
  .goals {
    padding: 40px 16px;
  }

  .goals h2 {
    font-size: 26px;
  }

  .goals p {
    font-size: 14px;
    margin-bottom: 30px;
  }

  .goal-card {
    width: 100%;
    height: 240px;
  }

  .goal-text {
    padding: 16px;
  }

  .goal-text h3 {
    font-size: 18px;
  }

  .goal-text span {
    font-size: 13px;
  }
}

