/* Self-contained, responsive medical website */
:root{
  --ink:#071d3e;
  --ink-2:#15375d;
  --blue:#005f9b;
  --blue-2:#0b7fc1;
  --cyan:#37bde4;
  --green:#34d273;
  --paper:#ffffff;
  --mist:#eef7ff;
  --line:#dfeaf4;
  --shadow:0 18px 55px rgba(18,68,111,.12);
  --radius:30px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,Segoe UI,Arial,sans-serif;color:var(--ink);background:#fff;line-height:1.55}
a{text-decoration:none;color:inherit}
img{display:block;max-width:100%}
button,input,select,textarea{font:inherit}
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.88);backdrop-filter:blur(18px);border-bottom:1px solid rgba(213,229,241,.7)}
.nav-wrap{max-width:1420px;margin:auto;height:104px;padding:0 44px;display:flex;align-items:center;gap:44px}
/* تنسيق كلاس الـ brand ليتناسب مع الصورة */
.brand {
  display: inline-flex;
  align-items: center;
  min-width: auto; /* غيرناها من 295px لـ auto عشان الصورة تاخد مساحتها الطبيعية */
}

/* تنسيق صورة اللوجو الجديد */
.brand-logo-img {
  height: 100px;       /* ده الارتفاع المثالي عشان يتماشى مع ارتفاع الهيدر (104px) */
  width: auto;        /* يحافظ على أبعاد اللوجو ونسبته بدون تمطيط */
  display: block;
  object-fit: contain;
}
.main-nav{display:flex;align-items:center;gap:42px;margin-left:auto}
.main-nav a{font-weight:700;padding:10px 0;position:relative;white-space:nowrap}
.main-nav a:after{content:"";position:absolute;left:0;right:100%;bottom:0;height:2px;background:var(--blue-2);transition:.25s}
.main-nav a:hover:after{right:0}
.nav-actions{display:flex;align-items:center;gap:18px}
.lang-toggle,.top-cta{border:0;background:white;border-radius:999px;padding:14px 22px;box-shadow:0 6px 24px rgba(18,68,111,.09);font-weight:700;color:var(--ink)}
.lang-toggle{cursor:pointer}
.divider{opacity:.35;margin:0 8px}
.top-cta{display:flex;align-items:center;gap:18px}
.top-cta b{display:grid;place-items:center;background:var(--green);border-radius:50%;width:38px;height:38px;font-size:22px}
.menu-toggle{display:none;border:0;background:transparent;font-size:28px}
.section-shell,.content-section{max-width:1420px;margin:0 auto}
.hero{min-height:810px;margin-top:18px;border-radius:34px;background:radial-gradient(circle at 52% 45%,rgba(210,235,255,.75),transparent 33%),linear-gradient(135deg,#fdfefe,#f1f8ff);display:grid;grid-template-columns:1.05fr 1fr .84fr;gap:34px;align-items:center;padding:80px 72px;box-shadow:inset 0 0 0 1px #e2edf6;overflow:hidden}
.hero-copy{align-self:center}
.eyebrow{display:inline-flex;align-items:center;gap:10px;background:#fff;border-radius:16px;padding:12px 20px;box-shadow:0 8px 28px rgba(18,68,111,.08);font-weight:800;margin-bottom:22px}
.pulse{font-size:26px;color:var(--ink)}
h1{font-size:58px;line-height:1.04;letter-spacing:-2px;margin:0 0 24px;max-width:620px}
.hero-copy p{font-size:18px;color:#2c4057;max-width:570px;margin:0 0 30px}
.hero-actions{display:flex;gap:12px;align-items:center}
.primary-btn{background:linear-gradient(90deg,#06679e,#005082);color:white;padding:16px 32px;border-radius:999px;font-weight:800}
.round-btn{display:grid;place-items:center;width:58px;height:58px;border-radius:50%;background:#fff;box-shadow:0 8px 28px rgba(18,68,111,.1);font-size:27px}
.hero-doctor,.hero-art{position:relative;display:flex;align-items:center;justify-content:center}
.soft-arch{width:100%;height:590px;border-radius:50% 50% 34px 34px;overflow:hidden;background:#ecf6ff;border:2px solid rgba(255,255,255,.9);box-shadow:0 20px 55px rgba(17,94,143,.09)}
.soft-arch img{width:100%;height:100%;object-fit:cover;object-position:center}
.art-card{width:100%;height:590px;border-radius:48% 48% 38px 38px;overflow:hidden;background:#fff;box-shadow:0 18px 60px rgba(40,110,166,.08)}
.art-card img{width:100%;height:100%;object-fit:cover}
.stat-card{position:absolute;background:rgba(255,255,255,.93);backdrop-filter:blur(12px);border:1px solid #edf3f8;box-shadow:0 12px 34px rgba(18,68,111,.09);padding:15px 20px;border-radius:18px;display:flex;align-items:center;gap:13px}
.stat-card strong{display:block;font-size:24px}
.stat-card small{display:block;color:#394b60;font-weight:600}
.stat-icon{font-size:24px;color:var(--blue)}
.years{bottom:-28px;left:8%}
.patients{top:22%;right:-18px}
.content-section{padding:120px 70px}
.about-section{display:grid;grid-template-columns:.9fr 1.15fr;gap:90px;align-items:center;position:relative}
.about-section:before,.appointment-section:before{content:"";position:absolute;z-index:-1;inset:30px 45% 0 0;background:linear-gradient(135deg,#f6fbff,#e8f4ff);border-radius:42% 58% 60% 40%/43% 44% 56% 57%}
.section-label{display:inline-block;color:#075a94;font-weight:900;letter-spacing:.5px;margin-bottom:20px}
.section-label:after{content:"";display:block;width:42px;height:3px;background:var(--blue);margin-top:18px;border-radius:2px}
h2{font-size:54px;line-height:1.08;letter-spacing:-1.4px;margin:0 0 24px}
.section-copy>p,.center-heading p,.appointment-intro>p{font-size:19px;color:#314359}
.credential-list{list-style:none;padding:0;margin:32px 0 0}
.credential-list li{position:relative;padding:15px 0 15px 68px;border-bottom:1px solid #dde7ef;font-size:17px}
.credential-list li:before{content:"✓";position:absolute;left:0;top:12px;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#eff7ff;color:#0867a4;font-weight:900}
.blob-frame{border-radius:44px;overflow:hidden;box-shadow:var(--shadow);background:#eff7ff}
.blob-frame img{width:100%;height:630px;object-fit:cover}
.results-section{padding-top:80px}
.center-heading{text-align:center;max-width:850px;margin:0 auto 42px}
.center-heading .section-label:after{margin:18px auto 0}
.center-heading p{max-width:720px;margin:0 auto}
.heading-line{width:280px;height:3px;margin:18px auto 26px;background:linear-gradient(90deg,transparent,#23a9d7,transparent);position:relative}
.heading-line span{position:absolute;left:50%;top:50%;width:11px;height:11px;background:#168bc1;border-radius:50%;transform:translate(-50%,-50%)}
.results-card{border-radius:28px;overflow:hidden;background:#fff;box-shadow:var(--shadow);padding:16px}
.results-card img{width:100%;border-radius:18px}
.medical-note{text-align:center;color:#6c7d90;font-size:13px;margin-top:18px}
.appointment-section{display:grid;grid-template-columns:.84fr 1.16fr;gap:70px;align-items:center;position:relative;padding-top:100px;padding-bottom:130px}
.benefit{display:flex;align-items:flex-start;gap:18px;margin-top:28px}
.benefit>span{display:grid;place-items:center;width:54px;height:54px;border-radius:50%;background:#eaf6ff;color:#086aaa;font-size:24px}
.benefit strong,.benefit small{display:block}
.benefit strong{font-size:18px}.benefit small{font-size:15px;color:#516176;margin-top:4px}
.appointment-form{background:rgba(255,255,255,.94);border:1px solid #e8eef3;border-radius:30px;padding:42px;box-shadow:var(--shadow)}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:25px 34px}
.form-grid label{display:flex;flex-direction:column;gap:10px;font-weight:800}
.form-grid input,.form-grid select,.form-grid textarea{width:100%;border:1px solid #ccd8e2;border-radius:10px;padding:16px;background:#fff;color:var(--ink);outline:none}
.form-grid input:focus,.form-grid select:focus,.form-grid textarea:focus{border-color:#1486c0;box-shadow:0 0 0 3px rgba(20,134,192,.1)}
.form-grid .full{grid-column:1/-1}
.submit-btn{width:100%;border:0;border-radius:11px;padding:18px 24px;background:linear-gradient(90deg,#02559a,#075ed0);color:white;font-size:19px;font-weight:900;margin-top:28px;cursor:pointer}
.secure-note{text-align:center;color:#748194;margin:22px 0 0;font-size:14px}
.site-footer{background:linear-gradient(135deg,#075788,#003f6d);color:white;padding:85px 68px 0;border-radius:36px 36px 0 0;overflow:hidden}
.footer-grid{max-width:1420px;margin:auto;display:grid;grid-template-columns:1.15fr .8fr 1fr 1fr;gap:70px}
.brand-light .brand-mark,.brand-light .brand-copy,.brand-light .brand-copy small{color:white}
.footer-brand .brand{display:inline-flex;align-items:center;background:transparent}
.footer-brand .brand-logo-img{width:340px;height:auto;max-width:100%;object-fit:contain;opacity:.98}
.footer-brand p{max-width:390px;color:#d6e6f3;font-size:17px;line-height:1.8}
.site-footer h3{margin:8px 0 32px;font-size:19px}
.site-footer h3:after{content:"";display:block;width:55px;height:4px;border-radius:3px;background:#52c5e9;margin-top:15px}
.footer-grid>div:not(.footer-brand){display:flex;flex-direction:column;gap:16px}
.footer-grid a,.footer-grid p{color:#d9e8f3}
.socials{display:flex;gap:14px;margin-top:28px}
.socials a{display:grid;place-items:center;width:43px;height:43px;border:1px solid rgba(255,255,255,.55);border-radius:50%;font-weight:900;transition:transform .2s ease,background .2s ease,border-color .2s ease}
.socials a:hover{transform:translateY(-2px);background:rgba(255,255,255,.12);border-color:#fff}
.socials svg{width:19px;height:19px;fill:currentColor}

.footer-whatsapp-contact{display:inline-flex;align-items:center;gap:10px;width:max-content}
.footer-whatsapp-contact svg{width:20px;height:20px;fill:#25d366;flex:0 0 auto}
.footer-bottom{max-width:1420px;margin:58px auto 0;border-top:1px solid rgba(255,255,255,.24);padding:26px 0;display:flex;justify-content:space-between;gap:20px;color:#dceaf4;font-size:14px}
.floating-whatsapp{position:fixed;right:22px;bottom:22px;z-index:60;display:grid;place-items:center;width:60px;height:60px;border-radius:50%;background:#24d366;color:white;box-shadow:0 14px 32px rgba(18,153,77,.35);transition:transform .2s ease,box-shadow .2s ease}
.floating-whatsapp:hover{transform:translateY(-2px) scale(1.03);box-shadow:0 18px 38px rgba(18,153,77,.42)}
.floating-whatsapp svg{width:32px;height:32px;fill:currentColor}
[dir="rtl"] body{text-align:right}
[dir="rtl"] .main-nav{margin-left:0;margin-right:auto}
[dir="rtl"] .credential-list li{padding-left:0;padding-right:68px}
[dir="rtl"] .credential-list li:before{left:auto;right:0}
[dir="rtl"] .brand-copy{align-items:flex-end}
[dir="rtl"] .top-cta b{transform:rotate(180deg)}
@media(max-width:1200px){
  .nav-wrap{padding:0 24px;gap:22px}.brand{min-width:240px}.brand-copy strong{font-size:17px}.brand-copy strong b{font-size:20px}.brand-mark{font-size:65px}
  .main-nav{gap:24px}.nav-actions .top-cta{display:none}
  .hero{grid-template-columns:1fr 1fr;padding:60px 40px}.hero-art{display:none}.hero-copy p{font-size:16px}.soft-arch{height:560px}
  .about-section,.appointment-section{gap:45px}
}
@media(max-width:900px){
  .nav-wrap{height:82px;padding:0 18px;gap:12px}.brand-logo-img{height:68px}.menu-toggle{display:block;margin-left:auto}.main-nav{display:none;position:absolute;left:18px;right:18px;top:82px;flex-direction:column;align-items:stretch;background:white;padding:22px;border-radius:18px;box-shadow:var(--shadow)}.main-nav.open{display:flex}.nav-actions{display:flex;gap:0}.nav-actions .top-cta{display:none}.lang-toggle{padding:10px 13px;font-size:13px;line-height:1;white-space:nowrap}
  .hero{grid-template-columns:1fr;min-height:auto;margin:10px;border-radius:25px;padding:55px 28px 85px}.hero-copy{text-align:center}.hero-copy p{margin-left:auto;margin-right:auto}.hero-actions{justify-content:center}h1{font-size:48px}.hero-doctor{max-width:590px;margin:10px auto 0;width:100%}.years{left:50%;transform:translateX(-50%)}
  .content-section{padding:90px 28px}.about-section,.appointment-section{grid-template-columns:1fr}.about-visual{order:-1}.blob-frame img{height:auto}.appointment-section:before,.about-section:before{inset:20px}
  .footer-grid{grid-template-columns:1fr 1fr}.footer-bottom{flex-direction:column;text-align:center}.site-footer{padding:70px 30px 0}
}
@media(max-width:620px){
  .nav-wrap{height:72px;padding:0 10px;gap:8px}.brand{min-width:0}.brand-logo-img{height:56px}.brand-mark{font-size:54px}.brand-copy strong{font-size:13px}.brand-copy strong b{font-size:16px}.brand-copy small{font-size:7px;letter-spacing:4px}.menu-toggle{margin-left:auto;padding:4px;font-size:25px}.main-nav{top:72px;left:10px;right:10px}.lang-toggle{padding:9px 10px;font-size:11px}.divider{margin:0 4px}
  .hero{padding:42px 20px 72px}h1,h2{font-size:38px}.soft-arch{height:450px}.stat-card strong{font-size:20px}
  .form-grid{grid-template-columns:1fr}.appointment-form{padding:24px}.footer-grid{grid-template-columns:1fr}.site-footer{border-radius:25px 25px 0 0}
}


/* Mobile refinements: faster access to booking form and a shorter footer */
@media(max-width:620px){
  .appointment-section{padding:54px 18px 68px;gap:22px;align-items:start}
  .appointment-section:before{inset:12px 8px 20px}
  .appointment-intro{margin:0}
  .appointment-intro .section-label{margin-bottom:12px}
  .appointment-intro .section-label:after{margin-top:12px}
  .appointment-intro h2{font-size:32px;line-height:1.08;margin:0}
  .appointment-intro>p,.appointment-intro .benefit{display:none}
  .appointment-form{padding:22px 18px;border-radius:24px}
  .form-grid{gap:18px}
  .form-grid label{gap:8px}
  .form-grid input,.form-grid select,.form-grid textarea{padding:14px}
  .submit-btn{margin-top:22px;padding:16px 18px;font-size:17px}
  .secure-note{margin-top:16px;font-size:12px}

  .site-footer{padding:38px 22px 0}
  .footer-grid{grid-template-columns:1fr 1fr;gap:28px 24px}
  .footer-brand{grid-column:1/-1}
  .footer-brand .brand{display:flex;justify-content:center;width:100%}
  .footer-brand .brand-logo-img{height:auto;width:280px;max-width:100%;opacity:1}
  .footer-brand p{max-width:100%;font-size:15px;line-height:1.6;margin:2px 0 0;text-align:center}
  .socials{justify-content:center;margin-top:20px}
  .site-footer h3{font-size:16px;margin:0 0 18px}
  .site-footer h3:after{width:42px;height:3px;margin-top:10px}
  .footer-grid>div:not(.footer-brand){gap:11px}
  .footer-grid a,.footer-grid p{font-size:14px;line-height:1.45}
  .contact-info{grid-column:1/-1}
  .footer-bottom{margin-top:30px;padding:20px 0;gap:9px;font-size:12px}
  .floating-whatsapp{right:16px;bottom:16px;width:56px;height:56px}
  .floating-whatsapp svg{width:30px;height:30px}
}

@media(max-width:410px){
  .footer-grid{grid-template-columns:1fr;gap:26px}
  .footer-brand,.contact-info{grid-column:auto}
  .footer-brand .brand-logo-img{width:250px}
}
