@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

/* Background color, font, padding for the whole section */
.key-benefits {
  background-color: #F9FAFB;
  padding: 4rem 1rem;
  font-family: 'Inter', sans-serif;
}

/* Aligning each card */
.key-benefits .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Section title */
.key-benefits .section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1E40AF;
  text-align: center;
  margin-bottom: 2.5rem;
}

/* Grid for benefits */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

/* Style for each benefit card */
.benefit-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect for each benefit card */
.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

/* Icons on each benefit */
.benefit-icon svg {
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
  color: #3B82F6;    
  fill: currentColor;
}

/* Text styling on each benefit card */
.benefit-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1E40AF;
  margin-bottom: 0.75rem;
}

.benefit-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #4B5563;   
}

/* Small mobile optimizations */
@media (max-width: 768px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .benefit-icon {
    margin-top: 0.5rem;
  }

  #featuresCarousel .carousel-indicators {
    bottom: -5rem;    
  } 
}
