
/* ===== index.html ===== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --navy: #0b2545; --blue: #1b4f8a; --sky: #4a9cc7;
  --ice: #e8f4fb; --cream: #fafaf8; --white: #ffffff;
  --text: #1a2332; --muted: #6b7a8d; --border: #dde4ed; --accent: #c8a86b;
}
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--cream); color: var(--text); overflow-x: hidden; }
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 4rem; height: 72px;
  background: rgba(255,255,255,0.96); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { display: flex; align-items: center; gap: 4px; font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 600; color: var(--navy); text-decoration: none; }
.nav-logo span:first-child { color: var(--sky); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { font-size: 0.875rem; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--navy); font-weight: 500; }
.nav-cta { background: var(--navy); color: white; padding: 10px 24px; border-radius: 4px; font-size: 0.85rem; font-weight: 500; text-decoration: none; transition: background 0.2s; }
.nav-cta:hover { background: var(--blue); }
.page-hero { padding: 120px 6rem 5rem; background: white; border-bottom: 1px solid var(--border); }
.eyebrow { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sky); display: flex; align-items: center; gap: 8px; margin-bottom: 1rem; }
.eyebrow::before { content: ''; display: block; width: 28px; height: 1px; background: var(--sky); }
h1.page-title { font-family: 'Cormorant Garamond', serif; font-size: 3rem; font-weight: 500; color: var(--navy); line-height: 1.15; margin-bottom: 1rem; }
.page-subtitle { font-size: 1.05rem; color: var(--muted); line-height: 1.8; max-width: 600px; }
.section { padding: 5rem 6rem; }
.section-alt { background: white; }
.section-title { font-family: 'Cormorant Garamond', serif; font-size: 2.25rem; font-weight: 500; color: var(--navy); margin-bottom: 1rem; }
.section-lead { font-size: 0.95rem; color: var(--muted); line-height: 1.8; max-width: 640px; margin-bottom: 2.5rem; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.card { background: white; border: 1px solid var(--border); border-radius: 8px; padding: 2rem; transition: box-shadow 0.2s; }
.card:hover { box-shadow: 0 6px 24px rgba(11,37,69,0.07); }
.card-icon { font-size: 1.75rem; margin-bottom: 1rem; }
.card h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; font-weight: 500; color: var(--navy); margin-bottom: 0.5rem; }
.card p { font-size: 0.875rem; line-height: 1.7; color: var(--muted); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.two-col img { width: 100%; height: 420px; object-fit: cover; border-radius: 8px; }
.two-col-text h2 { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 500; color: var(--navy); margin-bottom: 1.25rem; }
.two-col-text p { font-size: 0.925rem; line-height: 1.85; color: var(--muted); margin-bottom: 1rem; }
.btn-primary { display: inline-block; background: var(--navy); color: white; padding: 12px 28px; border-radius: 4px; font-size: 0.875rem; font-weight: 500; text-decoration: none; margin-top: 1rem; transition: background 0.2s; }
.btn-primary:hover { background: var(--blue); }
.cta-banner { background: var(--navy); padding: 4rem 6rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.cta-banner h2 { font-family: 'Cormorant Garamond', serif; font-size: 2.25rem; font-weight: 500; color: white; line-height: 1.25; }
.cta-banner h2 em { font-style: italic; color: var(--accent); }
.btn-accent { background: var(--accent); color: var(--navy); padding: 13px 32px; border-radius: 4px; font-size: 0.875rem; font-weight: 500; text-decoration: none; white-space: nowrap; flex-shrink: 0; transition: opacity 0.2s; }
.btn-accent:hover { opacity: 0.88; }
footer { background: #07192e; color: rgba(255,255,255,0.5); padding: 2.5rem 6rem; display: flex; align-items: center; justify-content: space-between; font-size: 0.8rem; }
.footer-brand { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: white; font-weight: 500; margin-bottom: 4px; }
footer a { color: rgba(255,255,255,0.5); text-decoration: none; }
footer a:hover { color: white; }
.list-check { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.5rem; }
.list-check li { font-size: 0.9rem; color: var(--muted); padding-left: 1.5rem; position: relative; line-height: 1.6; }
.list-check li::before { content: '✓'; position: absolute; left: 0; color: var(--sky); font-weight: 700; }

/* ===== Doctor portrait system (added) ===== */
.hero-doctor-card {
  position: relative; border-radius: 16px; overflow: hidden;
  display: flex; align-items: flex-end; justify-content: center;
  min-height: 460px; border: 1px solid var(--border);
  background:
    radial-gradient(120% 90% at 50% 0%, var(--ice) 0%, #f3f8fc 45%, var(--cream) 100%);
}
.hero-doctor-card::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 38%;
  background: linear-gradient(to top, rgba(11,37,69,0.06), transparent);
  pointer-events: none;
}
.hero-doctor-card img {
  position: relative; z-index: 1; width: auto; height: 94%;
  max-width: 90%; object-fit: contain; object-position: bottom center;
  filter: drop-shadow(0 18px 30px rgba(11,37,69,0.18));
}
.hero-doctor-card .doc-badge {
  position: absolute; z-index: 2; left: 1.25rem; bottom: 1.25rem;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(6px);
  border: 1px solid var(--border); border-radius: 10px;
  padding: 0.65rem 0.95rem; box-shadow: 0 8px 24px rgba(11,37,69,0.1);
}
.hero-doctor-card .doc-badge strong { display:block; font-family:'Cormorant Garamond',serif; font-size:1rem; color:var(--navy); }
.hero-doctor-card .doc-badge span { font-size:0.72rem; color:var(--muted); letter-spacing:0.04em; }

/* Team grid cards */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
.team-card {
  background: white; border: 1px solid var(--border); border-radius: 14px;
  overflow: hidden; display: flex; transition: box-shadow .25s ease, transform .25s ease;
}
.team-card:hover { box-shadow: 0 16px 40px rgba(11,37,69,0.1); transform: translateY(-3px); }
.team-card .portrait {
  width: 190px; flex-shrink: 0; position: relative; overflow: hidden;
  display: flex; align-items: flex-end; justify-content: center;
  background: radial-gradient(110% 80% at 50% 0%, var(--ice), #eef6fc 60%, #e6f0f8 100%);
}
.team-card .portrait img {
  width: auto; height: 96%; max-width: 100%;
  object-fit: contain; object-position: bottom center;
  filter: drop-shadow(0 10px 18px rgba(11,37,69,0.16));
}
.team-card .info { padding: 1.85rem; display: flex; flex-direction: column; }
.team-card .tag {
  align-self: flex-start; background: var(--ice); color: var(--blue);
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 4px; margin-bottom: 0.75rem;
}
.team-card .info h3 { font-family:'Cormorant Garamond',serif; font-size:1.5rem; font-weight:500; color:var(--navy); margin-bottom:0.5rem; }
.team-card .info p { font-size:0.875rem; line-height:1.7; color:var(--muted); margin-bottom:1rem; }
.team-card .info a.more { font-size:0.8rem; color:var(--sky); font-weight:500; text-decoration:none; letter-spacing:0.04em; margin-top:auto; }
.team-card .info a.more:hover { text-decoration: underline; }

/* "Meet the Doctor" single feature portrait */
.doc-feature { background: radial-gradient(110% 85% at 50% 0%, var(--ice), #eef6fc 55%, var(--cream) 100%) !important; border:1px solid var(--border); border-radius:16px !important; overflow:hidden; display:flex; align-items:flex-end; justify-content:center; min-height:440px !important; position:relative; }
.doc-feature img { width:auto !important; height:96% !important; max-width:88% !important; object-fit:contain !important; object-position:bottom center !important; filter: drop-shadow(0 16px 28px rgba(11,37,69,0.18)); }

/* ===== Responsive (added) ===== */
@media (max-width: 900px) {
  nav { padding: 0 1.25rem; }
  .nav-links { display: none; }
  section[style*="grid-template-columns:1fr 1fr"],
  .page-hero { grid-template-columns: 1fr !important; }
  .page-hero, .section { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
  .two-col { grid-template-columns: 1fr !important; gap: 2rem !important; }
  .team-grid { grid-template-columns: 1fr !important; }
  .cta-banner { flex-direction: column; align-items: flex-start; padding: 3rem 1.5rem !important; }
  div[style*="grid-template-columns:repeat(4,1fr)"] { grid-template-columns: repeat(2,1fr) !important; }
  div[style*="grid-template-columns:repeat(3,1fr)"] { grid-template-columns: 1fr !important; }
  div[style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }
  footer { flex-direction: column; gap: 1rem; align-items: flex-start; padding: 2rem 1.5rem !important; }
  h1.page-title, h1[style*="3.75rem"] { font-size: 2.4rem !important; }
}
@media (max-width: 560px) {
  .team-card { flex-direction: column; }
  .team-card .portrait { width: 100%; height: 240px; }
}


/* ===== Mobile menu (added) ===== */
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); transition: .25s; }
#navchk { display: none; }
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: flex !important; flex-direction: column; gap: 0;
    position: fixed; top: 72px; left: 0; right: 0;
    background: rgba(255,255,255,0.98); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    max-height: 0; overflow: hidden; transition: max-height .3s ease; padding: 0 1.5rem;
  }
  #navchk:checked ~ .nav-links { max-height: 380px; padding: 0.5rem 1.5rem 1rem; }
  .nav-links li { padding: 0.65rem 0; border-bottom: 1px solid var(--border); }
  .nav-links a { font-size: 1rem; }
}


/* ===== SVG card icons (added) ===== */
.card-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--ice); color: var(--sky); display: flex; align-items: center; justify-content: center; margin-bottom: 1.1rem; }
.card-icon svg { display: block; }



/* ===== Accepted-insurance side badge (added) ===== */
.ins-badge {
  position: fixed; left: 1.25rem; bottom: 1.25rem;
  z-index: 90; display: flex; flex-direction: column; align-items: stretch;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; box-shadow: 0 10px 34px rgba(11,37,69,0.14);
  padding: 0.8rem 1rem 0.9rem; max-width: 215px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.ins-badge:hover { box-shadow: 0 14px 40px rgba(11,37,69,0.18); }
.ins-badge .ins-label {
  display: flex; align-items: center; gap: 6px; margin-bottom: 7px;
  font-size: 0.6rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue);
}
.ins-badge .ins-label::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.ins-badge .ins-mark {
  width: 182px; height: 48px; background-image: url(image-93a557b857.png);
  background-size: contain; background-repeat: no-repeat; background-position: left center;
}
[dir='rtl'] .ins-badge { left: auto; right: 1.25rem; }
[dir='rtl'] .ins-badge .ins-label { flex-direction: row-reverse; }
[dir='rtl'] .ins-badge .ins-mark { background-position: right center; }
@media (max-width: 1100px) {
  .ins-badge { top: auto; bottom: 0; left: 0; right: 0; transform: none; max-width: none;
    flex-direction: row; align-items: center; justify-content: center; gap: 12px;
    border: none; border-top: 1px solid var(--border); border-radius: 0;
    padding: 0.55rem 1rem; box-shadow: 0 -4px 20px rgba(11,37,69,0.08); }
  .ins-badge .ins-label { margin-bottom: 0; }
  .ins-badge .ins-mark { width: 150px; height: 34px; }
  [dir='rtl'] .ins-badge { border-radius: 0; border-right: none; }
  footer { padding-bottom: 4.5rem !important; }
}


/* ===== Language toggle (added) ===== */
.lang-switch { display: inline-flex; align-items: center; gap: 4px; margin: 0 1rem; }
.lang-btn { background: transparent; border: 0; color: var(--muted); font-family: 'DM Sans', sans-serif; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.04em; padding: 4px 8px; border-radius: 4px; cursor: pointer; transition: color .2s, background .2s; }
.lang-btn:hover { color: var(--navy); }
.lang-sep { color: var(--border); font-size: 0.7rem; }
[dir='rtl'] .lang-switch { flex-direction: row-reverse; }


/* ===== Responsive: tablet, iPad portrait, phone landscape (added) ===== */

/* Tablet & small desktop (901–1200px): reduce 6rem side padding that crowds the nav */
@media (max-width: 1200px) and (min-width: 901px) {
  nav { padding: 0 2rem !important; }
  .nav-links { gap: 1.25rem !important; }
  .nav-links a { font-size: 0.875rem !important; }
  .nav-cta { padding: 10px 20px !important; font-size: 0.8rem !important; white-space: nowrap; }
  section[style*="padding:130px 6rem"] { padding-left: 3rem !important; padding-right: 3rem !important; }
  section[style*="padding-top:72px"] > div[style*="padding:4rem 4rem 4rem 6rem"] {
    padding: 3rem 2.5rem !important;
  }
  .section { padding-left: 3rem !important; padding-right: 3rem !important; }
  .cta-banner { padding-left: 3rem !important; padding-right: 3rem !important; }
  footer { padding-left: 3rem !important; padding-right: 3rem !important; }
  h1[style*="3.75rem"] { font-size: 3rem !important; }
}

