/* ===== MAYA Hospital and Multi-speciality Centre — Site Styles ===== */

:root {
  --teal: #0e7c7b;
  --teal-dark: #0a5f5e;
  --blue: #1c6fa0;
  --blue-dark: #144f74;
  --bg: #f6faf9;
  --card: #ffffff;
  --ink: #1e2b2b;
  --muted: #566666;
  --border: #e1ecea;
  --accent: #2fbf9f;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(14, 60, 60, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

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

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

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

/* ---- Top info bar ---- */
.topbar {
  background: var(--teal-dark);
  color: #eafffb;
  font-size: 0.85rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
  gap: 6px;
}
.topbar span { opacity: 0.95; }
.topbar a.emergency {
  background: #e14b4b;
  color: #fff;
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ---- Header / Nav ---- */
header.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  position: relative;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.brand-mark svg { width: 26px; height: 26px; }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-text .name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--teal-dark);
  line-height: 1.15;
}
.brand-text .tag {
  font-size: 0.75rem;
  color: var(--muted);
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
}
nav.main-nav a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  transition: background 0.15s, color 0.15s;
}
nav.main-nav a:hover,
nav.main-nav a.active {
  background: var(--teal);
  color: #fff;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--teal-dark);
}

/* ---- Hero ---- */
.hero {
  background: linear-gradient(120deg, var(--teal-dark), var(--blue-dark));
  color: #fff;
  padding: 64px 0 72px;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.hero h1 {
  font-size: 2.3rem;
  line-height: 1.25;
  margin: 0 0 16px;
}
.hero p.lead {
  font-size: 1.05rem;
  color: #d9f2ee;
  margin-bottom: 26px;
  max-width: 46ch;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-art {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 28px;
}
.hero-art ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.hero-art li {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.06);
  padding: 12px 14px; border-radius: 10px;
  font-size: 0.95rem;
}
.hero-art li svg { width: 22px; height: 22px; flex-shrink: 0; }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--accent); color: #06322b; }
.btn-primary:hover { background: #29ab8f; }
.btn-outline { border-color: rgba(255,255,255,0.6); color: #fff; background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-solid { background: var(--teal); color: #fff; }
.btn-solid:hover { background: var(--teal-dark); }

/* ---- Sections ---- */
section { padding: 64px 0; }
section.alt { background: #eef6f4; }
.section-head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.section-head .kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--teal);
}
.section-head h2 { font-size: 1.9rem; margin: 8px 0 10px; color: var(--teal-dark); }
.section-head p { color: var(--muted); margin: 0; }

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

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.card .icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.card .icon svg { width: 28px; height: 28px; color: #fff; }
.card h3 { margin: 0 0 8px; font-size: 1.1rem; color: var(--ink); }
.card p { margin: 0; color: var(--muted); font-size: 0.94rem; }

/* Stats strip */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.stat {
  text-align: center;
  padding: 22px 10px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.stat .num { font-size: 1.8rem; font-weight: 800; color: var(--teal-dark); }
.stat .label { font-size: 0.85rem; color: var(--muted); margin-top: 4px; }

/* Doctor cards */
.doctor-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.doctor-photo {
  height: 210px;
  background: linear-gradient(135deg, #d8f0eb, #cfe4f3);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.doctor-photo svg { width: 60px; height: 60px; color: var(--teal-dark); opacity: 0.7; }
.doctor-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.doctor-body { padding: 18px 20px 22px; }
.doctor-body .name { font-weight: 700; font-size: 1.02rem; margin-bottom: 2px; }
.doctor-body .dept { color: var(--teal); font-size: 0.85rem; font-weight: 600; margin-bottom: 10px; }
.doctor-body .note { color: var(--muted); font-size: 0.85rem; }

.placeholder-tag {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #b5760a;
  background: #fff2df;
  padding: 3px 9px;
  border-radius: 999px;
}

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--teal-dark), var(--blue-dark));
  color: #fff;
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cta-band h3 { margin: 0 0 6px; font-size: 1.4rem; }
.cta-band p { margin: 0; color: #d9f2ee; }

/* ---- Timeline / list ---- */
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li {
  padding: 16px 0 16px 28px;
  border-left: 3px solid var(--teal);
  position: relative;
  margin-left: 4px;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: -9px; top: 20px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--teal);
}

/* ---- Contact page ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.info-list li { display: flex; gap: 14px; }
.info-list .icon-sm {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  display: flex; align-items: center; justify-content: center;
}
.info-list .icon-sm svg { width: 20px; height: 20px; color: #fff; }
.info-list .label { font-weight: 700; font-size: 0.9rem; color: var(--muted); margin-bottom: 2px; }
.info-list .value { font-size: 1rem; }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  height: 320px;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

form.contact-form { display: grid; gap: 16px; }
form.contact-form label { font-weight: 600; font-size: 0.9rem; }
form.contact-form input,
form.contact-form select,
form.contact-form textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 0.95rem;
  background: #fff;
}
form.contact-form textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 0.8rem; color: var(--muted); }

/* ---- Footer ---- */
footer.site-footer {
  background: #0b2b2a;
  color: #cfe9e4;
  padding: 48px 0 20px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}
.footer-grid h4 { color: #fff; margin: 0 0 14px; font-size: 1rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 0.9rem; }
.footer-grid p { font-size: 0.9rem; color: #a9cfc8; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 32px;
  padding-top: 18px;
  font-size: 0.82rem;
  color: #8fb8b1;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---- Content photo ---- */
.photo-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.photo-frame img { width: 100%; display: block; }

/* ---- Page header (inner pages) ---- */
.page-header {
  background: linear-gradient(120deg, var(--teal-dark), var(--blue-dark));
  color: #fff;
  padding: 46px 0;
  text-align: center;
}
.page-header h1 { margin: 0 0 8px; font-size: 2rem; }
.page-header p { margin: 0; color: #d9f2ee; }
.breadcrumb { font-size: 0.85rem; color: #b9e6dd; margin-top: 10px; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  nav.main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    display: none;
    box-shadow: var(--shadow);
  }
  nav.main-nav.open { display: block; }
  nav.main-nav ul { flex-direction: column; padding: 10px; }
  .nav-toggle { display: flex; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.7rem; }
  .cta-band { flex-direction: column; text-align: center; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
