/* PAGE BASE */
.tests-page {
  padding-top: 90px; /* navbar  */
}

/* HERO */
.tests-hero {
  background: #f4f8ff;
  padding: 60px 0;
  text-align: center;
}

.tests-hero h1 {
  color: #0d4aa8;
  font-weight: 600;
}

.tests-hero p {
  max-width: 700px;
  margin: 10px auto 0;
  color: #555;
}

/* FILTER */
.tests-filter {
  padding: 30px 0;
}

.filter-box {
  display: flex;
  gap: 12px;
}

.filter-box input,
.filter-box select {
  flex: 1;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

/* TEST CARDS */
.tests-list {
  padding: 40px 0;
}

.test-card {
  background: #fff;
  border-radius: 14px;
  padding: 22px;
  height: 100%;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.test-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}

.test-card h5 {
  color: #0d4aa8;
  margin-bottom: 6px;
}

.test-card p {
  font-size: 14px;
  color: #555;
  margin-bottom: 14px;
}

.badge {
  display: inline-block;
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.badge-blood { background: #e8f2ff; color: #0d4aa8; }
.badge-diabetes { background: #e6f7ee; color: #198754; }
.badge-hormone { background: #f3e8ff; color: #6f42c1; }
.badge-infection { background: #ffeaea; color: #dc3545; }
.badge-heart { background: #ffe9e9; color: #c82333; }
.badge-urine { background: #e9f7ff; color: #0dcaf0; }

.details-link {
  display: inline-block;
  margin-top: 6px;
  font-weight: 500;
  text-decoration: none;
}

/* CTA SECTION */
.services-cta {
  padding: 70px 0 90px;
  background-color: #f4f8ff;
}

.cta-box {
  background: #ffffff;
  border-radius: 18px;
  padding: 40px 35px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}

.cta-box h3 {
  color: #0d4aa8;
  font-weight: 600;
  margin-bottom: 8px;
}

.cta-box p {
  color: #555;
  margin: 0;
  max-width: 600px;
}

.cta-btn {
  padding: 12px 34px;
  font-weight: 500;
}

/* Mobile */
@media (max-width: 768px) {
  .services-cta {
    padding: 50px 0 70px;
  }

  .cta-box {
    padding: 30px 22px;
    text-align: center;
  }

  .cta-btn {
    width: 100%;
  }
}

