/* Direct solution to ensure the first card is fully visible */
.services-container {
  position: relative;
  padding: 0 60px;
  margin: 0 auto;
  overflow: visible;
}

/* Main fix: Adjust the slider with negative margin and padding */
.services-slider {
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 20px 0;
  margin-left: -55px; /* Negative margin to position start */
  padding-left: 55px; /* Counterbalance padding */
  width: calc(100% + 50px); /* Compensate for margins */
}

.services-slider::-webkit-scrollbar {
  display: none;
}

.services-wrapper {
  display: flex;
  gap: 30px;
  padding-left: 0; /* Reset any padding */
  margin-left: 0; /* Reset any margin */
}

/* Key fix: Make the container wider and add padding */
.service-card {
  flex: 0 0 auto; /* Don't force any specific width */
  width: 280px;
  background: white;
  border-radius: 16px;
  padding: 30px 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

/* Ensure text can wrap properly */
.service-card h3 {
  white-space: normal;
}

.service-card p {
  white-space: normal;
}

/* Navigation buttons */
.services-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: #2563eb;
  color: white;
  border: none;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.services-prev {
  left: 10px;
}

.services-next {
  right: 10px;
}
