/* ============================================
   Service Detail Pages — shared base CSS
   Used by ALL individual service pages
   (service-web-development.html, service-ui-ux-design.html, etc.)
   Tokens match services.css so the whole Services
   section of the site stays visually consistent.
   ============================================ */
:root {
  --dt-accent: #24c6db;
  --dt-accent-dark: #1aa9bd;
  --dt-accent-tint: rgba(36, 198, 219, 0.10);
  --dt-accent-tint-strong: rgba(36, 198, 219, 0.18);
  --dt-navy: #14313f;
  --dt-navy-deep: #0c222c;
  --dt-body: #5c6b73;
  --dt-line: rgba(36, 198, 219);
  --dt-surface: #f7fbfb;

  --dt-c1: #24c6db;
  --dt-c1-tint: rgba(36, 198, 219, 0.12);
  --dt-c2: #6366f1;
  --dt-c2-tint: rgba(99, 102, 241, 0.12);
  --dt-c3: #22b573;
  --dt-c3-tint: rgba(34, 181, 115, 0.12);
  --dt-c4: #f7931e;
  --dt-c4-tint: rgba(247, 147, 30, 0.12);
}

/* ---------- Breadcrumb ---------- */
.service-breadcrumb {
  background: var(--dt-surface);
  padding: 16px 0;
  border-bottom: 1px solid var(--dt-line);
}

.service-breadcrumb ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
}

.service-breadcrumb a {
  color: var(--dt-body);
  text-decoration: none;
}

.service-breadcrumb a:hover {
  color: var(--dt-accent-dark);
}

.service-breadcrumb .sep {
  color: var(--dt-line);
}

.service-breadcrumb .current {
  color: var(--dt-navy);
  font-weight: 600;
}

/* ---------- Hero ---------- */
.service-detail-hero {
  padding: 70px 0 60px;
  background: linear-gradient(180deg, #eefbfc 0%, var(--dt-surface) 100%);
  position: relative;
  overflow: hidden;
}

.service-detail-hero::before {
  content: "";
  position: absolute;
  top: -110px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--dt-accent-tint-strong);
}

.service-detail-hero .container {
  position: relative;
  z-index: 1;
}

.service-hero-icon {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dt-accent-tint-strong);
  margin-bottom: 22px;
}

.service-hero-icon i {
  font-size: 30px;
  color: var(--dt-accent-dark);
}

.service-detail-hero .service-tagline {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .4px;
  color: var(--dt-accent-dark);
  margin-bottom: 10px;
}

.service-detail-hero h1 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--dt-navy);
  margin-bottom: 18px;
  max-width: 680px;
}

.service-detail-hero .service-lead {
  font-size: 17px;
  line-height: 1.8;
  color: var(--dt-body);
  max-width: 620px;
  margin-bottom: 30px;
}

.service-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 50px;
  background: var(--dt-accent);
  border: 2px solid var(--dt-accent);
  color: #06262b;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 10px 25px rgba(36, 198, 219, 0.22);
}

.btn-primary:hover {
  background: var(--dt-accent-dark);
  border-color: var(--dt-accent-dark);
  color: #fff;
  transform: translateY(-3px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 50px;
  background: transparent;
  border: 2px solid var(--dt-line);
  color: var(--dt-navy);
  text-decoration: none;
  transition: border-color 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.btn-outline:hover {
  border-color: var(--dt-accent);
  color: var(--dt-accent-dark);
  transform: translateY(-3px);
}

/* ---------- Overview ---------- */
.service-overview {
  padding: 70px 0;
  background: #fff;
}

.service-overview h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--dt-navy);
  margin-bottom: 18px;
}

.service-overview p {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--dt-body);
  margin-bottom: 16px;
}

.service-overview-panel {
  background: linear-gradient(135deg, #eefbfc 0%, #f4f2fd 100%);
  border-radius: 16px;
  padding: 36px;
  height: 100%;
}

.service-overview-panel .stat-row {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.service-overview-panel .stat b {
  display: block;
  font-size: 26px;
  font-weight: 700;
  color: var(--dt-navy);
}

.service-overview-panel .stat span {
  font-size: 13px;
  color: var(--dt-body);
}

.service-overview-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-overview-panel ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--dt-navy);
  margin-bottom: 12px;
  line-height: 1.5;
}

