/* Abu Usman Hospital & Health Services — static styles */
:root {
  --primary: #D55A3A;
  --primary-dark: #b74a2f;
  --primary-soft: #fbe9e0;
  --secondary: #0D3B66;
  --secondary-dark: #082846;
  --accent: #5FA8D3;
  --accent-soft: #e2f0fa;
  --bg: #ffffff;
  --surface: #f7f8fb;
  --text: #1c2a3a;
  --muted: #6b7686;
  --border: #e5e8ee;
  --card: #ffffff;
  --shadow-sm: 0 4px 20px -4px rgba(13,59,102,.08);
  --shadow-md: 0 12px 32px -8px rgba(13,59,102,.18);
  --radius: 1rem;
  --radius-lg: 1.5rem;
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 .75rem; }
h1,h2,h3 { color: var(--secondary); margin: 0; font-weight: 700; letter-spacing: -.01em; }

.container { width: 100%; max-width: 76rem; margin-inline: auto; padding-inline: 1.25rem; }
@media (min-width: 640px) { .container { padding-inline: 2rem; } }

.center { text-align: center; }
.mt-md { margin-top: 1rem; }
.mt-lg { margin-top: 2.5rem; }
.stack > * + * { margin-top: 1rem; }
.muted { color: var(--muted); font-size: .9rem; }
.bg-surface { background: var(--surface); }
.section { padding: 5rem 0; }
.section-sm { padding: 4rem 0; }

