/* Why Choose Us Section */
.why-choose-us {
  background: linear-gradient(to right, #480A5E, #1F5BEA);
  color: #fff;
  padding: 3rem 1rem;
  text-align: center;
}

.why-choose-us h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #fff;
}

.why-choose-us h2 span {
  color: #ffc107; /* Highlighted text color */
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 300px; /* Fixed width */
  height: 350px; /* Fixed height */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto; /* Center align items */
}

.feature:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.feature-logo {
  max-width: 80px;
  height: auto;
  margin-bottom: 1rem;
  display: inline-block;
}

.feature h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #ffc107;
}

.feature p {
  font-size: 1rem;
  line-height: 1.5;
  color: #e0e0e0;
}

/* Responsive Grid */
@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr); /* 3x3 grid layout for tablets and desktops */
  }
}

@media (max-width: 767px) {
  .features-grid {
    grid-template-columns: 1fr; /* Single column layout for mobile */
  }
  .feature {
    width: auto; /* Allow flexible width for mobile */
    height: auto; /* Allow flexible height for mobile */
  }
}
