/* What we offer Section Styling */
.what-we-offer-section {
background-color: #f9f9f9; /* Light grey background */
color: #333;
}

.step-card {
background-color: white;
border-radius: 10px;
padding: 2rem;
transition: transform 0.3s ease, box-shadow 0.3s ease;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Soft shadow */
height: 320px;
}

#bece{
  background-image: url("https://mechdem.com/static/images/bece.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

#gpa{
  background-image: url("https://mechdem.com/static/images/gpa.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

#mechanical{
  background-image: url("https://mechdem.com/static/images/mechanical.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

#games{
  background-image: url("https://mechdem.com/static/images/games.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}


.step-card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Mechanical Questions */
.question-card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.question-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card-img-top {
  height: 300px;
  object-fit: cover;
}

.card-body {
  padding: 1.5rem;
}

.badge {
  font-size: 0.85rem;
  padding: 0.4em 0.7em;
}

.download-btn {
  margin-top: 1rem;
  width: 100%;
}

@media (max-width: 576px) {
  .card-body {
    text-align: center;
  }
}

/* Testimonial Section Styling */
.testimonial-section {
background-color: #f9f9f9;
}

.testimonial-section h2 {
color: #421F6F;
margin-bottom: 2rem; /* Increased margin for better spacing */
}

.testimonial-card {
background-color: white; /* White background for cards */
border: 1px solid #ddd; /* Light border for cards */
border-radius: 10px; /* Rounded corners */
padding: 2rem; /* Padding for content */
transition: transform 0.3s, box-shadow 0.3s; /* Smooth hover effect */
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.testimonial-card:hover {
transform: translateY(-5px); /* Lift effect on hover */
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); /* Deeper shadow on hover */
}

.testimonial-section img {
border: 2px solid #421F6F;
}

.testimonial-section p {
font-style: italic;
color: #555;
}

/* Frequently asked questions section */
.faq-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.faq-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2.5rem;
}

.accordion-item {
  background: white;
  border: none;
  border-radius: 0.75rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-button {
  font-weight: 600;
  font-size: 1.1rem;
  background-color: #ffffff;
  padding: 1rem 1.25rem;
}

.accordion-button:not(.collapsed) {
  color: #421F6F;
  background-color: #e1d9eb;
}

.accordion-body {
  font-size: 1rem;
  line-height: 1.6;
  color: #000000;
}

/* Testimonies section */
.testimony-section {
    max-width: 700px;
    margin: auto;
    background: #ffffff;
    padding: 3rem 2rem;
    border-radius: 1rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  }

.form-control {
    border-radius: 0.5rem;
    font-size: 1rem;
    min-height: 150px;
    resize: vertical;
  }

  .button-group {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.5rem;
  }

      @media (max-width: 576px) {
    .button-group {
      flex-direction: column;
    }
  }