.rounded-img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); object-fit: cover; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.6rem; font-size: .875rem; font-weight: 600;
  border: 2px solid transparent; cursor: pointer; transition: all .25s ease;
  font-family: inherit;
}
.btn-round { border-radius: 999px; }
.btn i { font-size: .85em; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 16px -6px rgba(213,90,58,.6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 22px -8px rgba(213,90,58,.7); background: var(--primary-dark); }
.btn-secondary { background: var(--secondary); color: #fff; }
.btn-secondary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ─── HEADER ─── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.95); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.topbar { background: var(--secondary); color: #fff; font-size: .78rem; }
.topbar-inner { display: none; justify-content: space-between; align-items: center; padding: .35rem 0; }
.topbar-inner p { margin: 0; }
.topbar-inner i { margin-right: .35rem; }
@media (min-width: 768px) { .topbar-inner { display: flex; } }
.header-inner { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 1rem; align-items: center; padding: .75rem 0; }
.brand { display: flex; align-items: center; gap: .65rem; min-width: 0; }
.brand img { width: 44px; height: 44px; object-fit: contain; flex-shrink: 0; }
.logo-white-bg { background: rgba(255,255,255,.95); border-radius: 6px; padding: 4px; }
.brand-name { display: block; font-size: .95rem; font-weight: 600; color: var(--secondary); line-height: 1.15;
  max-width: 14rem; overflow: hidden; text-overflow: ellipsis; }
.brand-name.light { color: #fff; max-width: none; }
.brand-sub { display: none; font-size: .7rem; color: var(--muted); }
@media (min-width: 640px) { .brand-sub { display: block; } .brand-name { font-size: 1rem; } }

.header-right { display: flex; align-items: center; gap: .5rem; }
.main-nav { display: none; }
.nav-link { padding: .55rem .7rem; font-size: .875rem; font-weight: 500; color: rgba(28,42,58,.8); border-radius: 6px; transition: color .2s; }
.nav-link:hover, .nav-link.active { color: var(--primary); }
@media (min-width: 1200px) { .main-nav { display: flex; align-items: center; gap: .15rem; } }

.hide-sm { display: none; }
@media (min-width: 640px) { .hide-sm { display: inline-flex; } }

.menu-btn {
  width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: none; color: var(--secondary); cursor: pointer; border-radius: 6px;
}
.menu-btn:hover { background: var(--surface); }
@media (min-width: 1200px) { .menu-btn { display: none; } }

.mobile-nav { display: none; border-top: 1px solid var(--border); background: #fff; padding: .75rem 0; }
.mobile-nav.open { display: block; }
.mobile-nav .container { display: flex; flex-direction: column; gap: .1rem; }
.mobile-nav .nav-link { padding: .65rem .5rem; border-radius: 6px; }
.mobile-nav .nav-link:hover { background: var(--surface); }
.mobile-nav .btn { margin-top: .5rem; justify-content: center; }

/* ─── HERO ─── */
.hero { position: relative; overflow: hidden; background: var(--secondary); color: #fff; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, var(--secondary), rgba(13,59,102,.85), rgba(13,59,102,.5)); }
.hero-content { position: relative; padding: 6rem 1.25rem; max-width: 44rem; animation: fadeUp .8s ease-out both; }
.hero-eyebrow {
  display: inline-flex; padding: .4rem 1rem; font-size: .72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em; color: var(--accent);
  background: rgba(213,90,58,.15); border-radius: 999px;
  border: 1px solid rgba(95,168,211,.3);
}
.hero-content h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.5rem); margin-top: 1.25rem; line-height: 1.1; }
.hero-tag { color: var(--accent); font-weight: 600; font-size: 1.15rem; margin-top: 1rem; }
.hero-desc { max-width: 34rem; color: rgba(255,255,255,.78); font-size: .95rem; margin-top: 1rem; }
.hero-ctas { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .75rem; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ─── PAGE HERO (inner pages) ─── */
.page-hero { background: var(--secondary); color: #fff; text-align: center; padding: 3.5rem 0; }
.page-hero h1 { color: #fff; font-size: clamp(1.75rem, 4vw, 2.5rem); margin-top: .75rem; }
.page-hero p { max-width: 40rem; margin: 1rem auto 0; color: rgba(255,255,255,.78); font-size: .95rem; }
.ph-eyebrow { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .25em; color: var(--accent); margin: 0; }

/* ─── SECTION HEADING ─── */
.section-heading { max-width: 42rem; margin: 0 auto; text-align: center; }
.section-heading.sh-left { margin: 0; text-align: left; }
.sh-eyebrow { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .2em; color: var(--primary); margin: 0; }
.section-heading h2 { margin-top: .5rem; font-size: clamp(1.35rem, 3vw, 1.85rem); }
.sh-desc { color: var(--muted); margin-top: .75rem; font-size: .95rem; line-height: 1.65; }
.h2 { font-size: 1.5rem; color: var(--secondary); font-weight: 700; margin: 0; }

/* ─── OPD BANNER ─── */
.opd-banner { background: var(--primary); color: #fff; }
.opd-grid { display: grid; gap: 1.5rem; padding: 2.5rem 1.25rem; }
@media (min-width: 640px) { .opd-grid { grid-template-columns: 1fr 1fr; } }
.opd-item { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.opd-icon { display: inline-flex; width: 56px; height: 56px; border-radius: 1rem; background: rgba(255,255,255,.15); align-items: center; justify-content: center; font-size: 1.5rem; }
.opd-label { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; opacity: .85; margin: 0; }
.opd-time { font-size: 1.5rem; font-weight: 700; margin: 0; }

/* ─── GRIDS ─── */
.grid { display: grid; gap: 1.25rem; margin-top: 3rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
.grid-5 { grid-template-columns: 1fr 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: 1fr 1fr; } .grid-4 { grid-template-columns: 1fr 1fr; } .grid-5 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } .grid-5 { grid-template-columns: repeat(5, 1fr); } }
.two-col { display: grid; gap: 3rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 1024px) { .two-col { grid-template-columns: 1fr 1fr; } }

/* ─── ICON CARD ─── */
.icon-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem 1.25rem; box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease;
}
.icon-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.icon-card.compact { padding: 1.25rem 1rem; text-align: center; }
.ic-icon {
  display: inline-flex; width: 48px; height: 48px; border-radius: .85rem;
  background: var(--primary-soft); color: var(--primary);
  align-items: center; justify-content: center; font-size: 1.25rem; margin-bottom: .85rem;
}
.icon-card.compact .ic-icon { width: 44px; height: 44px; }
.icon-card h3 { font-size: 1rem; color: var(--secondary); margin: 0; }
.ic-desc { color: var(--muted); font-size: .875rem; margin: .5rem 0 0; line-height: 1.6; }

/* ─── MISSION / VISION CARDS ─── */
.mv-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease; }
.mv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.mv-card h2 { margin-top: 1.25rem; font-size: 1.35rem; }
.mv-card p { color: var(--muted); font-size: .95rem; margin-top: .75rem; line-height: 1.65; }
.mv-icon { display: inline-flex; width: 56px; height: 56px; border-radius: 1rem; align-items: center; justify-content: center; font-size: 1.5rem; }
.mv-icon.primary { background: var(--primary-soft); color: var(--primary); }
.mv-icon.accent { background: var(--accent-soft); color: var(--secondary); }

/* ─── BRANCH CARD ─── */
.branch-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease; }
.branch-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.branch-card img { height: 220px; width: 100%; object-fit: cover; }
.bc-body { padding: 1.5rem; }
.bc-body h3 { font-size: 1.15rem; }
.bc-title { color: var(--primary); font-weight: 500; font-size: .875rem; margin: .25rem 0 0; }
.branch-card address { font-style: normal; color: var(--muted); font-size: .875rem; margin-top: .75rem; line-height: 1.6; }
.branch-card address span { display: block; }
.bc-phone { color: var(--secondary); font-weight: 500; font-size: .875rem; margin-top: .75rem; }
.bc-phone i { color: var(--primary); margin-right: .35rem; }
.bc-phone a:hover { color: var(--primary); }

/* ─── DOCTOR CARD ─── */
.doctor-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease; }
.doctor-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.dc-top { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1.5rem; }
.dc-top img { width: 96px; height: 112px; object-fit: cover; object-position: top; border-radius: .75rem; }
.dc-top h3 { font-size: 1.1rem; }
.dc-spec { color: var(--primary); font-weight: 500; font-size: .875rem; margin: .25rem 0 0; }
.dc-exp { color: var(--muted); font-size: .78rem; margin: .35rem 0 0; }
.dc-body { flex: 1; display: flex; flex-direction: column; padding: 0 1.5rem 1.5rem; }
.dc-quals { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.dc-quals li { background: var(--accent-soft); color: var(--secondary); font-size: .7rem; font-weight: 500; padding: .3rem .65rem; border-radius: 999px; }
.dc-clinic { color: var(--muted); font-size: .78rem; margin-top: .75rem; }
.dc-clinic i { color: var(--primary); margin-right: .3rem; }
.dc-bio { color: var(--muted); font-size: .875rem; margin-top: .75rem; line-height: 1.65; }
.dc-toggle { align-self: flex-start; background: none; border: none; color: var(--primary); font-weight: 600; font-size: .78rem; margin-top: .35rem; cursor: pointer; font-family: inherit; }
.dc-toggle:hover { text-decoration: underline; }
.dc-cta { margin-top: auto; padding-top: 1.25rem; }

/* ─── LEADERSHIP QUOTE ─── */
.lead-quote { position: relative; overflow: hidden; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-sm); margin: 0; }
.lq-bg { position: absolute; right: -1rem; top: -1rem; font-size: 7rem; color: rgba(213,90,58,.05); }
.lead-quote h3 { font-size: 1.25rem; }
.lq-body { margin-top: 1.25rem; padding-left: 1.25rem; border-left: 4px solid var(--primary); }
.lq-body p { color: var(--muted); font-size: .95rem; line-height: 1.65; margin: 0 0 1rem; }
.lq-body p:last-child { margin-bottom: 0; }
.lq-sig { color: var(--primary); font-weight: 700; font-size: .875rem; margin-top: 1.5rem; }
.lq-org { color: var(--muted); font-size: .78rem; margin: 0; }

/* ─── TESTIMONIAL CAROUSEL ─── */
.tm-carousel { position: relative; }
.tm-viewport { overflow: hidden; }
.tm-track { display: flex; gap: 1.25rem; transition: transform .5s ease; }
.tm-slide {
  flex: 0 0 100%; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.75rem; box-shadow: var(--shadow-sm); margin: 0;
}
@media (min-width: 768px) { .tm-slide { flex-basis: calc(50% - 10px); } }
@media (min-width: 1024px) { .tm-slide { flex-basis: calc(33.333% - 14px); } }
.tm-quote { color: rgba(213,90,58,.4); font-size: 1.6rem; }
.tm-slide blockquote { margin: .75rem 0 0; color: var(--muted); font-size: .875rem; line-height: 1.65; font-style: normal; }
.tm-stars { margin-top: .75rem; color: var(--primary); display: flex; gap: 2px; }
.tm-slide figcaption { margin-top: .75rem; }
.tm-name { color: var(--secondary); font-weight: 600; font-size: .875rem; margin: 0; }
.tm-detail { color: var(--muted); font-size: .75rem; margin: 0; }
.tm-controls { display: flex; align-items: center; justify-content: center; gap: .75rem; margin-top: 1.5rem; }
.tm-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); background: var(--card); color: var(--secondary); cursor: pointer; transition: all .2s; }
.tm-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.tm-dots { display: flex; gap: 6px; }
.tm-dot { width: 6px; height: 6px; border-radius: 999px; background: var(--border); transition: all .3s; }
.tm-dot.active { width: 24px; background: var(--primary); }

/* ─── GALLERY ─── */
.gallery-item { margin: 0; background: var(--card); border: 1px solid var(--border); border-radius: .75rem; overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .3s ease; }
.gallery-item:hover { box-shadow: var(--shadow-md); }
.gi-img { aspect-ratio: 4/3; overflow: hidden; background: var(--surface); }
.gi-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover .gi-img img { transform: scale(1.05); }
.gallery-item figcaption { padding: 1rem; }
.gi-cat { font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--primary); margin: 0; }
.gi-cap { font-size: .875rem; font-weight: 500; color: var(--text); margin: .35rem 0 0; }

