/* ================================================================
   TeleHealthcare Network — Modern Redesign
   ================================================================ */
:root {
  /* Bright, modern blue palette */
  --teal: #2563eb;          /* primary blue */
  --teal-dark: #1d4ed8;     /* hover */
  --teal-light: #93c5fd;    /* light accent on dark bg */
  --cyan: #38bdf8;          /* secondary accent for gradients */
  --navy: #142b52;          /* headings */
  --footer-bg: #142b52;
  --ink: #23324d;
  --muted: #5c6b87;
  --bg: #ffffff;
  --bg-alt: #f2f7ff;
  --line: #e3ecfa;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(37, 99, 235, 0.08);
  --shadow-lg: 0 18px 50px rgba(20, 43, 82, 0.14);
  --font-head: "Sora", sans-serif;
  --font-body: "Inter", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; color: var(--navy); }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }

.container { width: min(1160px, 92%); margin-inline: auto; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px;
  font-weight: 600; font-size: .95rem; font-family: var(--font-body);
  border: 2px solid transparent; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 15px 32px; font-size: 1rem; }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 8px 20px rgba(34, 84, 107, .3); }
.btn-primary:hover { background: var(--teal-dark); }
.btn-secondary { background: var(--bg-alt); color: var(--teal-dark); border-color: var(--line); }
.btn-secondary:hover { background: #e6f0f4; }
.btn-ghost { background: #fff; color: var(--teal-dark); border-color: var(--line); box-shadow: var(--shadow); }
.btn-ghost:hover { border-color: var(--teal); }
.btn-light { background: #fff; color: var(--teal-dark); }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 10px 0; }
.brand { display: flex; align-items: center; gap: 10px; }
.logo-img { height: 52px; width: auto; }
.site-footer .logo-img { height: 64px; }
.brand-text { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; color: var(--navy); letter-spacing: -.01em; }
.brand-text em { font-style: normal; color: var(--teal); }
.brand-light .brand-text, .brand-light .brand-text em { color: #fff; }
.brand-light .brand-text em { color: var(--teal-light); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links > a, .dropdown > a {
  font-weight: 500; font-size: .95rem; color: var(--ink);
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 0; position: relative;
}
.nav-links > a::after, .dropdown > a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--teal); border-radius: 2px; transition: width .25s ease;
}
.nav-links > a:hover::after, .nav-links > a.active::after,
.dropdown > a:hover::after, .dropdown > a.active::after { width: 100%; }
.nav-cta { color: #fff !important; }
.nav-cta::after { display: none; }
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: calc(100% + 10px); left: -14px; min-width: 240px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .25s ease;
}
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: none; }
.dropdown-menu a { display: block; padding: 10px 14px; border-radius: 9px; font-size: .92rem; font-weight: 500; }
.dropdown-menu a:hover { background: var(--bg-alt); color: var(--teal-dark); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: .3s; }

/* ---------- Hero (light & bright) ---------- */
.hero {
  background:
    radial-gradient(900px 480px at 88% -10%, rgba(56, 189, 248, .18), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(37, 99, 235, .12), transparent 55%),
    linear-gradient(180deg, #f6faff 0%, #eaf2ff 100%);
  padding: clamp(40px, 6vh, 70px) 0 64px;
}
.hero-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(26px, 4vw, 54px); align-items: center; }
.hero-grid h1 { font-size: clamp(1.9rem, 3.3vw, 2.65rem); letter-spacing: -.015em; }
.hero-grid .hero-sub { font-size: 1.05rem; }
.hero-center { text-align: center; max-width: 820px; margin: 0 auto 40px; }
.hero-center h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); letter-spacing: -.015em; }
.hero-center .hero-sub { margin-inline: auto; max-width: 640px; font-size: 1.06rem; }
.hero-center .hero-actions { justify-content: center; }
.hero-full { max-width: 1160px; margin: 0 auto; }
.hero-full img { aspect-ratio: 21/9; object-fit: cover; object-position: center 32%; }
.hero h1 { color: var(--navy); }
.hero .accent {
  background: linear-gradient(90deg, var(--teal), var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { max-width: 540px; margin-top: 18px; font-size: 1.12rem; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-media { position: relative; }
.hero-media img {
  border-radius: 26px; box-shadow: var(--shadow-lg);
  width: 100%; height: auto; background: #fff;
}
/* Hero slideshow — feathered edges so images blend into the page */
.hero-slider {
  aspect-ratio: 16/10; border-radius: 30px; overflow: hidden;
  -webkit-mask-image: radial-gradient(140% 140% at 50% 50%, #000 72%, transparent 100%);
  mask-image: radial-gradient(140% 140% at 50% 50%, #000 72%, transparent 100%);
}
.hero-slider .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.3s ease; }
.hero-slider .slide.is-active { opacity: 1; }
.hero-slider img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; box-shadow: none; background: none; }
.slide-cap {
  position: absolute; left: 20px; bottom: 20px;
  background: rgba(255, 255, 255, .93); color: var(--navy);
  font-weight: 700; font-size: .88rem; padding: 8px 17px;
  border-radius: 999px; box-shadow: var(--shadow);
}
.hero-badge {
  position: absolute; left: -18px; bottom: 26px;
  background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg);
  padding: 14px 20px; display: flex; align-items: center; gap: 12px;
  font-weight: 700; color: var(--navy); font-size: .95rem;
}
.hero-badge .svc-icon { width: 42px; height: 42px; border-radius: 12px; }
.hero-badge span small { display: block; font-weight: 500; color: var(--muted); font-size: .8rem; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  margin-top: 52px;
}
.hero-stats > div {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 22px;
  box-shadow: var(--shadow-lg);
}
.stat-num { font-family: var(--font-head); font-size: 1.9rem; font-weight: 800; display: block; color: var(--teal); }
.stats-band .stat-num { color: var(--teal); }
.stat-label { font-size: .86rem; color: var(--muted); }
.stats-band .stat-label { color: var(--muted); }

.eyebrow {
  display: inline-block; font-weight: 700; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--teal);
  margin-bottom: 12px;
}
.eyebrow-light { color: var(--teal-light); }

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
  background-size: cover; background-position: center;
  color: #fff; padding: clamp(70px, 10vh, 110px) 0;
}
.page-banner h1 { color: #fff; }
.banner-sub { max-width: 620px; margin-top: 14px; font-size: 1.08rem; color: rgba(255, 255, 255, .88); }

/* ---------- Sections ---------- */
.section { padding: clamp(60px, 9vh, 100px) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 800px; margin-bottom: 46px; }
.section-sub { color: var(--muted); margin-top: 12px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

/* ---------- Cards ---------- */
.feature-card, .svc-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .25s ease, box-shadow .25s ease;
}
.feature-card:hover, .svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature-card h3, .svc-card h3 { margin: 16px 0 8px; }
.feature-card p, .svc-card p { color: var(--muted); font-size: .95rem; }
.svc-card { display: flex; flex-direction: column; }
.svc-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, var(--teal), var(--cyan));
  color: #fff; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.link-more {
  margin-top: auto; padding-top: 16px;
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--teal-dark); font-weight: 600; font-size: .92rem;
}
.svc-card:hover .link-more { gap: 10px; }
.link-more svg { transition: transform .2s; }

