/* ==========================================
   Dedicated Service Pages Stylesheet
   Designed for AnkitXDeveloper Services
   ========================================== */

.service-page {
  padding-top: 8rem;
  background: var(--primary-bg, #ffffff);
  color: var(--text-color, #0f172a);
  min-height: 100vh;
  transition: background-color 0.3s ease, color 0.3s ease;
}

[data-theme="dark"] .service-page {
  background: var(--primary-bg, #0b0f19);
  color: var(--text-color, #f8fafc);
}

/* Breadcrumbs */
.service-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.4rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.service-breadcrumb a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s ease;
}

.service-breadcrumb a:hover {
  color: #2563eb;
}

[data-theme="dark"] .service-breadcrumb a:hover {
  color: #38bdf8;
}

.service-breadcrumb span.separator {
  color: #94a3b8;
}

.service-breadcrumb span.current {
  color: #2563eb;
  font-weight: 600;
}

[data-theme="dark"] .service-breadcrumb span.current {
  color: #38bdf8;
}

/* Service Hero Banner */
.service-hero {
  padding: 4rem 9% 6rem;
  background: radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.08) 0%, transparent 60%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

[data-theme="dark"] .service-hero {
  background: radial-gradient(circle at 10% 20%, rgba(56, 189, 248, 0.08) 0%, transparent 60%);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.service-hero-content {
  max-width: 960px;
}

.service-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem 1.4rem;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: 50px;
  color: #2563eb;
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2rem;
}

[data-theme="dark"] .service-hero-badge {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.3);
  color: #38bdf8;
}

.service-hero h1 {
  font-size: 4.6rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-color, #0f172a);
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

[data-theme="dark"] .service-hero h1 {
  color: #f8fafc;
}

.service-hero h1 span {
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.service-lead-text {
  font-size: 1.85rem;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 3rem;
  max-width: 820px;
}

[data-theme="dark"] .service-lead-text {
  color: #94a3b8;
}

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

.btn-primary-cta {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem 2.8rem;
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  color: #ffffff !important;
  border-radius: 50px;
  font-size: 1.55rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.35);
  transition: all 0.3s ease;
}

.btn-primary-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.5);
}

.btn-secondary-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.4rem 2.6rem;
  background: rgba(37, 211, 102, 0.1);
  color: #128c7e !important;
  border: 1px solid rgba(37, 211, 102, 0.3);
  border-radius: 50px;
  font-size: 1.55rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

[data-theme="dark"] .btn-secondary-cta {
  color: #25d366 !important;
  border-color: rgba(37, 211, 102, 0.4);
}

.btn-secondary-cta:hover {
  background: #25d366;
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* Service Main Sections */
.service-section-wrap {
  padding: 6rem 9%;
  max-width: 1240px;
  margin: 0 auto;
}

.service-section-heading {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--text-color, #0f172a);
  margin-bottom: 1.2rem;
}

[data-theme="dark"] .service-section-heading {
  color: #f8fafc;
}

.service-section-desc {
  font-size: 1.6rem;
  color: #64748b;
  margin-bottom: 4rem;
  max-width: 760px;
  line-height: 1.6;
}

[data-theme="dark"] .service-section-desc {
  color: #94a3b8;
}

/* Problem vs Solution Split */
.problem-solution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
  margin-bottom: 6rem;
}

.problem-card {
  background: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 18px;
  padding: 3rem;
}

.problem-card h3 {
  font-size: 2.2rem;
  color: #dc2626;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.problem-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.problem-list li {
  font-size: 1.5rem;
  color: #475569;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  line-height: 1.5;
}

[data-theme="dark"] .problem-list li {
  color: #cbd5e1;
}

.problem-list li i {
  color: #ef4444;
  margin-top: 0.3rem;
  font-size: 1.4rem;
}

.solution-card {
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 18px;
  padding: 3rem;
}

.solution-card h3 {
  font-size: 2.2rem;
  color: #059669;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

[data-theme="dark"] .solution-card h3 {
  color: #10b981;
}

.solution-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.solution-list li {
  font-size: 1.5rem;
  color: #475569;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  line-height: 1.5;
}

[data-theme="dark"] .solution-list li {
  color: #cbd5e1;
}

.solution-list li i {
  color: #10b981;
  margin-top: 0.3rem;
  font-size: 1.4rem;
}

/* Deliverables Grid */
.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-bottom: 6rem;
}

.deliverable-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2.8rem 2.2rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .deliverable-card {
  background: #111827;
  border-color: rgba(255, 255, 255, 0.08);
}

.deliverable-card:hover {
  transform: translateY(-5px);
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.12);
}

