/* Scoped styles for Services Overview page only */

/* Clean page background and layout */
#services-overview { 
  
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* General section typography - left aligned like reference */
#services-overview .section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: #1a1d29;
  text-align: left;
  margin-bottom: 1rem;
}

#services-overview .section-subtitle {
  font-size: 1.125rem;
  color: #6b7280;
  margin-bottom: 0;
  text-align: left;
  max-width: 100%;
}

/* Section rhythm - clean and minimal */
#services-overview .so-block { 
  padding-top: clamp(2rem, 5vw, 4rem); 
  padding-bottom: clamp(2rem, 5vw, 4rem); 
}
#services-overview .so-block + .so-block { 
  margin-top: 0; 
  border-top: none; 
}

/* Hero section - clean and centered */
#services-overview .so-hero {
  padding-top: clamp(3rem, 8vw, 6rem);
  padding-bottom: clamp(2rem, 5vw, 3rem);
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}
#services-overview .so-hero .so-hero-intro { 
  text-align: center; 
}
#services-overview .so-hero .badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(59, 130, 246, 0.1) !important;
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 2rem;
  color: #3b82f6;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.025em;
}
#services-overview .so-hero .badge::before {
  display: none;
}
#services-overview .so-hero .so-hero-intro .display-5 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin: 1.5rem 0 1rem;
  color: #1e293b;
}
#services-overview .so-hero .so-hero-intro .lead {
  max-width: 700px;
  font-size: 1.125rem;
  line-height: 1.7;
  color: #64748b;
  margin: 0 auto 2rem;
}
#services-overview .so-hero .btn {
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}
#services-overview .so-hero .btn-primary {
  background: #3b82f6;
  border: none;
  box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.39);
}
#services-overview .so-hero .btn-outline-primary {
  color: #3b82f6;
  border-color: #3b82f6;
  background: transparent;
}

/* Sticky sub navigation */
#services-overview .so-subnav { 
  position: sticky; 
  top: 70px; 
  z-index: 10; 
  background: rgba(255, 255, 255, 0.95); 
  backdrop-filter: blur(12px);
  padding: 1rem 0; 
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  margin-bottom: 0;
}
#services-overview [data-anchor] { 
  scroll-margin-top: 120px; 
}
#services-overview .so-subnav .btn { 
  background: transparent; 
  border: 1px solid rgba(148, 163, 184, 0.3); 
  color: #64748b;
  font-weight: 500;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}
#services-overview .so-subnav .btn:hover, 
#services-overview .so-subnav .btn:focus { 
  background: #f1f5f9; 
  border-color: #3b82f6;
  color: #3b82f6;
}
#services-overview .so-subnav .btn-outline-primary {
  background: #3b82f6;
  color: white;
  border-color: #3b82f6;
}
/* Why Choose section - clean card design */
#services-overview .so-why { 
  background: #f8fafc; 
}
#services-overview .so-why .card-panel { 
  background: white; 
  border: 1px solid rgba(226, 232, 240, 0.8); 
  border-radius: 1rem; 
  box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); 
  padding: clamp(2rem, 4vw, 3rem); 
  margin-bottom: 2rem;
}
#services-overview .so-why h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
}
#services-overview .so-why .lead { 
  max-width: 100%; 
  font-size: 1.125rem;
  line-height: 1.7;
  color: #64748b;
  margin-bottom: 2rem;
}
#services-overview .so-why .feature { 
  background: white;
  border: 1px solid rgba(226, 232, 240, 0.6);
  border-radius: 0.75rem; 
  padding: 1.5rem;
  transition: all 0.3s ease;
  height: 100%;
}
#services-overview .so-why .feature:hover { 
  transform: translateY(-4px); 
  box-shadow: 0 10px 25px -3px rgba(59, 130, 246, 0.1), 0 4px 6px -2px rgba(59, 130, 246, 0.05);
  border-color: rgba(59, 130, 246, 0.2);
}
#services-overview .so-why .feature h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.75rem;
}
#services-overview .so-why .feature p {
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}
#services-overview .so-why .rounded-circle { 
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
  width: 60px !important;
  height: 60px !important;
}