.service-overview-panel ul li i {
  color: var(--dt-accent-dark);
  font-size: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* ---------- Feature Grid ("What's Included") ---------- */
.service-feature-grid {
  padding: 70px 0;
  background: var(--dt-surface);
}

.service-feature-card {
  height: 100%;
  padding: 30px 26px;
  background: #fff;
  border: 1px solid var(--dt-line);
  border-radius: 12px;
  border-top: 3px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(20, 49, 63, 0.08);
}

.service-feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.service-feature-icon i {
  font-size: 22px;
}

.service-feature-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--dt-navy);
  margin-bottom: 8px;
}

.service-feature-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--dt-body);
  margin: 0;
}

.service-feature-grid .row > div:nth-child(3n+1) .service-feature-icon { background: var(--dt-c1-tint); }
.service-feature-grid .row > div:nth-child(3n+1) .service-feature-icon i { color: var(--dt-c1); }
.service-feature-grid .row > div:nth-child(3n+1) .service-feature-card:hover { border-top-color: var(--dt-c1); }

.service-feature-grid .row > div:nth-child(3n+2) .service-feature-icon { background: var(--dt-c2-tint); }
.service-feature-grid .row > div:nth-child(3n+2) .service-feature-icon i { color: var(--dt-c2); }
.service-feature-grid .row > div:nth-child(3n+2) .service-feature-card:hover { border-top-color: var(--dt-c2); }

.service-feature-grid .row > div:nth-child(3n+3) .service-feature-icon { background: var(--dt-c3-tint); }
.service-feature-grid .row > div:nth-child(3n+3) .service-feature-icon i { color: var(--dt-c3); }
.service-feature-grid .row > div:nth-child(3n+3) .service-feature-card:hover { border-top-color: var(--dt-c3); }

/* ---------- Process (reused across all detail pages) ---------- */
.service-process {
  padding: 70px 0;
  background: #fff;
}

.process-card {
  text-align: center;
  padding: 30px 20px;
}

.process-number {
  width: 55px;
  height: 55px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  background: var(--dt-accent-tint);
  color: var(--dt-accent-dark);
}

.service-process .row > div:nth-child(4n+1) .process-number { background: var(--dt-c1-tint); color: var(--dt-c1); }
.service-process .row > div:nth-child(4n+2) .process-number { background: var(--dt-c2-tint); color: var(--dt-c2); }
.service-process .row > div:nth-child(4n+3) .process-number { background: var(--dt-c3-tint); color: var(--dt-c3); }
.service-process .row > div:nth-child(4n+4) .process-number { background: var(--dt-c4-tint); color: var(--dt-c4); }

.process-card h4 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--dt-navy);
}

.process-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--dt-body);
}

/* ---------- Related Services ---------- */
.related-services {
  padding: 70px 0;
  background: var(--dt-surface);
}

.related-service-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--dt-line);
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  height: 100%;
}

.related-service-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: 0 16px 32px rgba(20, 49, 63, 0.08);
}

.related-service-card .related-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dt-accent-tint);
}

.related-service-card .related-icon i {
  font-size: 20px;
  color: var(--dt-accent-dark);
}

.related-service-card h5 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--dt-navy);
  margin-bottom: 2px;
}

.related-service-card span {
  font-size: 13px;
  color: var(--dt-body);
}

/* ---------- CTA ---------- */
.service-cta {
  padding: 70px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--dt-navy-deep) 0%, var(--dt-navy) 45%, var(--dt-accent-dark) 130%);
}

.service-cta::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.service-cta::after {
  content: "";
  position: absolute;
  bottom: -120px;
  left: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(36, 198, 219, 0.15);
}

.service-cta .container {
  position: relative;
  z-index: 1;
}

.service-cta h2 {
  color: #fff;
  margin-bottom: 15px;
}

.service-cta p {
  max-width: 600px;
  margin: 0 auto 25px;
  color: rgba(255, 255, 255, 0.78);
}

.service-cta .btn-primary:hover {
  background: #fff;
  border-color: #fff;
  color: var(--dt-navy-deep);
}

/* ---------- Section title (shared pattern) ---------- */
.section-title {
  text-align: center;
  margin-bottom: 46px;
}

.section-title h2 {
  font-size: 30px;
  font-weight: 700;
  color: var(--dt-navy);
  margin-bottom: 8px;
}

.section-title p {
  font-size: 15px;
  color: var(--dt-accent-dark);
  font-weight: 600;
  margin: 0;
}

@media (max-width: 767px) {
  .service-detail-hero h1 {
    font-size: 30px;
  }

  .service-detail-hero,
  .service-overview,
  .service-feature-grid,
  .service-process,
  .related-services,
  .service-cta {
    padding: 50px 0;
  }
}
