/* Quttainah Medical Center — shared styles
   Colors are sampled directly from the logo (see includes/lang.php usage
   across the site for the EN/AR + RTL handling). */

:root {
  --navy: #1e283c;
  --navy-deep: #171f2f;
  --navy-tint-bg: #f2f2f3;
  --text-muted: #666d7a;
  --teal: #64a0b4;
  --teal-deep: #416875;
  --teal-tint: #ecf4f6;
  --border: #e2e8ec;
  --page-bg: #fafcfc;
  --white: #ffffff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--navy);
  font-family: 'Manrope', system-ui, sans-serif;
}

html[dir="rtl"] body {
  font-family: 'Cairo', system-ui, sans-serif;
}

h1, h2, h3, h4 { margin: 0; }
p, span, a { margin: 0; }
a { text-decoration: none; color: var(--teal-deep); }
a:hover { color: var(--navy); }
img { max-width: 100%; display: block; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 80px;
}

@media (max-width: 900px) {
  .container { padding: 0 24px; }
}

/* ---------- Nav ---------- */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 80px;
}

.site-nav__logo img { height: 68px; width: auto; }

.site-nav__links { display: flex; align-items: center; gap: 40px; }
.site-nav__links a { color: var(--text-muted); font-weight: 600; font-size: 15px; }
.site-nav__links a.is-active { color: var(--navy); font-weight: 700; }

.site-nav__actions { display: flex; align-items: center; gap: 16px; }

.lang-toggle {
  display: flex; align-items: center; background: var(--navy-tint-bg);
  border-radius: 100px; padding: 4px; gap: 2px;
}
.lang-toggle a {
  padding: 6px 14px; border-radius: 100px; font-weight: 700; font-size: 13px;
  color: var(--text-muted);
}
.lang-toggle a.is-active { background: var(--white); color: var(--navy); box-shadow: 0 1px 2px rgba(0,0,0,0.06); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 22px; border-radius: 100px; font-weight: 700; font-size: 14px;
  white-space: nowrap; border: none; cursor: pointer;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-deep); color: var(--white); }
.btn-outline-light { background: transparent; border: 1.5px solid var(--teal); color: #8fc2d1; }
.btn-white { background: var(--white); color: var(--navy); }

/* ---------- Hero banner ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
}

.hero__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 64px;
  padding: 112px 80px;
  min-height: 520px;
}

.hero__content { flex: 1 1 0; max-width: 600px; display: flex; flex-direction: column; gap: 22px; }
.hero__eyebrow { color: #8fc2d1; font-weight: 800; font-size: 13.5px; letter-spacing: 0.06em; }
.hero__headline { color: var(--white); font-size: 48px; line-height: 1.18; font-weight: 800; letter-spacing: -0.01em; }
.hero__subheading { color: #c3d1d9; font-size: 17px; line-height: 1.65; font-weight: 500; }
.hero__actions { display: flex; align-items: center; gap: 16px; margin-top: 10px; }
.hero__actions .btn { padding: 16px 30px; font-size: 15px; }

@media (max-width: 900px) {
  .hero__inner { flex-direction: column; align-items: flex-start; padding: 64px 24px; }
  .hero__headline { font-size: 34px; }
  .site-nav { padding: 0 20px; flex-wrap: wrap; height: auto; gap: 12px; }
  .site-nav__links { display: none; }
}

/* ---------- Footer (minimal for now) ---------- */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 32px 80px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}