/* iPad portrait (641–900px): keep multi-col layouts, restore full nav */
@media (max-width: 900px) and (min-width: 641px) {
  /* Restore the desktop nav — no hamburger on iPad portrait */
  .nav-toggle { display: none !important; }
  .nav-links {
    display: flex !important;
    flex-direction: row !important;
    position: static !important;
    max-height: none !important;
    background: transparent !important;
    backdrop-filter: none !important;
    padding: 0 !important;
    border-bottom: 0 !important;
    overflow: visible !important;
    gap: 1rem !important;
  }
  .nav-links li { padding: 0 !important; border-bottom: 0 !important; }
  .nav-links a { font-size: 0.8rem !important; }
  nav { padding: 0 1.25rem !important; }
  .lang-switch { margin: 0 0.5rem !important; }
  .nav-cta { padding: 8px 14px !important; font-size: 0.75rem !important; white-space: nowrap; }

  /* Keep hero side-by-side on iPad portrait */
  section[style*="padding-top:72px"] {
    grid-template-columns: 1fr 1fr !important;
  }
  /* Reduce hero text padding */
  section[style*="padding-top:72px"] > div[style*="padding:4rem 4rem 4rem 6rem"] {
    padding: 2.5rem 2rem !important;
  }
  h1[style*="3.75rem"] { font-size: 2.4rem !important; }
  h1.page-title { font-size: 2.25rem !important; }

  /* Page-hero (service pages) — also keep 2-col on iPad portrait */
  .page-hero {
    grid-template-columns: 1fr 1fr !important;
    gap: 2rem !important;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }

  /* Service cards: 3-col → 2-col */
  div[style*="grid-template-columns:repeat(3,1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  div[style*="grid-template-columns:repeat(4,1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  /* Generic 2-col container layouts stay 2-col on iPad portrait */
  div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr 1fr !important;
  }

  /* Team grid: 2-col but cards become column-flex (portrait above info) */
  .team-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .team-card { flex-direction: column !important; }
  .team-card .portrait { width: 100% !important; height: 220px !important; }

  /* Section padding */
  .section { padding-left: 2rem !important; padding-right: 2rem !important; padding-top: 4rem !important; padding-bottom: 4rem !important; }
  .cta-banner { flex-direction: row !important; padding: 3rem 2rem !important; }
  footer { padding: 2rem !important; flex-direction: row !important; }

  /* Stats bar: keep 4 columns but smaller font */
  div[style*="grid-template-columns:repeat(4,1fr)"][style*="background:var(--navy)"] {
    grid-template-columns: repeat(4, 1fr) !important;
  }
  div[style*="grid-template-columns:repeat(4,1fr)"][style*="background:var(--navy)"] div[style*="2.75rem"] {
    font-size: 1.85rem !important;
  }

  /* Two-column service "Meet the Doctor" sections — keep 2-col */
  .two-col { grid-template-columns: 1fr 1fr !important; gap: 2.5rem !important; }
}

/* Phone landscape (any device with low height, in landscape) */
@media (max-height: 520px) and (orientation: landscape) {
  /* Compress hero so headline + CTA fit in the viewport */
  h1[style*="3.75rem"] { font-size: 1.85rem !important; line-height: 1.15 !important; margin-bottom: 0.75rem !important; }
  h1.page-title { font-size: 1.7rem !important; margin-bottom: 0.75rem !important; }
  section[style*="padding-top:72px"] > div[style*="padding:4rem"] {
    padding: 1.5rem !important;
  }
  .page-hero { padding-top: 90px !important; padding-bottom: 2rem !important; }
  .section { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
  .eyebrow { margin-bottom: 0.5rem !important; font-size: 0.65rem !important; }
  .section-title { font-size: 1.5rem !important; margin-bottom: 0.5rem !important; }
  p.page-subtitle { font-size: 0.9rem !important; line-height: 1.6 !important; }

  /* Hide the fixed insurance badge on landscape phones — it occupies a lot
     of the (already short) vertical space */
  .ins-badge { display: none !important; }
  footer { padding-bottom: 2rem !important; }

  /* Stats bar more compact */
  div[style*="grid-template-columns:repeat(4,1fr)"][style*="background:var(--navy)"] div[style*="2.75rem"] {
    font-size: 1.5rem !important;
  }
}

/* Very small phones (≤400px) — keep but make a touch more compact */
@media (max-width: 400px) {
  nav { padding: 0 1rem !important; }
  .lang-switch { margin: 0 0.5rem !important; }
  .lang-btn { padding: 4px 6px !important; font-size: 0.7rem !important; }
  .nav-cta { padding: 8px 14px !important; font-size: 0.75rem !important; }
  h1[style*="3.75rem"] { font-size: 2rem !important; }
  h1.page-title { font-size: 2rem !important; }
}


/* ===== Arabic fonts (added) ===== */
[dir="rtl"] body,
[dir="rtl"] p,
[dir="rtl"] a,
[dir="rtl"] button,
[dir="rtl"] input,
[dir="rtl"] select,
[dir="rtl"] textarea,
[dir="rtl"] label,
[dir="rtl"] span:not(.svc-ico *):not(.flag-circle),
[dir="rtl"] li,
[dir="rtl"] .lang-btn,
[dir="rtl"] .tag,
[dir="rtl"] .eyebrow,
[dir="rtl"] .ins-label { font-family: 'Tajawal', 'DM Sans', sans-serif !important; }
[dir="rtl"] h1,[dir="rtl"] h2,[dir="rtl"] h3,
[dir="rtl"] .section-title,[dir="rtl"] .page-title,
[dir="rtl"] .footer-brand { font-family: 'Amiri', 'Cormorant Garamond', serif !important; letter-spacing: 0 !important; }
[dir="rtl"] .nav-logo { font-family: 'Amiri', serif !important; font-size: 1.15rem !important; }
[dir="rtl"] nav { font-family: 'Tajawal', sans-serif !important; }
/* Arabic text alignment and line height */
[dir="rtl"] .section-title { line-height: 1.35 !important; }
[dir="rtl"] h1 { line-height: 1.25 !important; }
[dir="rtl"] p { line-height: 1.9 !important; }
/* Service tile name spans */
[dir="rtl"] span[style*="font-size:0.9rem;font-weight:500;color:var(--navy)"] { font-family: 'Tajawal', sans-serif !important; }



/* ===== Language toggle — professional (updated) ===== */
.lang-flags { display: inline-flex; align-items: center; gap: 5px; margin: 0 0.75rem; }
.lang-flag-btn {
  width: 22px; height: 22px; border-radius: 50%; overflow: hidden;
  border: 1.5px solid rgba(0,0,0,0); cursor: pointer; padding: 0;
  background: none; outline: none;
  transition: border-color .18s, opacity .18s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.18);
  opacity: 0.55;
}
.lang-flag-btn svg { display: block; width: 22px; height: 22px; }
.lang-flag-btn.active { border-color: var(--navy); opacity: 1; }
.lang-flag-btn:not(.active):hover { opacity: 0.8; }
/* Hide old text toggle */
.lang-switch { display: none !important; }
@media (max-width: 640px) {
  .lang-flags { margin: 0 0.4rem; }
  .lang-flag-btn { width: 20px; height: 20px; }
  .lang-flag-btn svg { width: 20px; height: 20px; }
}


/* ===== index.html ===== */

[dir='rtl'] body { font-family: 'Tajawal', sans-serif; }
[dir='rtl'] h1,[dir='rtl'] h2,[dir='rtl'] h3,[dir='rtl'] .section-title,[dir='rtl'] .page-title,[dir='rtl'] .nav-logo { font-family: 'Tajawal', sans-serif; letter-spacing: 0; }
[dir='rtl'] .eyebrow { flex-direction: row-reverse; }
[dir='rtl'] .eyebrow::before { margin-left: 8px; margin-right: 0; order: 2; }
[dir='rtl'] nav { flex-direction: row-reverse; }
[dir='rtl'] .nav-links { flex-direction: row-reverse; }
[dir='rtl'] .list-check li { padding-left: 0; padding-right: 1.5rem; text-align: right; }
[dir='rtl'] .list-check li::before { left: auto; right: 0; }
[dir='rtl'] footer { flex-direction: row-reverse; }
[dir='rtl'] footer > div:last-child { flex-direction: row-reverse; }
[dir='rtl'] .page-hero { direction: rtl; }
[dir='rtl'] .service-link, [dir='rtl'] .btn-ghost { flex-direction: row-reverse; }


/* ===== child-care.html ===== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root { --navy: #0b2545; --blue: #1b4f8a; --sky: #4a9cc7; --ice: #e8f4fb; --cream: #fafaf8; --white: #ffffff; --text: #1a2332; --muted: #6b7a8d; --border: #dde4ed; --accent: #c8a86b; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--cream); color: var(--text); overflow-x: hidden; }
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 0 4rem; height: 72px; background: rgba(255,255,255,0.96); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav-logo { display: flex; align-items: center; gap: 4px; font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 600; color: var(--navy); text-decoration: none; }
.nav-logo span:first-child { color: var(--sky); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { font-size: 0.875rem; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--navy); font-weight: 500; }
.nav-cta { background: var(--navy); color: white; padding: 10px 24px; border-radius: 4px; font-size: 0.85rem; font-weight: 500; text-decoration: none; transition: background 0.2s; }
.nav-cta:hover { background: var(--blue); }
.page-hero { padding: 130px 6rem 5rem; background: white; border-bottom: 1px solid var(--border); display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.page-hero-text {}
.eyebrow { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sky); display: flex; align-items: center; gap: 8px; margin-bottom: 1rem; }
.eyebrow::before { content: ''; display: block; width: 28px; height: 1px; background: var(--sky); }
h1.page-title { font-family: 'Cormorant Garamond', serif; font-size: 3rem; font-weight: 500; color: var(--navy); line-height: 1.15; margin-bottom: 1rem; }
.page-subtitle { font-size: 1rem; color: var(--muted); line-height: 1.85; }
.section { padding: 5rem 6rem; }
.section-alt { background: white; }
.section-title { font-family: 'Cormorant Garamond', serif; font-size: 2.25rem; font-weight: 500; color: var(--navy); margin-bottom: 1rem; }
.section-lead { font-size: 0.95rem; color: var(--muted); line-height: 1.8; max-width: 640px; margin-bottom: 2.5rem; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.card { background: white; border: 1px solid var(--border); border-radius: 8px; padding: 2rem; transition: box-shadow 0.2s; }
.card:hover { box-shadow: 0 6px 24px rgba(11,37,69,0.07); }
.card-icon { font-size: 1.75rem; margin-bottom: 1rem; }
.card h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 500; color: var(--navy); margin-bottom: 0.5rem; }
.card p { font-size: 0.875rem; line-height: 1.7; color: var(--muted); }
.list-check { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.5rem; }
.list-check li { font-size: 0.9rem; color: var(--muted); padding-left: 1.5rem; position: relative; line-height: 1.6; }
.list-check li::before { content: '✓'; position: absolute; left: 0; color: var(--sky); font-weight: 700; }
.btn-primary { display: inline-block; background: var(--navy); color: white; padding: 12px 28px; border-radius: 4px; font-size: 0.875rem; font-weight: 500; text-decoration: none; transition: background 0.2s; }
.btn-primary:hover { background: var(--blue); }
.cta-banner { background: var(--navy); padding: 4rem 6rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.cta-banner h2 { font-family: 'Cormorant Garamond', serif; font-size: 2.25rem; font-weight: 500; color: white; line-height: 1.25; }
.cta-banner h2 em { font-style: italic; color: var(--accent); }
.btn-accent { background: var(--accent); color: var(--navy); padding: 13px 32px; border-radius: 4px; font-size: 0.875rem; font-weight: 500; text-decoration: none; white-space: nowrap; flex-shrink: 0; }
.btn-accent:hover { opacity: 0.88; }
footer { background: #07192e; color: rgba(255,255,255,0.5); padding: 2.5rem 6rem; display: flex; align-items: center; justify-content: space-between; font-size: 0.8rem; }
.footer-brand { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: white; font-weight: 500; margin-bottom: 4px; }
footer a { color: rgba(255,255,255,0.5); text-decoration: none; }
footer a:hover { color: white; }

/* ===== Doctor portrait system (added) ===== */
.hero-doctor-card {
  position: relative; border-radius: 16px; overflow: hidden;
  display: flex; align-items: flex-end; justify-content: center;
  min-height: 460px; border: 1px solid var(--border);
  background:
    radial-gradient(120% 90% at 50% 0%, var(--ice) 0%, #f3f8fc 45%, var(--cream) 100%);
}
.hero-doctor-card::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 38%;
  background: linear-gradient(to top, rgba(11,37,69,0.06), transparent);
  pointer-events: none;
}
.hero-doctor-card img {
  position: relative; z-index: 1; width: auto; height: 94%;
  max-width: 90%; object-fit: contain; object-position: bottom center;
  filter: drop-shadow(0 18px 30px rgba(11,37,69,0.18));
}
.hero-doctor-card .doc-badge {
  position: absolute; z-index: 2; left: 1.25rem; bottom: 1.25rem;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(6px);
  border: 1px solid var(--border); border-radius: 10px;
  padding: 0.65rem 0.95rem; box-shadow: 0 8px 24px rgba(11,37,69,0.1);
}
.hero-doctor-card .doc-badge strong { display:block; font-family:'Cormorant Garamond',serif; font-size:1rem; color:var(--navy); }
.hero-doctor-card .doc-badge span { font-size:0.72rem; color:var(--muted); letter-spacing:0.04em; }

/* Team grid cards */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
.team-card {
  background: white; border: 1px solid var(--border); border-radius: 14px;
  overflow: hidden; display: flex; transition: box-shadow .25s ease, transform .25s ease;
}
.team-card:hover { box-shadow: 0 16px 40px rgba(11,37,69,0.1); transform: translateY(-3px); }
.team-card .portrait {
  width: 190px; flex-shrink: 0; position: relative; overflow: hidden;
  display: flex; align-items: flex-end; justify-content: center;
  background: radial-gradient(110% 80% at 50% 0%, var(--ice), #eef6fc 60%, #e6f0f8 100%);
}
.team-card .portrait img {
  width: auto; height: 96%; max-width: 100%;
  object-fit: contain; object-position: bottom center;
  filter: drop-shadow(0 10px 18px rgba(11,37,69,0.16));
}
.team-card .info { padding: 1.85rem; display: flex; flex-direction: column; }
.team-card .tag {
  align-self: flex-start; background: var(--ice); color: var(--blue);
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 4px; margin-bottom: 0.75rem;
}
.team-card .info h3 { font-family:'Cormorant Garamond',serif; font-size:1.5rem; font-weight:500; color:var(--navy); margin-bottom:0.5rem; }
.team-card .info p { font-size:0.875rem; line-height:1.7; color:var(--muted); margin-bottom:1rem; }
.team-card .info a.more { font-size:0.8rem; color:var(--sky); font-weight:500; text-decoration:none; letter-spacing:0.04em; margin-top:auto; }
.team-card .info a.more:hover { text-decoration: underline; }

/* "Meet the Doctor" single feature portrait */
.doc-feature { background: radial-gradient(110% 85% at 50% 0%, var(--ice), #eef6fc 55%, var(--cream) 100%) !important; border:1px solid var(--border); border-radius:16px !important; overflow:hidden; display:flex; align-items:flex-end; justify-content:center; min-height:440px !important; position:relative; }
.doc-feature img { width:auto !important; height:96% !important; max-width:88% !important; object-fit:contain !important; object-position:bottom center !important; filter: drop-shadow(0 16px 28px rgba(11,37,69,0.18)); }

/* ===== Responsive (added) ===== */
@media (max-width: 900px) {
  nav { padding: 0 1.25rem; }
  .nav-links { display: none; }
  section[style*="grid-template-columns:1fr 1fr"],
  .page-hero { grid-template-columns: 1fr !important; }
  .page-hero, .section { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
  .two-col { grid-template-columns: 1fr !important; gap: 2rem !important; }
  .team-grid { grid-template-columns: 1fr !important; }
  .cta-banner { flex-direction: column; align-items: flex-start; padding: 3rem 1.5rem !important; }
  div[style*="grid-template-columns:repeat(4,1fr)"] { grid-template-columns: repeat(2,1fr) !important; }
  div[style*="grid-template-columns:repeat(3,1fr)"] { grid-template-columns: 1fr !important; }
  div[style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }
  footer { flex-direction: column; gap: 1rem; align-items: flex-start; padding: 2rem 1.5rem !important; }
  h1.page-title, h1[style*="3.75rem"] { font-size: 2.4rem !important; }
}
@media (max-width: 560px) {
  .team-card { flex-direction: column; }
  .team-card .portrait { width: 100%; height: 240px; }
}


/* ===== Mobile menu (added) ===== */
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); transition: .25s; }
#navchk { display: none; }
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: flex !important; flex-direction: column; gap: 0;
    position: fixed; top: 72px; left: 0; right: 0;
    background: rgba(255,255,255,0.98); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    max-height: 0; overflow: hidden; transition: max-height .3s ease; padding: 0 1.5rem;
  }
  #navchk:checked ~ .nav-links { max-height: 380px; padding: 0.5rem 1.5rem 1rem; }
  .nav-links li { padding: 0.65rem 0; border-bottom: 1px solid var(--border); }
  .nav-links a { font-size: 1rem; }
}



/* ===== Accepted-insurance side badge (added) ===== */
.ins-badge {
  position: fixed; left: 1.25rem; bottom: 1.25rem;
  z-index: 90; display: flex; flex-direction: column; align-items: stretch;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; box-shadow: 0 10px 34px rgba(11,37,69,0.14);
  padding: 0.8rem 1rem 0.9rem; max-width: 215px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.ins-badge:hover { box-shadow: 0 14px 40px rgba(11,37,69,0.18); }
.ins-badge .ins-label {
  display: flex; align-items: center; gap: 6px; margin-bottom: 7px;
  font-size: 0.6rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue);
}
.ins-badge .ins-label::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.ins-badge .ins-mark {
  width: 182px; height: 48px; background-image: url(image-93a557b857.png);
  background-size: contain; background-repeat: no-repeat; background-position: left center;
}
[dir='rtl'] .ins-badge { left: auto; right: 1.25rem; }
[dir='rtl'] .ins-badge .ins-label { flex-direction: row-reverse; }
[dir='rtl'] .ins-badge .ins-mark { background-position: right center; }
@media (max-width: 1100px) {
  .ins-badge { top: auto; bottom: 0; left: 0; right: 0; transform: none; max-width: none;
    flex-direction: row; align-items: center; justify-content: center; gap: 12px;
    border: none; border-top: 1px solid var(--border); border-radius: 0;
    padding: 0.55rem 1rem; box-shadow: 0 -4px 20px rgba(11,37,69,0.08); }
  .ins-badge .ins-label { margin-bottom: 0; }
  .ins-badge .ins-mark { width: 150px; height: 34px; }
  [dir='rtl'] .ins-badge { border-radius: 0; border-right: none; }
  footer { padding-bottom: 4.5rem !important; }
}


/* ===== Service icons (added) ===== */
.svc-ico { width: 44px; height: 44px; border-radius: 14px; background: transparent; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.svc-ico svg { display: block; width: 40px; height: 40px; filter: drop-shadow(0 5px 10px rgba(11,37,69,0.10)); }


/* ===== Language toggle (added) ===== */
.lang-switch { display: inline-flex; align-items: center; gap: 4px; margin: 0 1rem; }
.lang-btn { background: transparent; border: 0; color: var(--muted); font-family: 'DM Sans', sans-serif; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.04em; padding: 4px 8px; border-radius: 4px; cursor: pointer; transition: color .2s, background .2s; }
.lang-btn:hover { color: var(--navy); }
.lang-sep { color: var(--border); font-size: 0.7rem; }
[dir='rtl'] .lang-switch { flex-direction: row-reverse; }


/* ===== Responsive: tablet, iPad portrait, phone landscape (added) ===== */

/* Tablet & small desktop (901–1200px): reduce 6rem side padding that crowds the nav */
@media (max-width: 1200px) and (min-width: 901px) {
  nav { padding: 0 2rem !important; }
  .nav-links { gap: 1.25rem !important; }
  .nav-links a { font-size: 0.875rem !important; }
  .nav-cta { padding: 10px 20px !important; font-size: 0.8rem !important; white-space: nowrap; }
  section[style*="padding:130px 6rem"] { padding-left: 3rem !important; padding-right: 3rem !important; }
  section[style*="padding-top:72px"] > div[style*="padding:4rem 4rem 4rem 6rem"] {
    padding: 3rem 2.5rem !important;
  }
  .section { padding-left: 3rem !important; padding-right: 3rem !important; }
  .cta-banner { padding-left: 3rem !important; padding-right: 3rem !important; }
  footer { padding-left: 3rem !important; padding-right: 3rem !important; }
  h1[style*="3.75rem"] { font-size: 3rem !important; }
}

/* iPad portrait (641–900px): keep multi-col layouts, restore full nav */
@media (max-width: 900px) and (min-width: 641px) {
  /* Restore the desktop nav — no hamburger on iPad portrait */
  .nav-toggle { display: none !important; }
  .nav-links {
    display: flex !important;
    flex-direction: row !important;
    position: static !important;
    max-height: none !important;
    background: transparent !important;
    backdrop-filter: none !important;
    padding: 0 !important;
    border-bottom: 0 !important;
    overflow: visible !important;
    gap: 1rem !important;
  }
  .nav-links li { padding: 0 !important; border-bottom: 0 !important; }
  .nav-links a { font-size: 0.8rem !important; }
  nav { padding: 0 1.25rem !important; }
  .lang-switch { margin: 0 0.5rem !important; }
  .nav-cta { padding: 8px 14px !important; font-size: 0.75rem !important; white-space: nowrap; }

  /* Keep hero side-by-side on iPad portrait */
  section[style*="padding-top:72px"] {
    grid-template-columns: 1fr 1fr !important;
  }
  /* Reduce hero text padding */
  section[style*="padding-top:72px"] > div[style*="padding:4rem 4rem 4rem 6rem"] {
    padding: 2.5rem 2rem !important;
  }
  h1[style*="3.75rem"] { font-size: 2.4rem !important; }
  h1.page-title { font-size: 2.25rem !important; }

  /* Page-hero (service pages) — also keep 2-col on iPad portrait */
  .page-hero {
    grid-template-columns: 1fr 1fr !important;
    gap: 2rem !important;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }

  /* Service cards: 3-col → 2-col */
  div[style*="grid-template-columns:repeat(3,1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  div[style*="grid-template-columns:repeat(4,1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  /* Generic 2-col container layouts stay 2-col on iPad portrait */
  div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr 1fr !important;
  }

  /* Team grid: 2-col but cards become column-flex (portrait above info) */
  .team-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .team-card { flex-direction: column !important; }
  .team-card .portrait { width: 100% !important; height: 220px !important; }

  /* Section padding */
  .section { padding-left: 2rem !important; padding-right: 2rem !important; padding-top: 4rem !important; padding-bottom: 4rem !important; }
  .cta-banner { flex-direction: row !important; padding: 3rem 2rem !important; }
  footer { padding: 2rem !important; flex-direction: row !important; }

  /* Stats bar: keep 4 columns but smaller font */
  div[style*="grid-template-columns:repeat(4,1fr)"][style*="background:var(--navy)"] {
    grid-template-columns: repeat(4, 1fr) !important;
  }
  div[style*="grid-template-columns:repeat(4,1fr)"][style*="background:var(--navy)"] div[style*="2.75rem"] {
    font-size: 1.85rem !important;
  }

  /* Two-column service "Meet the Doctor" sections — keep 2-col */
  .two-col { grid-template-columns: 1fr 1fr !important; gap: 2.5rem !important; }
}

/* Phone landscape (any device with low height, in landscape) */
@media (max-height: 520px) and (orientation: landscape) {
  /* Compress hero so headline + CTA fit in the viewport */
  h1[style*="3.75rem"] { font-size: 1.85rem !important; line-height: 1.15 !important; margin-bottom: 0.75rem !important; }
  h1.page-title { font-size: 1.7rem !important; margin-bottom: 0.75rem !important; }
  section[style*="padding-top:72px"] > div[style*="padding:4rem"] {
    padding: 1.5rem !important;
  }
  .page-hero { padding-top: 90px !important; padding-bottom: 2rem !important; }
  .section { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
  .eyebrow { margin-bottom: 0.5rem !important; font-size: 0.65rem !important; }
  .section-title { font-size: 1.5rem !important; margin-bottom: 0.5rem !important; }
  p.page-subtitle { font-size: 0.9rem !important; line-height: 1.6 !important; }

  /* Hide the fixed insurance badge on landscape phones — it occupies a lot
     of the (already short) vertical space */
  .ins-badge { display: none !important; }
  footer { padding-bottom: 2rem !important; }

  /* Stats bar more compact */
  div[style*="grid-template-columns:repeat(4,1fr)"][style*="background:var(--navy)"] div[style*="2.75rem"] {
    font-size: 1.5rem !important;
  }
}

/* Very small phones (≤400px) — keep but make a touch more compact */
@media (max-width: 400px) {
  nav { padding: 0 1rem !important; }
  .lang-switch { margin: 0 0.5rem !important; }
  .lang-btn { padding: 4px 6px !important; font-size: 0.7rem !important; }
  .nav-cta { padding: 8px 14px !important; font-size: 0.75rem !important; }
  h1[style*="3.75rem"] { font-size: 2rem !important; }
  h1.page-title { font-size: 2rem !important; }
}


/* ===== Arabic fonts (added) ===== */
[dir="rtl"] body,
[dir="rtl"] p,
[dir="rtl"] a,
[dir="rtl"] button,
[dir="rtl"] input,
[dir="rtl"] select,
[dir="rtl"] textarea,
[dir="rtl"] label,
[dir="rtl"] span:not(.svc-ico *):not(.flag-circle),
[dir="rtl"] li,
[dir="rtl"] .lang-btn,
[dir="rtl"] .tag,
[dir="rtl"] .eyebrow,
[dir="rtl"] .ins-label { font-family: 'Tajawal', 'DM Sans', sans-serif !important; }
[dir="rtl"] h1,[dir="rtl"] h2,[dir="rtl"] h3,
[dir="rtl"] .section-title,[dir="rtl"] .page-title,
[dir="rtl"] .footer-brand { font-family: 'Amiri', 'Cormorant Garamond', serif !important; letter-spacing: 0 !important; }
[dir="rtl"] .nav-logo { font-family: 'Amiri', serif !important; font-size: 1.15rem !important; }
[dir="rtl"] nav { font-family: 'Tajawal', sans-serif !important; }
/* Arabic text alignment and line height */
[dir="rtl"] .section-title { line-height: 1.35 !important; }
[dir="rtl"] h1 { line-height: 1.25 !important; }
[dir="rtl"] p { line-height: 1.9 !important; }
/* Service tile name spans */
[dir="rtl"] span[style*="font-size:0.9rem;font-weight:500;color:var(--navy)"] { font-family: 'Tajawal', sans-serif !important; }



/* ===== Language toggle — professional (updated) ===== */
.lang-flags { display: inline-flex; align-items: center; gap: 5px; margin: 0 0.75rem; }
.lang-flag-btn {
  width: 22px; height: 22px; border-radius: 50%; overflow: hidden;
  border: 1.5px solid rgba(0,0,0,0); cursor: pointer; padding: 0;
  background: none; outline: none;
  transition: border-color .18s, opacity .18s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.18);
  opacity: 0.55;
}
.lang-flag-btn svg { display: block; width: 22px; height: 22px; }
.lang-flag-btn.active { border-color: var(--navy); opacity: 1; }
.lang-flag-btn:not(.active):hover { opacity: 0.8; }
/* Hide old text toggle */
.lang-switch { display: none !important; }
@media (max-width: 640px) {
  .lang-flags { margin: 0 0.4rem; }
  .lang-flag-btn { width: 20px; height: 20px; }
  .lang-flag-btn svg { width: 20px; height: 20px; }
}


/* ===== child-care.html ===== */

[dir='rtl'] body { font-family: 'Tajawal', sans-serif; }
[dir='rtl'] h1,[dir='rtl'] h2,[dir='rtl'] h3,[dir='rtl'] .section-title,[dir='rtl'] .page-title,[dir='rtl'] .nav-logo { font-family: 'Tajawal', sans-serif; letter-spacing: 0; }
[dir='rtl'] .eyebrow { flex-direction: row-reverse; }
[dir='rtl'] .eyebrow::before { margin-left: 8px; margin-right: 0; order: 2; }
[dir='rtl'] nav { flex-direction: row-reverse; }
[dir='rtl'] .nav-links { flex-direction: row-reverse; }
[dir='rtl'] .list-check li { padding-left: 0; padding-right: 1.5rem; text-align: right; }
[dir='rtl'] .list-check li::before { left: auto; right: 0; }
[dir='rtl'] footer { flex-direction: row-reverse; }
[dir='rtl'] footer > div:last-child { flex-direction: row-reverse; }
[dir='rtl'] .page-hero { direction: rtl; }
[dir='rtl'] .service-link, [dir='rtl'] .btn-ghost { flex-direction: row-reverse; }


/* ===== adult-care.html ===== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root { --navy: #0b2545; --blue: #1b4f8a; --sky: #4a9cc7; --ice: #e8f4fb; --cream: #fafaf8; --white: #ffffff; --text: #1a2332; --muted: #6b7a8d; --border: #dde4ed; --accent: #c8a86b; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--cream); color: var(--text); overflow-x: hidden; }
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 0 4rem; height: 72px; background: rgba(255,255,255,0.96); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav-logo { display: flex; align-items: center; gap: 4px; font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 600; color: var(--navy); text-decoration: none; }
.nav-logo span:first-child { color: var(--sky); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { font-size: 0.875rem; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--navy); font-weight: 500; }
.nav-cta { background: var(--navy); color: white; padding: 10px 24px; border-radius: 4px; font-size: 0.85rem; font-weight: 500; text-decoration: none; transition: background 0.2s; }
.nav-cta:hover { background: var(--blue); }
.page-hero { padding: 130px 6rem 5rem; background: white; border-bottom: 1px solid var(--border); display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.page-hero-text {}
.eyebrow { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sky); display: flex; align-items: center; gap: 8px; margin-bottom: 1rem; }
.eyebrow::before { content: ''; display: block; width: 28px; height: 1px; background: var(--sky); }
h1.page-title { font-family: 'Cormorant Garamond', serif; font-size: 3rem; font-weight: 500; color: var(--navy); line-height: 1.15; margin-bottom: 1rem; }
.page-subtitle { font-size: 1rem; color: var(--muted); line-height: 1.85; }
.section { padding: 5rem 6rem; }
.section-alt { background: white; }
.section-title { font-family: 'Cormorant Garamond', serif; font-size: 2.25rem; font-weight: 500; color: var(--navy); margin-bottom: 1rem; }
.section-lead { font-size: 0.95rem; color: var(--muted); line-height: 1.8; max-width: 640px; margin-bottom: 2.5rem; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.card { background: white; border: 1px solid var(--border); border-radius: 8px; padding: 2rem; transition: box-shadow 0.2s; }
.card:hover { box-shadow: 0 6px 24px rgba(11,37,69,0.07); }
.card-icon { font-size: 1.75rem; margin-bottom: 1rem; }
.card h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 500; color: var(--navy); margin-bottom: 0.5rem; }
.card p { font-size: 0.875rem; line-height: 1.7; color: var(--muted); }
.list-check { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.5rem; }
.list-check li { font-size: 0.9rem; color: var(--muted); padding-left: 1.5rem; position: relative; line-height: 1.6; }
.list-check li::before { content: '✓'; position: absolute; left: 0; color: var(--sky); font-weight: 700; }
.btn-primary { display: inline-block; background: var(--navy); color: white; padding: 12px 28px; border-radius: 4px; font-size: 0.875rem; font-weight: 500; text-decoration: none; transition: background 0.2s; }
.btn-primary:hover { background: var(--blue); }
.cta-banner { background: var(--navy); padding: 4rem 6rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.cta-banner h2 { font-family: 'Cormorant Garamond', serif; font-size: 2.25rem; font-weight: 500; color: white; line-height: 1.25; }
.cta-banner h2 em { font-style: italic; color: var(--accent); }
.btn-accent { background: var(--accent); color: var(--navy); padding: 13px 32px; border-radius: 4px; font-size: 0.875rem; font-weight: 500; text-decoration: none; white-space: nowrap; flex-shrink: 0; }
.btn-accent:hover { opacity: 0.88; }
footer { background: #07192e; color: rgba(255,255,255,0.5); padding: 2.5rem 6rem; display: flex; align-items: center; justify-content: space-between; font-size: 0.8rem; }
.footer-brand { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: white; font-weight: 500; margin-bottom: 4px; }
footer a { color: rgba(255,255,255,0.5); text-decoration: none; }
footer a:hover { color: white; }

/* ===== Doctor portrait system (added) ===== */
.hero-doctor-card {
  position: relative; border-radius: 16px; overflow: hidden;
  display: flex; align-items: flex-end; justify-content: center;
  min-height: 460px; border: 1px solid var(--border);
  background:
    radial-gradient(120% 90% at 50% 0%, var(--ice) 0%, #f3f8fc 45%, var(--cream) 100%);
}
.hero-doctor-card::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 38%;
  background: linear-gradient(to top, rgba(11,37,69,0.06), transparent);
  pointer-events: none;
}
.hero-doctor-card img {
  position: relative; z-index: 1; width: auto; height: 94%;
  max-width: 90%; object-fit: contain; object-position: bottom center;
  filter: drop-shadow(0 18px 30px rgba(11,37,69,0.18));
}
.hero-doctor-card .doc-badge {
  position: absolute; z-index: 2; left: 1.25rem; bottom: 1.25rem;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(6px);
  border: 1px solid var(--border); border-radius: 10px;
  padding: 0.65rem 0.95rem; box-shadow: 0 8px 24px rgba(11,37,69,0.1);
}
.hero-doctor-card .doc-badge strong { display:block; font-family:'Cormorant Garamond',serif; font-size:1rem; color:var(--navy); }
.hero-doctor-card .doc-badge span { font-size:0.72rem; color:var(--muted); letter-spacing:0.04em; }

/* Team grid cards */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
.team-card {
  background: white; border: 1px solid var(--border); border-radius: 14px;
  overflow: hidden; display: flex; transition: box-shadow .25s ease, transform .25s ease;
}
.team-card:hover { box-shadow: 0 16px 40px rgba(11,37,69,0.1); transform: translateY(-3px); }
.team-card .portrait {
  width: 190px; flex-shrink: 0; position: relative; overflow: hidden;
  display: flex; align-items: flex-end; justify-content: center;
  background: radial-gradient(110% 80% at 50% 0%, var(--ice), #eef6fc 60%, #e6f0f8 100%);
}
.team-card .portrait img {
  width: auto; height: 96%; max-width: 100%;
  object-fit: contain; object-position: bottom center;
  filter: drop-shadow(0 10px 18px rgba(11,37,69,0.16));
}
.team-card .info { padding: 1.85rem; display: flex; flex-direction: column; }
.team-card .tag {
  align-self: flex-start; background: var(--ice); color: var(--blue);
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 4px; margin-bottom: 0.75rem;
}
.team-card .info h3 { font-family:'Cormorant Garamond',serif; font-size:1.5rem; font-weight:500; color:var(--navy); margin-bottom:0.5rem; }
.team-card .info p { font-size:0.875rem; line-height:1.7; color:var(--muted); margin-bottom:1rem; }
.team-card .info a.more { font-size:0.8rem; color:var(--sky); font-weight:500; text-decoration:none; letter-spacing:0.04em; margin-top:auto; }
.team-card .info a.more:hover { text-decoration: underline; }

/* "Meet the Doctor" single feature portrait */
.doc-feature { background: radial-gradient(110% 85% at 50% 0%, var(--ice), #eef6fc 55%, var(--cream) 100%) !important; border:1px solid var(--border); border-radius:16px !important; overflow:hidden; display:flex; align-items:flex-end; justify-content:center; min-height:440px !important; position:relative; }
.doc-feature img { width:auto !important; height:96% !important; max-width:88% !important; object-fit:contain !important; object-position:bottom center !important; filter: drop-shadow(0 16px 28px rgba(11,37,69,0.18)); }

/* ===== Responsive (added) ===== */
@media (max-width: 900px) {
  nav { padding: 0 1.25rem; }
  .nav-links { display: none; }
  section[style*="grid-template-columns:1fr 1fr"],
  .page-hero { grid-template-columns: 1fr !important; }
  .page-hero, .section { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
  .two-col { grid-template-columns: 1fr !important; gap: 2rem !important; }
  .team-grid { grid-template-columns: 1fr !important; }
  .cta-banner { flex-direction: column; align-items: flex-start; padding: 3rem 1.5rem !important; }
  div[style*="grid-template-columns:repeat(4,1fr)"] { grid-template-columns: repeat(2,1fr) !important; }
  div[style*="grid-template-columns:repeat(3,1fr)"] { grid-template-columns: 1fr !important; }
  div[style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }
  footer { flex-direction: column; gap: 1rem; align-items: flex-start; padding: 2rem 1.5rem !important; }
  h1.page-title, h1[style*="3.75rem"] { font-size: 2.4rem !important; }
}
@media (max-width: 560px) {
  .team-card { flex-direction: column; }
  .team-card .portrait { width: 100%; height: 240px; }
}


/* ===== Mobile menu (added) ===== */
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); transition: .25s; }
#navchk { display: none; }
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: flex !important; flex-direction: column; gap: 0;
    position: fixed; top: 72px; left: 0; right: 0;
    background: rgba(255,255,255,0.98); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    max-height: 0; overflow: hidden; transition: max-height .3s ease; padding: 0 1.5rem;
  }
  #navchk:checked ~ .nav-links { max-height: 380px; padding: 0.5rem 1.5rem 1rem; }
  .nav-links li { padding: 0.65rem 0; border-bottom: 1px solid var(--border); }
  .nav-links a { font-size: 1rem; }
}



/* ===== Accepted-insurance side badge (added) ===== */
.ins-badge {
  position: fixed; left: 1.25rem; bottom: 1.25rem;
  z-index: 90; display: flex; flex-direction: column; align-items: stretch;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; box-shadow: 0 10px 34px rgba(11,37,69,0.14);
  padding: 0.8rem 1rem 0.9rem; max-width: 215px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.ins-badge:hover { box-shadow: 0 14px 40px rgba(11,37,69,0.18); }
.ins-badge .ins-label {
  display: flex; align-items: center; gap: 6px; margin-bottom: 7px;
  font-size: 0.6rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue);
}
.ins-badge .ins-label::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.ins-badge .ins-mark {
  width: 182px; height: 48px; background-image: url(image-93a557b857.png);
  background-size: contain; background-repeat: no-repeat; background-position: left center;
}
[dir='rtl'] .ins-badge { left: auto; right: 1.25rem; }
[dir='rtl'] .ins-badge .ins-label { flex-direction: row-reverse; }
[dir='rtl'] .ins-badge .ins-mark { background-position: right center; }
@media (max-width: 1100px) {
  .ins-badge { top: auto; bottom: 0; left: 0; right: 0; transform: none; max-width: none;
    flex-direction: row; align-items: center; justify-content: center; gap: 12px;
    border: none; border-top: 1px solid var(--border); border-radius: 0;
    padding: 0.55rem 1rem; box-shadow: 0 -4px 20px rgba(11,37,69,0.08); }
  .ins-badge .ins-label { margin-bottom: 0; }
  .ins-badge .ins-mark { width: 150px; height: 34px; }
  [dir='rtl'] .ins-badge { border-radius: 0; border-right: none; }
  footer { padding-bottom: 4.5rem !important; }
}


/* ===== Service icons (added) ===== */
.svc-ico { width: 44px; height: 44px; border-radius: 14px; background: transparent; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.svc-ico svg { display: block; width: 40px; height: 40px; filter: drop-shadow(0 5px 10px rgba(11,37,69,0.10)); }


/* ===== Language toggle (added) ===== */
.lang-switch { display: inline-flex; align-items: center; gap: 4px; margin: 0 1rem; }
.lang-btn { background: transparent; border: 0; color: var(--muted); font-family: 'DM Sans', sans-serif; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.04em; padding: 4px 8px; border-radius: 4px; cursor: pointer; transition: color .2s, background .2s; }
.lang-btn:hover { color: var(--navy); }
.lang-sep { color: var(--border); font-size: 0.7rem; }
[dir='rtl'] .lang-switch { flex-direction: row-reverse; }


/* ===== Responsive: tablet, iPad portrait, phone landscape (added) ===== */

/* Tablet & small desktop (901–1200px): reduce 6rem side padding that crowds the nav */
@media (max-width: 1200px) and (min-width: 901px) {
  nav { padding: 0 2rem !important; }
  .nav-links { gap: 1.25rem !important; }
  .nav-links a { font-size: 0.875rem !important; }
  .nav-cta { padding: 10px 20px !important; font-size: 0.8rem !important; white-space: nowrap; }
  section[style*="padding:130px 6rem"] { padding-left: 3rem !important; padding-right: 3rem !important; }
  section[style*="padding-top:72px"] > div[style*="padding:4rem 4rem 4rem 6rem"] {
    padding: 3rem 2.5rem !important;
  }
  .section { padding-left: 3rem !important; padding-right: 3rem !important; }
  .cta-banner { padding-left: 3rem !important; padding-right: 3rem !important; }
  footer { padding-left: 3rem !important; padding-right: 3rem !important; }
  h1[style*="3.75rem"] { font-size: 3rem !important; }
}

/* iPad portrait (641–900px): keep multi-col layouts, restore full nav */
@media (max-width: 900px) and (min-width: 641px) {
  /* Restore the desktop nav — no hamburger on iPad portrait */
  .nav-toggle { display: none !important; }
  .nav-links {
    display: flex !important;
    flex-direction: row !important;
    position: static !important;
    max-height: none !important;
    background: transparent !important;
    backdrop-filter: none !important;
    padding: 0 !important;
    border-bottom: 0 !important;
    overflow: visible !important;
    gap: 1rem !important;
  }
  .nav-links li { padding: 0 !important; border-bottom: 0 !important; }
  .nav-links a { font-size: 0.8rem !important; }
  nav { padding: 0 1.25rem !important; }
  .lang-switch { margin: 0 0.5rem !important; }
  .nav-cta { padding: 8px 14px !important; font-size: 0.75rem !important; white-space: nowrap; }

  /* Keep hero side-by-side on iPad portrait */
  section[style*="padding-top:72px"] {
    grid-template-columns: 1fr 1fr !important;
  }
  /* Reduce hero text padding */
  section[style*="padding-top:72px"] > div[style*="padding:4rem 4rem 4rem 6rem"] {
    padding: 2.5rem 2rem !important;
  }
  h1[style*="3.75rem"] { font-size: 2.4rem !important; }
  h1.page-title { font-size: 2.25rem !important; }

  /* Page-hero (service pages) — also keep 2-col on iPad portrait */
  .page-hero {
    grid-template-columns: 1fr 1fr !important;
    gap: 2rem !important;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }

  /* Service cards: 3-col → 2-col */
  div[style*="grid-template-columns:repeat(3,1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  div[style*="grid-template-columns:repeat(4,1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  /* Generic 2-col container layouts stay 2-col on iPad portrait */
  div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr 1fr !important;
  }

  /* Team grid: 2-col but cards become column-flex (portrait above info) */
  .team-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .team-card { flex-direction: column !important; }
  .team-card .portrait { width: 100% !important; height: 220px !important; }

  /* Section padding */
  .section { padding-left: 2rem !important; padding-right: 2rem !important; padding-top: 4rem !important; padding-bottom: 4rem !important; }
  .cta-banner { flex-direction: row !important; padding: 3rem 2rem !important; }
  footer { padding: 2rem !important; flex-direction: row !important; }

  /* Stats bar: keep 4 columns but smaller font */
  div[style*="grid-template-columns:repeat(4,1fr)"][style*="background:var(--navy)"] {
    grid-template-columns: repeat(4, 1fr) !important;
  }
  div[style*="grid-template-columns:repeat(4,1fr)"][style*="background:var(--navy)"] div[style*="2.75rem"] {
    font-size: 1.85rem !important;
  }

  /* Two-column service "Meet the Doctor" sections — keep 2-col */
  .two-col { grid-template-columns: 1fr 1fr !important; gap: 2.5rem !important; }
}

/* Phone landscape (any device with low height, in landscape) */
@media (max-height: 520px) and (orientation: landscape) {
  /* Compress hero so headline + CTA fit in the viewport */
  h1[style*="3.75rem"] { font-size: 1.85rem !important; line-height: 1.15 !important; margin-bottom: 0.75rem !important; }
  h1.page-title { font-size: 1.7rem !important; margin-bottom: 0.75rem !important; }
  section[style*="padding-top:72px"] > div[style*="padding:4rem"] {
    padding: 1.5rem !important;
  }
  .page-hero { padding-top: 90px !important; padding-bottom: 2rem !important; }
  .section { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
  .eyebrow { margin-bottom: 0.5rem !important; font-size: 0.65rem !important; }
  .section-title { font-size: 1.5rem !important; margin-bottom: 0.5rem !important; }
  p.page-subtitle { font-size: 0.9rem !important; line-height: 1.6 !important; }

  /* Hide the fixed insurance badge on landscape phones — it occupies a lot
     of the (already short) vertical space */
  .ins-badge { display: none !important; }
  footer { padding-bottom: 2rem !important; }

  /* Stats bar more compact */
  div[style*="grid-template-columns:repeat(4,1fr)"][style*="background:var(--navy)"] div[style*="2.75rem"] {
    font-size: 1.5rem !important;
  }
}

/* Very small phones (≤400px) — keep but make a touch more compact */
@media (max-width: 400px) {
  nav { padding: 0 1rem !important; }
  .lang-switch { margin: 0 0.5rem !important; }
  .lang-btn { padding: 4px 6px !important; font-size: 0.7rem !important; }
  .nav-cta { padding: 8px 14px !important; font-size: 0.75rem !important; }
  h1[style*="3.75rem"] { font-size: 2rem !important; }
  h1.page-title { font-size: 2rem !important; }
}


/* ===== Arabic fonts (added) ===== */
[dir="rtl"] body,
[dir="rtl"] p,
[dir="rtl"] a,
[dir="rtl"] button,
[dir="rtl"] input,
[dir="rtl"] select,
[dir="rtl"] textarea,
[dir="rtl"] label,
[dir="rtl"] span:not(.svc-ico *):not(.flag-circle),
[dir="rtl"] li,
[dir="rtl"] .lang-btn,
[dir="rtl"] .tag,
[dir="rtl"] .eyebrow,
[dir="rtl"] .ins-label { font-family: 'Tajawal', 'DM Sans', sans-serif !important; }
[dir="rtl"] h1,[dir="rtl"] h2,[dir="rtl"] h3,
[dir="rtl"] .section-title,[dir="rtl"] .page-title,
[dir="rtl"] .footer-brand { font-family: 'Amiri', 'Cormorant Garamond', serif !important; letter-spacing: 0 !important; }
[dir="rtl"] .nav-logo { font-family: 'Amiri', serif !important; font-size: 1.15rem !important; }
[dir="rtl"] nav { font-family: 'Tajawal', sans-serif !important; }
/* Arabic text alignment and line height */
[dir="rtl"] .section-title { line-height: 1.35 !important; }
[dir="rtl"] h1 { line-height: 1.25 !important; }
[dir="rtl"] p { line-height: 1.9 !important; }
/* Service tile name spans */
[dir="rtl"] span[style*="font-size:0.9rem;font-weight:500;color:var(--navy)"] { font-family: 'Tajawal', sans-serif !important; }



/* ===== Language toggle — professional (updated) ===== */
.lang-flags { display: inline-flex; align-items: center; gap: 5px; margin: 0 0.75rem; }
.lang-flag-btn {
  width: 22px; height: 22px; border-radius: 50%; overflow: hidden;
  border: 1.5px solid rgba(0,0,0,0); cursor: pointer; padding: 0;
  background: none; outline: none;
  transition: border-color .18s, opacity .18s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.18);
  opacity: 0.55;
}
.lang-flag-btn svg { display: block; width: 22px; height: 22px; }
.lang-flag-btn.active { border-color: var(--navy); opacity: 1; }
.lang-flag-btn:not(.active):hover { opacity: 0.8; }
/* Hide old text toggle */
.lang-switch { display: none !important; }
@media (max-width: 640px) {
  .lang-flags { margin: 0 0.4rem; }
  .lang-flag-btn { width: 20px; height: 20px; }
  .lang-flag-btn svg { width: 20px; height: 20px; }
}


/* ===== adult-care.html ===== */

[dir='rtl'] body { font-family: 'Tajawal', sans-serif; }
[dir='rtl'] h1,[dir='rtl'] h2,[dir='rtl'] h3,[dir='rtl'] .section-title,[dir='rtl'] .page-title,[dir='rtl'] .nav-logo { font-family: 'Tajawal', sans-serif; letter-spacing: 0; }
[dir='rtl'] .eyebrow { flex-direction: row-reverse; }
[dir='rtl'] .eyebrow::before { margin-left: 8px; margin-right: 0; order: 2; }
[dir='rtl'] nav { flex-direction: row-reverse; }
[dir='rtl'] .nav-links { flex-direction: row-reverse; }
[dir='rtl'] .list-check li { padding-left: 0; padding-right: 1.5rem; text-align: right; }
[dir='rtl'] .list-check li::before { left: auto; right: 0; }
[dir='rtl'] footer { flex-direction: row-reverse; }
[dir='rtl'] footer > div:last-child { flex-direction: row-reverse; }
[dir='rtl'] .page-hero { direction: rtl; }
[dir='rtl'] .service-link, [dir='rtl'] .btn-ghost { flex-direction: row-reverse; }


/* ===== home-care.html ===== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root { --navy: #0b2545; --blue: #1b4f8a; --sky: #4a9cc7; --ice: #e8f4fb; --cream: #fafaf8; --white: #ffffff; --text: #1a2332; --muted: #6b7a8d; --border: #dde4ed; --accent: #c8a86b; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--cream); color: var(--text); overflow-x: hidden; }
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 0 4rem; height: 72px; background: rgba(255,255,255,0.96); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav-logo { display: flex; align-items: center; gap: 4px; font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 600; color: var(--navy); text-decoration: none; }
.nav-logo span:first-child { color: var(--sky); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { font-size: 0.875rem; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--navy); font-weight: 500; }
.nav-cta { background: var(--navy); color: white; padding: 10px 24px; border-radius: 4px; font-size: 0.85rem; font-weight: 500; text-decoration: none; transition: background 0.2s; }
.nav-cta:hover { background: var(--blue); }
.page-hero { padding: 130px 6rem 5rem; background: white; border-bottom: 1px solid var(--border); display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.page-hero-text {}
.eyebrow { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sky); display: flex; align-items: center; gap: 8px; margin-bottom: 1rem; }
.eyebrow::before { content: ''; display: block; width: 28px; height: 1px; background: var(--sky); }
h1.page-title { font-family: 'Cormorant Garamond', serif; font-size: 3rem; font-weight: 500; color: var(--navy); line-height: 1.15; margin-bottom: 1rem; }
.page-subtitle { font-size: 1rem; color: var(--muted); line-height: 1.85; }
.section { padding: 5rem 6rem; }
.section-alt { background: white; }
.section-title { font-family: 'Cormorant Garamond', serif; font-size: 2.25rem; font-weight: 500; color: var(--navy); margin-bottom: 1rem; }
.section-lead { font-size: 0.95rem; color: var(--muted); line-height: 1.8; max-width: 640px; margin-bottom: 2.5rem; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.card { background: white; border: 1px solid var(--border); border-radius: 8px; padding: 2rem; transition: box-shadow 0.2s; }
.card:hover { box-shadow: 0 6px 24px rgba(11,37,69,0.07); }
.card-icon { font-size: 1.75rem; margin-bottom: 1rem; }
.card h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 500; color: var(--navy); margin-bottom: 0.5rem; }
.card p { font-size: 0.875rem; line-height: 1.7; color: var(--muted); }
.list-check { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.5rem; }
.list-check li { font-size: 0.9rem; color: var(--muted); padding-left: 1.5rem; position: relative; line-height: 1.6; }
.list-check li::before { content: '✓'; position: absolute; left: 0; color: var(--sky); font-weight: 700; }
.btn-primary { display: inline-block; background: var(--navy); color: white; padding: 12px 28px; border-radius: 4px; font-size: 0.875rem; font-weight: 500; text-decoration: none; transition: background 0.2s; }
.btn-primary:hover { background: var(--blue); }
.cta-banner { background: var(--navy); padding: 4rem 6rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.cta-banner h2 { font-family: 'Cormorant Garamond', serif; font-size: 2.25rem; font-weight: 500; color: white; line-height: 1.25; }
.cta-banner h2 em { font-style: italic; color: var(--accent); }
.btn-accent { background: var(--accent); color: var(--navy); padding: 13px 32px; border-radius: 4px; font-size: 0.875rem; font-weight: 500; text-decoration: none; white-space: nowrap; flex-shrink: 0; }
.btn-accent:hover { opacity: 0.88; }
footer { background: #07192e; color: rgba(255,255,255,0.5); padding: 2.5rem 6rem; display: flex; align-items: center; justify-content: space-between; font-size: 0.8rem; }
.footer-brand { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: white; font-weight: 500; margin-bottom: 4px; }
footer a { color: rgba(255,255,255,0.5); text-decoration: none; }
footer a:hover { color: white; }

/* ===== Doctor portrait system (added) ===== */
.hero-doctor-card {
  position: relative; border-radius: 16px; overflow: hidden;
  display: flex; align-items: flex-end; justify-content: center;
  min-height: 460px; border: 1px solid var(--border);
  background:
    radial-gradient(120% 90% at 50% 0%, var(--ice) 0%, #f3f8fc 45%, var(--cream) 100%);
}
.hero-doctor-card::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 38%;
  background: linear-gradient(to top, rgba(11,37,69,0.06), transparent);
  pointer-events: none;
}
.hero-doctor-card img {
  position: relative; z-index: 1; width: auto; height: 94%;
  max-width: 90%; object-fit: contain; object-position: bottom center;
  filter: drop-shadow(0 18px 30px rgba(11,37,69,0.18));
}
.hero-doctor-card .doc-badge {
  position: absolute; z-index: 2; left: 1.25rem; bottom: 1.25rem;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(6px);
  border: 1px solid var(--border); border-radius: 10px;
  padding: 0.65rem 0.95rem; box-shadow: 0 8px 24px rgba(11,37,69,0.1);
}
.hero-doctor-card .doc-badge strong { display:block; font-family:'Cormorant Garamond',serif; font-size:1rem; color:var(--navy); }
.hero-doctor-card .doc-badge span { font-size:0.72rem; color:var(--muted); letter-spacing:0.04em; }

/* Team grid cards */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
.team-card {
  background: white; border: 1px solid var(--border); border-radius: 14px;
  overflow: hidden; display: flex; transition: box-shadow .25s ease, transform .25s ease;
}
.team-card:hover { box-shadow: 0 16px 40px rgba(11,37,69,0.1); transform: translateY(-3px); }
.team-card .portrait {
  width: 190px; flex-shrink: 0; position: relative; overflow: hidden;
  display: flex; align-items: flex-end; justify-content: center;
  background: radial-gradient(110% 80% at 50% 0%, var(--ice), #eef6fc 60%, #e6f0f8 100%);
}
.team-card .portrait img {
  width: auto; height: 96%; max-width: 100%;
  object-fit: contain; object-position: bottom center;
  filter: drop-shadow(0 10px 18px rgba(11,37,69,0.16));
}
.team-card .info { padding: 1.85rem; display: flex; flex-direction: column; }
.team-card .tag {
  align-self: flex-start; background: var(--ice); color: var(--blue);
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 4px; margin-bottom: 0.75rem;
}
.team-card .info h3 { font-family:'Cormorant Garamond',serif; font-size:1.5rem; font-weight:500; color:var(--navy); margin-bottom:0.5rem; }
.team-card .info p { font-size:0.875rem; line-height:1.7; color:var(--muted); margin-bottom:1rem; }
.team-card .info a.more { font-size:0.8rem; color:var(--sky); font-weight:500; text-decoration:none; letter-spacing:0.04em; margin-top:auto; }
.team-card .info a.more:hover { text-decoration: underline; }

/* "Meet the Doctor" single feature portrait */
.doc-feature { background: radial-gradient(110% 85% at 50% 0%, var(--ice), #eef6fc 55%, var(--cream) 100%) !important; border:1px solid var(--border); border-radius:16px !important; overflow:hidden; display:flex; align-items:flex-end; justify-content:center; min-height:440px !important; position:relative; }
.doc-feature img { width:auto !important; height:96% !important; max-width:88% !important; object-fit:contain !important; object-position:bottom center !important; filter: drop-shadow(0 16px 28px rgba(11,37,69,0.18)); }

/* ===== Responsive (added) ===== */
@media (max-width: 900px) {
  nav { padding: 0 1.25rem; }
  .nav-links { display: none; }
  section[style*="grid-template-columns:1fr 1fr"],
  .page-hero { grid-template-columns: 1fr !important; }
  .page-hero, .section { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
  .two-col { grid-template-columns: 1fr !important; gap: 2rem !important; }
  .team-grid { grid-template-columns: 1fr !important; }
  .cta-banner { flex-direction: column; align-items: flex-start; padding: 3rem 1.5rem !important; }
  div[style*="grid-template-columns:repeat(4,1fr)"] { grid-template-columns: repeat(2,1fr) !important; }
  div[style*="grid-template-columns:repeat(3,1fr)"] { grid-template-columns: 1fr !important; }
  div[style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }
  footer { flex-direction: column; gap: 1rem; align-items: flex-start; padding: 2rem 1.5rem !important; }
  h1.page-title, h1[style*="3.75rem"] { font-size: 2.4rem !important; }
}
@media (max-width: 560px) {
  .team-card { flex-direction: column; }
  .team-card .portrait { width: 100%; height: 240px; }
}


/* ===== Mobile menu (added) ===== */
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); transition: .25s; }
#navchk { display: none; }
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: flex !important; flex-direction: column; gap: 0;
    position: fixed; top: 72px; left: 0; right: 0;
    background: rgba(255,255,255,0.98); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    max-height: 0; overflow: hidden; transition: max-height .3s ease; padding: 0 1.5rem;
  }
  #navchk:checked ~ .nav-links { max-height: 380px; padding: 0.5rem 1.5rem 1rem; }
  .nav-links li { padding: 0.65rem 0; border-bottom: 1px solid var(--border); }
  .nav-links a { font-size: 1rem; }
}



/* ===== Accepted-insurance side badge (added) ===== */
.ins-badge {
  position: fixed; left: 1.25rem; bottom: 1.25rem;
  z-index: 90; display: flex; flex-direction: column; align-items: stretch;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; box-shadow: 0 10px 34px rgba(11,37,69,0.14);
  padding: 0.8rem 1rem 0.9rem; max-width: 215px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.ins-badge:hover { box-shadow: 0 14px 40px rgba(11,37,69,0.18); }
.ins-badge .ins-label {
  display: flex; align-items: center; gap: 6px; margin-bottom: 7px;
  font-size: 0.6rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue);
}
.ins-badge .ins-label::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.ins-badge .ins-mark {
  width: 182px; height: 48px; background-image: url(image-93a557b857.png);
  background-size: contain; background-repeat: no-repeat; background-position: left center;
}
[dir='rtl'] .ins-badge { left: auto; right: 1.25rem; }
[dir='rtl'] .ins-badge .ins-label { flex-direction: row-reverse; }
[dir='rtl'] .ins-badge .ins-mark { background-position: right center; }
@media (max-width: 1100px) {
  .ins-badge { top: auto; bottom: 0; left: 0; right: 0; transform: none; max-width: none;
    flex-direction: row; align-items: center; justify-content: center; gap: 12px;
    border: none; border-top: 1px solid var(--border); border-radius: 0;
    padding: 0.55rem 1rem; box-shadow: 0 -4px 20px rgba(11,37,69,0.08); }
  .ins-badge .ins-label { margin-bottom: 0; }
  .ins-badge .ins-mark { width: 150px; height: 34px; }
  [dir='rtl'] .ins-badge { border-radius: 0; border-right: none; }
  footer { padding-bottom: 4.5rem !important; }
}


/* ===== Language toggle (added) ===== */
.lang-switch { display: inline-flex; align-items: center; gap: 4px; margin: 0 1rem; }
.lang-btn { background: transparent; border: 0; color: var(--muted); font-family: 'DM Sans', sans-serif; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.04em; padding: 4px 8px; border-radius: 4px; cursor: pointer; transition: color .2s, background .2s; }
.lang-btn:hover { color: var(--navy); }
.lang-sep { color: var(--border); font-size: 0.7rem; }
[dir='rtl'] .lang-switch { flex-direction: row-reverse; }


/* ===== Responsive: tablet, iPad portrait, phone landscape (added) ===== */

/* Tablet & small desktop (901–1200px): reduce 6rem side padding that crowds the nav */
@media (max-width: 1200px) and (min-width: 901px) {
  nav { padding: 0 2rem !important; }
  .nav-links { gap: 1.25rem !important; }
  .nav-links a { font-size: 0.875rem !important; }
  .nav-cta { padding: 10px 20px !important; font-size: 0.8rem !important; white-space: nowrap; }
  section[style*="padding:130px 6rem"] { padding-left: 3rem !important; padding-right: 3rem !important; }
  section[style*="padding-top:72px"] > div[style*="padding:4rem 4rem 4rem 6rem"] {
    padding: 3rem 2.5rem !important;
  }
  .section { padding-left: 3rem !important; padding-right: 3rem !important; }
  .cta-banner { padding-left: 3rem !important; padding-right: 3rem !important; }
  footer { padding-left: 3rem !important; padding-right: 3rem !important; }
  h1[style*="3.75rem"] { font-size: 3rem !important; }
}

/* iPad portrait (641–900px): keep multi-col layouts, restore full nav */
@media (max-width: 900px) and (min-width: 641px) {
  /* Restore the desktop nav — no hamburger on iPad portrait */
  .nav-toggle { display: none !important; }
  .nav-links {
    display: flex !important;
    flex-direction: row !important;
    position: static !important;
    max-height: none !important;
    background: transparent !important;
    backdrop-filter: none !important;
    padding: 0 !important;
    border-bottom: 0 !important;
    overflow: visible !important;
    gap: 1rem !important;
  }
  .nav-links li { padding: 0 !important; border-bottom: 0 !important; }
  .nav-links a { font-size: 0.8rem !important; }
  nav { padding: 0 1.25rem !important; }
  .lang-switch { margin: 0 0.5rem !important; }
  .nav-cta { padding: 8px 14px !important; font-size: 0.75rem !important; white-space: nowrap; }

  /* Keep hero side-by-side on iPad portrait */
  section[style*="padding-top:72px"] {
    grid-template-columns: 1fr 1fr !important;
  }
  /* Reduce hero text padding */
  section[style*="padding-top:72px"] > div[style*="padding:4rem 4rem 4rem 6rem"] {
    padding: 2.5rem 2rem !important;
  }
  h1[style*="3.75rem"] { font-size: 2.4rem !important; }
  h1.page-title { font-size: 2.25rem !important; }

  /* Page-hero (service pages) — also keep 2-col on iPad portrait */
  .page-hero {
    grid-template-columns: 1fr 1fr !important;
    gap: 2rem !important;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }

  /* Service cards: 3-col → 2-col */
  div[style*="grid-template-columns:repeat(3,1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  div[style*="grid-template-columns:repeat(4,1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  /* Generic 2-col container layouts stay 2-col on iPad portrait */
  div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr 1fr !important;
  }

  /* Team grid: 2-col but cards become column-flex (portrait above info) */
  .team-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .team-card { flex-direction: column !important; }
  .team-card .portrait { width: 100% !important; height: 220px !important; }

  /* Section padding */
  .section { padding-left: 2rem !important; padding-right: 2rem !important; padding-top: 4rem !important; padding-bottom: 4rem !important; }
  .cta-banner { flex-direction: row !important; padding: 3rem 2rem !important; }
  footer { padding: 2rem !important; flex-direction: row !important; }

  /* Stats bar: keep 4 columns but smaller font */
  div[style*="grid-template-columns:repeat(4,1fr)"][style*="background:var(--navy)"] {
    grid-template-columns: repeat(4, 1fr) !important;
  }
  div[style*="grid-template-columns:repeat(4,1fr)"][style*="background:var(--navy)"] div[style*="2.75rem"] {
    font-size: 1.85rem !important;
  }

  /* Two-column service "Meet the Doctor" sections — keep 2-col */
  .two-col { grid-template-columns: 1fr 1fr !important; gap: 2.5rem !important; }
}

/* Phone landscape (any device with low height, in landscape) */
@media (max-height: 520px) and (orientation: landscape) {
  /* Compress hero so headline + CTA fit in the viewport */
  h1[style*="3.75rem"] { font-size: 1.85rem !important; line-height: 1.15 !important; margin-bottom: 0.75rem !important; }
  h1.page-title { font-size: 1.7rem !important; margin-bottom: 0.75rem !important; }
  section[style*="padding-top:72px"] > div[style*="padding:4rem"] {
    padding: 1.5rem !important;
  }
  .page-hero { padding-top: 90px !important; padding-bottom: 2rem !important; }
  .section { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
  .eyebrow { margin-bottom: 0.5rem !important; font-size: 0.65rem !important; }
  .section-title { font-size: 1.5rem !important; margin-bottom: 0.5rem !important; }
  p.page-subtitle { font-size: 0.9rem !important; line-height: 1.6 !important; }

  /* Hide the fixed insurance badge on landscape phones — it occupies a lot
     of the (already short) vertical space */
  .ins-badge { display: none !important; }
  footer { padding-bottom: 2rem !important; }

  /* Stats bar more compact */
  div[style*="grid-template-columns:repeat(4,1fr)"][style*="background:var(--navy)"] div[style*="2.75rem"] {
    font-size: 1.5rem !important;
  }
}

/* Very small phones (≤400px) — keep but make a touch more compact */
@media (max-width: 400px) {
  nav { padding: 0 1rem !important; }
  .lang-switch { margin: 0 0.5rem !important; }
  .lang-btn { padding: 4px 6px !important; font-size: 0.7rem !important; }
  .nav-cta { padding: 8px 14px !important; font-size: 0.75rem !important; }
  h1[style*="3.75rem"] { font-size: 2rem !important; }
  h1.page-title { font-size: 2rem !important; }
}


/* ===== Arabic fonts (added) ===== */
[dir="rtl"] body,
[dir="rtl"] p,
[dir="rtl"] a,
[dir="rtl"] button,
[dir="rtl"] input,
[dir="rtl"] select,
[dir="rtl"] textarea,
[dir="rtl"] label,
[dir="rtl"] span:not(.svc-ico *):not(.flag-circle),
[dir="rtl"] li,
[dir="rtl"] .lang-btn,
[dir="rtl"] .tag,
[dir="rtl"] .eyebrow,
[dir="rtl"] .ins-label { font-family: 'Tajawal', 'DM Sans', sans-serif !important; }
[dir="rtl"] h1,[dir="rtl"] h2,[dir="rtl"] h3,
[dir="rtl"] .section-title,[dir="rtl"] .page-title,
[dir="rtl"] .footer-brand { font-family: 'Amiri', 'Cormorant Garamond', serif !important; letter-spacing: 0 !important; }
[dir="rtl"] .nav-logo { font-family: 'Amiri', serif !important; font-size: 1.15rem !important; }
[dir="rtl"] nav { font-family: 'Tajawal', sans-serif !important; }
/* Arabic text alignment and line height */
[dir="rtl"] .section-title { line-height: 1.35 !important; }
[dir="rtl"] h1 { line-height: 1.25 !important; }
[dir="rtl"] p { line-height: 1.9 !important; }
/* Service tile name spans */
[dir="rtl"] span[style*="font-size:0.9rem;font-weight:500;color:var(--navy)"] { font-family: 'Tajawal', sans-serif !important; }



/* ===== Language toggle — professional (updated) ===== */
.lang-flags { display: inline-flex; align-items: center; gap: 5px; margin: 0 0.75rem; }
.lang-flag-btn {
  width: 22px; height: 22px; border-radius: 50%; overflow: hidden;
  border: 1.5px solid rgba(0,0,0,0); cursor: pointer; padding: 0;
  background: none; outline: none;
  transition: border-color .18s, opacity .18s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.18);
  opacity: 0.55;
}
.lang-flag-btn svg { display: block; width: 22px; height: 22px; }
.lang-flag-btn.active { border-color: var(--navy); opacity: 1; }
.lang-flag-btn:not(.active):hover { opacity: 0.8; }
/* Hide old text toggle */
.lang-switch { display: none !important; }
@media (max-width: 640px) {
  .lang-flags { margin: 0 0.4rem; }
  .lang-flag-btn { width: 20px; height: 20px; }
  .lang-flag-btn svg { width: 20px; height: 20px; }
}

/* ===== Visible colourful service icons (fixed) ===== */
.svc-ico {
  width: 52px;
  height: 52px;
  min-width: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.svc-ico svg {
  width: 52px;
  height: 52px;
  display: block;
  overflow: visible;
}


/* ===== home-care.html ===== */

[dir='rtl'] body { font-family: 'Tajawal', sans-serif; }
[dir='rtl'] h1,[dir='rtl'] h2,[dir='rtl'] h3,[dir='rtl'] .section-title,[dir='rtl'] .page-title,[dir='rtl'] .nav-logo { font-family: 'Tajawal', sans-serif; letter-spacing: 0; }
[dir='rtl'] .eyebrow { flex-direction: row-reverse; }
[dir='rtl'] .eyebrow::before { margin-left: 8px; margin-right: 0; order: 2; }
[dir='rtl'] nav { flex-direction: row-reverse; }
[dir='rtl'] .nav-links { flex-direction: row-reverse; }
[dir='rtl'] .list-check li { padding-left: 0; padding-right: 1.5rem; text-align: right; }
[dir='rtl'] .list-check li::before { left: auto; right: 0; }
[dir='rtl'] footer { flex-direction: row-reverse; }
[dir='rtl'] footer > div:last-child { flex-direction: row-reverse; }
[dir='rtl'] .page-hero { direction: rtl; }
[dir='rtl'] .service-link, [dir='rtl'] .btn-ghost { flex-direction: row-reverse; }


/* ===== laboratory.html ===== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root { --navy: #0b2545; --blue: #1b4f8a; --sky: #4a9cc7; --ice: #e8f4fb; --cream: #fafaf8; --white: #ffffff; --text: #1a2332; --muted: #6b7a8d; --border: #dde4ed; --accent: #c8a86b; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--cream); color: var(--text); overflow-x: hidden; }
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 0 4rem; height: 72px; background: rgba(255,255,255,0.96); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav-logo { display: flex; align-items: center; gap: 4px; font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 600; color: var(--navy); text-decoration: none; }
.nav-logo span:first-child { color: var(--sky); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { font-size: 0.875rem; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--navy); font-weight: 500; }
.nav-cta { background: var(--navy); color: white; padding: 10px 24px; border-radius: 4px; font-size: 0.85rem; font-weight: 500; text-decoration: none; transition: background 0.2s; }
.nav-cta:hover { background: var(--blue); }
.page-hero { padding: 130px 6rem 5rem; background: white; border-bottom: 1px solid var(--border); display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.page-hero-text {}
.eyebrow { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sky); display: flex; align-items: center; gap: 8px; margin-bottom: 1rem; }
.eyebrow::before { content: ''; display: block; width: 28px; height: 1px; background: var(--sky); }
h1.page-title { font-family: 'Cormorant Garamond', serif; font-size: 3rem; font-weight: 500; color: var(--navy); line-height: 1.15; margin-bottom: 1rem; }
.page-subtitle { font-size: 1rem; color: var(--muted); line-height: 1.85; }
.section { padding: 5rem 6rem; }
.section-alt { background: white; }
.section-title { font-family: 'Cormorant Garamond', serif; font-size: 2.25rem; font-weight: 500; color: var(--navy); margin-bottom: 1rem; }
.section-lead { font-size: 0.95rem; color: var(--muted); line-height: 1.8; max-width: 640px; margin-bottom: 2.5rem; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.card { background: white; border: 1px solid var(--border); border-radius: 8px; padding: 2rem; transition: box-shadow 0.2s; }
.card:hover { box-shadow: 0 6px 24px rgba(11,37,69,0.07); }
.card-icon { font-size: 1.75rem; margin-bottom: 1rem; }
.card h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 500; color: var(--navy); margin-bottom: 0.5rem; }
.card p { font-size: 0.875rem; line-height: 1.7; color: var(--muted); }
.list-check { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.5rem; }
.list-check li { font-size: 0.9rem; color: var(--muted); padding-left: 1.5rem; position: relative; line-height: 1.6; }
.list-check li::before { content: '✓'; position: absolute; left: 0; color: var(--sky); font-weight: 700; }
.btn-primary { display: inline-block; background: var(--navy); color: white; padding: 12px 28px; border-radius: 4px; font-size: 0.875rem; font-weight: 500; text-decoration: none; transition: background 0.2s; }
.btn-primary:hover { background: var(--blue); }
.cta-banner { background: var(--navy); padding: 4rem 6rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.cta-banner h2 { font-family: 'Cormorant Garamond', serif; font-size: 2.25rem; font-weight: 500; color: white; line-height: 1.25; }
.cta-banner h2 em { font-style: italic; color: var(--accent); }
.btn-accent { background: var(--accent); color: var(--navy); padding: 13px 32px; border-radius: 4px; font-size: 0.875rem; font-weight: 500; text-decoration: none; white-space: nowrap; flex-shrink: 0; }
.btn-accent:hover { opacity: 0.88; }
footer { background: #07192e; color: rgba(255,255,255,0.5); padding: 2.5rem 6rem; display: flex; align-items: center; justify-content: space-between; font-size: 0.8rem; }
.footer-brand { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: white; font-weight: 500; margin-bottom: 4px; }
footer a { color: rgba(255,255,255,0.5); text-decoration: none; }
footer a:hover { color: white; }

/* ===== Doctor portrait system (added) ===== */
.hero-doctor-card {
  position: relative; border-radius: 16px; overflow: hidden;
  display: flex; align-items: flex-end; justify-content: center;
  min-height: 460px; border: 1px solid var(--border);
  background:
    radial-gradient(120% 90% at 50% 0%, var(--ice) 0%, #f3f8fc 45%, var(--cream) 100%);
}
.hero-doctor-card::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 38%;
  background: linear-gradient(to top, rgba(11,37,69,0.06), transparent);
  pointer-events: none;
}
.hero-doctor-card img {
  position: relative; z-index: 1; width: auto; height: 94%;
  max-width: 90%; object-fit: contain; object-position: bottom center;
  filter: drop-shadow(0 18px 30px rgba(11,37,69,0.18));
}
.hero-doctor-card .doc-badge {
  position: absolute; z-index: 2; left: 1.25rem; bottom: 1.25rem;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(6px);
  border: 1px solid var(--border); border-radius: 10px;
  padding: 0.65rem 0.95rem; box-shadow: 0 8px 24px rgba(11,37,69,0.1);
}
.hero-doctor-card .doc-badge strong { display:block; font-family:'Cormorant Garamond',serif; font-size:1rem; color:var(--navy); }
.hero-doctor-card .doc-badge span { font-size:0.72rem; color:var(--muted); letter-spacing:0.04em; }

/* Team grid cards */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
.team-card {
  background: white; border: 1px solid var(--border); border-radius: 14px;
  overflow: hidden; display: flex; transition: box-shadow .25s ease, transform .25s ease;
}
.team-card:hover { box-shadow: 0 16px 40px rgba(11,37,69,0.1); transform: translateY(-3px); }
.team-card .portrait {
  width: 190px; flex-shrink: 0; position: relative; overflow: hidden;
  display: flex; align-items: flex-end; justify-content: center;
  background: radial-gradient(110% 80% at 50% 0%, var(--ice), #eef6fc 60%, #e6f0f8 100%);
}
.team-card .portrait img {
  width: auto; height: 96%; max-width: 100%;
  object-fit: contain; object-position: bottom center;
  filter: drop-shadow(0 10px 18px rgba(11,37,69,0.16));
}
.team-card .info { padding: 1.85rem; display: flex; flex-direction: column; }
.team-card .tag {
  align-self: flex-start; background: var(--ice); color: var(--blue);
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 4px; margin-bottom: 0.75rem;
}
.team-card .info h3 { font-family:'Cormorant Garamond',serif; font-size:1.5rem; font-weight:500; color:var(--navy); margin-bottom:0.5rem; }
.team-card .info p { font-size:0.875rem; line-height:1.7; color:var(--muted); margin-bottom:1rem; }
.team-card .info a.more { font-size:0.8rem; color:var(--sky); font-weight:500; text-decoration:none; letter-spacing:0.04em; margin-top:auto; }
.team-card .info a.more:hover { text-decoration: underline; }

/* "Meet the Doctor" single feature portrait */
.doc-feature { background: radial-gradient(110% 85% at 50% 0%, var(--ice), #eef6fc 55%, var(--cream) 100%) !important; border:1px solid var(--border); border-radius:16px !important; overflow:hidden; display:flex; align-items:flex-end; justify-content:center; min-height:440px !important; position:relative; }
.doc-feature img { width:auto !important; height:96% !important; max-width:88% !important; object-fit:contain !important; object-position:bottom center !important; filter: drop-shadow(0 16px 28px rgba(11,37,69,0.18)); }

/* ===== Responsive (added) ===== */
@media (max-width: 900px) {
  nav { padding: 0 1.25rem; }
  .nav-links { display: none; }
  section[style*="grid-template-columns:1fr 1fr"],
  .page-hero { grid-template-columns: 1fr !important; }
  .page-hero, .section { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
  .two-col { grid-template-columns: 1fr !important; gap: 2rem !important; }
  .team-grid { grid-template-columns: 1fr !important; }
  .cta-banner { flex-direction: column; align-items: flex-start; padding: 3rem 1.5rem !important; }
  div[style*="grid-template-columns:repeat(4,1fr)"] { grid-template-columns: repeat(2,1fr) !important; }
  div[style*="grid-template-columns:repeat(3,1fr)"] { grid-template-columns: 1fr !important; }
  div[style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }
  footer { flex-direction: column; gap: 1rem; align-items: flex-start; padding: 2rem 1.5rem !important; }
  h1.page-title, h1[style*="3.75rem"] { font-size: 2.4rem !important; }
}
@media (max-width: 560px) {
  .team-card { flex-direction: column; }
  .team-card .portrait { width: 100%; height: 240px; }
}


/* ===== Mobile menu (added) ===== */
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); transition: .25s; }
#navchk { display: none; }
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: flex !important; flex-direction: column; gap: 0;
    position: fixed; top: 72px; left: 0; right: 0;
    background: rgba(255,255,255,0.98); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    max-height: 0; overflow: hidden; transition: max-height .3s ease; padding: 0 1.5rem;
  }
  #navchk:checked ~ .nav-links { max-height: 380px; padding: 0.5rem 1.5rem 1rem; }
  .nav-links li { padding: 0.65rem 0; border-bottom: 1px solid var(--border); }
  .nav-links a { font-size: 1rem; }
}



/* ===== Accepted-insurance side badge (added) ===== */
.ins-badge {
  position: fixed; left: 1.25rem; bottom: 1.25rem;
  z-index: 90; display: flex; flex-direction: column; align-items: stretch;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; box-shadow: 0 10px 34px rgba(11,37,69,0.14);
  padding: 0.8rem 1rem 0.9rem; max-width: 215px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.ins-badge:hover { box-shadow: 0 14px 40px rgba(11,37,69,0.18); }
.ins-badge .ins-label {
  display: flex; align-items: center; gap: 6px; margin-bottom: 7px;
  font-size: 0.6rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue);
}
.ins-badge .ins-label::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.ins-badge .ins-mark {
  width: 182px; height: 48px; background-image: url(image-93a557b857.png);
  background-size: contain; background-repeat: no-repeat; background-position: left center;
}
[dir='rtl'] .ins-badge { left: auto; right: 1.25rem; }
[dir='rtl'] .ins-badge .ins-label { flex-direction: row-reverse; }
[dir='rtl'] .ins-badge .ins-mark { background-position: right center; }
@media (max-width: 1100px) {
  .ins-badge { top: auto; bottom: 0; left: 0; right: 0; transform: none; max-width: none;
    flex-direction: row; align-items: center; justify-content: center; gap: 12px;
    border: none; border-top: 1px solid var(--border); border-radius: 0;
    padding: 0.55rem 1rem; box-shadow: 0 -4px 20px rgba(11,37,69,0.08); }
  .ins-badge .ins-label { margin-bottom: 0; }
  .ins-badge .ins-mark { width: 150px; height: 34px; }
  [dir='rtl'] .ins-badge { border-radius: 0; border-right: none; }
  footer { padding-bottom: 4.5rem !important; }
}


/* ===== Language toggle (added) ===== */
.lang-switch { display: inline-flex; align-items: center; gap: 4px; margin: 0 1rem; }
.lang-btn { background: transparent; border: 0; color: var(--muted); font-family: 'DM Sans', sans-serif; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.04em; padding: 4px 8px; border-radius: 4px; cursor: pointer; transition: color .2s, background .2s; }
.lang-btn:hover { color: var(--navy); }
.lang-sep { color: var(--border); font-size: 0.7rem; }
[dir='rtl'] .lang-switch { flex-direction: row-reverse; }


/* ===== Responsive: tablet, iPad portrait, phone landscape (added) ===== */

/* Tablet & small desktop (901–1200px): reduce 6rem side padding that crowds the nav */
@media (max-width: 1200px) and (min-width: 901px) {
  nav { padding: 0 2rem !important; }
  .nav-links { gap: 1.25rem !important; }
  .nav-links a { font-size: 0.875rem !important; }
  .nav-cta { padding: 10px 20px !important; font-size: 0.8rem !important; white-space: nowrap; }
  section[style*="padding:130px 6rem"] { padding-left: 3rem !important; padding-right: 3rem !important; }
  section[style*="padding-top:72px"] > div[style*="padding:4rem 4rem 4rem 6rem"] {
    padding: 3rem 2.5rem !important;
  }
  .section { padding-left: 3rem !important; padding-right: 3rem !important; }
  .cta-banner { padding-left: 3rem !important; padding-right: 3rem !important; }
  footer { padding-left: 3rem !important; padding-right: 3rem !important; }
  h1[style*="3.75rem"] { font-size: 3rem !important; }
}

/* iPad portrait (641–900px): keep multi-col layouts, restore full nav */
@media (max-width: 900px) and (min-width: 641px) {
  /* Restore the desktop nav — no hamburger on iPad portrait */
  .nav-toggle { display: none !important; }
  .nav-links {
    display: flex !important;
    flex-direction: row !important;
    position: static !important;
    max-height: none !important;
    background: transparent !important;
    backdrop-filter: none !important;
    padding: 0 !important;
    border-bottom: 0 !important;
    overflow: visible !important;
    gap: 1rem !important;
  }
  .nav-links li { padding: 0 !important; border-bottom: 0 !important; }
  .nav-links a { font-size: 0.8rem !important; }
  nav { padding: 0 1.25rem !important; }
  .lang-switch { margin: 0 0.5rem !important; }
  .nav-cta { padding: 8px 14px !important; font-size: 0.75rem !important; white-space: nowrap; }

  /* Keep hero side-by-side on iPad portrait */
  section[style*="padding-top:72px"] {
    grid-template-columns: 1fr 1fr !important;
  }
  /* Reduce hero text padding */
  section[style*="padding-top:72px"] > div[style*="padding:4rem 4rem 4rem 6rem"] {
    padding: 2.5rem 2rem !important;
  }
  h1[style*="3.75rem"] { font-size: 2.4rem !important; }
  h1.page-title { font-size: 2.25rem !important; }

  /* Page-hero (service pages) — also keep 2-col on iPad portrait */
  .page-hero {
    grid-template-columns: 1fr 1fr !important;
    gap: 2rem !important;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }

  /* Service cards: 3-col → 2-col */
  div[style*="grid-template-columns:repeat(3,1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  div[style*="grid-template-columns:repeat(4,1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  /* Generic 2-col container layouts stay 2-col on iPad portrait */
  div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr 1fr !important;
  }

  /* Team grid: 2-col but cards become column-flex (portrait above info) */
  .team-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .team-card { flex-direction: column !important; }
  .team-card .portrait { width: 100% !important; height: 220px !important; }

  /* Section padding */
  .section { padding-left: 2rem !important; padding-right: 2rem !important; padding-top: 4rem !important; padding-bottom: 4rem !important; }
  .cta-banner { flex-direction: row !important; padding: 3rem 2rem !important; }
  footer { padding: 2rem !important; flex-direction: row !important; }

  /* Stats bar: keep 4 columns but smaller font */
  div[style*="grid-template-columns:repeat(4,1fr)"][style*="background:var(--navy)"] {
    grid-template-columns: repeat(4, 1fr) !important;
  }
  div[style*="grid-template-columns:repeat(4,1fr)"][style*="background:var(--navy)"] div[style*="2.75rem"] {
    font-size: 1.85rem !important;
  }

  /* Two-column service "Meet the Doctor" sections — keep 2-col */
  .two-col { grid-template-columns: 1fr 1fr !important; gap: 2.5rem !important; }
}

/* Phone landscape (any device with low height, in landscape) */
@media (max-height: 520px) and (orientation: landscape) {
  /* Compress hero so headline + CTA fit in the viewport */
  h1[style*="3.75rem"] { font-size: 1.85rem !important; line-height: 1.15 !important; margin-bottom: 0.75rem !important; }
  h1.page-title { font-size: 1.7rem !important; margin-bottom: 0.75rem !important; }
  section[style*="padding-top:72px"] > div[style*="padding:4rem"] {
    padding: 1.5rem !important;
  }
  .page-hero { padding-top: 90px !important; padding-bottom: 2rem !important; }
  .section { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
  .eyebrow { margin-bottom: 0.5rem !important; font-size: 0.65rem !important; }
  .section-title { font-size: 1.5rem !important; margin-bottom: 0.5rem !important; }
  p.page-subtitle { font-size: 0.9rem !important; line-height: 1.6 !important; }

  /* Hide the fixed insurance badge on landscape phones — it occupies a lot
     of the (already short) vertical space */
  .ins-badge { display: none !important; }
  footer { padding-bottom: 2rem !important; }

  /* Stats bar more compact */
  div[style*="grid-template-columns:repeat(4,1fr)"][style*="background:var(--navy)"] div[style*="2.75rem"] {
    font-size: 1.5rem !important;
  }
}

/* Very small phones (≤400px) — keep but make a touch more compact */
@media (max-width: 400px) {
  nav { padding: 0 1rem !important; }
  .lang-switch { margin: 0 0.5rem !important; }
  .lang-btn { padding: 4px 6px !important; font-size: 0.7rem !important; }
  .nav-cta { padding: 8px 14px !important; font-size: 0.75rem !important; }
  h1[style*="3.75rem"] { font-size: 2rem !important; }
  h1.page-title { font-size: 2rem !important; }
}


/* ===== Arabic fonts (added) ===== */
[dir="rtl"] body,
[dir="rtl"] p,
[dir="rtl"] a,
[dir="rtl"] button,
[dir="rtl"] input,
[dir="rtl"] select,
[dir="rtl"] textarea,
[dir="rtl"] label,
[dir="rtl"] span:not(.svc-ico *):not(.flag-circle),
[dir="rtl"] li,
[dir="rtl"] .lang-btn,
[dir="rtl"] .tag,
[dir="rtl"] .eyebrow,
[dir="rtl"] .ins-label { font-family: 'Tajawal', 'DM Sans', sans-serif !important; }
[dir="rtl"] h1,[dir="rtl"] h2,[dir="rtl"] h3,
[dir="rtl"] .section-title,[dir="rtl"] .page-title,
[dir="rtl"] .footer-brand { font-family: 'Amiri', 'Cormorant Garamond', serif !important; letter-spacing: 0 !important; }
[dir="rtl"] .nav-logo { font-family: 'Amiri', serif !important; font-size: 1.15rem !important; }
[dir="rtl"] nav { font-family: 'Tajawal', sans-serif !important; }
/* Arabic text alignment and line height */
[dir="rtl"] .section-title { line-height: 1.35 !important; }
[dir="rtl"] h1 { line-height: 1.25 !important; }
[dir="rtl"] p { line-height: 1.9 !important; }
/* Service tile name spans */
[dir="rtl"] span[style*="font-size:0.9rem;font-weight:500;color:var(--navy)"] { font-family: 'Tajawal', sans-serif !important; }



/* ===== Language toggle — professional (updated) ===== */
.lang-flags { display: inline-flex; align-items: center; gap: 5px; margin: 0 0.75rem; }
.lang-flag-btn {
  width: 22px; height: 22px; border-radius: 50%; overflow: hidden;
  border: 1.5px solid rgba(0,0,0,0); cursor: pointer; padding: 0;
  background: none; outline: none;
  transition: border-color .18s, opacity .18s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.18);
  opacity: 0.55;
}
.lang-flag-btn svg { display: block; width: 22px; height: 22px; }
.lang-flag-btn.active { border-color: var(--navy); opacity: 1; }
.lang-flag-btn:not(.active):hover { opacity: 0.8; }
/* Hide old text toggle */
.lang-switch { display: none !important; }
@media (max-width: 640px) {
  .lang-flags { margin: 0 0.4rem; }
  .lang-flag-btn { width: 20px; height: 20px; }
  .lang-flag-btn svg { width: 20px; height: 20px; }
}

/* ===== Visible colourful service icons (fixed) ===== */
.svc-ico {
  width: 52px;
  height: 52px;
  min-width: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.svc-ico svg {
  width: 52px;
  height: 52px;
  display: block;
  overflow: visible;
}


/* ===== laboratory.html ===== */

[dir='rtl'] body { font-family: 'Tajawal', sans-serif; }
[dir='rtl'] h1,[dir='rtl'] h2,[dir='rtl'] h3,[dir='rtl'] .section-title,[dir='rtl'] .page-title,[dir='rtl'] .nav-logo { font-family: 'Tajawal', sans-serif; letter-spacing: 0; }
[dir='rtl'] .eyebrow { flex-direction: row-reverse; }
[dir='rtl'] .eyebrow::before { margin-left: 8px; margin-right: 0; order: 2; }
[dir='rtl'] nav { flex-direction: row-reverse; }
[dir='rtl'] .nav-links { flex-direction: row-reverse; }
[dir='rtl'] .list-check li { padding-left: 0; padding-right: 1.5rem; text-align: right; }
[dir='rtl'] .list-check li::before { left: auto; right: 0; }
[dir='rtl'] footer { flex-direction: row-reverse; }
[dir='rtl'] footer > div:last-child { flex-direction: row-reverse; }
[dir='rtl'] .page-hero { direction: rtl; }
[dir='rtl'] .service-link, [dir='rtl'] .btn-ghost { flex-direction: row-reverse; }


/* ===== contact.html ===== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root { --navy: #0b2545; --blue: #1b4f8a; --sky: #4a9cc7; --ice: #e8f4fb; --cream: #fafaf8; --white: #ffffff; --text: #1a2332; --muted: #6b7a8d; --border: #dde4ed; --accent: #c8a86b; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--cream); color: var(--text); overflow-x: hidden; }
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 0 4rem; height: 72px; background: rgba(255,255,255,0.96); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav-logo { display: flex; align-items: center; gap: 4px; font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 600; color: var(--navy); text-decoration: none; }
.nav-logo span:first-child { color: var(--sky); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { font-size: 0.875rem; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--navy); font-weight: 500; }
.nav-cta { background: var(--navy); color: white; padding: 10px 24px; border-radius: 4px; font-size: 0.85rem; font-weight: 500; text-decoration: none; transition: background 0.2s; }
.nav-cta:hover { background: var(--blue); }
.page-hero { padding: 130px 6rem 5rem; background: white; border-bottom: 1px solid var(--border); display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.page-hero-text {}
.eyebrow { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sky); display: flex; align-items: center; gap: 8px; margin-bottom: 1rem; }
.eyebrow::before { content: ''; display: block; width: 28px; height: 1px; background: var(--sky); }
h1.page-title { font-family: 'Cormorant Garamond', serif; font-size: 3rem; font-weight: 500; color: var(--navy); line-height: 1.15; margin-bottom: 1rem; }
.page-subtitle { font-size: 1rem; color: var(--muted); line-height: 1.85; }
.section { padding: 5rem 6rem; }
.section-alt { background: white; }
.section-title { font-family: 'Cormorant Garamond', serif; font-size: 2.25rem; font-weight: 500; color: var(--navy); margin-bottom: 1rem; }
.section-lead { font-size: 0.95rem; color: var(--muted); line-height: 1.8; max-width: 640px; margin-bottom: 2.5rem; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.card { background: white; border: 1px solid var(--border); border-radius: 8px; padding: 2rem; transition: box-shadow 0.2s; }
.card:hover { box-shadow: 0 6px 24px rgba(11,37,69,0.07); }
.card-icon { font-size: 1.75rem; margin-bottom: 1rem; }
.card h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 500; color: var(--navy); margin-bottom: 0.5rem; }
.card p { font-size: 0.875rem; line-height: 1.7; color: var(--muted); }
.list-check { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.5rem; }
.list-check li { font-size: 0.9rem; color: var(--muted); padding-left: 1.5rem; position: relative; line-height: 1.6; }
.list-check li::before { content: '✓'; position: absolute; left: 0; color: var(--sky); font-weight: 700; }
.btn-primary { display: inline-block; background: var(--navy); color: white; padding: 12px 28px; border-radius: 4px; font-size: 0.875rem; font-weight: 500; text-decoration: none; transition: background 0.2s; }
.btn-primary:hover { background: var(--blue); }
.cta-banner { background: var(--navy); padding: 4rem 6rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.cta-banner h2 { font-family: 'Cormorant Garamond', serif; font-size: 2.25rem; font-weight: 500; color: white; line-height: 1.25; }
.cta-banner h2 em { font-style: italic; color: var(--accent); }
.btn-accent { background: var(--accent); color: var(--navy); padding: 13px 32px; border-radius: 4px; font-size: 0.875rem; font-weight: 500; text-decoration: none; white-space: nowrap; flex-shrink: 0; }
.btn-accent:hover { opacity: 0.88; }
footer { background: #07192e; color: rgba(255,255,255,0.5); padding: 2.5rem 6rem; display: flex; align-items: center; justify-content: space-between; font-size: 0.8rem; }
.footer-brand { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: white; font-weight: 500; margin-bottom: 4px; }
footer a { color: rgba(255,255,255,0.5); text-decoration: none; }
footer a:hover { color: white; }

/* ===== Doctor portrait system (added) ===== */
.hero-doctor-card {
  position: relative; border-radius: 16px; overflow: hidden;
  display: flex; align-items: flex-end; justify-content: center;
  min-height: 460px; border: 1px solid var(--border);
  background:
    radial-gradient(120% 90% at 50% 0%, var(--ice) 0%, #f3f8fc 45%, var(--cream) 100%);
}
.hero-doctor-card::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 38%;
  background: linear-gradient(to top, rgba(11,37,69,0.06), transparent);
  pointer-events: none;
}
.hero-doctor-card img {
  position: relative; z-index: 1; width: auto; height: 94%;
  max-width: 90%; object-fit: contain; object-position: bottom center;
  filter: drop-shadow(0 18px 30px rgba(11,37,69,0.18));
}
.hero-doctor-card .doc-badge {
  position: absolute; z-index: 2; left: 1.25rem; bottom: 1.25rem;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(6px);
  border: 1px solid var(--border); border-radius: 10px;
  padding: 0.65rem 0.95rem; box-shadow: 0 8px 24px rgba(11,37,69,0.1);
}
.hero-doctor-card .doc-badge strong { display:block; font-family:'Cormorant Garamond',serif; font-size:1rem; color:var(--navy); }
.hero-doctor-card .doc-badge span { font-size:0.72rem; color:var(--muted); letter-spacing:0.04em; }

/* Team grid cards */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
.team-card {
  background: white; border: 1px solid var(--border); border-radius: 14px;
  overflow: hidden; display: flex; transition: box-shadow .25s ease, transform .25s ease;
}
.team-card:hover { box-shadow: 0 16px 40px rgba(11,37,69,0.1); transform: translateY(-3px); }
.team-card .portrait {
  width: 190px; flex-shrink: 0; position: relative; overflow: hidden;
  display: flex; align-items: flex-end; justify-content: center;
  background: radial-gradient(110% 80% at 50% 0%, var(--ice), #eef6fc 60%, #e6f0f8 100%);
}
.team-card .portrait img {
  width: auto; height: 96%; max-width: 100%;
  object-fit: contain; object-position: bottom center;
  filter: drop-shadow(0 10px 18px rgba(11,37,69,0.16));
}
.team-card .info { padding: 1.85rem; display: flex; flex-direction: column; }
.team-card .tag {
  align-self: flex-start; background: var(--ice); color: var(--blue);
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 4px; margin-bottom: 0.75rem;
}
.team-card .info h3 { font-family:'Cormorant Garamond',serif; font-size:1.5rem; font-weight:500; color:var(--navy); margin-bottom:0.5rem; }
.team-card .info p { font-size:0.875rem; line-height:1.7; color:var(--muted); margin-bottom:1rem; }
.team-card .info a.more { font-size:0.8rem; color:var(--sky); font-weight:500; text-decoration:none; letter-spacing:0.04em; margin-top:auto; }
.team-card .info a.more:hover { text-decoration: underline; }

/* "Meet the Doctor" single feature portrait */
.doc-feature { background: radial-gradient(110% 85% at 50% 0%, var(--ice), #eef6fc 55%, var(--cream) 100%) !important; border:1px solid var(--border); border-radius:16px !important; overflow:hidden; display:flex; align-items:flex-end; justify-content:center; min-height:440px !important; position:relative; }
.doc-feature img { width:auto !important; height:96% !important; max-width:88% !important; object-fit:contain !important; object-position:bottom center !important; filter: drop-shadow(0 16px 28px rgba(11,37,69,0.18)); }

/* ===== Responsive (added) ===== */
@media (max-width: 900px) {
  nav { padding: 0 1.25rem; }
  .nav-links { display: none; }
  section[style*="grid-template-columns:1fr 1fr"],
  .page-hero { grid-template-columns: 1fr !important; }
  .page-hero, .section { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
  .two-col { grid-template-columns: 1fr !important; gap: 2rem !important; }
  .team-grid { grid-template-columns: 1fr !important; }
  .cta-banner { flex-direction: column; align-items: flex-start; padding: 3rem 1.5rem !important; }
  div[style*="grid-template-columns:repeat(4,1fr)"] { grid-template-columns: repeat(2,1fr) !important; }
  div[style*="grid-template-columns:repeat(3,1fr)"] { grid-template-columns: 1fr !important; }
  div[style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }
  footer { flex-direction: column; gap: 1rem; align-items: flex-start; padding: 2rem 1.5rem !important; }
  h1.page-title, h1[style*="3.75rem"] { font-size: 2.4rem !important; }
}
@media (max-width: 560px) {
  .team-card { flex-direction: column; }
  .team-card .portrait { width: 100%; height: 240px; }
}


/* ===== Mobile menu (added) ===== */
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); transition: .25s; }
#navchk { display: none; }
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: flex !important; flex-direction: column; gap: 0;
    position: fixed; top: 72px; left: 0; right: 0;
    background: rgba(255,255,255,0.98); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    max-height: 0; overflow: hidden; transition: max-height .3s ease; padding: 0 1.5rem;
  }
  #navchk:checked ~ .nav-links { max-height: 380px; padding: 0.5rem 1.5rem 1rem; }
  .nav-links li { padding: 0.65rem 0; border-bottom: 1px solid var(--border); }
  .nav-links a { font-size: 1rem; }
}



/* ===== Accepted-insurance side badge (added) ===== */
.ins-badge {
  position: fixed; left: 1.25rem; bottom: 1.25rem;
  z-index: 90; display: flex; flex-direction: column; align-items: stretch;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; box-shadow: 0 10px 34px rgba(11,37,69,0.14);
  padding: 0.8rem 1rem 0.9rem; max-width: 215px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.ins-badge:hover { box-shadow: 0 14px 40px rgba(11,37,69,0.18); }
.ins-badge .ins-label {
  display: flex; align-items: center; gap: 6px; margin-bottom: 7px;
  font-size: 0.6rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue);
}
.ins-badge .ins-label::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.ins-badge .ins-mark {
  width: 182px; height: 48px; background-image: url(image-93a557b857.png);
  background-size: contain; background-repeat: no-repeat; background-position: left center;
}
[dir='rtl'] .ins-badge { left: auto; right: 1.25rem; }
[dir='rtl'] .ins-badge .ins-label { flex-direction: row-reverse; }
[dir='rtl'] .ins-badge .ins-mark { background-position: right center; }
@media (max-width: 1100px) {
  .ins-badge { top: auto; bottom: 0; left: 0; right: 0; transform: none; max-width: none;
    flex-direction: row; align-items: center; justify-content: center; gap: 12px;
    border: none; border-top: 1px solid var(--border); border-radius: 0;
    padding: 0.55rem 1rem; box-shadow: 0 -4px 20px rgba(11,37,69,0.08); }
  .ins-badge .ins-label { margin-bottom: 0; }
  .ins-badge .ins-mark { width: 150px; height: 34px; }
  [dir='rtl'] .ins-badge { border-radius: 0; border-right: none; }
  footer { padding-bottom: 4.5rem !important; }
}


/* ===== Language toggle (added) ===== */
.lang-switch { display: inline-flex; align-items: center; gap: 4px; margin: 0 1rem; }
.lang-btn { background: transparent; border: 0; color: var(--muted); font-family: 'DM Sans', sans-serif; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.04em; padding: 4px 8px; border-radius: 4px; cursor: pointer; transition: color .2s, background .2s; }
.lang-btn:hover { color: var(--navy); }
.lang-sep { color: var(--border); font-size: 0.7rem; }
[dir='rtl'] .lang-switch { flex-direction: row-reverse; }


/* ===== Responsive: tablet, iPad portrait, phone landscape (added) ===== */

/* Tablet & small desktop (901–1200px): reduce 6rem side padding that crowds the nav */
@media (max-width: 1200px) and (min-width: 901px) {
  nav { padding: 0 2rem !important; }
  .nav-links { gap: 1.25rem !important; }
  .nav-links a { font-size: 0.875rem !important; }
  .nav-cta { padding: 10px 20px !important; font-size: 0.8rem !important; white-space: nowrap; }
  section[style*="padding:130px 6rem"] { padding-left: 3rem !important; padding-right: 3rem !important; }
  section[style*="padding-top:72px"] > div[style*="padding:4rem 4rem 4rem 6rem"] {
    padding: 3rem 2.5rem !important;
  }
  .section { padding-left: 3rem !important; padding-right: 3rem !important; }
  .cta-banner { padding-left: 3rem !important; padding-right: 3rem !important; }
  footer { padding-left: 3rem !important; padding-right: 3rem !important; }
  h1[style*="3.75rem"] { font-size: 3rem !important; }
}

/* iPad portrait (641–900px): keep multi-col layouts, restore full nav */
@media (max-width: 900px) and (min-width: 641px) {
  /* Restore the desktop nav — no hamburger on iPad portrait */
  .nav-toggle { display: none !important; }
  .nav-links {
    display: flex !important;
    flex-direction: row !important;
    position: static !important;
    max-height: none !important;
    background: transparent !important;
    backdrop-filter: none !important;
    padding: 0 !important;
    border-bottom: 0 !important;
    overflow: visible !important;
    gap: 1rem !important;
  }
  .nav-links li { padding: 0 !important; border-bottom: 0 !important; }
  .nav-links a { font-size: 0.8rem !important; }
  nav { padding: 0 1.25rem !important; }
  .lang-switch { margin: 0 0.5rem !important; }
  .nav-cta { padding: 8px 14px !important; font-size: 0.75rem !important; white-space: nowrap; }

  /* Keep hero side-by-side on iPad portrait */
  section[style*="padding-top:72px"] {
    grid-template-columns: 1fr 1fr !important;
  }
  /* Reduce hero text padding */
  section[style*="padding-top:72px"] > div[style*="padding:4rem 4rem 4rem 6rem"] {
    padding: 2.5rem 2rem !important;
  }
  h1[style*="3.75rem"] { font-size: 2.4rem !important; }
  h1.page-title { font-size: 2.25rem !important; }

  /* Page-hero (service pages) — also keep 2-col on iPad portrait */
  .page-hero {
    grid-template-columns: 1fr 1fr !important;
    gap: 2rem !important;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }

  /* Service cards: 3-col → 2-col */
  div[style*="grid-template-columns:repeat(3,1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  div[style*="grid-template-columns:repeat(4,1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  /* Generic 2-col container layouts stay 2-col on iPad portrait */
  div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr 1fr !important;
  }

  /* Team grid: 2-col but cards become column-flex (portrait above info) */
  .team-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .team-card { flex-direction: column !important; }
  .team-card .portrait { width: 100% !important; height: 220px !important; }

  /* Section padding */
  .section { padding-left: 2rem !important; padding-right: 2rem !important; padding-top: 4rem !important; padding-bottom: 4rem !important; }
  .cta-banner { flex-direction: row !important; padding: 3rem 2rem !important; }
  footer { padding: 2rem !important; flex-direction: row !important; }

  /* Stats bar: keep 4 columns but smaller font */
  div[style*="grid-template-columns:repeat(4,1fr)"][style*="background:var(--navy)"] {
    grid-template-columns: repeat(4, 1fr) !important;
  }
  div[style*="grid-template-columns:repeat(4,1fr)"][style*="background:var(--navy)"] div[style*="2.75rem"] {
    font-size: 1.85rem !important;
  }

  /* Two-column service "Meet the Doctor" sections — keep 2-col */
  .two-col { grid-template-columns: 1fr 1fr !important; gap: 2.5rem !important; }
}

/* Phone landscape (any device with low height, in landscape) */
@media (max-height: 520px) and (orientation: landscape) {
  /* Compress hero so headline + CTA fit in the viewport */
  h1[style*="3.75rem"] { font-size: 1.85rem !important; line-height: 1.15 !important; margin-bottom: 0.75rem !important; }
  h1.page-title { font-size: 1.7rem !important; margin-bottom: 0.75rem !important; }
  section[style*="padding-top:72px"] > div[style*="padding:4rem"] {
    padding: 1.5rem !important;
  }
  .page-hero { padding-top: 90px !important; padding-bottom: 2rem !important; }
  .section { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
  .eyebrow { margin-bottom: 0.5rem !important; font-size: 0.65rem !important; }
  .section-title { font-size: 1.5rem !important; margin-bottom: 0.5rem !important; }
  p.page-subtitle { font-size: 0.9rem !important; line-height: 1.6 !important; }

  /* Hide the fixed insurance badge on landscape phones — it occupies a lot
     of the (already short) vertical space */
  .ins-badge { display: none !important; }
  footer { padding-bottom: 2rem !important; }

  /* Stats bar more compact */
  div[style*="grid-template-columns:repeat(4,1fr)"][style*="background:var(--navy)"] div[style*="2.75rem"] {
    font-size: 1.5rem !important;
  }
}

/* Very small phones (≤400px) — keep but make a touch more compact */
@media (max-width: 400px) {
  nav { padding: 0 1rem !important; }
  .lang-switch { margin: 0 0.5rem !important; }
  .lang-btn { padding: 4px 6px !important; font-size: 0.7rem !important; }
  .nav-cta { padding: 8px 14px !important; font-size: 0.75rem !important; }
  h1[style*="3.75rem"] { font-size: 2rem !important; }
  h1.page-title { font-size: 2rem !important; }
}


/* ===== Arabic fonts (added) ===== */
[dir="rtl"] body,
[dir="rtl"] p,
[dir="rtl"] a,
[dir="rtl"] button,
[dir="rtl"] input,
[dir="rtl"] select,
[dir="rtl"] textarea,
[dir="rtl"] label,
[dir="rtl"] span:not(.svc-ico *):not(.flag-circle),
[dir="rtl"] li,
[dir="rtl"] .lang-btn,
[dir="rtl"] .tag,
[dir="rtl"] .eyebrow,
[dir="rtl"] .ins-label { font-family: 'Tajawal', 'DM Sans', sans-serif !important; }
[dir="rtl"] h1,[dir="rtl"] h2,[dir="rtl"] h3,
[dir="rtl"] .section-title,[dir="rtl"] .page-title,
[dir="rtl"] .footer-brand { font-family: 'Amiri', 'Cormorant Garamond', serif !important; letter-spacing: 0 !important; }
[dir="rtl"] .nav-logo { font-family: 'Amiri', serif !important; font-size: 1.15rem !important; }
[dir="rtl"] nav { font-family: 'Tajawal', sans-serif !important; }
/* Arabic text alignment and line height */
[dir="rtl"] .section-title { line-height: 1.35 !important; }
[dir="rtl"] h1 { line-height: 1.25 !important; }
[dir="rtl"] p { line-height: 1.9 !important; }
/* Service tile name spans */
[dir="rtl"] span[style*="font-size:0.9rem;font-weight:500;color:var(--navy)"] { font-family: 'Tajawal', sans-serif !important; }



/* ===== Language toggle — professional (updated) ===== */
.lang-flags { display: inline-flex; align-items: center; gap: 5px; margin: 0 0.75rem; }
.lang-flag-btn {
  width: 22px; height: 22px; border-radius: 50%; overflow: hidden;
  border: 1.5px solid rgba(0,0,0,0); cursor: pointer; padding: 0;
  background: none; outline: none;
  transition: border-color .18s, opacity .18s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.18);
  opacity: 0.55;
}
.lang-flag-btn svg { display: block; width: 22px; height: 22px; }
.lang-flag-btn.active { border-color: var(--navy); opacity: 1; }
.lang-flag-btn:not(.active):hover { opacity: 0.8; }
/* Hide old text toggle */
.lang-switch { display: none !important; }
@media (max-width: 640px) {
  .lang-flags { margin: 0 0.4rem; }
  .lang-flag-btn { width: 20px; height: 20px; }
  .lang-flag-btn svg { width: 20px; height: 20px; }
}


/* ===== contact.html ===== */

[dir='rtl'] body { font-family: 'Tajawal', sans-serif; }
[dir='rtl'] h1,[dir='rtl'] h2,[dir='rtl'] h3,[dir='rtl'] .section-title,[dir='rtl'] .page-title,[dir='rtl'] .nav-logo { font-family: 'Tajawal', sans-serif; letter-spacing: 0; }
[dir='rtl'] .eyebrow { flex-direction: row-reverse; }
[dir='rtl'] .eyebrow::before { margin-left: 8px; margin-right: 0; order: 2; }
[dir='rtl'] nav { flex-direction: row-reverse; }
[dir='rtl'] .nav-links { flex-direction: row-reverse; }
[dir='rtl'] .list-check li { padding-left: 0; padding-right: 1.5rem; text-align: right; }
[dir='rtl'] .list-check li::before { left: auto; right: 0; }
[dir='rtl'] footer { flex-direction: row-reverse; }
[dir='rtl'] footer > div:last-child { flex-direction: row-reverse; }
[dir='rtl'] .page-hero { direction: rtl; }
[dir='rtl'] .service-link, [dir='rtl'] .btn-ghost { flex-direction: row-reverse; }
