:root{
  --bg:#06131f;
  --bg-soft:#0b2032;
  --surface:#10283c;
  --surface-2:#f8fbff;
  --text:#f8fbff;
  --muted:#b9c7d5;
  --dark:#102033;
  --dark-muted:#5c6c7d;
  --gold:#d7ad5d;
  --gold-2:#f4d287;
  --cyan:#67d7ff;
  --line:rgba(255,255,255,.14);
  --shadow:0 24px 70px rgba(0,0,0,.28);
  --radius:8px;
  --container:1180px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:"Cairo", system-ui, -apple-system, Segoe UI, sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.75;
  overflow-x:hidden;
}

a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{width:min(var(--container), calc(100% - 36px));margin-inline:auto}
.section-pad{padding:92px 0}
section[id]{scroll-margin-top:96px}
.skip-link{position:absolute;inset-inline-start:16px;top:-60px;background:#fff;color:#000;padding:10px 14px;border-radius:10px;z-index:1000}
.skip-link:focus{top:16px}

.site-header{
  position:sticky;top:0;z-index:100;
  background:rgba(6,19,31,.76);
  backdrop-filter:blur(18px);
  border-bottom:1px solid var(--line);
}

.navbar{
  width:min(var(--container), calc(100% - 28px));
  margin:auto;
  min-height:76px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

.brand{display:flex;align-items:center;gap:12px}
.brand-mark{
  width:48px;height:48px;border-radius:8px;
  display:grid;place-items:center;
  background:linear-gradient(135deg,var(--gold),var(--gold-2));
  color:#122238;font-size:28px;box-shadow:0 12px 40px rgba(215,173,93,.28)
}
.brand strong{display:block;font-weight:900;font-size:1.05rem}
.brand small{display:block;color:var(--muted);font-size:.78rem;margin-top:-3px}

.nav-links{display:flex;align-items:center;gap:16px}
.nav-links a{color:var(--muted);font-weight:700;font-size:.95rem}
.nav-links a:hover{color:#fff}
.lang-toggle{
  border:1px solid var(--line);background:rgba(255,255,255,.08);
  color:#fff;border-radius:999px;padding:8px 14px;font-weight:800;cursor:pointer
}
.menu-toggle{display:none;background:transparent;border:0;width:42px;height:42px;cursor:pointer}
.menu-toggle span{display:block;height:2px;background:#fff;margin:7px;border-radius:10px}

.hero{
  min-height:calc(100vh - 76px);
  display:grid;align-items:center;
  position:relative;isolation:isolate;
  background:
    radial-gradient(circle at 20% 20%, rgba(103,215,255,.16), transparent 28%),
    radial-gradient(circle at 80% 10%, rgba(215,173,93,.15), transparent 28%),
    linear-gradient(135deg,#06131f 0%,#092033 55%,#06131f 100%);
}

.orb{position:absolute;border-radius:50%;filter:blur(10px);opacity:.45;z-index:-1}
.orb-one{width:300px;height:300px;background:rgba(103,215,255,.16);inset-inline-start:-80px;top:160px}
.orb-two{width:360px;height:360px;background:rgba(215,173,93,.14);inset-inline-end:-90px;bottom:50px}

.hero-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:54px;align-items:center}
.eyebrow{color:var(--gold-2);font-weight:900;letter-spacing:0;margin:0 0 12px}
h1,h2,h3{line-height:1.28;margin:0}
h1{font-size:clamp(2.25rem,4.8rem,5.4rem);font-weight:900;max-width:920px}
h2{font-size:clamp(1.9rem,3rem,3.2rem);font-weight:900}
h3{font-size:1.2rem;font-weight:900}
.hero-subtitle{font-size:1.18rem;color:var(--muted);max-width:780px;margin:24px 0}

.credential-row{display:flex;flex-wrap:wrap;gap:10px;margin:24px 0}
.credential-row span{
  border:1px solid var(--line);
  background:rgba(255,255,255,.07);
  border-radius:999px;
  padding:8px 16px;
  font-family:"Inter", sans-serif;
  font-weight:800;
  color:#fff
}

.cta-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:50px;padding:12px 20px;border-radius:999px;font-weight:900;
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
  border:1px solid transparent;
  cursor:pointer;
  font:inherit;
  text-align:center
}
.btn:hover{transform:translateY(-2px)}
.btn-primary{background:linear-gradient(135deg,var(--gold),var(--gold-2));color:#122238;box-shadow:0 16px 42px rgba(215,173,93,.22)}
.btn-secondary{background:rgba(255,255,255,.1);color:#fff;border-color:var(--line)}
.btn-ghost{color:var(--gold-2);border-color:rgba(215,173,93,.35)}
.full{width:100%}

.trust-strip{
  margin-top:34px;
  display:grid;grid-template-columns:repeat(3,1fr);gap:12px;
}
.trust-strip div{
  border:1px solid var(--line);border-radius:8px;padding:16px;
  background:rgba(255,255,255,.06)
}
.trust-strip strong{display:block;color:#fff;font-size:1.1rem}
.trust-strip span{color:var(--muted);font-size:.9rem}

.hero-card{
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,.05));
  box-shadow:var(--shadow);
  overflow:hidden;
}
.doctor-photo{
  aspect-ratio:4/5;
  overflow:hidden;
  background:
    linear-gradient(135deg,rgba(215,173,93,.28),rgba(103,215,255,.08)),
    radial-gradient(circle at center,rgba(255,255,255,.16),transparent 55%);
}
.doctor-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center top;
}
.appointment-card{padding:24px}
.card-label{color:var(--gold-2);font-weight:900;margin:0 0 4px}
.phone-link{font-size:2rem;font-weight:900;direction:ltr;display:inline-block}
.mini-link{color:var(--gold-2);font-weight:900}

.notice-bar{
  background:linear-gradient(90deg,rgba(215,173,93,.18),rgba(103,215,255,.08));
  border-block:1px solid var(--line);
  color:#eaf3fb;
  padding:14px 0;
}

.startup-chat{
  background:#f8fbff;
  color:var(--dark);
  border-bottom:1px solid #dfe8f0;
  padding:34px 0;
}
.startup-chat-grid{
  display:grid;
  grid-template-columns:1fr auto;
  gap:24px;
  align-items:center;
}
.startup-chat .eyebrow{color:#1877f2}
.startup-chat h2{font-size:clamp(1.65rem,2.4rem,2.6rem)}
.startup-chat p{
  margin:12px 0 0;
  color:var(--dark-muted);
  max-width:780px;
}
.startup-chat .btn-secondary{
  color:var(--dark);
  background:#fff;
  border-color:#d9e5ee;
  box-shadow:0 12px 28px rgba(16,32,51,.08);
}
.chat-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:flex-end;
}

.two-col,.portal-grid,.contact-grid,.chat-feature-grid{
  display:grid;grid-template-columns:1fr 1fr;gap:34px;align-items:start
}
.section-intro p,.section-heading p,.portal-grid p{color:var(--muted);font-size:1.05rem}
.about-card,.telexam-card,.contact-card,.map-card{
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:rgba(255,255,255,.07);
  padding:30px;
  box-shadow:var(--shadow);
}
.check-list{padding:0;margin:18px 0 0;list-style:none}
.check-list li{margin:10px 0;padding-inline-start:28px;position:relative;color:var(--muted)}
.check-list li:before{content:"✓";position:absolute;inset-inline-start:0;color:var(--gold-2);font-weight:900}

.services-section,.faq-section{
  background:var(--surface-2);
  color:var(--dark);
}
.services-section .eyebrow,.faq-section .eyebrow,.surgical-section .eyebrow{color:#9b6f20}
.services-section .section-heading p,.faq-section .section-heading p,.surgical-section .section-heading p{color:var(--dark-muted)}
.section-heading{text-align:center;max-width:760px;margin:0 auto 42px}

.surgical-section{
  background:#eef4f8;
  color:var(--dark);
}
.experience-grid{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:18px;
}
.experience-card{
  background:#fff;
  border:1px solid #dfe8f0;
  border-radius:8px;
  padding:26px;
  box-shadow:0 16px 44px rgba(16,32,51,.08);
}
.experience-card p{color:var(--dark-muted)}
.experience-card .check-list li{color:var(--dark-muted)}
.highlight-card{
  grid-row:span 3;
  background:
    linear-gradient(135deg,rgba(215,173,93,.16),rgba(103,215,255,.1)),
    #fff;
  border-color:rgba(155,111,32,.28);
}
.highlight-card h3{
  font-size:1.65rem;
  margin-bottom:14px;
}

.services-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}
.service-card{
  background:#fff;
  border:1px solid #e9eef5;
  border-radius:8px;
  padding:26px;
  box-shadow:0 16px 44px rgba(16,32,51,.08);
  min-height:245px;
}
.service-card p{color:var(--dark-muted)}
.service-icon{
  width:48px;height:48px;border-radius:8px;display:grid;place-items:center;
  background:#f5ead3;color:#9b6f20;font-weight:900;font-size:1.3rem;margin-bottom:16px
}

.timeline{
  display:grid;grid-template-columns:repeat(4,1fr);gap:16px;
}
.timeline-item{
  border:1px solid var(--line);
  border-radius:8px;
  padding:24px;
  background:rgba(255,255,255,.07)
}
.timeline-item span{color:var(--gold-2);font-weight:900;font-size:1.4rem}
.timeline-item p{color:var(--muted)}

.portal-section{
  background:
    radial-gradient(circle at 15% 10%, rgba(215,173,93,.11), transparent 28%),
    linear-gradient(135deg,#071826,#0c2a42);
}

.messenger-section{
  background:
    radial-gradient(circle at 80% 20%, rgba(24,119,242,.16), transparent 28%),
    linear-gradient(135deg,#071826,#0b253b);
}
.chat-benefits{margin-top:20px}
.messenger-chat-card{
  border:1px solid var(--line);
  border-radius:8px;
  background:rgba(255,255,255,.08);
  padding:24px;
  box-shadow:var(--shadow);
}
.chat-card-header{
  display:flex;
  align-items:center;
  gap:12px;
  border-bottom:1px solid var(--line);
  padding-bottom:16px;
  margin-bottom:18px;
}
.chat-card-header strong{display:block}
.chat-card-header small{display:block;color:var(--muted)}
.chat-status-dot{
  width:14px;
  height:14px;
  border-radius:50%;
  background:#31d158;
  box-shadow:0 0 0 6px rgba(49,209,88,.12);
}
.chat-bubble{
  max-width:88%;
  border-radius:8px;
  padding:13px 15px;
  margin:12px 0;
  line-height:1.65;
}
.clinic-bubble{
  background:rgba(255,255,255,.12);
  color:#fff;
}
.patient-bubble{
  margin-inline-start:auto;
  background:#1877f2;
  color:#fff;
}
.upload-preview{
  border:1px dashed rgba(255,255,255,.3);
  border-radius:8px;
  padding:16px;
  margin:18px 0;
  background:rgba(255,255,255,.06);
}
.demo-chat-scroll{
  height:310px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  border-radius:8px;
  background:rgba(4,16,26,.28);
  padding:10px 12px;
  position:relative;
}
.demo-chat-scroll:before,
.demo-chat-scroll:after{
  content:"";
  position:absolute;
  inset-inline:0;
  height:42px;
  z-index:1;
  pointer-events:none;
}
.demo-chat-scroll:before{top:0;background:linear-gradient(180deg,#0b253b,rgba(11,37,59,0))}
.demo-chat-scroll:after{bottom:0;background:linear-gradient(0deg,#0b253b,rgba(11,37,59,0))}
.demo-chat-track{
  animation:demoChatScroll 22s linear infinite;
}
.demo-chat-scroll:hover .demo-chat-track{animation-play-state:paused}
@keyframes demoChatScroll{
  from{transform:translateY(0)}
  to{transform:translateY(-50%)}
}
.upload-preview span{
  color:var(--gold-2);
  font-weight:900;
  display:block;
  margin-bottom:4px;
}
.upload-preview strong{display:block}

.telexam-card label{display:block;font-weight:900;margin-bottom:16px}
input,textarea,select{
  width:100%;
  margin-top:8px;
  border:1px solid var(--line);
  border-radius:8px;
  padding:14px 16px;
  background:rgba(255,255,255,.09);
  color:#fff;
  font:inherit;
  outline:none;
}
select{appearance:none;background-color:rgba(255,255,255,.09)}
input::placeholder,textarea::placeholder{color:#9fb0c0}
.form-note{font-size:.9rem;color:var(--muted)!important;margin-bottom:0}
.urgent-note{
  border:1px solid rgba(244,210,135,.32);
  border-radius:8px;
  background:rgba(215,173,93,.09);
  padding:12px 14px;
  margin:12px 0 18px;
}
.privacy-note{margin-top:14px}
.checkbox-label{
  display:flex!important;
  align-items:flex-start;
  gap:10px;
  font-weight:800!important;
  color:#dce9f5;
  line-height:1.65;
}
.checkbox-label input{
  width:20px;
  height:20px;
  flex:0 0 auto;
  margin:4px 0 0;
  accent-color:var(--gold);
}

.faq-list{max-width:850px;margin:auto;display:grid;gap:12px}
details{
  background:#fff;border:1px solid #e9eef5;border-radius:8px;padding:20px 22px;
  box-shadow:0 12px 34px rgba(16,32,51,.06)
}
summary{font-weight:900;cursor:pointer}
details p{color:var(--dark-muted)}

.contact-copy{color:var(--muted);margin:14px 0 0}
.contact-list{display:grid;gap:12px;margin-top:24px}
.contact-list a{
  display:block;border:1px solid var(--line);border-radius:8px;padding:16px;background:rgba(255,255,255,.06)
}
.contact-list strong{display:block;color:var(--gold-2)}
.contact-list span{color:var(--muted)}
.map-frame{
  min-height:340px;
  border-radius:8px;
  overflow:hidden;
  background:rgba(255,255,255,.08);
  border:1px solid var(--line);
}
.map-frame iframe{
  width:100%;
  height:340px;
  border:0;
  display:block;
}
.map-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:16px;
}
.map-card p{color:var(--muted);margin-bottom:0}

.site-footer{
  padding:38px 0 24px;
  border-top:1px solid var(--line);
  background:#04101a;
}
.footer-grid{display:flex;justify-content:space-between;gap:18px;align-items:center}
.footer-grid p,.copyright{color:var(--muted);margin:4px 0}
.footer-links{display:flex;gap:16px;flex-wrap:wrap;color:var(--gold-2);font-weight:900}
.copyright{text-align:center;margin-top:24px}

.floating-whatsapp{
  position:fixed;left:18px;right:auto;bottom:18px;z-index:120;
  width:58px;height:58px;
  display:grid;place-items:center;
  background:#25d366;color:#071826;border-radius:50%;
  box-shadow:0 18px 42px rgba(0,0,0,.26);
  border:2px solid rgba(255,255,255,.22)
}
.floating-whatsapp svg{
  width:31px;
  height:31px;
  fill:currentColor
}
.floating-whatsapp:hover{transform:translateY(-2px)}
.floating-chat{
  position:fixed;left:18px;right:auto;bottom:88px;z-index:120;
  width:58px;height:58px;
  display:grid;place-items:center;
  background:#1877f2;color:#fff;border-radius:50%;
  box-shadow:0 18px 42px rgba(0,0,0,.26);
  border:2px solid rgba(255,255,255,.22);
  transition:transform .2s ease;
  cursor:pointer
}
.floating-chat svg{width:31px;height:31px;fill:currentColor}
.floating-chat:hover{transform:translateY(-2px)}
.startup-chat-pop{
  position:fixed;
  inset-inline-end:18px;
  bottom:18px;
  z-index:130;
  width:min(360px, calc(100% - 36px));
  border:1px solid rgba(255,255,255,.2);
  border-radius:8px;
  background:#f8fbff;
  color:var(--dark);
  padding:18px;
  box-shadow:0 24px 70px rgba(0,0,0,.28);
}
.startup-chat-pop.is-hidden{display:none}
.startup-chat-pop strong{display:block;font-size:1.05rem}
.startup-chat-pop p{margin:8px 0 12px;color:var(--dark-muted)}
.chat-pop-close{
  position:absolute;
  top:8px;
  inset-inline-end:8px;
  width:30px;
  height:30px;
  border:0;
  border-radius:50%;
  background:#e8eef5;
  color:var(--dark);
  cursor:pointer;
  font-size:1.2rem;
  line-height:1
}
.chat-pop-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.chat-pop-actions a,
.chat-pop-actions button{
  flex:1;
  min-width:120px;
  text-align:center;
  border-radius:8px;
  padding:10px 12px;
  font-weight:900;
  border:0;
  font:inherit;
  cursor:pointer
}
.chat-pop-actions a:first-child{background:#e8eef5;color:var(--dark)}
.chat-pop-actions button:last-child{background:#1877f2;color:#fff}
.inline-chat-backdrop{
  position:fixed;
  inset:0;
  z-index:180;
  background:rgba(3,10,18,.58);
  backdrop-filter:blur(3px);
}
.inline-chat-backdrop.is-hidden,
.inline-chat-box.is-hidden{display:none}
.inline-chat-box{
  position:fixed;
  inset-inline-end:18px;
  bottom:18px;
  z-index:190;
  width:min(460px, calc(100% - 36px));
  max-height:min(760px, calc(100vh - 36px));
  display:flex;
  flex-direction:column;
  border:1px solid rgba(255,255,255,.22);
  border-radius:8px;
  background:#071826;
  color:#fff;
  box-shadow:0 26px 86px rgba(0,0,0,.4);
  overflow:hidden;
}
.inline-chat-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  padding:16px 16px 10px;
  border-bottom:1px solid var(--line);
  background:linear-gradient(135deg,rgba(24,119,242,.22),rgba(215,173,93,.1));
}
.chat-card-header.compact{
  border-bottom:0;
  padding:0;
  margin:0;
}
.inline-chat-close{
  width:32px;
  height:32px;
  border:0;
  border-radius:50%;
  background:rgba(255,255,255,.12);
  color:#fff;
  cursor:pointer;
  font-size:1.3rem;
  line-height:1;
}
.inline-chat-messages{
  padding:14px 16px;
  overflow:auto;
  min-height:160px;
  max-height:260px;
  background:rgba(255,255,255,.03);
}
.inline-chat-form{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  padding:14px 16px 16px;
  overflow:auto;
}
.inline-chat-form label{
  font-weight:900;
  color:#eaf3fb;
}
.inline-chat-form .wide{grid-column:1 / -1}
.file-upload{
  border:1px dashed rgba(255,255,255,.28);
  border-radius:8px;
  padding:12px;
  background:rgba(255,255,255,.05);
}
.file-upload span{display:block;color:var(--gold-2)}
.file-upload input{
  border:0;
  padding:8px 0 0;
  background:transparent;
}
.chat-file-list{
  display:grid;
  gap:8px;
  color:var(--muted);
  font-size:.9rem;
}
.chat-file-list span{
  display:block;
  border:1px solid rgba(255,255,255,.14);
  border-radius:8px;
  padding:8px 10px;
  background:rgba(255,255,255,.06);
  direction:ltr;
  text-align:left;
}
.sr-only{
  position:absolute;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0
}

.reveal{opacity:0;transform:translateY(18px);transition:opacity .7s ease, transform .7s ease}
.reveal.is-visible{opacity:1;transform:none}

html[dir="ltr"] body{font-family:"Inter","Cairo",sans-serif}
html[dir="ltr"] .hero-copy, html[dir="ltr"] .section-intro, html[dir="ltr"] .contact-card{text-align:left}

@media (max-width: 920px){
  .menu-toggle{display:block}
  .nav-links{
    position:absolute;top:76px;inset-inline:14px;
    display:none;flex-direction:column;align-items:stretch;
    background:rgba(6,19,31,.97);
    border:1px solid var(--line);
    border-radius:22px;padding:18px;box-shadow:var(--shadow)
  }
  .nav-links.open{display:flex}
  .brand small{display:none}
  .brand-mark{width:42px;height:42px}
  .hero-grid,.two-col,.portal-grid,.contact-grid,.chat-feature-grid,.startup-chat-grid{grid-template-columns:1fr}
  .chat-actions{justify-content:flex-start}
  .experience-grid{grid-template-columns:1fr}
  .highlight-card{grid-row:auto}
  .services-grid{grid-template-columns:1fr 1fr}
  .timeline{grid-template-columns:1fr 1fr}
  .trust-strip{grid-template-columns:1fr}
  .section-pad{padding:70px 0}
}

@media (max-width: 620px){
  .services-grid,.timeline{grid-template-columns:1fr}
  h1{font-size:2.35rem}
  .phone-link{font-size:1.55rem}
  .footer-grid{display:block;text-align:center}
  .footer-links{justify-content:center;margin-top:14px}
  .cta-row .btn{width:100%}
  .floating-whatsapp{
    width:52px;
    height:52px;
    left:14px;
    bottom:84px;
  }
  .floating-chat{
    width:52px;
    height:52px;
    left:14px;
    bottom:148px;
  }
  .startup-chat-pop{bottom:18px}
  .floating-whatsapp svg{width:28px;height:28px}
  .floating-chat svg{width:28px;height:28px}
  .inline-chat-box{
    inset-inline:10px;
    bottom:10px;
    width:auto;
    max-height:calc(100vh - 20px);
  }
  .inline-chat-form{grid-template-columns:1fr}
  .inline-chat-messages{max-height:220px}
  .demo-chat-scroll{height:270px}
}

.telexam-points{margin:22px 0 0}
.brand small{max-width:450px}
