.services {
  color: black;
  background-color: #2a6ef2;
}

.services .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.services h3 {
  margin-top: 48px;
  margin-left: 10vw;
  font-size: 3rem;
  font-weight: 600;
  color: white;
}

.services-intro {
  margin-left: 10vw;
  margin-right: 10vw;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 200;
  margin-bottom: 32px;
}

.service-card h4 {
  margin: 0 0 12px 0;
  font-size: 1.5rem;
  color: #2a6ef2;
}

.service-card p {
  margin: 0;
  font-size: 1rem;
  color: #222;
  font-weight: 200;
}

.service-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.6), 0 2px 8px rgba(0,0,0,0.45);
  min-width: 100px;
  max-width: 300px;
  flex: 0 0 80%;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.service-card-img {
  width: 250px;
  height: 250px;
  object-fit: contain;
  margin-bottom: 16px;
  align-self: center;
}

.slider-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  min-height: 380px;
}

.slider-arrow {
  background: #2a6ef2;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  font-family: inherit;
  transition: background 0.2s;
  z-index: 3;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  flex-shrink: 0;
}

.slider-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.slider-arrow-left {
  left: 0;
}

.slider-arrow-right {
  right: 0;
  left: auto;
}

.slider-track {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 32px 0 56px 0;
  padding-left: 2vw;
  padding-right: 2vw;
  width: 100%;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.slider-track::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

@media (max-width: 900px) {
  .services .container {
    padding-top: 1px;
  }
  .services h3 {
    margin-left: 5vw;
  }
  .services-intro {
    margin-left: 5vw;
    margin-right: 5vw;
  }
}

@media (max-width: 600px) {
  .services-intro {
    font-size: 1rem;
    margin-bottom: 16px;
  }
  .services h3 {
    font-size: 2rem;
    margin-top: 31px;
  }
  .slider-track {
    gap: 1rem;
  }
}