
:root {
  --primary: #254d32;
  --primary-2: #336b44;
  --primary-3: #5e8a66;
  --cream: #fffaf2;
  --gold: #f1a457;
  --gold-2: #f6c889;
  --ink: #17251c;
  --muted: #637166;
  --white: #ffffff;
  --surface: #f7faf6;
  --border: #dfe9df;
  --shadow: 0 28px 75px rgba(22, 60, 34, 0.16);
  --shadow-soft: 0 16px 40px rgba(22, 60, 34, 0.09);
  --radius: 28px;
  --container: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(241, 164, 87, 0.10), transparent 32rem),
    linear-gradient(180deg, #fffefb 0%, #ffffff 45%, #f7faf6 100%);
  line-height: 1.65;
}
html[dir="rtl"] body {
  font-family: "Noto Nastaliq Urdu", "Noto Naskh Arabic", "Jameel Noori Nastaleeq", Tahoma, Arial, sans-serif;
  line-height: 2;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.container { width: min(100% - 32px, var(--container)); margin: 0 auto; }

.top-strip {
  background: linear-gradient(90deg, #1e3d29, #326941);
  color: #fff;
  font-size: 14px;
}
.top-strip__inner {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 8px 0;
}
.top-strip__links { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.top-strip a { color: #fff; font-weight: 800; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(223, 233, 223, 0.9);
}
.navbar__inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: max-content;
}
.brand img {
  width: 174px;
  height: auto;
  object-fit: contain;
}
.brand strong {
  display: block;
  font-size: 22px;
  color: var(--primary);
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.brand small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  max-width: 260px;
}
.nav-links {
  margin: 0 0 0 auto;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
}
html[dir="rtl"] .nav-links { margin: 0 auto 0 0; }
.nav-links a {
  display: inline-flex;
  padding: 11px 15px;
  font-weight: 800;
  color: #425146;
  border-radius: 999px;
  transition: 0.2s ease;
}
.nav-links a:hover,
.nav-links a.active {
  background: rgba(51, 107, 68, 0.10);
  color: var(--primary);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  padding: 4px;
  box-shadow: 0 8px 20px rgba(22, 60, 34, 0.06);
}
.lang-switch button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 900;
  padding: 8px 11px;
  border-radius: 999px;
  cursor: pointer;
}
.lang-switch button.active {
  background: linear-gradient(135deg, var(--primary-2), var(--primary));
  color: #fff;
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
  cursor: pointer;
  margin-left: auto;
}
html[dir="rtl"] .nav-toggle { margin-left: 0; margin-right: auto; }
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--primary);
  margin: 5px auto;
  border-radius: 999px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 23px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 15px;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: linear-gradient(135deg, var(--primary-2), var(--primary));
  color: #fff;
  box-shadow: 0 16px 32px rgba(47, 98, 64, 0.24);
}
.btn--secondary {
  background: linear-gradient(135deg, #fff0dd, #fff8ed);
  color: #87501e;
  border: 1px solid #f3d2ad;
}
.btn--outline {
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--border);
}
.btn--full { width: 100%; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 68px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 22px 24px auto;
  height: 78%;
  border-radius: 42px;
  background:
    radial-gradient(circle at 12% 18%, rgba(241, 164, 87, 0.20), transparent 28%),
    radial-gradient(circle at 92% 12%, rgba(51, 107, 68, 0.16), transparent 28%),
    linear-gradient(135deg, rgba(255,255,255,0.92), rgba(244,250,244,0.92));
  border: 1px solid rgba(223,233,223,0.75);
  z-index: -1;
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
  align-items: center;
  gap: 58px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(51, 107, 68, 0.10);
  color: var(--primary);
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}
html[dir="rtl"] .eyebrow { letter-spacing: 0; }
h1, h2, h3, h4 { margin: 0 0 14px; letter-spacing: -0.035em; line-height: 1.12; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3 { letter-spacing: 0; line-height: 1.55; }
.hero h1, .page-hero h1 { font-size: clamp(38px, 5vw, 66px); max-width: 820px; }
h2 { font-size: clamp(28px, 3vw, 44px); }
h3 { font-size: 22px; }
p { margin: 0 0 16px; color: var(--muted); }
.hero__content > p { font-size: 18px; max-width: 710px; }
.hero-actions, .center-action, .callout-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero-cards {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.hero-cards div, .glass-card {
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(223,233,223,0.85);
  backdrop-filter: blur(14px);
  border-radius: 20px;
  padding: 18px;
  box-shadow: var(--shadow-soft);
}
.hero-cards strong { display: block; color: var(--primary); margin-bottom: 7px; font-size: 15px; }
.hero-cards span { display: block; color: var(--muted); font-size: 14px; }

.hero__visual { position: relative; }
.hero__visual-card {
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  background: linear-gradient(180deg, #fff, #f4faf4);
  border: 1px solid var(--border);
  padding: 30px;
  box-shadow: var(--shadow);
}
.hero__visual-card::before {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  background: rgba(241, 164, 87, 0.20);
  border-radius: 50%;
  top: -72px;
  right: -54px;
}
html[dir="rtl"] .hero__visual-card::before { right: auto; left: -54px; }
.hero__visual-card img { position: relative; z-index: 1; }
.hero-badge {
  position: absolute;
  left: -18px;
  bottom: 26px;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  padding: 17px 19px;
  max-width: 250px;
}
html[dir="rtl"] .hero-badge { left: auto; right: -18px; }
.hero-badge strong { display: block; color: var(--primary); margin-bottom: 6px; }
.hero-badge span { color: var(--muted); font-size: 14px; }

.page-hero {
  padding: 70px 0 44px;
  background:
    radial-gradient(circle at 8% 30%, rgba(241, 164, 87, 0.13), transparent 24rem),
    linear-gradient(180deg, #fffefb, #f7faf6);
  border-bottom: 1px solid #edf2ed;
}
.page-hero p { max-width: 780px; font-size: 18px; }
.section { padding: 76px 0; }
.section--tint { background: var(--surface); }
.section-heading { max-width: 790px; margin: 0 auto 36px; text-align: center; }
.section-heading p { font-size: 17px; }

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  align-items: center;
}
.split--reverse > :first-child { order: 2; }
.info-panel, .image-card, .doctor-photo-card, .contact-panel, .appointment-card, .services-aside, .stat-card,
.service-card, .mini-card, .feature-card, .value-card {
  background: rgba(255,255,255,0.88);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.image-card { padding: 24px; overflow: hidden; }
.info-panel, .doctor-photo-card, .contact-panel, .appointment-card, .services-aside, .stat-card { padding: 30px; }

.check-list, .footer-links, .contact-list { padding: 0; margin: 0; list-style: none; }
.check-list li, .contact-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--muted);
}
.check-list li::before, .contact-list li::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  position: absolute;
  left: 0;
  top: 9px;
}
html[dir="rtl"] .check-list li, html[dir="rtl"] .contact-list li { padding-left: 0; padding-right: 28px; }
html[dir="rtl"] .check-list li::before, html[dir="rtl"] .contact-list li::before { left: auto; right: 0; }

.features-grid, .service-grid, .values-grid, .cards-3, .stats-grid {
  display: grid;
  gap: 22px;
}
.features-grid, .values-grid, .cards-3, .stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.service-card, .mini-card, .feature-card, .value-card { padding: 28px; }
.service-card .icon, .feature-card .icon {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(51,107,68,0.12), rgba(241,164,87,0.16));
  font-size: 27px;
  margin-bottom: 18px;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 900;
}
.link-arrow::after { content: "→"; }
html[dir="rtl"] .link-arrow::after { content: "←"; }

.callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 38px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 90% 20%, rgba(241,164,87,0.32), transparent 28%),
    linear-gradient(135deg, #1e3d29, #336b44);
  color: #fff;
  box-shadow: var(--shadow);
}
.callout p { color: rgba(255,255,255,0.82); }
.callout h2 { color: #fff; }
.callout .btn--outline {
  border-color: rgba(255,255,255,0.34);
  color: #fff;
  background: rgba(255,255,255,0.08);
}
.callout .btn--secondary { background: #fff; color: var(--primary); border-color: #fff; }

.stat-card strong { display: block; color: var(--primary); font-size: 34px; margin-bottom: 8px; }
.stat-card span { color: var(--muted); }

.timeline .steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.timeline .steps > div {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--shadow-soft);
}
.timeline .steps strong {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(51,107,68,0.10);
  color: var(--primary);
  margin-bottom: 14px;
}

.services-layout {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}
.services-aside { position: sticky; top: 124px; }
.services-aside img {
  width: 100%;
  border-radius: 22px;
  margin-bottom: 18px;
  background: var(--surface);
}
.services-list { display: grid; gap: 18px; }
.services-list article {
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 30px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.services-list article:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.services-list h2 { font-size: clamp(28px, 2.6vw, 39px); margin-bottom: 10px; }

.doctor-profile {
  display: grid;
  grid-template-columns: 350px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}
.doctor-photo-card img {
  width: 100%;
  border-radius: 24px;
  margin-bottom: 20px;
  background: var(--surface);
}
.expertise-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 24px;
  margin-top: 24px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}
.social-row { display: flex; flex-wrap: wrap; gap: 10px; }
.social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  font-weight: 850;
  color: var(--primary);
}
.social-row--buttons a {
  background: rgba(51,107,68,0.10);
  border-color: transparent;
}
.social-block { margin-top: 26px; }
label {
  display: block;
  margin-bottom: 8px;
  color: var(--primary);
  font-weight: 850;
}
input, textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 14px 16px;
  font: inherit;
  color: var(--ink);
  background: #fff;
  margin-bottom: 16px;
  outline: none;
}
input:focus, textarea:focus {
  border-color: #bfd4c4;
  box-shadow: 0 0 0 4px rgba(51,107,68,0.09);
}
.map-card {
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}
.map-card iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

