/*--------------------------------------------------------------
# Diagnostic Centre HMS — Solutions Page
--------------------------------------------------------------*/

/* ── Animated gradient blobs ── */
.diag-hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: diag-blob-drift 12s ease-in-out infinite alternate;
}
.diag-hero-blob-1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(8,145,178,0.22), transparent 70%);
  top: -160px; right: -100px;
  animation-duration: 14s;
}
.diag-hero-blob-2 {
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(0,184,169,0.18), transparent 70%);
  bottom: -100px; left: -60px;
  animation-duration: 10s;
  animation-delay: -4s;
}
.diag-hero-blob-3 {
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(103,232,249,0.15), transparent 70%);
  top: 40%; left: 36%;
  animation-duration: 16s;
  animation-delay: -8s;
}
@keyframes diag-blob-drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(28px, -18px) scale(1.06); }
  100% { transform: translate(-18px, 28px) scale(0.96); }
}

/* ── Hero stat badges ── */
.diag-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.diag-stat-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 50px;
  backdrop-filter: blur(8px);
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.90);
  transition: background 0.25s ease, border-color 0.25s ease;
}
.diag-stat-badge i { font-size: 0.85rem; color: #67E8F9; }
.diag-stat-badge:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(103,232,249,0.40);
}

/* ── Hero bottom padding ── */
.sol-hero { padding-bottom: 100px; }

/* ── Hero Visual Card ── */
.diag-hero-visual {
  position: relative;
  z-index: 1;
}
.diag-hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.25);
}
.diag-hero-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(8,145,178,0.35), rgba(0,184,169,0.22));
  border-bottom: 1px solid rgba(255,255,255,0.10);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
}
.diag-hero-card-header i {
  font-size: 1.4rem;
  color: #67E8F9;
}
.diag-hero-feature-list {
  list-style: none;
  margin: 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.diag-hero-feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
}
.diag-hero-feature-list li i {
  font-size: 1rem;
  color: #67E8F9;
  flex-shrink: 0;
}
.diag-hero-card-footer {
  padding: 16px 24px;
  background: rgba(255,255,255,0.04);
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  display: flex;
  align-items: center;
  gap: 8px;
}
.diag-hero-card-footer i {
  color: #67E8F9;
  font-size: 0.9rem;
}

