/* Service Details Page Styles */

/* Service Article Styles */
.service-article {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.service-article:hover {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.service-article-img {
  position: relative;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  height: 400px;
}

.service-article-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-article:hover .service-article-img img {
  transform: scale(1.05);
}

.service-article-content {
  padding: 40px;
}

.service-article-content h2 {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
  line-height: 1.3;
}

.service-article-content h3 {
  font-size: 24px;
  font-weight: 600;
  color: #2c2c2c;
  margin: 30px 0 20px;
  position: relative;
  padding-left: 20px;
}

.service-article-content h3:before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 24px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 2px;
}

.service-article-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 20px;
}

.service-article-content strong {
  color: #333;
  font-weight: 600;
}

/* Feature Cards */
.service-feature-card {
  background: #fff;
  border: 2px solid #f0f0f0;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  height: 100%;
}

.service-feature-card:hover {
  border-color: #667eea;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.15);
  transform: translateY(-5px);
}

.service-feature-card i {
  font-size: 48px;
  color: #667eea;
  margin-bottom: 20px;
  display: block;
}

.service-feature-card h4 {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 15px;
}

.service-feature-card p {
  font-size: 15px;
  color: #666;
  line-height: 1.7;
  margin: 0;
}

/* Benefits List */
.service-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.service-benefit-item {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 25px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all 0.3s ease;
}

.service-benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.service-benefit-item i {
  font-size: 32px;
  min-width: 40px;
}

