/* ═══════════════════════════════════════════════════
   MCH Enterprises — SERVICE INNER PAGE STYLES
   File: css/service-page.css
════════════════════════════════════════════════════ */

/* ── Page Hero Banner ── */
.page-hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, #0D47A1 0%, #1565C0 50%, #1E88E5 100%);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 50px 50px;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 50%, rgba(255,255,255,0.07) 0%, transparent 60%);
}
.page-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.page-hero-left { color: #fff; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.breadcrumb a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color .2s;
}
.breadcrumb a:hover { color: #fff; }
.breadcrumb i { font-size: 10px; color: rgba(255,255,255,0.4); }
.breadcrumb span { color: var(--accent-light); font-weight: 600; }
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 18px;
}
.page-hero-title span { color: var(--accent-light); }
.page-hero-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.82);
  line-height: 1.75;
  margin-bottom: 32px;
}
.page-hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.page-hero-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
}
.hero-tag i { color: var(--accent-light); font-size: 11px; }

/* Right image */
.page-hero-right { position: relative; }
.page-hero-img {
  border-radius: 20px;
  overflow: hidden;
  height: 360px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.page-hero-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.page-hero-img:hover img { transform: scale(1.04); }
.hero-price-badge {
  position: absolute;
  bottom: -16px;
  left: 24px;
  background: #fff;
  border-radius: 14px;
  padding: 14px 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.18);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floatY 3s ease-in-out infinite;
}
.hero-price-badge .badge-icon {
  width: 38px; height: 38px;
  background: var(--bg2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 17px; flex-shrink: 0;
}
.hero-price-badge .badge-text .b-title { font-size: 14px; font-weight: 800; color: var(--text); }
.hero-price-badge .badge-text .b-sub { font-size: 11px; color: var(--text-muted); }

/* ── Overview / About the Service ── */
.service-overview { background: #fff; }
.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.overview-content h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  margin-bottom: 18px;
  line-height: 1.25;
}
.overview-content h2 span { color: var(--primary); }
.overview-content p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}
.overview-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
}
.ov-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg);
  border-radius: 12px;
  border-left: 3px solid var(--primary);
  transition: var(--transition);
}
.ov-feature:hover { background: var(--bg2); transform: translateX(4px); }
.ov-feature i { color: var(--primary); font-size: 16px; margin-top: 2px; flex-shrink: 0; }
.ov-feature div h4 { font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.ov-feature div p { font-size: 12.5px; color: var(--text-muted); margin: 0; }

.overview-images { display: flex; flex-direction: column; gap: 14px; }
.ov-img-main { border-radius: 16px; overflow: hidden; height: 280px; box-shadow: var(--shadow-lg); }
.ov-img-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ov-img-main:hover img { transform: scale(1.05); }
.ov-img-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ov-img-small { border-radius: 14px; overflow: hidden; height: 160px; box-shadow: var(--shadow); }
.ov-img-small img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ov-img-small:hover img { transform: scale(1.07); }

/* ── Benefits / Why Section ── */
.service-benefits { background: var(--bg); }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.benefit-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 24px;
  box-shadow: var(--shadow);
  border: 1px solid transparent;
  transition: var(--transition);
  text-align: center;
}
.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border);
}
.benefit-icon {
  width: 64px; height: 64px;
  background: var(--bg2);
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 26px;
  margin: 0 auto 18px;
  transition: var(--transition);
}
.benefit-card:hover .benefit-icon { background: var(--primary); color: #fff; }
.benefit-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.benefit-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ── Specifications Table ── */
.service-specs { background: #fff; }
.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.specs-table {
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.specs-table table { width: 100%; border-collapse: collapse; }
.specs-table th {
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 14px 20px;
  text-align: left;
  letter-spacing: 0.5px;
}
.specs-table td {
  padding: 13px 20px;
  font-size: 13.5px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.specs-table tr:last-child td { border-bottom: none; }
.specs-table tr:nth-child(even) td { background: rgba(219,234,254,0.4); }
.specs-table td:first-child { font-weight: 600; color: var(--text-muted); width: 40%; }
.specs-table td .badge-val {
  display: inline-block;
  background: var(--bg2);
  color: var(--primary);
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
}

.specs-right { display: flex; flex-direction: column; gap: 20px; }
.spec-highlight-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: var(--transition);
}
.spec-highlight-card:hover { border-color: var(--primary); transform: translateX(4px); }
.spec-h-icon {
  width: 46px; height: 46px;
  background: var(--primary);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 18px; flex-shrink: 0;
}
.spec-h-text h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.spec-h-text p { font-size: 13px; color: var(--text-muted); }

/* ── Process Steps ── */
.service-process { background: var(--bg); }

/* ── Gallery ── */
.service-gallery { background: #fff; }
.svc-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.svc-gallery-item {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: var(--shadow);
}
.svc-gallery-item img {
  width: 100%; height: 220px;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.svc-gallery-item:hover img { transform: scale(1.08); }
.svc-gallery-item:first-child {
  grid-column: span 2;
}
.svc-gallery-item:first-child img { height: 320px; }
.svc-gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 50%, rgba(13,71,161,0.7));
  opacity: 0;
  transition: opacity .3s;
  display: flex;
  align-items: flex-end;
  padding: 18px;
}
.svc-gallery-item:hover .svc-gallery-overlay { opacity: 1; }
.svc-gallery-overlay span { color: #fff; font-size: 13px; font-weight: 600; }

/* ── FAQ ── */
.service-faq { background: var(--bg); }
.faq-list { display: flex; flex-direction: column; gap: 14px; max-width: 820px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow .3s;
}
.faq-item:hover { box-shadow: var(--shadow); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  gap: 16px;
}
.faq-question i {
  color: var(--primary);
  font-size: 14px;
  transition: transform .3s;
  flex-shrink: 0;
}
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 0;
}

/* ── Related Services ── */
.related-services { background: #fff; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.related-card {
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  text-decoration: none;
  display: block;
}
.related-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.related-card img { width: 100%; height: 140px; object-fit: cover; display: block; transition: transform .5s; }
.related-card:hover img { transform: scale(1.06); }
.related-card-body { padding: 14px 16px; }
.related-card-body h4 { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.related-card-body span { font-size: 12px; color: var(--primary); font-weight: 600; }

/* ── CTA Box ── */
.service-cta-box {
  background: linear-gradient(135deg, #0D47A1, #1E88E5);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 0 0 0;
}
.service-cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.07) 0%, transparent 50%);
}
.service-cta-box h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  position: relative;
}
.service-cta-box p {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  position: relative;
}
.service-cta-box .cta-btns { position: relative; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .page-hero-inner { grid-template-columns: 1fr; }
  .page-hero-right { display: none; }
  .overview-grid { grid-template-columns: 1fr; }
  .specs-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-gallery-grid { grid-template-columns: 1fr 1fr; }
  .svc-gallery-item:first-child { grid-column: span 2; }
}
@media (max-width: 768px) {
  .page-hero { padding: 120px 0 60px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .svc-gallery-grid { grid-template-columns: 1fr; }
  .svc-gallery-item:first-child { grid-column: span 1; }
  .svc-gallery-item:first-child img { height: 220px; }
  .service-cta-box { padding: 36px 24px; }
}
@media (max-width: 480px) {
  .related-grid { grid-template-columns: 1fr 1fr; }
  .ov-img-row { grid-template-columns: 1fr; }
}
