/* ========================================
   C&B SERVICE DETAIL PAGE - CUSTOM STYLES
   ======================================== */

/* Service Hero Section */
.cb-service-hero {
  padding: 100px 0 60px;
  background:
    linear-gradient(
      135deg,
      rgba(26, 26, 46, 0.95) 0%,
      rgba(22, 33, 62, 0.95) 100%
    ),
    url("https://cb.onedizitalz.in/wp-content/uploads/2024/05/blog-03.jpg")
      center center;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
}

.cb-breadcrumb {
  margin-bottom: 20px;
  font-size: 14px;
}

.cb-breadcrumb a {
  color: #34d399;
  text-decoration: none;
  transition: color 0.3s ease;
}

.cb-breadcrumb a:hover {
  color: #10b981;
}

.cb-breadcrumb span {
  color: rgba(255, 255, 255, 0.5);
  margin: 0 10px;
}

.cb-service-title {
  font-size: 48px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.cb-service-excerpt {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 30px;
  line-height: 1.6;
}

.cb-service-meta {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.cb-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
}

.cb-meta-item i {
  color: #34d399;
  font-size: 18px;
}

.cb-meta-item a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.cb-meta-item a:hover {
  color: #34d399;
}

.cb-service-hero-card {
  background: #ffffff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.cb-service-hero-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 10px;
}

.cb-service-hero-card p {
  font-size: 15px;
  color: #64748b;
  margin-bottom: 25px;
}

.cb-btn-primary,
.cb-btn-secondary {
  display: block;
  width: 100%;
  padding: 15px 24px;
  text-align: center;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-bottom: 15px;
}

.cb-btn-primary {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  color: #ffffff;
}

.cb-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(52, 211, 153, 0.3);
  color: #ffffff;
}

.cb-btn-secondary {
  background: transparent;
  color: #1a1a2e;
  border: 2px solid #e2e8f0;
}

.cb-btn-secondary:hover {
  border-color: #34d399;
  color: #34d399;
}

/* Main Content */
.cb-service-detail-page {
  background: #ffffff;
}

.cb-service-detail-page .container {
  padding-top: 60px;
  padding-bottom: 60px;
}

.cb-service-section {
  margin-bottom: 50px;
}

.cb-section-title {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.cb-section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  border-radius: 2px;
}

.cb-content {
  font-size: 16px;
  color: #475569;
  line-height: 1.8;
}

.cb-content p {
  margin-bottom: 20px;
}

.cb-content ul,
.cb-content ol {
  margin-bottom: 20px;
  padding-left: 20px;
}

.cb-content li {
  margin-bottom: 10px;
}

/* Features Section */
.cb-feature-box {
  display: flex;
  gap: 20px;
  padding: 25px;
  background: #f8fafc;
  border-radius: 12px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.cb-feature-box:hover {
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transform: translateX(5px);
}

.cb-feature-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cb-feature-icon i {
  font-size: 24px;
  color: #ffffff;
}

.cb-feature-content h4 {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 5px;
}

.cb-feature-content p {
  font-size: 14px;
  color: #64748b;
  margin: 0;
}

/* Approach Steps */
.cb-approach-intro {
  font-size: 16px;
  color: #64748b;
  margin-bottom: 35px;
  line-height: 1.7;
}

.cb-approach-steps {
  position: relative;
}

.cb-step {
  display: flex;
  gap: 25px;
  margin-bottom: 35px;
  position: relative;
}

.cb-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 25px;
  top: 60px;
  width: 2px;
  height: calc(100% + 10px);
  background: #e2e8f0;
}

.cb-step-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.cb-step-content h4 {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 10px;
}

.cb-step-content p {
  font-size: 15px;
  color: #64748b;
  margin: 0;
  line-height: 1.6;
}

/* Benefits Grid */
.cb-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.cb-benefit-item {
  padding: 30px;
  background: #f8fafc;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
}

.cb-benefit-item:hover {
  background: #ffffff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-5px);
}

.cb-benefit-item i {
  font-size: 40px;
  color: #34d399;
  margin-bottom: 15px;
}

.cb-benefit-item h4 {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 10px;
}

.cb-benefit-item p {
  font-size: 14px;
  color: #64748b;
  margin: 0;
}

/* FAQ Section */
.cb-faq-accordion {
  border-top: 1px solid #e2e8f0;
}

.cb-faq-item {
  border-bottom: 1px solid #e2e8f0;
}

.cb-faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  user-select: none;
}

.cb-faq-question h4 {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a2e;
  margin: 0;
  transition: color 0.3s ease;
}

.cb-faq-question i {
  color: #34d399;
  transition: transform 0.3s ease;
}

.cb-faq-item.active .cb-faq-question i {
  transform: rotate(180deg);
}

.cb-faq-item:hover .cb-faq-question h4 {
  color: #34d399;
}