.service-benefit-item span {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

/* Quote Box */
.service-article-quote {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
  padding: 40px;
  margin: 40px 0;
  position: relative;
  color: #fff;
  box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
}

.service-article-quote i {
  font-size: 48px;
  opacity: 0.2;
  position: absolute;
  top: 20px;
  left: 30px;
}

.service-article-quote p {
  font-size: 20px;
  font-style: italic;
  color: #fff;
  margin: 0 0 15px;
  padding-left: 60px;
  line-height: 1.6;
}

.service-article-quote span {
  font-size: 16px;
  font-weight: 600;
  padding-left: 60px;
  display: block;
}

/* Process Steps */
.service-process-steps {
  margin: 40px 0;
}

.service-process-step {
  display: flex;
  gap: 25px;
  margin-bottom: 30px;
  align-items: flex-start;
}

.service-process-step-number {
  min-width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
}

.service-process-step-content h4 {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.service-process-step-content p {
  color: #666;
  line-height: 1.7;
  margin: 0;
}

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

.service-details-sidebar > div {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.service-details-sidebar > div:hover {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.service-details-sidebar h3 {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 3px solid #667eea;
}

/* Services List */
.services-list .service-category-group {
  margin-bottom: 30px;
}

.services-list .service-category-title {
  font-size: 16px;
  font-weight: 600;
  color: #667eea;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
  padding-left: 10px;
  border-left: 3px solid #667eea;
}

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

.services-list ul li {
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.services-list ul li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  background: #f8f9fa;
  border-radius: 8px;
  color: #333;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.services-list ul li a:hover {
  background: #fff;
  color: #667eea;
  border-color: #667eea;
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.15);
}

.services-list ul li.active a {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
}

.services-list ul li a i {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.services-list ul li a:hover i {
  transform: translateX(5px);
}

/* Contact Widget */
.service-contact-widget h3 {
  text-align: center;
}

.service-contact-widget .contact-info {
  text-align: center;
  margin-bottom: 25px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.service-contact-widget .contact-info:hover {
  background: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.service-contact-widget .contact-info i {
  font-size: 36px;
  color: #667eea;
  margin-bottom: 15px;
  display: block;
}

.service-contact-widget .contact-info h4 {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.service-contact-widget .contact-info p {
  margin: 0;
  color: #666;
}

.service-contact-widget .contact-info p a {
  color: #667eea;
  font-weight: 500;
  transition: color 0.3s ease;
}

.service-contact-widget .contact-info p a:hover {
  color: #764ba2;
}

.service-contact-widget .default-btn {
  width: 100%;
  text-align: center;
  margin-top: 10px;
}

/* Download Widget */
.service-download-widget .download-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: #f8f9fa;
  border-radius: 8px;
  color: #333;
  font-weight: 500;
  margin-bottom: 15px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.service-download-widget .download-btn:hover {
  background: #fff;
  border-color: #667eea;
  color: #667eea;
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.15);
  transform: translateY(-3px);
}

.service-download-widget .download-btn i:first-child {
  font-size: 28px;
  margin-right: 15px;
}

.service-download-widget .download-btn i:last-child {
  font-size: 20px;
}

.service-download-widget .download-btn span {
  flex: 1;
}

/* CTA Widget */
.service-cta-widget {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
}

.service-cta-widget .cta-content {
  text-align: center;
}

.service-cta-widget i {
  font-size: 56px;
  margin-bottom: 20px;
  display: block;
  opacity: 0.9;
}

.service-cta-widget h3 {
  color: #fff;
  border: none;
  padding: 0;
  margin-bottom: 15px;
}

.service-cta-widget p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 25px;
}

.service-cta-widget .cta-btn {
  display: inline-block;
  padding: 12px 30px;
  background: #fff;
  color: #667eea;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.service-cta-widget .cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

/* Icon List */
.service-icon-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.service-icon-list-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.service-icon-list-item:hover {
  background: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.service-icon-list-item i {
  font-size: 32px;
  color: #667eea;
  min-width: 40px;
}

.service-icon-list-item span {
  font-size: 15px;
  color: #333;
  font-weight: 500;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .service-details-sidebar {
    display: none; /* Hide sidebar on mobile */
  }

  .service-article-content {
    padding: 30px;
  }

  .service-article-content h2 {
    font-size: 28px;
  }

  .service-article-content h3 {
    font-size: 22px;
  }
}

@media (max-width: 767px) {
  .service-article-img {
    height: 250px;
  }

  .service-article-content {
    padding: 20px;
  }

  .service-article-content h2 {
    font-size: 24px;
  }

  .service-article-content h3 {
    font-size: 20px;
  }

  .service-feature-card {
    padding: 20px;
  }

  .service-article-quote {
    padding: 25px;
  }

  .service-article-quote p {
    font-size: 16px;
    padding-left: 40px;
  }

  .service-article-quote span {
    padding-left: 40px;
  }

  .service-benefits-grid {
    grid-template-columns: 1fr;
  }

  .service-icon-list {
    grid-template-columns: 1fr;
  }

  .service-process-step {
    flex-direction: column;
    gap: 15px;
  }
}

/* Dark Mode Styles */
.dark-theme .service-article {
  background: #1a1a1a;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
}

.dark-theme .service-article-content h2,
.dark-theme .service-article-content h3 {
  color: #fff;
}

.dark-theme .service-article-content p {
  color: #b0b0b0;
}

.dark-theme .service-article-content strong {
  color: #e0e0e0;
}

.dark-theme .service-feature-card {
  background: #252525;
  border-color: #333;
}

.dark-theme .service-feature-card:hover {
  background: #2a2a2a;
  border-color: #667eea;
}

.dark-theme .service-feature-card h4 {
  color: #fff;
}

.dark-theme .service-feature-card p {
  color: #b0b0b0;
}

.dark-theme .service-process-step-content h4 {
  color: #fff;
}

.dark-theme .service-process-step-content p {
  color: #b0b0b0;
}

.dark-theme .service-details-sidebar > div {
  background: #1a1a1a;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
}

.dark-theme .service-details-sidebar h3 {
  color: #fff;
}

.dark-theme .services-list ul li a {
  background: #252525;
  color: #e0e0e0;
}

.dark-theme .services-list ul li a:hover {
  background: #2a2a2a;
  color: #667eea;
}

.dark-theme .service-contact-widget .contact-info {
  background: #252525;
}

.dark-theme .service-contact-widget .contact-info:hover {
  background: #2a2a2a;
}

.dark-theme .service-contact-widget .contact-info h4 {
  color: #fff;
}

.dark-theme .service-contact-widget .contact-info p {
  color: #b0b0b0;
}

.dark-theme .service-download-widget .download-btn {
  background: #252525;
  color: #e0e0e0;
}

.dark-theme .service-download-widget .download-btn:hover {
  background: #2a2a2a;
}

.dark-theme .service-icon-list-item {
  background: #252525;
}

.dark-theme .service-icon-list-item:hover {
  background: #2a2a2a;
}

.dark-theme .service-icon-list-item span {
  color: #e0e0e0;
}

/* Dark mode for service details area background */
.dark-theme .service-details-area {
  background-color: #0f0f0f !important;
}

.dark-theme .service-article-img {
  border: 1px solid #333;
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-article,
.service-details-sidebar > div {
  animation: fadeInUp 0.6s ease-out;
}