.deliverable-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: #2563eb;
  margin-bottom: 1.8rem;
}

[data-theme="dark"] .deliverable-icon {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
}

.deliverable-card h4 {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--text-color, #0f172a);
  margin-bottom: 1rem;
}

[data-theme="dark"] .deliverable-card h4 {
  color: #f8fafc;
}

.deliverable-card p {
  font-size: 1.45rem;
  color: #64748b;
  line-height: 1.6;
}

[data-theme="dark"] .deliverable-card p {
  color: #94a3b8;
}

/* Process Timeline / Steps */
.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.2rem;
  margin-bottom: 6rem;
}

.process-step-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2.5rem 2rem;
}

[data-theme="dark"] .process-step-card {
  background: #111827;
  border-color: rgba(255, 255, 255, 0.08);
}

.step-num {
  font-size: 3rem;
  font-weight: 800;
  color: rgba(37, 99, 235, 0.2);
  margin-bottom: 1rem;
  line-height: 1;
}

[data-theme="dark"] .step-num {
  color: rgba(56, 189, 248, 0.25);
}

.process-step-card h4 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-color, #0f172a);
  margin-bottom: 0.8rem;
}

[data-theme="dark"] .process-step-card h4 {
  color: #f8fafc;
}

.process-step-card p {
  font-size: 1.4rem;
  color: #64748b;
  line-height: 1.6;
}

[data-theme="dark"] .process-step-card p {
  color: #94a3b8;
}

/* Related Live Proof Projects */
.service-projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-bottom: 6rem;
}

.service-project-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .service-project-item {
  background: #111827;
  border-color: rgba(255, 255, 255, 0.08);
}

.service-project-thumb {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.service-project-body {
  padding: 2rem;
}

.service-project-body h4 {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--text-color, #0f172a);
  margin-bottom: 0.8rem;
}

[data-theme="dark"] .service-project-body h4 {
  color: #f8fafc;
}

.service-project-body p {
  font-size: 1.4rem;
  color: #64748b;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

[data-theme="dark"] .service-project-body p {
  color: #94a3b8;
}

.service-project-body a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: #2563eb;
  text-decoration: none;
}

[data-theme="dark"] .service-project-body a {
  color: #38bdf8;
}

/* FAQ Accordion / Cards */
.faq-grid {
  display: grid;
  gap: 1.8rem;
  margin-bottom: 6rem;
}

.faq-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 2.2rem;
}

[data-theme="dark"] .faq-card {
  background: #111827;
  border-color: rgba(255, 255, 255, 0.08);
}

.faq-card h4 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-color, #0f172a);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

[data-theme="dark"] .faq-card h4 {
  color: #f8fafc;
}

.faq-card h4 i {
  color: #2563eb;
  font-size: 1.4rem;
}

[data-theme="dark"] .faq-card h4 i {
  color: #38bdf8;
}

.faq-card p {
  font-size: 1.5rem;
  color: #475569;
  line-height: 1.6;
}

[data-theme="dark"] .faq-card p {
  color: #94a3b8;
}

/* Bottom CTA Card */
.service-cta-banner {
  background: linear-gradient(135deg, #1e3a8a 0%, #312e81 100%);
  border-radius: 20px;
  padding: 4.5rem;
  color: #ffffff;
  text-align: center;
  margin-bottom: 6rem;
}

.service-cta-banner h3 {
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.service-cta-banner p {
  font-size: 1.7rem;
  opacity: 0.9;
  max-width: 650px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

.service-cta-banner .cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Related Services Links */
.related-services-wrap {
  border-top: 1px solid #e2e8f0;
  padding-top: 4rem;
}

[data-theme="dark"] .related-services-wrap {
  border-top-color: rgba(255, 255, 255, 0.08);
}

.related-services-links {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.related-service-pill {
  padding: 0.8rem 1.6rem;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 50px;
  color: #2563eb;
  font-size: 1.35rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

[data-theme="dark"] .related-service-pill {
  background: rgba(56, 189, 248, 0.1);
  border-color: rgba(56, 189, 248, 0.25);
  color: #38bdf8;
}

.related-service-pill:hover {
  background: #2563eb;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Mobile Responsiveness */
@media screen and (max-width: 768px) {
  .service-hero {
    padding: 3rem 5% 4rem;
  }
  .service-hero h1 {
    font-size: 3.2rem;
  }
  .service-lead-text {
    font-size: 1.6rem;
  }
  .service-section-wrap {
    padding: 4rem 5%;
  }
  .service-section-heading {
    font-size: 2.6rem;
  }
  .service-cta-banner {
    padding: 3rem 2rem;
  }
  .service-cta-banner h3 {
    font-size: 2.4rem;
  }
}
