/* Simple, focused fix for the services carousel */

/* Basic container setup */
.services-container {
  position: relative;
  padding: 0 60px;
  margin: 0 auto;
}

/* Main carousel slider - position it so first card is visible */
.services-slider {
  display: block;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 20px 0;
  /* Critical: position based on the actual page width */
  margin-left: -20px !important;
  padding-left: 20px !important;
}

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

/* Card wrapper positioning */
.services-wrapper {
  display: flex;
  gap: 25px;
  padding-left: 35px !important; /* Explicitly move all cards right */
}

/* Card styling */
.service-card {
  flex: 0 0 280px;
  min-width: 280px;
  background: white;
  border-radius: 16px;
  padding: 30px 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

/* Text styles to ensure content fits */
.service-card h3 {
  margin-bottom: 15px;
  font-size: 1.1rem;
  white-space: normal !important;
  overflow: visible !important;
}

.service-card p {
  font-size: 0.9rem;
  white-space: normal !important;
  overflow: visible !important;
}

/* 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: -20px;  /* Moved 30px left from original 10px position */
}

.services-next {
  right: -20px;  /* Moved 30px right from original 10px position */
}
