/* =====================================================
   Satmit Healthcare — Shared Stylesheet
   ===================================================== */

:root {
  --teal-dark: #0a4f49;
  --teal: #10746c;
  --teal-mid: #1a8f85;
  --teal-light: #e7f4f2;
  --teal-lighter: #f4fbfa;
  --amber: #dd9a3d;
  --amber-dark: #c17f24;
  --ink: #1b2b2a;
  --ink-soft: #4a5b59;
  --gray-bg: #f7f9f9;
  --border: #dfe9e7;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 4px 18px rgba(10, 79, 73, 0.08);
  --shadow-lg: 0 12px 34px rgba(10, 79, 73, 0.14);
  --max-width: 1180px;
  --font: "Segoe UI", "Poppins", Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 72px 0;
}

h1, h2, h3, h4 {
  font-weight: 700;
  color: var(--teal-dark);
  line-height: 1.25;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }

.eyebrow {
  display: inline-block;
  color: var(--amber-dark);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 10px;
}

.section-head {
  max-width: 680px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-head p {
  color: var(--ink-soft);
  margin-top: 12px;
  font-size: 1.02rem;
}

.section-head.align-left {
  margin: 0 0 44px;
  text-align: left;
}

.bg-light {
  background: var(--gray-bg);
}

.bg-teal {
  background: var(--teal-dark);
  color: var(--white);
}

.bg-teal h2, .bg-teal h3 {
  color: var(--white);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--amber);
  color: var(--white);
  border-color: var(--amber);
}

.btn-primary:hover {
  background: var(--amber-dark);
  border-color: var(--amber-dark);
}

.btn-outline {
  background: transparent;
  color: var(--teal-dark);
  border-color: var(--teal-dark);
}

.btn-outline:hover {
  background: var(--teal-dark);
  color: var(--white);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--teal-dark);
}

.btn-block {
  width: 100%;
  text-align: center;
}

.cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.topbar {
  background: var(--teal-dark);
  color: var(--white);
  font-size: 0.82rem;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
  gap: 6px;
}

.topbar a {
  color: var(--white);
  opacity: 0.9;
}

.topbar .topbar-links {
  display: flex;
  gap: 20px;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand img {
  height: 70px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.83rem;
  color: var(--ink);
  padding: 6px 2px;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--teal);
  border-bottom-color: var(--amber);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--teal-dark);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(120deg, var(--teal-dark) 0%, var(--teal) 55%, var(--teal-mid) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding-top: 90px;
  padding-bottom: 90px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 18px;
}

.hero p {
  color: rgba(255,255,255,0.88);
  font-size: 1.08rem;
  max-width: 520px;
  margin-bottom: 30px;
}

.hero-art {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 20px;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.hero-art img {
  filter: brightness(0) invert(1);
  opacity: 0.9;
  max-width: 260px;
}

.page-hero {
  background: linear-gradient(120deg, var(--teal-dark), var(--teal));
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 12px;
}

.page-hero p {
  color: rgba(255,255,255,0.85);
  max-width: 640px;
  margin: 0 auto;
}

.breadcrumb {
  margin-top: 14px;
  font-size: 0.85rem;
  opacity: 0.8;
}

.breadcrumb a {
  text-decoration: underline;
}

/* ---------- Stats ---------- */
.stats-bar {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 40px 0;
  text-align: center;
}

.stat-item .num {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--teal);
}

.stat-item .label {
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 600;
  margin-top: 4px;
}

/* ---------- Cards / Grids ---------- */
.grid {
  display: grid;
  gap: 28px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--teal);
}

.card h3 {
  margin-bottom: 8px;
}

.card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.card a.card-link {
  display: inline-block;
  margin-top: 14px;
  font-weight: 700;
  color: var(--teal);
  font-size: 0.9rem;
}

/* Media card (hospital/doctor/location cards with image placeholder) */
.media-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.media-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.media-thumb {
  height: 170px;
  background: linear-gradient(135deg, var(--teal-light), var(--teal-lighter));
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  justify-content: center;
  color: var(--teal-mid);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}

.media-thumb::before {
  content: "🏥";
  font-size: 2rem;
}

.media-body {
  padding: 20px 22px 24px;
}

.tag {
  display: inline-block;
  background: var(--teal-light);
  color: var(--teal-dark);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  margin-bottom: 10px;
  letter-spacing: 0.4px;
}

.tag.amber {
  background: #fbeed9;
  color: var(--amber-dark);
}

.media-body h3 {
  margin-bottom: 6px;
}

.media-body .meta {
  color: var(--ink-soft);
  font-size: 0.85rem;
  margin-bottom: 10px;
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  padding-left: 34px;
  border-left: 3px solid var(--teal-light);
}

.timeline-item {
  position: relative;
  padding-bottom: 36px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -43px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--amber);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--teal-light);
}

.timeline-item .year {
  color: var(--teal);
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

/* ---------- Two column feature ---------- */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.feature-split .placeholder-media {
  background: var(--teal-light);
  border-radius: 16px;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
  color: var(--teal-mid);
  font-weight: 700;
  border: 1px dashed var(--teal-mid);
}

.feature-split .placeholder-media::before {
  content: "🖼️";
  font-size: 2.8rem;
}

.feature-split ul {
  margin-top: 18px;
}

.feature-split ul li {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--ink-soft);
}

.feature-split ul li::before {
  content: "\2713";
  color: var(--white);
  background: var(--teal);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  margin-top: 2px;
}

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--teal-lighter);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
}

.testimonial-card .quote {
  font-size: 1.02rem;
  color: var(--ink);
  margin-bottom: 18px;
}

