/* ============================================================
   SERVICES-DETAIL.CSS — Shared Styles for 49 Service Subpages
   ============================================================ */

.service-hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #0a0a1a 0%, #101030 40%, #050515 100%);
}

[data-theme="light"] .service-hero {
  background: linear-gradient(135deg, #f0f4ff 0%, #e2e8f0 40%, #fafafa 100%);
}

.service-hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--service-gradient-start, rgba(255, 107, 0, 0.15)) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.service-hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--brand-orange);
}

.breadcrumb span {
  color: var(--brand-orange);
  font-weight: 600;
}

.hero-service-icon {
  font-size: 3.5rem;
  margin-bottom: 16px;
  display: block;
  filter: drop-shadow(0 4px 20px rgba(255, 107, 0, 0.3));
}

.service-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 20px;
}

.service-hero h1 span {
  color: var(--brand-orange);
}

.service-hero p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 580px;
  line-height: 1.75;
  margin-bottom: 36px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 600px) {
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.hero-stat {
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 16px 24px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: transform 0.3s, border-color 0.3s;
}

.hero-stat:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
}

.hero-stat-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--brand-orange);
  display: block;
}

.hero-stat-label {
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-top: 4px;
  display: block;
}

.service-overview {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

@media(max-width: 768px) {
  .overview-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.overview-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 107, 0, 0.1);
  border: 1px solid rgba(255, 107, 0, 0.25);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-orange);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.overview-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 20px;
  line-height: 1.2;
}

.overview-text p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.overview-highlights {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.overview-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.overview-highlights li::before {
  content: '✓';
  width: 22px;
  height: 22px;
  background: var(--brand-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: white;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.overview-visual {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 40px;
  position: relative;
}

.platform-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.platform-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 107, 0, 0.08);
  border: 1px solid rgba(255, 107, 0, 0.2);
  border-radius: 12px;
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.metric-bars {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.metric-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.metric-bar-track {
  height: 8px;
  background: var(--bg-secondary);
  border-radius: 99px;
  overflow: hidden;
}

.metric-bar-fill {
  height: 100%;
  background: var(--brand-gradient);
  border-radius: 99px;
}

.service-process {
  padding: 100px 0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service-process-step {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 32px 28px;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.service-process-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-orange);
  border-color: var(--border-accent);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: rgba(255, 107, 0, 0.12);
  line-height: 1;
  margin-bottom: 12px;
}

.step-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
  display: block;
}

.service-process-step h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.service-process-step p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.service-benefits {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.service-benefit-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  gap: 20px;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.service-benefit-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-orange);
  border-color: var(--border-accent);
}

.benefit-check {
  width: 44px;
  height: 44px;
  background: var(--brand-gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  color: white;
  font-weight: 800;
}

.benefit-content h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.benefit-content p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.why-us-service {
  padding: 100px 0;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 40px 32px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-orange);
  border-color: var(--border-accent);
}

.why-card-icon {
  width: 72px;
  height: 72px;
  background: rgba(255, 107, 0, 0.1);
  border: 1px solid rgba(255, 107, 0, 0.2);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 24px;
}

.why-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.why-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.industries-section {
  padding: 80px 0;
  background: var(--bg-secondary);
}

.industry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 40px;
}

.industry-tag {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.3s;
  cursor: default;
}

.industry-tag:hover {
  background: rgba(255, 107, 0, 0.1);
  border-color: var(--border-accent);
  color: var(--brand-orange);
}

.lead-form-section {
  padding: 100px 0;
}

.lead-form-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

@media(max-width: 900px) {
  .lead-form-wrapper {
    grid-template-columns: 1fr;
  }
}

.lead-form-info h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.2;
}

.lead-form-info p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 32px;
}

.form-promise-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-promise-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.promise-icon {
  width: 32px;
  height: 32px;
  background: rgba(255, 107, 0, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.service-form {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 48px 40px;
}

@media(max-width: 600px) {
  .service-form {
    padding: 32px 24px;
  }
}

.service-form h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.service-form .form-subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media(max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-secondary);
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  font-size: 0.95rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  transition: border-color 0.3s, box-shadow 0.3s;
  box-sizing: border-box;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.form-group select {
  cursor: pointer;
}

.form-submit-btn {
  width: 100%;
  padding: 16px;
  background: var(--brand-gradient);
  color: white;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  margin-top: 8px;
}

.form-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-orange-lg);
}

.form-note {
  font-size: 0.78rem;
  color: var(--text-secondary);
  text-align: center;
  margin-top: 12px;
}

.faq-section {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item.open {
  border-color: var(--border-accent);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 107, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--brand-orange);
  flex-shrink: 0;
  transition: transform 0.3s, background 0.3s;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--brand-orange);
  color: white;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 400px;
}

.faq-answer p {
  padding: 0 28px 22px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.cta-banner {
  padding: 100px 0;
  background: var(--brand-gradient);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.cta-banner h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
}


/* ─── SVG Themed Outline and Color Styling Overrides ─── */
.svg-icon {
  width: 1.1em;
  height: 1.1em;
  display: inline-block;
  vertical-align: middle;
  transition: color 0.3s ease;
}
.svg-icon[fill="none"] {
  stroke: currentColor;
  stroke-width: 2px;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-service-icon, .service-hero-icon, .step-icon, .why-card-icon, .why-icon, .value-icon, .p-card-icon, .industry-emoji, .bullet-icon {
  color: var(--service-brand-color, var(--brand-orange)) !important;
}

/* ─── Custom Checkbox and Forms System ─── */
.form-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 12px;
  margin-top: 10px;
  width: 100%;
}

.checkbox-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-secondary);
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.25s, background-color 0.25s, box-shadow 0.25s;
  user-select: none;
}

.checkbox-card:hover {
  border-color: var(--brand-orange);
  background: rgba(255, 107, 0, 0.04);
}

.checkbox-card input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkbox-card .checkmark {
  width: 18px;
  height: 18px;
  border: 2px solid var(--text-muted);
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
  background: transparent;
  position: relative;
}

.checkbox-card input[type="checkbox"]:checked ~ .checkmark {
  background: var(--brand-gradient);
  border-color: transparent;
}

.checkbox-card input[type="checkbox"]:checked ~ .checkmark::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-card .checkbox-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.2;
}

.checkbox-card input[type="checkbox"]:checked ~ .checkbox-label {
  color: var(--text-primary);
}

.checkbox-card:has(input[type="checkbox"]:checked) {
  border-color: var(--brand-orange);
  background: rgba(255, 107, 0, 0.08);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.12);
}

/* Hide step numbers in service process step cards globally */
.service-process-step .step-number {
  display: none !important;
}

/* ─── CTA Banner Color Enhancements ─── */
.cta-banner p {
  color: rgba(255, 255, 255, 0.95) !important;
  font-size: 1.15rem;
  max-width: 680px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: var(--brand-orange, #ff6b00) !important;
  padding: 14px 28px;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
  transform: translateY(-2px);
  background: #f8f9fa;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  color: var(--brand-orange, #ff6b00) !important;
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #ffffff !important;
  border: 2px solid rgba(255, 255, 255, 0.85);
  padding: 12px 26px;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.3s, background 0.3s, color 0.3s, border-color 0.3s;
}

.btn-outline-white:hover {
  transform: translateY(-2px);
  background: #ffffff;
  color: var(--brand-orange, #ff6b00) !important;
  border-color: #ffffff;
}

.btn-white .svg-icon, .btn-outline-white .svg-icon {
  width: 1.1em;
  height: 1.1em;
  stroke: currentColor !important;
  fill: none;
}

