/* General Styling for How It Works Section */
.howitworks-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
  font-family: 'Poppins', sans-serif;
  color: #333;
  background-color: #f9f9f9;
  border-radius: 12px;
}

.title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #2c3e50;
}

.cards {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.icon-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
}

.icon {
  font-size: 3rem;
}

.card h2 {
  font-size: 1.5rem;
 
  margin-bottom: 10px;
}

.card p {
  line-height: 1.5;
  font-size: 1rem;
}

/* Image Section */
.core-image-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  text-align: center;
}

.benefits-image {
  width: 100%;
  max-height: 700px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

/* Core Benefits Cards Below the Image */
.core-benefits-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  text-align: center;
}

.core-benefits-container h2 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 30px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.benefit-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  width: 100%;
}

.benefit-card:hover {
  transform: translateY(-5px);
  background: #2e7d32;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.benefit-card .icon-container {
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.benefit-card:hover .icon-container {
  transform: scale(1.2);
}

.benefit-card .icon {
  font-size: 2.5rem;
  color: #00cc66;
  transition: color 0.3s ease;
}

.benefit-card:hover .icon {
  color: #fff;
}

.benefit-card h3 {
  font-size: 1.2rem;
  color: #2c3e50;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.benefit-card:hover h3 {
  color: #fff;
}

.benefit-card p {
  font-size: 1rem;
  line-height: 1.5;
  color: #555;
  transition: color 0.3s ease;
}

.benefit-card:hover p {
  color: #f0f0f0;
}