.testimonial-card .person {
  font-weight: 700;
  color: var(--teal-dark);
}

.testimonial-card .role {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--teal-dark), var(--teal));
  color: var(--white);
  border-radius: 20px;
  padding: 52px;
  text-align: center;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 12px;
}

.cta-banner p {
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin: 0 auto 26px;
}

.cta-banner .cta-row {
  justify-content: center;
}

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: var(--ink);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--gray-bg);
  color: var(--ink);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: var(--white);
}

.form-note {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-top: 10px;
}

.form-success {
  display: none;
  background: var(--teal-light);
  border: 1px solid var(--teal-mid);
  color: var(--teal-dark);
  padding: 14px 18px;
  border-radius: 8px;
  margin-bottom: 18px;
  font-weight: 600;
  font-size: 0.9rem;
}

.form-error {
  display: none;
  background: #fdeceb;
  border: 1px solid #e2574c;
  color: #9c2b22;
  padding: 14px 18px;
  border-radius: 8px;
  margin-bottom: 18px;
  font-weight: 600;
  font-size: 0.9rem;
}

.wa-followup-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 8px 16px;
  background: #25d366;
  color: var(--white);
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
}

/* ---------- Contact info cards ---------- */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 50px;
}

.map-embed {
  height: 360px;
  background: var(--teal-light);
  border-radius: var(--radius);
  border: 1px dashed var(--teal-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-mid);
  font-weight: 700;
}

/* ---------- Filter chips (doctors/specialties) ---------- */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
  justify-content: center;
}

.chip {
  padding: 9px 20px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink-soft);
  background: var(--white);
  cursor: pointer;
  transition: all 0.15s ease;
}

.chip.active,
.chip:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

/* ---------- Emergency bar ---------- */
.emergency-bar {
  background: var(--amber);
  color: var(--white);
  text-align: center;
  padding: 11px 0;
  font-weight: 700;
  font-size: 0.9rem;
}

.emergency-bar .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.emergency-bar a {
  color: var(--white);
  text-decoration: underline;
}

/* ---------- Floating action buttons ---------- */
.fab-group {
  position: fixed;
  right: 22px;
  bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 1000;
}

.fab {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  transition: transform 0.15s ease;
}

.fab:hover {
  transform: scale(1.08);
}

.fab-whatsapp { background: #25d366; }
.fab-call { background: var(--teal); }

/* ---------- OPD schedule table ---------- */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.opd-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  min-width: 560px;
}

.opd-table th,
.opd-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.opd-table th {
  background: var(--teal-light);
  color: var(--teal-dark);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.74rem;
  letter-spacing: 0.5px;
}

.opd-table tr:last-child td {
  border-bottom: none;
}

.opd-table tr:hover td {
  background: var(--teal-lighter);
}

/* ---------- Doctor profile cards ---------- */
.doctor-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.doctor-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.doctor-photo {
  height: 190px;
  background: linear-gradient(135deg, var(--teal-light), var(--teal-lighter));
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  justify-content: center;
  color: var(--teal-mid);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 12px;
}

.doctor-photo::before {
  content: "🩺";
  font-size: 2rem;
}

.doctor-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.doctor-body h3 {
  margin-bottom: 2px;
}

.doctor-qual {
  font-size: 0.8rem;
  color: var(--teal);
  font-weight: 700;
  margin-bottom: 10px;
}

.doctor-expertise {
  margin: 10px 0;
  padding: 0;
}

.doctor-expertise li {
  font-size: 0.85rem;
  color: var(--ink-soft);
  padding: 3px 0 3px 18px;
  position: relative;
}

.doctor-expertise li::before {
  content: "\2022";
  color: var(--amber-dark);
  position: absolute;
  left: 0;
  font-weight: 900;
}

.doctor-opd {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--teal-dark);
}

.doctor-location {
  font-size: 0.78rem;
  color: var(--ink-soft);
  font-weight: 600;
  margin-top: 4px;
}

/* ---------- Presence / district chips ---------- */
.district-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.district-chip {
  padding: 9px 20px;
  border-radius: 50px;
  background: var(--teal-light);
  color: var(--teal-dark);
  font-weight: 700;
  font-size: 0.85rem;
}

/* ---------- Gallery grid ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-item {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--teal-light), var(--teal-lighter));
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  justify-content: center;
  color: var(--teal-mid);
  font-weight: 700;
  font-size: 0.78rem;
  text-align: center;
  padding: 10px;
}

.gallery-item::before {
  content: "📷";
  font-size: 1.7rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--teal-dark);
  color: rgba(255,255,255,0.85);
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.footer-brand {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
}

.footer-brand img {
  height: 40px;
  filter: brightness(0) invert(1);
}

.footer-brand .brand-name {
  color: var(--white);
  font-weight: 800;
  font-size: 1.05rem;
}

.site-footer p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

.site-footer h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.site-footer ul li {
  margin-bottom: 10px;
}

.site-footer ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  transition: color 0.15s ease;
}

.site-footer ul li a:hover {
  color: var(--amber);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  flex-wrap: wrap;
  gap: 10px;
}

.social-row {
  display: flex;
  gap: 12px;
}

.social-row a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--white);
}

.social-row a:hover {
  background: var(--amber);
}

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; padding-top: 60px; padding-bottom: 60px; }
  .hero-art { order: -1; min-height: 220px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .feature-split { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-info-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    gap: 16px;
    box-shadow: var(--shadow);
  }
}

@media (max-width: 720px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .topbar .container { justify-content: center; text-align: center; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .fab-group { right: 14px; bottom: 14px; }
  .fab { width: 48px; height: 48px; font-size: 1.3rem; }
}