/*--------------------------------------------------------------
# Advanced Features — cyan accent overrides
--------------------------------------------------------------*/
.diag-page .dnt-adv-icon {
  color: #0891B2;
  background: linear-gradient(135deg, rgba(8,145,178,0.08), rgba(0,184,169,0.08));
}
.diag-page .dnt-adv-card:hover .dnt-adv-icon {
  background: linear-gradient(135deg, #0891B2, #00B8A9);
  color: #fff;
}
.diag-page .dnt-adv-card::before {
  background: linear-gradient(90deg, #0891B2, #00B8A9);
}

/*--------------------------------------------------------------
# Why Choose — cyan accent overrides
--------------------------------------------------------------*/
.diag-page .dnt-why-icon {
  color: #0891B2;
  background: linear-gradient(135deg, rgba(8,145,178,0.08), rgba(0,184,169,0.08));
}
.diag-page .dnt-why-item:hover .dnt-why-icon {
  background: linear-gradient(135deg, #0891B2, #00B8A9);
  color: #fff;
}

/*--------------------------------------------------------------
# Section kicker & CTA — cyan overrides
--------------------------------------------------------------*/
.diag-page .tp-sol-kicker {
  background: rgba(8,145,178,0.08);
  color: #0891B2;
}
.diag-page .sol-cta-btn {
  background: linear-gradient(135deg, #0891B2, #00B8A9);
}
.diag-page .sol-cta-btn:hover {
  background: linear-gradient(135deg, #0369a1, #009e96);
}
.diag-page .related-card:hover {
  border-color: rgba(8,145,178,0.35);
}
.diag-page .related-card i { color: #0891B2; }

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/
@media (max-width: 991px) {
  .sol-hero { padding-bottom: 80px; }
  .diag-hero-blob-1 { width: 300px; height: 300px; }
  .diag-hero-blob-2 { width: 220px; height: 220px; }
  .diag-hero-card { max-width: 480px; margin: 0 auto; }
}
@media (max-width: 767px) {
  .diag-hero-stats { gap: 8px; }
  .diag-stat-badge { font-size: 0.74rem; padding: 6px 11px; }
  .diag-hero-blob-3 { display: none; }
}

/*--------------------------------------------------------------
# Why Choose — Redesigned Card Grid
--------------------------------------------------------------*/
.diag-why-section { background: #F0F9FF; }

.diag-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.diag-why-card {
  position: relative;
  background: #fff;
  border: 1px solid #E0F2FE;
  border-radius: 18px;
  padding: 26px 22px 22px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.diag-why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0891B2, #00B8A9);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.diag-why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(8,145,178,0.10);
  border-color: rgba(8,145,178,0.22);
}
.diag-why-card:hover::before { transform: scaleX(1); }

.diag-why-num {
  position: absolute;
  top: 16px; right: 18px;
  font-size: 2rem;
  font-weight: 900;
  color: rgba(8,145,178,0.07);
  letter-spacing: -0.04em;
  line-height: 1;
  transition: color 0.25s ease;
}
.diag-why-card:hover .diag-why-num { color: rgba(8,145,178,0.13); }

.diag-why-card .diag-why-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(8,145,178,0.08), rgba(0,184,169,0.08));
  color: #0891B2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 14px;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.diag-why-card:hover .diag-why-icon {
  background: linear-gradient(135deg, #0891B2, #00B8A9);
  color: #fff;
  transform: scale(1.08) rotate(-4deg);
}

.diag-why-card h4 {
  font-size: 0.97rem;
  font-weight: 800;
  color: var(--heading-color);
  margin: 0 0 8px;
  line-height: 1.3;
}
.diag-why-card p {
  font-size: 0.85rem;
  color: var(--muted-color);
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 991px) {
  .diag-why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .diag-why-grid { grid-template-columns: 1fr; }
}

/*--------------------------------------------------------------
# Key Features — Redesigned Cards
--------------------------------------------------------------*/
.diag-feat-section { background: #F8FAFC; }

.diag-feat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.diag-feat-card {
  position: relative;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  padding: 24px 20px 20px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.diag-feat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0891B2, #00B8A9);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.diag-feat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(8,145,178,0.10);
  border-color: rgba(8,145,178,0.20);
}
.diag-feat-card:hover::before { transform: scaleX(1); }

.diag-feat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.diag-feat-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(8,145,178,0.08), rgba(0,184,169,0.08));
  color: #0891B2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.diag-feat-card:hover .diag-feat-icon {
  background: linear-gradient(135deg, #0891B2, #00B8A9);
  color: #fff;
  transform: scale(1.08) rotate(-4deg);
}
.diag-feat-num {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(8,145,178,0.07);
  letter-spacing: -0.04em;
  transition: color 0.25s ease;
}
.diag-feat-card:hover .diag-feat-num { color: rgba(8,145,178,0.13); }

.diag-feat-card h3 {
  font-size: 0.93rem;
  font-weight: 800;
  color: var(--heading-color);
  margin: 0 0 8px;
  line-height: 1.3;
}
.diag-feat-card p {
  font-size: 0.83rem;
  color: var(--muted-color);
  line-height: 1.65;
  margin: 0 0 14px;
}
.diag-feat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.diag-feat-tags span {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 9px;
  border-radius: 50px;
  background: rgba(8,145,178,0.06);
  color: #0891B2;
  border: 1px solid rgba(8,145,178,0.15);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.diag-feat-card:hover .diag-feat-tags span {
  background: rgba(8,145,178,0.10);
  border-color: rgba(8,145,178,0.25);
}

@media (max-width: 1199px) {
  .diag-feat-row { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
  .diag-feat-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .diag-feat-row { grid-template-columns: 1fr; }
}
