/* Services page specific styles */

/* Technical expertise horizontal scroll */
.tech-expertise-scroll {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) var(--gray-200);
  padding: 2rem 0;
  margin: 0 -1rem;
  -webkit-overflow-scrolling: touch;
  position: relative;
  gap: 1.5rem;
  scroll-behavior: smooth;
}

.tech-expertise-scroll::-webkit-scrollbar {
  height: 8px;
}

.tech-expertise-scroll::-webkit-scrollbar-track {
  background-color: var(--gray-200);
  border-radius: 4px;
}

.tech-expertise-scroll::-webkit-scrollbar-thumb {
  background-color: var(--primary-color);
  border-radius: 4px;
}

.tech-expertise-card {
  scroll-snap-align: start;
  min-width: 300px;
  margin: 0 0.5rem;
  flex: 0 0 auto;
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  z-index: 1;
}

.tech-expertise-card:hover {
  transform: translateY(-10px) scale(1.02) !important;
  z-index: 2;
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.12) !important;
}

.tech-expertise-wrapper {
  position: relative;
  padding: 0 2rem;
}

.scroll-nav-buttons {
  position: absolute;
  top: 50%;
  width: 100%;
  left: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 5;
  padding: 0 1rem;
}

.scroll-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: white;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  opacity: 0.85;
}

.scroll-btn:hover {
  background: var(--primary-color);
  color: white;
  transform: scale(1.1);
  opacity: 1;
}

.scroll-btn:active {
  transform: scale(0.95);
}

.scroll-indicator {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 2rem;
}

.scroll-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--gray-300);
  transition: all 0.3s ease;
  cursor: pointer;
}

.scroll-dot.active {
  background-color: var(--primary-color);
  transform: scale(1.3);
}

.tech-section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 3rem;
  position: relative;
}

.tech-section-header::after {
  content: "";
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
  margin-top: 1.5rem;
}

.tech-pill-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  margin-top: 1rem;
  transition: all 0.3s ease;
}

.tech-pill-badge:hover {
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .tech-expertise-card {
    min-width: 260px;
  }
  
  .scroll-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .tech-expertise-card {
    min-width: 240px;
  }
  
  .scroll-nav-buttons {
    display: none;
  }
}