/* ─── CONTACT ─── */
.contact-grid { display: grid; gap: 3rem; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 3fr 2fr; } }
.card-panel { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-sm); }
.card-panel h2 { font-size: 1.2rem; }
.appt-form { margin-top: 1.5rem; display: grid; gap: 1rem; }
.form-row { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.appt-form label { display: block; font-size: .875rem; font-weight: 500; color: var(--secondary); margin-bottom: .35rem; }
.appt-form input, .appt-form select, .appt-form textarea {
  width: 100%; padding: .8rem 1rem; font-size: .875rem; font-family: inherit;
  border: 1px solid var(--border); border-radius: .75rem; background: var(--card); color: var(--text);
  transition: box-shadow .2s;
}
.appt-form input:focus, .appt-form select:focus, .appt-form textarea:focus {
  outline: none; box-shadow: 0 0 0 3px rgba(213,90,58,.25);
}
.form-status { font-size: .85rem; margin: 0; color: var(--primary); }
.contact-info { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 1rem; }
.contact-info li { display: flex; align-items: flex-start; gap: .75rem; }
.ci-icon { display: inline-flex; width: 40px; height: 40px; border-radius: .75rem; align-items: center; justify-content: center; flex-shrink: 0; }
.ci-icon.primary { background: var(--primary-soft); color: var(--primary); }
.ci-icon.accent { background: var(--accent-soft); color: var(--secondary); }
.ci-title { font-size: .875rem; font-weight: 600; color: var(--secondary); margin: 0; }
.contact-info a { color: var(--muted); font-size: .875rem; }
.contact-info a:hover { color: var(--primary); }

/* ─── CTA BAND ─── */
.cta-band { background: var(--secondary); color: #fff; padding: 4rem 0; }
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); max-width: 36rem; margin: 0 auto 1.5rem; }

/* ─── FOOTER ─── */
.site-footer { background: var(--secondary); color: rgba(255,255,255,.72); }
.ft-grid { display: grid; gap: 2.5rem; padding: 3.5rem 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .ft-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .ft-grid { grid-template-columns: repeat(4, 1fr); } }
.site-footer h3 { color: rgba(255,255,255,.9); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; margin: 0 0 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.site-footer ul a:hover { color: var(--primary); }
.site-footer .ft-tag { margin-top: 1rem; font-size: .875rem; line-height: 1.65; }
.socials { margin-top: 1.25rem; display: flex; gap: .5rem; }
.socials a { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.1); align-items: center; justify-content: center; color: #fff; transition: background .2s; }
.socials a:hover { background: var(--primary); }
.ft-branches li { font-size: .875rem; }
.ft-title { color: rgba(255,255,255,.9); font-weight: 500; margin: 0; }
.ft-title i { color: var(--primary); margin-right: .35rem; }
.ft-sub { margin: .25rem 0 0 1.1rem; font-size: .8rem; line-height: 1.55; }
.ft-sub a:hover { color: var(--primary); }
.ft-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.25rem 0; text-align: center; font-size: .78rem; color: rgba(255,255,255,.55); }
