/* ═══════════════════════════════════════════════════════
   SERVICE PAGES STYLESHEET
   Prefix: service-
   Reusable across: Blood Bank, OPD, Emergency, Laboratory, ICU, Radiology, etc.
   Customize per service: accent color, icon, statistics
═══════════════════════════════════════════════════════ */
/* ── Service Hero Section ── */
.service-hero {
  background: var(--navy);
  padding: 64px 0 56px;
  border-bottom: 3px solid var(--sky);
  position: relative;
  overflow: hidden;
}
.service-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 159, 212, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}
.service-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.service-hero-content h1 {
  font-family: 'Sora', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
}
.service-hero-tagline {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.65;
  max-width: 540px;
  margin-bottom: 28px;
}
.service-hero-badge {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.service-badge-item {
  background: rgba(0, 159, 212, 0.15);
  border: 1px solid rgba(0, 159, 212, 0.3);
  border-radius: 7px;
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--sky);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.service-hero-icon {
  width: 160px;
  height: 160px;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.5rem;
  flex-shrink: 0;
}
/* ── Service Label ── */
.service-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
}
.service-label-bar {
  width: 20px;
  height: 3px;
  background: var(--sky);
  border-radius: 2px;
}
.service-label-text {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}
/* ── Service Overview Section ── */
.service-section {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}
.service-section:last-child {
  border-bottom: none;
}
.service-section.bg-off {
  background: var(--offwhite);
}
.service-section.bg-navy {
  background: var(--navy);
}
.service-section.bg-stone {
  background: var(--stone);
}
.service-section-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.service-section-title {
  font-family: 'Sora', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 28px;
}
.service-section.bg-navy .service-section-title {
  color: #fff;
}
.service-section-desc {
  font-size: 1.02rem;
  color: var(--mid);
  line-height: 1.85;
  max-width: 720px;
  margin-bottom: 32px;
}
.service-section.bg-navy .service-section-desc {
  color: rgba(255, 255, 255, 0.7);
}
/* ── Service Grid Cards ── */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 36px;
}
.service-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 11px;
  padding: 28px 24px;
  transition: all 0.22s ease;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.service-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 9px;
  background: var(--sky-lt);
  color: var(--blue);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.service-card-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.service-card-desc {
  font-size: 0.9rem;
  color: var(--mid);
  line-height: 1.7;
  flex-grow: 1;
}
.service-card.accent-navy .service-card-icon {
  background: rgba(0, 31, 91, 0.12);
  color: var(--navy);
}
.service-card.accent-sky .service-card-icon {
  background: rgba(0, 159, 212, 0.12);
  color: var(--sky);
}
.service-card.accent-gold .service-card-icon {
  background: rgba(201, 146, 42, 0.12);
  color: var(--gold);
}
/* ── Highlight Lists ── */
.service-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 28px;
}
.service-highlight-item {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 9px;
  padding: 18px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: all 0.2s ease;
}
.service-highlight-item:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
}
.service-highlight-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sky);
  flex-shrink: 0;
  margin-top: 8px;
}
.service-highlight-text {
  font-size: 0.9rem;
  color: var(--mid);
  line-height: 1.65;
}
/* ── Features/Pillars Grid ── */
.service-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 36px;
}
.service-feature-box {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 11px;
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.22s ease;
}
.service-feature-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--sky));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}
.service-feature-box:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.service-feature-box:hover::before {
  transform: scaleX(1);
}
.service-feature-num {
  font-family: 'Sora', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.service-feature-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}
.service-feature-desc {
  font-size: 0.88rem;
  color: var(--mid);
  line-height: 1.75;
}
/* ── Statistics Section ── */
.service-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 36px;
}
.service-stat-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 28px 24px;
  text-align: center;
  transition: all 0.22s ease;
}
.service-stat-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.service-stat-number {
  font-family: 'Sora', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 6px;
}
.service-stat-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
/* ── Process Steps ── */
.service-process {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
}
.service-step {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 20px 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all 0.2s ease;
}
.service-step:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
}
.service-step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--sky-lt);
  color: var(--blue);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.95rem;
}
.service-step-content h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.service-step-content p {
  font-size: 0.88rem;
  color: var(--mid);
  line-height: 1.65;
}
/* ── Pills/Tags ── */
.service-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.service-pill {
  background: var(--offwhite);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--mid);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.service-pill::before {
  content: '✓';
  color: var(--sky);
  font-weight: 700;
  font-size: 0.8rem;
}
.service-pill:hover {
  background: var(--sky-lt);
  border-color: var(--sky);
  color: var(--blue);
}
/* ── Commitment/Values Grid ── */
.service-commitments {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 32px;
}
.service-commitment {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 24px 22px;
  text-align: center;
  transition: all 0.22s ease;
}
.service-commitment:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.service-commitment-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}
.service-commitment-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.service-commitment-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.65;
}
/* ── Contact/Action Section ── */
.service-contact-block {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 11px;
  padding: 36px 32px;
  margin-top: 36px;
}
.service-contact-block h3 {
  font-family: 'Sora', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 18px;
}
.service-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 22px;
}
.service-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.service-contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--sky-lt);
  color: var(--blue);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.service-contact-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}
.service-contact-value {
  font-size: 0.92rem;
  color: var(--ink);
  line-height: 1.5;
}
.service-contact-value a {
  color: var(--blue);
  font-weight: 700;
  transition: opacity 0.2s;
}
.service-contact-value a:hover {
  opacity: 0.8;
}
/* ── Action Buttons ── */
.service-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}
/* ── Divider ── */
.service-divider {
  height: 1px;
  background: var(--border);
  margin: 48px 0;
}
/* ── Responsive ── */
@media (max-width: 1024px) {
  .service-hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .service-hero-icon {
    width: 120px;
    height: 120px;
    font-size: 3rem;
  }
  .service-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .service-features {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
}
@media (max-width: 768px) {
  .service-hero {
    padding: 48px 0 40px;
  }
  .service-hero-content h1 {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
  }
  .service-section {
    padding: 56px 0;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .service-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-highlights {
    grid-template-columns: 1fr;
  }
  .service-contact-grid {
    grid-template-columns: 1fr;
  }
  .service-actions {
    flex-direction: column;
  }
  .btn-primary,
  .btn-secondary,
  .btn-sky,
  .btn-white-ghost {
    justify-content: center;
  }
}
@media (max-width: 480px) {
  .service-hero-badge {
    flex-direction: column;
    gap: 8px;
  }
  .service-badge-item {
    width: 100%;
    text-align: center;
  }
  .service-stats {
    grid-template-columns: 1fr;
  }
  .service-contact-grid {
    grid-template-columns: 1fr;
  }
}
/* ═══════════════════════════════════════════════════════
   CUSTOMIZATION HELPER CLASSES
   Use these to customize per-service without modifying CSS
═══════════════════════════════════════════════════════ */
/* Accent color variations */
.service.accent-sky .service-hero {
  border-bottom-color: var(--sky);
}
.service.accent-gold .service-hero {
  border-bottom-color: var(--gold);
}
/* Dark background variations */
.service-section.dark {
  background: var(--navy);
  color: #fff;
}
.service-section.dark .service-section-title {
  color: #fff;
}
.service-section.dark .service-section-desc {
  color: rgba(255, 255, 255, 0.7);
}
/* Card variants for dark sections */
.service-section.dark .service-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.service-section.dark .service-card-title {
  color: #fff;
}
.service-section.dark .service-card-desc {
  color: rgba(255, 255, 255, 0.7);
}
.service-section.dark .service-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(0, 159, 212, 0.4);
}