/* ---------- Split rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.row-rev .split-media { order: 2; }
.split-media img { border-radius: 22px; box-shadow: var(--shadow-lg); aspect-ratio: 6/5; object-fit: cover; width: 100%; }
.split-body h2 { margin-bottom: 14px; }
.split-body p { color: var(--muted); margin-bottom: 14px; }
.split-body .btn { margin-top: 10px; }
.stack-xl > * + * { margin-top: clamp(60px, 9vh, 100px); }

.check-list { list-style: none; margin: 18px 0 22px; }
.check-list li {
  padding-left: 30px; position: relative; margin-bottom: 11px;
  font-weight: 500; font-size: .97rem;
}
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 19px; height: 19px; border-radius: 50%;
  background: var(--teal) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3.4" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center/11px no-repeat;
}

/* ---------- Benefit grid (service pages) ---------- */
.benefit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.benefit {
  display: flex; align-items: flex-start; gap: 13px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 20px; font-weight: 500;
}
.benefit svg { color: var(--teal); flex-shrink: 0; margin-top: 3px; }

.mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mini-card {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 18px; font-weight: 600; font-size: .92rem; color: var(--navy);
  transition: all .2s ease;
}
.mini-card:hover { background: var(--teal); color: #fff; }

/* ---------- Stats band ---------- */
.stats-band { background: var(--bg-alt); padding: 54px 0; border-block: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(115deg, #17357e, #1e4fc0 55%, #4a9bd8 130%);
  color: #fff; padding: 70px 0;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: rgba(255, 255, 255, .82); max-width: 480px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.contact-item { display: flex; gap: 18px; margin-top: 30px; }
.contact-item h3 { margin-bottom: 4px; }
.contact-item a { color: var(--teal-dark); font-weight: 600; }
.contact-item p { color: var(--muted); font-size: .95rem; }
.contact-form-wrap { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: clamp(26px, 4vw, 42px); }
.contact-form h3 { margin-bottom: 20px; font-size: 1.35rem; }
.contact-form label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 16px; color: var(--navy); }
.contact-form input, .contact-form textarea {
  width: 100%; margin-top: 7px; padding: 13px 15px;
  border: 1.5px solid var(--line); border-radius: 11px;
  font-family: var(--font-body); font-size: .95rem; color: var(--ink);
  transition: border-color .2s; background: var(--bg-alt);
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--teal); background: #fff; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); color: rgba(255, 255, 255, .8); }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px; padding: 70px 0 50px;
}
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 18px; letter-spacing: .04em; }
.site-footer a { display: block; margin-bottom: 10px; font-size: .93rem; transition: color .2s; }
.site-footer a:hover { color: var(--teal-light); }
.site-footer .brand { margin-bottom: 16px; display: inline-flex; }
.footer-tag { font-size: .93rem; max-width: 320px; margin-bottom: 20px; }
.footer-addr { font-size: .93rem; margin-bottom: 10px; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 38px; height: 38px; border-radius: 10px; margin: 0;
  background: rgba(255, 255, 255, .08); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.socials a:hover { background: var(--teal); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 0; font-size: .85rem; }

/* ---------- Steps ---------- */
.step-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step-grid-5 { grid-template-columns: repeat(5, 1fr); }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.step-num {
  font-family: var(--font-head); font-weight: 800; font-size: 1rem;
  color: #fff; background: linear-gradient(135deg, var(--teal), var(--cyan));
  width: 42px; height: 42px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
}
.step h3 { margin: 14px 0 7px; font-size: 1.02rem; }
.step p { color: var(--muted); font-size: .92rem; }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.chip {
  background: var(--bg-alt); border: 1px solid var(--line); color: var(--teal-dark);
  border-radius: 999px; padding: 9px 18px; font-weight: 600; font-size: .9rem;
}

/* ---------- Comparison cards ---------- */
.compare-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.compare-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; text-align: center;
}
.compare-label { font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.compare-num { font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; color: var(--navy); margin: 10px 0 6px; }
.compare-sub { color: var(--muted); font-size: .92rem; }
.compare-card.highlight { border: 2px solid var(--teal); box-shadow: var(--shadow); }
.compare-card.savings { background: linear-gradient(135deg, var(--teal), var(--cyan) 140%); border: 0; }
.compare-card.savings .compare-label, .compare-card.savings .compare-sub { color: rgba(255, 255, 255, .85); }
.compare-card.savings .compare-num { color: #fff; }

/* ---------- Blog / Resources ---------- */
.post-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-media { position: relative; }
.post-media img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.post-tag {
  position: absolute; left: 14px; bottom: 14px;
  background: var(--teal); color: #fff; font-size: .75rem; font-weight: 700;
  padding: 5px 12px; border-radius: 999px;
}
.post-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: .8rem; font-weight: 600; color: var(--muted); letter-spacing: .05em; text-transform: uppercase; margin-bottom: 8px; }
.post-body h3 { font-size: 1.02rem; line-height: 1.4; margin-bottom: 8px; }
.post-excerpt { color: var(--muted); font-size: .92rem; margin-bottom: 12px; }
.news-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 26px; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.news-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.news-card svg { color: var(--teal); flex-shrink: 0; margin-top: 4px; }
.news-card .post-excerpt { margin-bottom: 0; }

/* ---------- Partners ---------- */
.partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.partner-tile {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  min-height: 130px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  color: var(--muted); font-weight: 600; padding: 24px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.partner-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--teal-light); }
.partner-tile img { max-height: 64px; max-width: 82%; object-fit: contain; }
.partner-tile svg { color: var(--teal-light); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .mini-grid, .step-grid, .step-grid-5, .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .compare-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 61px 0 auto 0; z-index: 99;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: flex-start; gap: 4px;
    padding: 18px 5vw 24px; box-shadow: var(--shadow-lg);
    display: none;
  }
  body.nav-open .nav-links { display: flex; }
  .nav-links > a, .dropdown > a { padding: 10px 0; font-size: 1.05rem; }
  .dropdown-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; padding: 0 0 0 16px; min-width: 0;
  }
  .split, .grid-2, .contact-grid, .benefit-grid, .form-row, .hero-grid { grid-template-columns: 1fr; }
  .hero-badge { left: 10px; bottom: 14px; padding: 10px 14px; }
  .row-rev .split-media { order: 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  .grid-4, .grid-3, .mini-grid, .footer-grid, .hero-stats, .step-grid, .step-grid-5, .partner-grid { grid-template-columns: 1fr; }
}