.cb-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.cb-faq-item.active .cb-faq-answer {
  max-height: 500px;
  padding-bottom: 20px;
}

.cb-faq-answer p {
  font-size: 15px;
  color: #64748b;
  line-height: 1.7;
  margin: 0;
}

/* Sidebar */
.cb-service-sidebar {
  position: sticky;
  top: 100px;
}

.cb-sidebar-widget {
  background: #f8fafc;
  padding: 30px;
  border-radius: 16px;
  margin-bottom: 30px;
}

.cb-widget-title {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 20px;
}

/* Services List Widget */
.cb-services-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cb-services-list li {
  margin-bottom: 10px;
}

.cb-services-list a {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: #ffffff;
  border-radius: 10px;
  color: #475569;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cb-services-list a:hover {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  color: #ffffff;
  transform: translateX(5px);
}

.cb-services-list a i {
  font-size: 20px;
  color: #34d399;
  transition: color 0.3s ease;
}

.cb-services-list a:hover i {
  color: #ffffff;
}

/* Contact Widget */
.cb-contact-widget {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.cb-contact-widget .cb-widget-title {
  color: #ffffff;
}

.cb-contact-widget > p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  margin-bottom: 25px;
}

.cb-contact-info {
  margin-bottom: 25px;
}

.cb-contact-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.cb-contact-item i {
  width: 40px;
  height: 40px;
  background: rgba(52, 211, 153, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #34d399;
  flex-shrink: 0;
}

.cb-contact-item .cb-label {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 3px;
}

.cb-contact-item a,
.cb-contact-item span {
  font-size: 14px;
  color: #ffffff;
  text-decoration: none;
}

.cb-contact-item a:hover {
  color: #34d399;
}

.cb-contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 24px;
  background: #34d399;
  color: #ffffff;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cb-contact-btn:hover {
  background: #10b981;
  gap: 15px;
  color: #ffffff;
}

/* Download Widget */
.cb-download-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  background: #ffffff;
  border-radius: 10px;
  color: #1a1a2e;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cb-download-btn:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.cb-download-btn i:first-child {
  font-size: 32px;
  color: #ef4444;
}

.cb-download-btn span {
  flex-grow: 1;
  margin-left: 15px;
  font-weight: 600;
}

.cb-download-btn i:last-child {
  color: #34d399;
}

/* CTA Section */
.cb-service-cta {
  padding: 60px 0;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  text-align: center;
}

.cb-cta-content h2 {
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
}

.cb-cta-content p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
}

.cb-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cb-btn-white,
.cb-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cb-btn-white {
  background: #ffffff;
  color: #10b981;
}

.cb-btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  color: #10b981;
}

.cb-btn-outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.cb-btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  color: #ffffff;
}

/* Additional Sections */
.cb-services-grid-section .row {
  margin-top: 30px;
}

.cb-service-item-box {
  padding: 30px 25px;
  background: #f8fafc;
  border-radius: 12px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  height: 100%;
}

.cb-service-item-box:hover {
  background: #ffffff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-5px);
}

.cb-service-item-box .cb-service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.cb-service-item-box .cb-service-icon i {
  font-size: 28px;
  color: #ffffff;
}

.cb-service-item-box h4 {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 10px;
}

.cb-service-item-box p {
  font-size: 14px;
  color: #64748b;
  margin: 0;
  line-height: 1.6;
}

.cb-why-intro {
  font-size: 16px;
  color: #475569;
  margin-bottom: 25px;
  line-height: 1.7;
}

.cb-subsection-title {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a2e;
  margin: 25px 0 20px;
}

.cb-success-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cb-success-list li {
  display: flex;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid #e2e8f0;
  font-size: 15px;
  color: #475569;
  line-height: 1.6;
}

.cb-success-list li:last-child {
  border-bottom: none;
}

.cb-success-list li i {
  color: #34d399;
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.cb-services-list li.active a {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  color: #ffffff;
}

.cb-services-list li.active a i {
  color: #ffffff;
}

.cb-mini-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0 0;
}

.cb-mini-list li {
  padding: 5px 0 5px 20px;
  font-size: 13px;
  color: #64748b;
  position: relative;
}

.cb-mini-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #34d399;
  font-weight: bold;
}

/* Responsive */
@media (max-width: 991px) {
  .cb-service-title {
    font-size: 36px;
  }

  .cb-service-sidebar {
    position: static;
    margin-top: 50px;
  }

  .cb-benefits-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .cb-service-hero {
    padding: 80px 0 40px;
  }

  .cb-service-title {
    font-size: 28px;
  }

  .cb-section-title {
    font-size: 24px;
  }

  .cb-service-meta {
    flex-direction: column;
    gap: 15px;
  }

  .cb-cta-content h2 {
    font-size: 24px;
  }

  .cb-cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cb-btn-white,
  .cb-btn-outline {
    width: 100%;
    max-width: 300px;
  }
}
