/* =========================================================
   SERVICES COMPONENT STYLES
   ========================================================= */
.services-track-wrap {
  position: relative;
  width: 100%;
  margin: 40px auto;
  max-width: 1280px;
  padding: 0 50px;
}

.services-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 15px 4px 25px 4px;
  scrollbar-width: none;
}

.services-slider::-webkit-scrollbar {
  display: none;
}

.service-card {
  flex: 0 0 280px;
  background: var(--card, #FFFFFF);
  border: 1px solid var(--border, #E5E5E0);
  border-radius: 20px;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  /* Sleek, minimal default shadow */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  /* Smooth, buttery transition curve */
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  color: var(--text, #222222);
  -webkit-tap-highlight-color: transparent;
}

.service-card:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: var(--gold, #D99A00);
  background: #111111;
  color: #FFFFFF;
  /* Refined, subtle gold glow instead of heavy blur */
  box-shadow: 0 8px 20px rgba(217, 154, 0, 0.12);
}

.service-card:active {
  transform: translateY(-1px) scale(0.98);
}

/* ===== ICON CONTAINER & STROKE ANIMATIONS ===== */
.service-icon {
  color: var(--gold, #D99A00);
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.service-icon svg {
  width: 32px;
  height: 32px;
  stroke: currentColor;
  stroke-width: 1.75px;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes serviceDrawAlternate {
  0%, 100% {
    stroke-dashoffset: 100;
  }
  50% {
    stroke-dashoffset: 0;
  }
}

.service-icon svg path,
.service-icon svg rect,
.service-icon svg circle,
.service-icon svg line,
.service-icon svg polyline {
  stroke-dasharray: 100;
  animation: serviceDrawAlternate 4s ease-in-out infinite;
}

.service-icon svg rect { animation-delay: 0.0s; }
.service-icon svg path { animation-delay: 0.1s; }
.service-icon svg circle { animation-delay: 0.2s; }
.service-icon svg line { animation-delay: 0.3s; }
.service-icon svg polyline { animation-delay: 0.4s; }

.service-card:hover .service-icon {
  transform: scale(1.08) translateY(-1px);
  filter: drop-shadow(0 2px 4px rgba(217, 154, 0, 0.25));
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  color: var(--text, #222222);
  transition: color 0.3s ease;
}

.service-card:hover h3 {
  color: #FFFFFF;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--muted, #777777);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
  transition: color 0.3s ease;
}

.service-card:hover p {
  color: #CCCCCC;
}

.service-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold, #D99A00);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.service-card:hover .service-link {
  color: var(--gold-light, #FFE08A);
  transform: translateX(4px);
}

/* ===== SLIDER NAVIGATION ARROWS ===== */
.services-track-wrap .ott-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 1px solid var(--gold, #D99A00);
  background: rgba(255, 255, 255, 0.95);
  color: var(--gold, #D99A00);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.services-track-wrap .ott-arrow svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2px;
}

.services-track-wrap .ott-arrow:hover {
  background: var(--gold, #D99A00);
  color: #000000;
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 6px 16px rgba(217, 154, 0, 0.2);
}

.services-track-wrap .ott-prev {
  left: -5px;
}

.services-track-wrap .ott-next {
  right: -5px;
}

/* ===== RESPONSIVE TWEAKS (MOBILE OPTIMIZED) ===== */
@media (max-width: 768px) {
  .services-track-wrap .ott-arrow {
    display: none;
  }
  
  .services-track-wrap {
    margin: 32px auto;
    padding: 0;
  }

  .services-slider {
    gap: 14px;
    padding: 10px 16px;
  }

  .service-card {
    flex: 0 0 78vw;
    max-width: 270px;
    padding: 22px 18px;
    border-radius: 18px;
  }

  .service-icon {
    margin-bottom: 14px;
  }

  .service-icon svg {
    width: 26px;
    height: 26px;
  }

  .service-card h3 {
    font-size: 1rem;
    margin-bottom: 6px;
  }

  .service-card p {
    font-size: 0.82rem;
    line-height: 1.5;
    margin-bottom: 16px;
  }

  .service-link {
    font-size: 0.74rem;
  }
}