:root{
  --green:#3a8d7b;
  --greenDark:#2f7263;

  --text:#1f2937;
  --muted:#6b7280;

  --bg:#f4f6f9;
  --card:#ffffff;

  --border:#e6e9ee;
  --shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
}

*{ box-sizing:border-box; }

body{
  margin:0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
}

.container{
  width: min(1100px, 92vw);
  margin: 0 auto;
}

/* page background */
.page{
  background:
    radial-gradient(900px 420px at 70% 18%, rgba(58,141,123,0.10), transparent 55%),
    radial-gradient(800px 380px at 18% 15%, rgba(59,130,246,0.07), transparent 55%),
    linear-gradient(#fbfdff, #f4f6f9);
  padding: 18px 0 28px;
}

/* TOPBAR */
.topbar{
  background: var(--green);
  color:#fff;
  padding: 10px 0;
}
.topbar-inner{ display:flex; align-items:center; }
.brand{ display:flex; align-items:center; gap:12px; }
.logo{
  width:38px; height:38px; border-radius:12px;
  background: rgba(255,255,255,0.18);
  display:grid; place-items:center; font-size:18px;
}
.brand-name{ font-weight:800; font-size:15px; letter-spacing:0.2px; }
.brand-sub{ font-size:12px; opacity:0.9; }

/* NAV */
.nav{ background:#fff; border-bottom:1px solid var(--border); }
.nav-inner{
  display:flex; gap:14px; padding:10px 0; overflow-x:auto;
}
.nav-link{
  text-decoration:none;
  color: var(--greenDark);
  font-weight:700;
  padding: 9px 12px;
  border-radius:12px;
  white-space:nowrap;
}
.nav-link.active{ background: rgba(58,141,123,0.12); }

/* BUTTONS */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height: 52px;
  padding: 0 22px;
  border-radius: 14px;
  font-weight: 800;
  text-decoration:none;
  font-size: 16px;
  cursor:pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}
.btn:active{ transform: translateY(1px); opacity:0.95; }

.btn-primary{
  background: var(--green);
  color:#fff;
  border: 2px solid var(--green);
  box-shadow: 0 10px 22px rgba(58,141,123,0.22);
}
.btn-outline{
  background:#fff;
  color: var(--greenDark);
  border: 2px solid rgba(58,141,123,0.55);
}

/* HERO */
.hero{ padding: 14px 0 8px; }

.hero-card{
  background:#fff;
  border-radius:26px;
  box-shadow: var(--shadow);
  overflow:hidden;
  display:grid;
  grid-template-columns:1.1fr 1fr;
  min-height:420px;
}

/* left */
.hero-left{
  padding:70px 60px;
  background: linear-gradient(
    90deg,
    rgba(210,232,255,0.95) 0%,
    rgba(225,240,255,0.65) 35%,
    rgba(255,255,255,1) 75%
  );
}

/* right */
.hero-right{
  /* seam fix */
  transform: translateX(-1px);
  background:
    linear-gradient(
      to right,
      rgba(255,255,255,0.92) 0%,
      rgba(255,255,255,0.75) 15%,
      rgba(255,255,255,0.0) 40%
    ),
    url("../images/hero.png") center/cover no-repeat;
}

.hero-title{
  margin:0;
  font-size:50px;
  line-height:1.05;
  font-weight:800;
}
.hero-subtitle{
  margin:16px 0 24px;
  color: var(--muted);
  font-size:18px;
}
.hero-actions{ display:flex; gap:14px; flex-wrap:wrap; }

/* FEATURES */
.features{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 18px 0 26px;
}
.feature{
  background:#fff;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(15,23,42,0.06);
  border: 1px solid rgba(0,0,0,0.04);
  padding: 18px;
  display:flex;
  gap:12px;
  align-items:flex-start;
}
.tick{
  width: 40px; height: 40px; border-radius: 999px;
  background: rgba(58,141,123,0.14);
  color: var(--greenDark);
  display:grid; place-items:center;
  font-weight: 900; font-size: 18px;
  flex: 0 0 auto;
}
.feature h3{ margin:0; font-size: 16px; }
.feature p{ margin: 6px 0 0; color: var(--muted); font-size: 13px; }

/* CONTACT */
.contact{ padding: 8px 0 22px; }
.card{
  background:#fff;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 10px 24px rgba(15,23,42,0.06);
  border: 1px solid rgba(0,0,0,0.04);
}
.card h2{ margin:0 0 10px; color: var(--greenDark); }

/* FOOTER */
.footer{
  background: var(--green);
  color:#fff;
  text-align:center;
  padding: 12px 10px;
  font-size: 13px;
}

/* FORMS */
.page-section{ padding: 18px 0 26px; }

.form-card{
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

/* watermark */
.form-card::before{
  content:"";
  position:absolute;
  inset:-60px;
  background:
    radial-gradient(650px 420px at 70% 50%,
      rgba(255,255,255,0.92),
      rgba(255,255,255,0.98) 70%
    ),
    url("../images/hero.png") right center/cover no-repeat;
  opacity: 0.10;
  filter: grayscale(1) blur(1px);
  z-index:0;
}
.form-card > *{ position: relative; z-index:1; }

.form{ margin-top: 14px; }

.field{ display:block; margin: 12px 0; }
.field span{
  display:block;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 6px;
  font-size: 14px;
}
.field input{
  width: 100%;
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 0 14px;
  font-size: 15px;
  outline: none;
  background: #fff;
}
.field input:focus{
  border-color: rgba(58,141,123,0.55);
  box-shadow: 0 0 0 4px rgba(58,141,123,0.12);
}
.form-actions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.form-actions .btn{ height: 48px; }
.note{ margin-top: 12px; color: var(--muted); font-size: 13px; }

/* MOBILE */
@media (max-width: 900px){
  .hero-card{ grid-template-columns: 1fr; }
  .hero-left{ padding: 30px 22px; }
  .hero-title{ font-size: 34px; }
  .hero-right{ min-height: 240px; transform: none; }
  .features{ grid-template-columns: 1fr; }
}
/* ---------- TESTS PAGE (B + C + Search) ---------- */
.tests-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  margin-bottom: 16px;
}

.tests-title{
  margin:0;
  font-size: 22px;
}

.tests-subtitle{
  margin:8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.tests-search{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}

.tests-search input{
  width: min(420px, 78vw);
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 0 14px;
  font-size: 15px;
  outline:none;
  background:#fff;
}

.tests-search input:focus{
  border-color: rgba(58,141,123,0.55);
  box-shadow: 0 0 0 4px rgba(58,141,123,0.12);
}

.test-category{
  margin: 18px 0;
}

.category-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom: 12px;
}

.category-head h3{
  margin:0;
  font-size: 16px;
}

.category-badge{
  font-size: 12px;
  font-weight: 800;
  color: var(--greenDark);
  background: rgba(58,141,123,0.12);
  border: 1px solid rgba(58,141,123,0.18);
  padding: 6px 10px;
  border-radius: 999px;
}

.tests-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.test-card{
  background:#fff;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 10px 24px rgba(15,23,42,0.06);
  padding: 16px;
}

.test-card h4{
  margin:0;
  font-size: 15px;
}

.test-card p{
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.no-results{
  margin-top: 18px;
  padding: 14px;
  background: #fff;
  border-radius: 14px;
  border: 1px dashed rgba(0,0,0,0.12);
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 900px){
  .tests-grid{ grid-template-columns: 1fr; }
}
/* ===== TESTS PAGE (matches calm site theme) ===== */

.tests-hero{
  margin-top: 18px;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.04);
  background:
    radial-gradient(700px 360px at 20% 10%, rgba(58,141,123,0.12), transparent 55%),
    radial-gradient(700px 360px at 80% 20%, rgba(59,130,246,0.10), transparent 55%),
    linear-gradient(#ffffff, #f8fbff);
  position: relative;
}

.tests-hero::after{
  content:"";
  position:absolute;
  inset:0;
  background: url("../images/hero.png") right center/520px no-repeat;
  opacity: 0.08;
  filter: grayscale(1) blur(1px);
  pointer-events:none;
}

.tests-hero-inner{
  position: relative;
  z-index: 1;
  padding: 22px 22px 18px;
}

.tests-hero h1{
  margin:0;
  font-size: 28px;
  letter-spacing: -0.3px;
}

.tests-hero p{
  margin: 8px 0 16px;
  color: var(--muted);
  font-size: 14px;
}

.tests-toolbar{
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  margin-bottom: 14px;
}

.tests-searchbox{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}

.tests-searchbox input{
  width: min(520px, 78vw);
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 0 14px;
  font-size: 15px;
  outline:none;
  background:#fff;
}

.tests-searchbox input:focus{
  border-color: rgba(58,141,123,0.55);
  box-shadow: 0 0 0 4px rgba(58,141,123,0.12);
}

.tests-meta{
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
}

.chips{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.chip{
  border: 1px solid rgba(58,141,123,0.22);
  background: rgba(58,141,123,0.08);
  color: var(--greenDark);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 800;
  cursor:pointer;
}

.chip.active{
  background: rgba(58,141,123,0.18);
  border-color: rgba(58,141,123,0.32);
}

.tests-wrap{
  padding: 18px 0 34px;
}

.test-group{
  margin-top: 18px;
}

.group-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom: 12px;
}

.group-head h2{
  margin:0;
  font-size: 16px;
}

.group-tag{
  font-size: 12px;
  font-weight: 900;
  color: var(--greenDark);
  background: rgba(58,141,123,0.12);
  border: 1px solid rgba(58,141,123,0.18);
  padding: 6px 10px;
  border-radius: 999px;
}

.test-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.test-tile{
  background:#fff;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 10px 24px rgba(15,23,42,0.06);
  padding: 16px;
  display:flex;
  gap:12px;
  align-items:flex-start;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.test-tile:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(15,23,42,0.10);
}

.tile-icon{
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(58,141,123,0.12);
  display:grid;
  place-items:center;
  font-size: 18px;
  flex: 0 0 auto;
}

.tile-body h3{
  margin:0;
  font-size: 15px;
}

.tile-body p{
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.no-results{
  margin-top: 18px;
  padding: 14px;
  background:#fff;
  border-radius: 14px;
  border: 1px dashed rgba(0,0,0,0.12);
  color: var(--muted);
  font-weight: 800;
}

/* mobile */
@media (max-width: 900px){
  .test-grid{ grid-template-columns: 1fr; }
}
/* ===== Help box + phone link (Tests page) ===== */
.help-box{
  margin-top: 18px;
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 10px 24px rgba(15,23,42,0.06);
  padding: 16px 18px;
}

.help-box h3{
  margin: 0 0 6px;
  font-size: 15px;
}

.help-box p{
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.phone-link{
  color: var(--greenDark);
  font-weight: 900;
  text-decoration: none;
  border-bottom: 2px solid rgba(58,141,123,0.25);
}

.phone-link:hover{
  border-bottom-color: rgba(58,141,123,0.45);
}
/* =========================
   TESTS PAGE (Better UI)
   Paste at END of style.css
   ========================= */

/* Scope everything to tests page wrapper if you have it.
   If your tests.html main container has class="tests", this is perfect.
   If not, it will still work using common classes below. */
.tests, .tests-page, main {
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

/* Title + subtitle */
.tests-title, h1 {
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -0.6px;
  margin: 18px 0 8px;
  color: var(--text);
}

.tests-subtitle, .subtitle, p.lead {
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 14px;
}

/* Search row */
.tests-search, .search-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin: 10px 0 14px;
}

.tests-search input[type="text"], .search-row input[type="text"], .tests-search input {
  flex: 1 1 220px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 0 14px;
  font-size: 15px;
  background: rgba(255,255,255,0.92);
  outline: none;
}

.tests-search input:focus, .search-row input:focus {
  border-color: rgba(58,141,123,0.55);
  box-shadow: 0 0 0 4px rgba(58,141,123,0.12);
}

/* Clear button (matches your theme buttons) */
.tests-search .btn, .search-row .btn, .clear-btn {
  height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  font-weight: 800;
  border: 2px solid var(--green);
  background: var(--green);
  color: #fff;
  cursor: pointer;
}
.tests-search .btn:active, .search-row .btn:active, .clear-btn:active {
  transform: translateY(1px);
  opacity: 0.95;
}

/* Count text */
.tests-count, .count-text {
  font-size: 13px;
  color: var(--muted);
  margin: 8px 0 10px;
}

/* Category chips */
.tests-filters, .filters, .category-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 10px 0 18px;
}

.tests-filters button, .filters button, .category-row button, .chip {
  appearance: none;
  border: 1px solid rgba(58,141,123,0.25);
  background: rgba(255,255,255,0.78);
  color: var(--greenDark);
  border-radius: 999px;
  padding: 9px 14px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease, border-color 0.12s ease;
}

.tests-filters button:hover, .filters button:hover, .category-row button:hover, .chip:hover {
  transform: translateY(-1px);
  border-color: rgba(58,141,123,0.45);
}

.tests-filters .active, .filters .active, .category-row .active, .chip.active {
  background: rgba(58,141,123,0.14);
  border-color: rgba(58,141,123,0.55);
}

/* Section headings like Hematology / Biochemistry */
.tests-section-title, h2 {
  font-size: 26px;
  letter-spacing: -0.4px;
  margin: 18px 0 10px;
  color: var(--text);
}

/* Test cards list */
.tests-grid, .tests-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.test-item, .test-card {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(15,23,42,0.06);
  padding: 14px 14px;
}

.test-item h3, .test-card h3, .test-name {
  margin: 0;
  font-size: 16px;
  font-weight: 900;
  color: var(--text);
}

.test-item p, .test-card p, .test-desc {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

/* “Can’t find your test?” block */
.tests-help, .cant-find, .help-box {
  margin-top: 18px;
  border-radius: 18px;
  padding: 14px 14px;
  background: rgba(210,232,255,0.45);
  border: 1px solid rgba(59,130,246,0.18);
}

.tests-help strong, .cant-find strong, .help-box strong {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--text);
}

.tests-help a, .cant-find a, .help-box a {
  color: var(--greenDark);
  font-weight: 900;
  text-decoration: none;
  border-bottom: 1px solid rgba(58,141,123,0.35);
}

/* “No results found” message */
.no-results, .not-found-message {
  margin: 14px 0;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.92);
  border: 1px dashed rgba(58,141,123,0.40);
  color: var(--muted);
  font-weight: 700;
}

/* MOBILE polish */
@media (max-width: 600px){
  .tests-title, h1 { font-size: 30px; }
  .tests-section-title, h2 { font-size: 22px; }
    }