/* Core Services - clean card grid */
#services-overview .so-core h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.5rem;
}
#services-overview .so-core .text-muted {
  color: #64748b !important;
  font-size: 1.125rem;
  line-height: 1.6;
}
#services-overview .so-service-item .card {
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  overflow: hidden;
}
#services-overview .so-service-item .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: rgba(59, 130, 246, 0.2);
}
#services-overview .so-service-item .so-card-media {
  height: 200px;
  background-size: cover; 
  background-position: center;
}
#services-overview .so-service-item .card-body { 
  padding: 1.5rem; 
}
#services-overview .so-service-item .card-title { 
  font-weight: 600; 
  color: #1e293b;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}
#services-overview .so-service-item .card-text, 
#services-overview .so-service-item ul { 
  color: #64748b;
  line-height: 1.6;
}
#services-overview .so-service-item .btn {
  border-radius: 0.5rem;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  transition: all 0.2s ease;
}

/* Use Cases - clean image cards */
#services-overview .so-usecases h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.5rem;
}
#services-overview .so-usecases .uc-card { 
  position: relative; 
  border-radius: 1rem; 
  overflow: hidden; 
  border: 1px solid rgba(226, 232, 240, 0.8); 
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); 
  transition: all 0.3s ease; 
}
#services-overview .so-usecases .uc-card:hover { 
  transform: translateY(-6px); 
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); 
}
#services-overview .so-usecases .uc-media { 
  height: 220px; 
  background-size: cover; 
  background-position: center; 
}
#services-overview .so-usecases .uc-overlay { 
  position: absolute; 
  inset: 0; 
  display: flex; 
  flex-direction: column; 
  justify-content: flex-end; 
  padding: 1.5rem; 
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.7) 100%); 
}
#services-overview .so-usecases .uc-tag { 
  background: rgba(255, 255, 255, 0.9) !important;
  color: #3b82f6 !important;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
  align-self: flex-start;
}
#services-overview .so-usecases .uc-overlay h3 {
  color: white;
  font-weight: 600;
  font-size: 1.125rem;
  margin: 0;
}

/* Steps section - clean timeline */
#services-overview .so-steps h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.5rem;
}
#services-overview .so-steps .step { 
  background: white; 
  border: 1px solid rgba(226, 232, 240, 0.8); 
  border-radius: 1rem; 
  padding: 2rem 1.5rem; 
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); 
  position: relative;
  height: 100%;
}
#services-overview .so-steps .step-index { 
  position: absolute; 
  top: -15px; 
  left: 50%; 
  transform: translateX(-50%);
  width: 36px; 
  height: 36px; 
  border-radius: 50%; 
  background: linear-gradient(135deg, #3b82f6, #1d4ed8); 
  color: white; 
  font-weight: 700; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4); 
  font-size: 0.875rem;
}
#services-overview .so-steps .step h3 {
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.75rem;
  margin-top: 0.5rem;
}
#services-overview .so-steps .step p {
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* FAQ section - clean accordion */
#services-overview .so-faq h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 2rem;
}
#services-overview .so-faq .accordion-item { 
  border: 1px solid rgba(226, 232, 240, 0.8); 
  border-radius: 0.75rem; 
  overflow: hidden; 
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); 
  margin-bottom: 1rem;
}
#services-overview .so-faq .accordion-button {
  background: white;
  color: #1e293b;
  font-weight: 600;
  padding: 1.5rem;
  border: none;
}
#services-overview .so-faq .accordion-button:not(.collapsed) {
  background: #f8fafc;
  color: #3b82f6;
  box-shadow: none;
}
#services-overview .so-faq .accordion-body {
  background: #f8fafc;
  color: #64748b;
  padding: 1.5rem;
  line-height: 1.6;
}

/* Responsive design */
@media (max-width: 991.98px) {
  #services-overview .so-hero { 
    padding-top: clamp(2rem, 6vw, 4rem); 
  }
}

@media (max-width: 767.98px) {
  #services-overview .so-hero .display-5 { 
    font-size: clamp(1.5rem, 6vw, 2rem); 
  }
  #services-overview .so-subnav .btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
  #services-overview .so-why .card-panel,
  #services-overview .so-why .feature {
    padding: 1.5rem;
  }
}
