/* =========================================================
   Remedy Diagnostic Center — shared stylesheet
   ========================================================= */

:root {
  --navy: #0e2a44;
  --navy-dark: #0a1e33;
  --navy-soft: #123a5c;
  --green: #1c7a4d;
  --green-dark: #145c3a;
  --red: #d1453b;
  --ink: #16232f;
  --muted: #5b6b78;
  --bg-soft: #f4f7f9;
  --line: #e4e9ec;
  --white: #ffffff;

  --font-head: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, .display-font {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--navy);
}

a { text-decoration: none; }

.section-pad { padding: 4.5rem 0; }
.section-pad-sm { padding: 3rem 0; }

.bg-soft { background: var(--bg-soft); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(28,122,77,.09);
  padding: .35rem .9rem;
  border-radius: 40px;
  margin-bottom: .9rem;
}

.section-title {
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  margin-bottom: .6rem;
}

.section-sub {
  color: var(--muted);
  max-width: 640px;
}

/* ---------- Buttons ---------- */
.btn-remedy {
  background: var(--green);
  border: 1px solid var(--green);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .92rem;
  padding: .65rem 1.5rem;
  border-radius: 6px;
  transition: all .2s ease;
}
.btn-remedy:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: #fff;
}
.btn-outline-remedy {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.55);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .92rem;
  padding: .6rem 1.4rem;
  border-radius: 6px;
  transition: all .2s ease;
}
.btn-outline-remedy:hover {
  background: rgba(255,255,255,.12);
  color: #fff;
  border-color: #fff;
}
.btn-navy {
  background: var(--navy);
  border: 1px solid var(--navy);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .88rem;
  padding: .55rem 1.3rem;
  border-radius: 6px;
}
.btn-navy:hover { background: var(--navy-dark); color: #fff; }

.btn-call {
  background: var(--green);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  border-radius: 6px;
  padding: .75rem 1.6rem;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  border: none;
}
.btn-call:hover { background: var(--green-dark); color: #fff; }

/* ---------- Navbar ---------- */
.navbar-remedy {
  background: var(--white);
  padding: .9rem 0;
  border-bottom: 1px solid var(--line);
}
.navbar-remedy .navbar-brand {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: .55rem;
}
.navbar-remedy .navbar-brand .brand-mark {
  width: 38px; height: 38px;
  background: var(--navy);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.1rem;
}
.navbar-remedy .nav-link {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .92rem;
  color: var(--ink);
  padding: .5rem 1rem !important;
}
.navbar-remedy .nav-link.active,
.navbar-remedy .nav-link:hover { color: var(--green); }
.navbar-remedy .nav-phone {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .88rem;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: .4rem;
}

/* ---------- Hero (page banner used across inner pages) ---------- */
.page-hero {
  background: linear-gradient(120deg, var(--navy-dark), var(--navy) 60%, var(--navy-soft));
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(28,122,77,.18);
}
.page-hero .breadcrumb-line {
  font-family: var(--font-head);
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
}

/* ---------- Homepage Hero ---------- */
.hero-home {
  background: radial-gradient(circle at 78% 30%, #16406a 0%, var(--navy) 55%, var(--navy-dark) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero-home::after {
  content: "";
  position: absolute;
  left: -120px; bottom: -140px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: rgba(28,122,77,.16);
}
.hero-home .hero-visual {
  position: relative;
  z-index: 2;
}
.hero-home .hero-visual img {
  border-radius: 16px;
  border: 6px solid rgba(255,255,255,.08);
  box-shadow: 0 30px 60px rgba(0,0,0,.35);
}
.hero-stat-card {
  background: #fff;
  color: var(--navy);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  box-shadow: 0 16px 34px rgba(0,0,0,.18);
  position: absolute;
  bottom: -28px;
  left: 24px;
  display: flex;
  gap: .8rem;
  align-items: center;
  z-index: 3;
}
.hero-stat-card .num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--green);
  line-height: 1;
}
.hero-stat-card .lbl {
  font-size: .74rem;
  color: var(--muted);
}

.hero-feature-strip {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 45px rgba(10,30,50,.1);
  padding: 1.6rem;
  margin-top: -3.4rem;
  position: relative;
  z-index: 5;
}
.hero-feature-strip .feat {
  display: flex;
  align-items: center;
  gap: .8rem;
}
.hero-feature-strip .feat-icon {
  width: 46px; height: 46px;
  border-radius: 10px;
  background: rgba(28,122,77,.09);
  color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.hero-feature-strip .feat h6 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .92rem;
  margin-bottom: .1rem;
  color: var(--navy);
}
.hero-feature-strip .feat p {
  font-size: .78rem;
  color: var(--muted);
  margin: 0;
}

/* ---------- Service Cards ---------- */
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.6rem 1.4rem;
  height: 100%;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 34px rgba(10,30,50,.1);
  border-color: transparent;
}
.service-icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.1rem;
}
.icon-blood { background: rgba(209,69,59,.1); color: var(--red); }
.icon-urine { background: rgba(230,181,44,.14); color: #b98a1c; }
.icon-thyroid { background: rgba(28,122,77,.1); color: var(--green); }
.icon-hormone { background: rgba(20,90,160,.1); color: #1b5fa0; }
.icon-cardiac { background: rgba(209,69,59,.1); color: var(--red); }
.icon-xray { background: rgba(90,60,160,.1); color: #6b3fa0; }

.service-card h5 {
  font-size: 1.05rem;
  margin-bottom: .45rem;
}
.service-card p {
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: 1.1rem;
  min-height: 55px;
}
.service-card .card-link {
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 600;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.service-card .card-link:hover { color: var(--green); }

/* ---------- Sample Collection Banner ---------- */
.sample-banner {
  background: linear-gradient(100deg, var(--navy-dark), var(--navy-soft));
  color: #fff;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
}
.sample-banner .vials {
  height: 100%;
  min-height: 220px;
  background: linear-gradient(120deg, rgba(28,122,77,.35), rgba(28,122,77,0) 60%);
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
  color: rgba(255,255,255,.9);
}

/* ---------- Test package table ---------- */
.package-table {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.package-table .pkg-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.4rem;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.package-table .pkg-row:nth-child(even) { background: var(--bg-soft); }
.package-table .pkg-row:last-child { border-bottom: none; }
.package-table .pkg-name {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--navy);
  font-size: .96rem;
}
.package-table .pkg-desc {
  font-size: .8rem;
  color: var(--muted);
}
.package-table .pkg-price {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--green);
  white-space: nowrap;
}

/* ---------- Contact ---------- */
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 24px 50px rgba(10,30,50,.08);
}
.form-control-remedy {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: .7rem .9rem;
  font-size: .9rem;
}
.form-control-remedy:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 .2rem rgba(28,122,77,.14);
}
.contact-info-item {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  margin-bottom: 1.4rem;
}
.contact-info-item .ci-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(28,122,77,.1);
  color: var(--green);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-info-item h6 {
  font-family: var(--font-head);
  font-weight: 600;
  margin-bottom: .15rem;
  color: var(--navy);
  font-size: .92rem;
}
.contact-info-item p { font-size: .84rem; color: var(--muted); margin: 0; }

/* ---------- Footer ---------- */
.footer-remedy {
  background: var(--navy-dark);
  color: rgba(255,255,255,.75);
}
.footer-remedy h6 {
  font-family: var(--font-head);
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  margin-bottom: 1.1rem;
}
.footer-remedy a {
  color: rgba(255,255,255,.65);
  font-size: .87rem;
  display: block;
  margin-bottom: .55rem;
  transition: color .15s ease;
}
.footer-remedy a:hover { color: #fff; }
.footer-remedy .footer-brand {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: .8rem;
  color: rgba(255,255,255,.5);
}
.social-dot {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  transition: background .15s ease;
}
.social-dot:hover { background: var(--green); color: #fff; }

/* ---------- Misc ---------- */
.divider-dot { color: var(--green); }

@media (max-width: 767.98px) {
  .hero-stat-card { position: static; margin-top: 1.2rem; }
  .hero-feature-strip { margin-top: 1.5rem; }
}
