/* ===================================
   Single Service Page Styles
   =================================== */

/* Hero Section */
.service-hero {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 1.5rem;
}

.breadcrumb-item a {
  color: #667eea;
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb-item a:hover {
  color: #764ba2;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.service-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stat-item i {
  width: 50px;
  height: 50px;
  background: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #667eea;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.stat-item small {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-actions .btn {
  padding: 0.875rem 2rem;
  font-weight: 600;
}

.hero-image-wrapper {
  position: relative;
  text-align: center;
}

.hero-image {
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  max-width: 100%;
  height: auto;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.hero-icon {
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
}

.hero-icon i {
  font-size: 6rem;
  color: white;
}

/* Service Details */
.service-details {
  background: #f8f9fa;
}

.content-block {
  background: white;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #2d3748;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 2px;
}

.content-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #4a5568;
}

.content-text p {
  margin-bottom: 1.5rem;
}

.content-text ul,
.content-text ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.content-text li {
  margin-bottom: 0.75rem;
}

/* Features Grid */
.features-grid {
  display: grid;
  gap: 2rem;
}

.feature-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 12px;
  transition: all 0.3s;
}

.feature-item:hover {
  background: #e9ecef;
  transform: translateX(10px);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(157, 201, 72, 0.1) 0%, rgba(180, 217, 92, 0.1) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon i {
  font-size: 1.5rem;
  color: white;
}

.feature-content {
  flex: 1;
}

/* Includes List */
.includes-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.includes-list li {
  padding: 1rem 0;
  font-size: 1.05rem;
  color: #4a5568;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: flex-start;
}

.includes-list li:last-child {
  border-bottom: none;
}

.includes-list i {
  margin-top: 0.25rem;
  flex-shrink: 0;
}

/* Process Steps */
.process-steps {
  position: relative;
}

.process-step {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
  position: relative;
}

.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 30px;
  top: 70px;
  width: 2px;
  height: calc(100% + 20px);
  background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
  opacity: 0.3;
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(157, 201, 72, 0.1) 0%, rgba(180, 217, 92, 0.1) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: black;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.step-content {
  flex: 1;
  padding-top: 0.5rem;
}

/* Tech Stack */
.tech-stack {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 1.5rem;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 1rem;
  background: #f8f9fa;
  border-radius: 12px;
  transition: all 0.3s;
  text-align: center;
}

.tech-item:hover {
  background: #e9ecef;
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.tech-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.tech-icon-placeholder {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #667eea;
  font-size: 1.5rem;
}

.tech-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #4a5568;
}

/* Use Cases */
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.use-case-card {
  padding: 2rem;
  background: #f8f9fa;
  border-radius: 12px;
  transition: all 0.3s;
  border: 2px solid transparent;
}

.use-case-card:hover {
  background: white;
  border-color: #667eea;
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.use-case-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(157, 201, 72, 0.1) 0%, rgba(180, 217, 92, 0.1) 100%);
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.use-case-icon i {
  font-size: 2rem;
  color: white;
}

/* FAQ Accordion */
.accordion-item {
  border: none;
  margin-bottom: 1rem;
  border-radius: 12px !important;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.accordion-button {
  font-weight: 600;
  font-size: 1.05rem;
  padding: 1.25rem 1.5rem;
  background: white;
  color: #2d3748;
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, #495057 0%, #6c757d 100%);
  color: white;
  box-shadow: none;
}

.accordion-button::after {
  background-size: 1.25rem;
}

.accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1);
}

.accordion-body {
  padding: 1.5rem;
  color: #4a5568;
  line-height: 1.7;
}

/* Sidebar */
.sidebar-sticky {
  position: sticky;
  top: 100px;
}

.info-card,
.benefits-card,
.contact-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid #e2e8f0;
}

.info-item:last-of-type {
  border-bottom: none;
}

.info-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #718096;
  font-weight: 500;
}

.info-label i {
  color: #667eea;
  width: 20px;
  text-align: center;
}

.info-value {
  font-weight: 700;
  color: #2d3748;
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.benefits-list li {
  padding: 0.75rem 0;
  color: #4a5568;
  line-height: 1.6;
}

.contact-card {
  text-align: center;
}

.contact-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(157, 201, 72, 0.1) 0%, rgba(180, 217, 92, 0.1) 100%);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.contact-icon i {
  font-size: 2rem;
  color: white;
}

.contact-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  border-radius: 8px;
}

.contact-link:hover {
  background: #f8f9fa;
  color: #764ba2;
}

/* Related Services */
.related-services {
  background: white;
}

.related-service-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.related-service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.card-image-wrapper {
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.related-service-card:hover .card-image {
  transform: scale(1.1);
}

.card-icon {
  font-size: 4rem;
  color: #667eea;
}

.related-service-card .card-body {
  padding: 2rem;
}

.card-title a {
  color: #2d3748;
  text-decoration: none;
  transition: color 0.3s;
}

.card-title a:hover {
  color: #667eea;
}

/* CTA Section */
.service-cta {
  background: linear-gradient(135deg, #495057 0%, #6c757d 100%);
}

/* Dark Theme */
[data-bs-theme="dark"] .service-hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

[data-bs-theme="dark"] .service-details {
  background: #1a1a2e;
}

[data-bs-theme="dark"] .content-block,
[data-bs-theme="dark"] .info-card,
[data-bs-theme="dark"] .benefits-card,
[data-bs-theme="dark"] .contact-card,
[data-bs-theme="dark"] .related-service-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .section-title,
[data-bs-theme="dark"] .card-title a {
  color: #e2e8f0;
}

[data-bs-theme="dark"] .content-text,
[data-bs-theme="dark"] .info-value,
[data-bs-theme="dark"] .benefits-list li {
  color: #cbd5e0;
}

[data-bs-theme="dark"] .feature-item,
[data-bs-theme="dark"] .tech-item,
[data-bs-theme="dark"] .use-case-card {
  background: rgba(255, 255, 255, 0.03);
}

[data-bs-theme="dark"] .accordion-item {
  background: rgba(255, 255, 255, 0.05);
}

[data-bs-theme="dark"] .accordion-button {
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
}

[data-bs-theme="dark"] .stat-item i {
  background: rgba(255, 255, 255, 0.05);
}

/* Responsive */
@media (max-width: 991px) {
  .service-hero {
    min-height: auto;
    padding: 3rem 0;
  }
  
  .hero-image-wrapper {
    margin-top: 2rem;
  }
  
  .hero-icon {
    width: 200px;
    height: 200px;
  }
  
  .hero-icon i {
    font-size: 4rem;
  }
  
  .sidebar-sticky {
    position: static;
    margin-top: 3rem;
  }
  
  .service-stats {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 767px) {
  .service-hero h1 {
    font-size: 2rem;
  }
  
  .content-block {
    padding: 1.5rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .feature-item {
    flex-direction: column;
    text-align: center;
  }
  
  .process-step {
    gap: 1rem;
  }
  
  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  .tech-stack {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  }
  
  .use-cases-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
}

/* Animations */
.feature-item,
.process-step,
.tech-item,
.use-case-card {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.feature-item:nth-child(1) { animation-delay: 0.1s; }
.feature-item:nth-child(2) { animation-delay: 0.2s; }
.feature-item:nth-child(3) { animation-delay: 0.3s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
