/* ============================   SERVICES   =========================== */

#services_section {
  /* width: 90%; */
  /* margin-top: 3%; */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
  margin-bottom: 5%;

  max-width: 100%;
  box-sizing: border-box;
  overflow-x: auto;
  /* permite rolagem horizontal */
  scrollbar-width: none;
  /* Firefox */
}

#services_section::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari, Edge */
}

#services_section.visible {
  opacity: 1;
  transform: translateY(0);
}

.carousel-container {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  padding: 5%;

}

.service-card {
  min-width: 320px;
  max-width: 380px;
  /* width: 100%; */
  height: 50%;
  flex: 0 0 auto;
  padding: 1rem;
  background: #1a2a5c;
  border-radius: 16px;
  scroll-snap-align: start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: whitesmoke;
}

.service-card:hover {
  transform: translateY(-5px) scale(1.02);
  /* box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2); */
  box-shadow: 0 8px 20px #F20574;
}

.service-image {
  width: 100%;
  height: 400px;
  border-radius: 12px;
}

.service-title {
  font-size: 1.2rem;
  margin: 0.5rem 0;
}

.service-description {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  text-align: justify;
}

.service-results img,
.mentoring-item {
  display: inline-block;
  margin: 0.2rem;
  font-size: 0.85rem;
  width: 30%;
}

.md-button {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #4657aa;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.md-button:hover {
  /* background: #32408f; */
  background: #F20574;
}

/* Feedback toggle */
.feedback-content {
  display: none;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.5rem;
  border-radius: 6px;
}

.feedback-toggle {
  margin-top: 0.8rem;
  padding: 0.4rem 0.8rem;
  background: transparent;
  border: 1px solid white;
  border-radius: 6px;
  color: white;
  cursor: pointer;
  font-size: 0.85rem;
  transition: background 0.3s ease;
}

.feedback-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ============================   END SERVICES   =========================== */
