/* ==========================================================================
   Dr. Wael Salah — Nutrition & Physical Therapy
   Brand system: Green #78B83F · Blue #1C74B8 · Deep #0E414F · Petrol #155A6B
   Dark #14323C · Cream #F5F1E9 · Gold #C9A24B · Green-dark #4D8A37
   Bilingual RTL + LTR. Font: Poppins + Tajawal.
   ========================================================================== */

:root {
  --green: #78B83F;
  --green-dark: #4D8A37;
  --blue: #1C74B8;
  --deep: #0E414F;
  --petrol: #155A6B;
  --dark: #14323C;
  --cream: #F5F1E9;
  --gold: #C9A24B;
  --gold-light: #e0c07f;

  --ink: #10262b;
  --slate: #4c6067;
  --line: #e4e8e3;
  --line-cream: #e7e0d2;
  --white: #ffffff;
  --bg: #ffffff;

  --shadow-sm: 0 2px 12px rgba(14,65,79,.07);
  --shadow-md: 0 16px 44px rgba(14,65,79,.14);
  --shadow-lg: 0 32px 74px rgba(14,65,79,.24);
  --green-grad: linear-gradient(135deg, var(--green), var(--green-dark));
  --deep-grad: linear-gradient(150deg, var(--deep) 0%, var(--petrol) 60%, #0c353f 100%);
  --gold-grad: linear-gradient(135deg, var(--gold-light), var(--gold));
  --radius: 22px;
  --radius-sm: 14px;
  --maxw: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', 'Tajawal', sans-serif;
  background: var(--bg); color: var(--ink); line-height: 1.75;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
html[lang="ar"] body { font-family: 'Tajawal', 'Poppins', sans-serif; }
html[lang="ar"] { direction: rtl; }
html[lang="en"] { direction: ltr; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }

.ar-only, .en-only { display: none; }
html[lang="ar"] .ar-only { display: revert; }
html[lang="en"] .en-only { display: revert; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 80px; }
.brand { display: flex; align-items: center; gap: 13px; }
.brand .logo-img {
  width: 52px; height: 52px; border-radius: 50%; flex: none; object-fit: cover;
  box-shadow: var(--shadow-sm); background: var(--deep);
}
.brand .brand-name { font-weight: 700; font-size: 1.02rem; color: var(--deep); line-height: 1.25; }
.brand .brand-sub  { font-size: .74rem; color: var(--green-dark); font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { padding: 10px 15px; border-radius: 11px; font-weight: 600; font-size: .95rem; color: var(--slate); transition: .18s; position: relative; }
.nav-links a:hover { color: var(--green-dark); background: #eef6e7; }
.nav-links a.active { color: var(--green-dark); }
.nav-links a.active::after { content: ""; position: absolute; inset-inline: 15px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--green); }

.nav-right { display: flex; align-items: center; gap: 10px; }
.lang-toggle { border: 1px solid var(--line); background: #fff; color: var(--petrol); font-weight: 700; padding: 9px 15px; border-radius: 11px; cursor: pointer; font-family: inherit; font-size: .9rem; transition: .18s; }
.lang-toggle:hover { border-color: var(--green); color: var(--green-dark); background: #f4fbef; }

.btn { display: inline-flex; align-items: center; gap: 9px; justify-content: center; font-family: inherit; font-weight: 700; font-size: .96rem; cursor: pointer; padding: 13px 26px; border-radius: 12px; border: 0; transition: .22s; white-space: nowrap; }
html[lang="en"] .btn { font-family: 'Poppins', sans-serif; }
.btn-primary { background: var(--green-grad); color: #fff; box-shadow: 0 8px 22px rgba(120,184,63,.34); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(120,184,63,.46); }
.btn-gold { background: var(--gold-grad); color: #3a2c08; box-shadow: 0 8px 22px rgba(201,162,75,.32); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(201,162,75,.44); }
.btn-ghost { background: transparent; border: 1px solid rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-outline { background: #fff; border: 1px solid var(--line); color: var(--petrol); }
.btn-outline:hover { border-color: var(--green); background: #f4fbef; }
.btn-wa { background: #25d366; color: #fff; box-shadow: 0 8px 22px rgba(37,211,102,.3); }
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(37,211,102,.4); }

.menu-btn { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.menu-btn span { display: block; width: 24px; height: 2.5px; background: var(--deep); margin: 5px 0; border-radius: 3px; }

/* ---- Hero (dark petrol) ---- */
.hero { background: var(--bg); padding-block: 30px 0; }
.hero-card-outer { position: relative; }
.hero-inner {
  position: relative; overflow: hidden; border-radius: 30px;
  background: var(--deep-grad); color: #eaf3f2; padding: 62px 54px;
  box-shadow: var(--shadow-lg);
}
.hero-inner::before {
  content: ""; position: absolute; inset-block-start: -30%; inset-inline-end: -12%;
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(120,184,63,.28), transparent 62%); pointer-events: none;
}
.hero-inner::after {
  content: ""; position: absolute; inset: 14px; border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px; pointer-events: none;
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(120,184,63,.16); border: 1px solid rgba(120,184,63,.34); color: #bfe39a; font-weight: 700; padding: 8px 16px; border-radius: 999px; font-size: .84rem; margin-bottom: 20px; }
.hero h1 { font-size: clamp(2rem, 4.3vw, 3.1rem); line-height: 1.2; color: #fff; font-weight: 700; letter-spacing: -.01em; }
.hero h1 .accent { color: var(--green); }
.hero p.lead { font-size: 1.12rem; color: #c7dad8; margin-top: 20px; max-width: 44ch; }
.hero-cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 34px; margin-top: 40px; flex-wrap: wrap; }
.hero-stats .num { font-size: 1.9rem; font-weight: 800; color: #fff; }
.hero-stats .num .st { color: var(--gold); }
.hero-stats .lbl { font-size: .82rem; color: #a9c4c2; font-weight: 600; }

.hero-photo-wrap { position: relative; }
.hero-photo { width: 100%; border-radius: 22px; box-shadow: var(--shadow-md); border: 5px solid rgba(255,255,255,.9); position: relative; z-index: 2; }
.hero-photo-wrap::before { content: ""; position: absolute; inset-inline-start: -16px; inset-block-end: -16px; width: 60%; height: 60%; background: var(--green); opacity: .25; border-radius: 22px; z-index: 1; }
.photo-badge { position: absolute; z-index: 3; inset-block-end: 16px; inset-inline-start: 16px; background: rgba(255,255,255,.95); border-radius: 15px; padding: 11px 15px; box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 9px; }
.photo-badge .pb-num { font-size: 1.2rem; font-weight: 800; color: var(--green-dark); }
.photo-badge .pb-txt { font-size: .76rem; color: var(--slate); font-weight: 600; line-height: 1.2; }

/* ---- Sections ---- */
.section { padding-block: 76px; }
.section.cream { background: var(--cream); }
.section.dark { background: var(--deep-grad); color: #dceae8; }
.section-head { text-align: center; max-width: 660px; margin-inline: auto; margin-bottom: 46px; }
.kicker-line { width: 52px; height: 3px; background: var(--green); border-radius: 3px; margin: 0 auto 18px; }
.section.dark .kicker-line { background: var(--gold); }
.section-head .eyebrow { background: #eef6e7; border-color: #d6ecc4; color: var(--green-dark); margin-bottom: 14px; }
.section.dark .section-head .eyebrow { background: rgba(120,184,63,.16); border-color: rgba(120,184,63,.34); color: #bfe39a; }
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); color: var(--deep); font-weight: 700; }
.section.dark .section-head h2 { color: #fff; }
.section-head p { color: var(--slate); margin-top: 12px; font-size: 1.04rem; }
.section.dark .section-head p { color: #a9c4c2; }

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

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-sm); transition: .25s; position: relative; overflow: hidden; }
.card::before { content:""; position:absolute; inset-block-start:0; inset-inline-start:0; width:100%; height:4px; background: var(--green); transform: scaleX(0); transform-origin: inline-start; transition:.3s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card:hover::before { transform: scaleX(1); }
.card .icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: #eef6e7; color: var(--green-dark); font-size: 1.6rem; margin-bottom: 18px; }
.card .icon.blue { background: #e7f1fa; color: var(--blue); }
.card .icon.gold { background: #f7efdc; color: var(--gold); }
.card h3 { color: var(--deep); font-size: 1.16rem; font-weight: 700; margin-bottom: 9px; }
.card p { color: var(--slate); font-size: .96rem; }
.card ul.mini { margin-top: 14px; display: grid; gap: 7px; }
.card ul.mini li { font-size: .9rem; color: var(--slate); padding-inline-start: 22px; position: relative; }
.card ul.mini li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--green); font-weight: 800; }

/* numbered service list (mockup style) */
.svc-list { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow-sm); }
.svc-row { display:flex; gap:16px; align-items:flex-start; padding: 20px; border-radius: var(--radius-sm); transition:.2s; }
.svc-row:hover { background: var(--cream); }
.svc-row .n { width:34px; height:34px; flex:none; border-radius:10px; display:grid; place-items:center; background: var(--green-grad); color:#fff; font-weight:800; font-size:.95rem; }
.svc-row h3 { color: var(--deep); font-size:1.08rem; font-weight:700; margin-bottom:3px; }
.svc-row p { color: var(--slate); font-size:.92rem; }
.svc-row + .svc-row { border-top: 1px solid var(--line); }

/* ---- Split / about ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.about-photo-wrap { position: relative; }
.about-photo { width: 100%; border-radius: 24px; box-shadow: var(--shadow-md); }
.about-photo-wrap::before { content:""; position:absolute; inset-inline-end:-16px; inset-block-start:-16px; width:70%; height:70%; background: var(--green); opacity:.16; border-radius: 24px; z-index:-1; }
.feature-list { display: grid; gap: 18px; margin-top: 24px; }
.feature-list li { display: flex; gap: 15px; align-items: flex-start; }
.feature-list .fi { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--green-grad); color: #fff; font-weight: 800; font-size: 1.1rem; }
.feature-list .ft { font-weight: 700; color: var(--deep); }
.feature-list .fd { color: var(--slate); font-size: .94rem; }
.prose h2 { color: var(--deep); font-size: clamp(1.6rem,3vw,2.2rem); font-weight: 700; }
.prose p { color: var(--slate); margin-top: 15px; }

/* ---- Reviews ---- */
.stars { color: var(--gold); letter-spacing: 3px; font-size: 1.05rem; }
.review-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); transition: .25s; }
.section.dark .review-card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.review-card p.text { color: var(--ink); margin: 14px 0 18px; font-size: 1.02rem; }
.section.dark .review-card p.text { color: #eaf3f2; }
.review-card .who { display: flex; align-items: center; gap: 13px; }
.review-card .avatar { width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--green-grad); color: #fff; font-weight: 800; }
.review-card .who .nm { font-weight: 700; color: var(--deep); font-size: .96rem; }
.section.dark .review-card .who .nm { color: #fff; }
.review-card .who .mt { color: var(--gold); font-size: .8rem; font-weight: 600; }

.stat-band { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; text-align: center; }
.stat-band .stat-box { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 26px 16px; box-shadow: var(--shadow-sm); }
.stat-band .num { font-size: 2.1rem; font-weight: 800; color: var(--green-dark); }
.stat-band .lbl { color: var(--slate); font-weight: 600; font-size: .9rem; }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 38px; align-items: start; }
.info-list { display: grid; gap: 14px; }
.info-item { display: flex; gap: 15px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px; transition:.2s; }
.info-item:hover { border-color: var(--green); box-shadow: var(--shadow-sm); }
.info-item .ii { width: 46px; height: 46px; flex: none; border-radius: 12px; display: grid; place-items: center; background: #eef6e7; color: var(--green-dark); font-size: 1.25rem; }
.info-item .lab { font-size: .8rem; color: var(--slate); font-weight: 600; }
.info-item .val { font-weight: 700; color: var(--deep); }
.info-item .val a { color: var(--deep); }
.info-item .val.ltr { direction: ltr; }
.placeholder { color: var(--gold); font-style: italic; font-weight: 600; }

form.book { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-md); display: grid; gap: 15px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: .88rem; color: var(--deep); }
.field input, .field select, .field textarea { font-family: inherit; font-size: .96rem; padding: 13px 15px; border: 1px solid var(--line); border-radius: 11px; background: #f7faf5; color: var(--ink); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--green); background: #fff; }

.social-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.social-row a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; padding: 11px 15px; border-radius: 11px; border: 1px solid var(--line); background: #fff; color: var(--petrol); transition: .18s; }
.social-row a:hover { border-color: var(--green); background: #f4fbef; transform: translateY(-2px); }

/* ---- CTA ---- */
.cta-band { background: var(--deep-grad); border-radius: 30px; padding: 54px; text-align: center; color: #fff; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.cta-band::before { content:""; position:absolute; inset-block-start:-40%; inset-inline-start:-10%; width:400px; height:400px; border-radius:50%; background: radial-gradient(circle, rgba(120,184,63,.3), transparent 60%); }
.cta-band h2 { font-size: clamp(1.6rem,3vw,2.2rem); font-weight: 700; color:#fff; position: relative; }
.cta-band p { opacity: .92; margin-top: 12px; max-width: 54ch; margin-inline: auto; color:#c7dad8; position: relative; }
.cta-band .hero-cta { justify-content: center; margin-top: 26px; position: relative; }

/* ---- Footer ---- */
.site-footer { background: var(--dark); color: #b9cdcb; padding-block: 52px 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 38px; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-sub { color: var(--green); }
.site-footer h4 { color: #fff; font-size: 1.02rem; margin-bottom: 15px; }
.site-footer a { color: #b9cdcb; font-size: .92rem; display: block; padding: 4px 0; transition: .15s; }
.site-footer a:hover { color: var(--green); }
.site-footer p { font-size: .92rem; color: #90a9a7; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 32px; padding-top: 20px; text-align: center; font-size: .84rem; color: #7f9a98; }

/* ---- Page hero ---- */
.page-hero { background: var(--deep-grad); padding-block: 64px 52px; text-align: center; color:#fff; position: relative; overflow: hidden; }
.page-hero::before { content:""; position:absolute; inset-block-start:-40%; inset-inline-end:-8%; width:380px; height:380px; border-radius:50%; background: radial-gradient(circle, rgba(120,184,63,.26), transparent 62%); }
.page-hero .eyebrow { background: rgba(120,184,63,.16); border:1px solid rgba(120,184,63,.34); color:#bfe39a; margin-bottom: 14px; position: relative; }
.page-hero h1 { font-size: clamp(1.9rem,3.8vw,2.6rem); color: #fff; font-weight: 700; position: relative; }
.page-hero p { color: #c7dad8; margin-top: 14px; max-width: 62ch; margin-inline: auto; position: relative; }

/* ---- Floating WhatsApp ---- */
.wa-float { position: fixed; inset-block-end: 22px; inset-inline-end: 22px; z-index: 200; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color:#fff; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(37,211,102,.5); transition:.2s; }
.wa-float:hover { transform: scale(1.08); }

/* ---- Responsive ---- */
@media (max-width: 920px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero-inner { padding: 44px 30px; }
  .hero-photo-wrap { max-width: 420px; margin-inline: auto; }
  .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .stat-band { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { position: fixed; inset-block-start: 80px; inset-inline: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 4px; padding: 16px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); transform: translateY(-160%); transition: .3s; z-index: 90; }
  .nav-links.open { transform: translateY(0); }
  .nav-links a.active::after { display: none; }
  .menu-btn { display: block; }
}
@media (max-width: 560px) {
  .grid.cols-3, .grid.cols-4, .grid.cols-2 { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band, .hero-inner { padding: 34px 22px; }
  .brand .brand-sub { display: none; }
}
 .video-embed { position: relative; width: 100%; padding-top: 56.25%; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); background: #000; } .video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; } .video-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow-sm); } .video-card .video-title { margin-top: 10px; font-size: .92rem; font-weight: 600; color: var(--ink); text-align: center; }
.fb-feed-wrap { display: flex; justify-content: center; } .fb-feed-wrap iframe { width: 100%; max-width: 500px; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
