/* Scope the CSS to pricing section */
.pricing-section {
  font-family: 'Poppins', sans-serif;
  padding: 3rem 1rem;
  display: flex;
  justify-content: center;
}

/* Pricing Container */
.pricing-container {
  align-items: start;
  display: grid; /* Use grid for better alignment */
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* Wider cards */
  gap: 2rem; /* Horizontal and vertical gap between cards */
  max-width: 1200px;
  justify-content: center;
}

/* Pricing Cards */
.plan {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%; /* Ensure cards take full column width */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}


/* Responsive Layout for Medium Screens (Tablets) */
@media (max-width: 1024px) {
  .pricing-container {
    grid-template-columns: repeat(2, 1fr); /* Two columns on medium screens */
    gap: 2rem; /* Maintain spacing */
  }
}

/* Responsive Layout for Small Screens (Mobile) */
@media (max-width: 768px) {
  .pricing-container {
    grid-template-columns: 1fr; /* Single column on small screens */
    gap: 2.9rem; /* Increase vertical gap between stacked cards */
  }

  .plan {
    min-height: auto; /* Let cards adjust height dynamically on mobile */
    padding: 1.5rem; /* Adjust padding for smaller screens */
  }

}