.site-footer {
  background:
    radial-gradient(circle at 85% 10%, rgba(241,164,87,0.18), transparent 28%),
    linear-gradient(135deg, #18271d, #203a28);
  color: rgba(255, 255, 255, 0.86);
  margin-top: 42px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.8fr 0.95fr;
  gap: 34px;
  padding: 58px 0 32px;
}
.brand--footer img { width: 174px; }
.brand--footer strong { color: #fff; }
.brand--footer small { color: rgba(255,255,255,0.66); }
.footer-text { color: rgba(255,255,255,0.72); margin-top: 18px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a, .site-footer .contact-list a { color: rgba(255,255,255,0.88); }
.site-footer .contact-list li { color: rgba(255,255,255,0.72); }
.site-footer .contact-list li::before { background: rgba(241,164,87,0.95); }
.site-footer .social-row a {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.12);
  color: #fff;
}
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.10); }
.footer-bottom__inner {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.footer-bottom p { color: rgba(255,255,255,0.66); margin: 0; }

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 150;
  background: #25d366;
  color: #fff;
  border-radius: 999px;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 21px;
  font-weight: 950;
  box-shadow: 0 16px 34px rgba(37,211,102,0.30);
}
html[dir="rtl"] .floating-whatsapp { right: auto; left: 18px; }

@media (max-width: 1140px) {
  .nav-actions .nav-cta { display: none; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .hero__inner, .split, .doctor-profile, .contact-grid, .services-layout, .footer-grid { grid-template-columns: 1fr; }
  .features-grid, .values-grid, .cards-3, .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services-aside { position: static; }
}
@media (max-width: 880px) {
  .top-strip__inner { justify-content: center; text-align: center; }
  .brand small { display: none; }
  .nav-toggle { display: inline-block; }
  .navbar__inner { flex-wrap: wrap; padding: 14px 0; }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-top: 1px solid var(--border);
    margin: 8px 0 0 0;
    padding-top: 10px;
    order: 10;
  }
  .navbar.is-open .nav-links { display: flex; }
  .nav-links a { justify-content: center; }
}
@media (max-width: 640px) {
  .section, .hero, .page-hero { padding: 56px 0 34px; }
  .features-grid, .service-grid, .values-grid, .cards-3, .stats-grid, .timeline .steps, .hero-cards { grid-template-columns: 1fr; }
  .brand img, .brand--footer img { width: 150px; }
  .hero::before { inset: 10px 8px auto; height: 82%; border-radius: 28px; }
  .hero-badge { position: static; margin-top: 16px; max-width: none; }
  .callout { flex-direction: column; align-items: flex-start; padding: 28px; }
  .footer-bottom__inner { min-height: auto; padding: 18px 0; }
}
