/* Hospital Express — shared styles
   Brand: Top HTLS LLC / Egyptian Company for Data Security (EgData.net)
*/

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root{
  --teal-900:#0a3d37;
  --teal-800:#0d4f47;
  --teal-700:#0f6e63;
  --teal-600:#128574;
  --teal-500:#17a08c;
  --teal-100:#e3f2ee;
  --teal-50:#f3faf8;
  --ink-900:#0f1e1c;
  --ink-700:#33453f;
  --ink-500:#5d6f68;
  --ink-300:#9aabA4;
  --line:#dde9e5;
  --paper:#ffffff;
  --bg:#f7faf9;
  --amber-600:#e07a2c;
  --amber-500:#f0923d;
  --amber-100:#fdecdb;
  --red-600:#c0432f;
  --shadow-sm: 0 1px 2px rgba(15,30,28,.06), 0 1px 1px rgba(15,30,28,.04);
  --shadow-md: 0 8px 24px rgba(10,61,55,.10), 0 2px 6px rgba(10,61,55,.06);
  --shadow-lg: 0 20px 48px rgba(10,61,55,.16), 0 6px 16px rgba(10,61,55,.08);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1160px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; font-size:17.5px; }
body{
  margin:0;
  font-family:'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color:var(--ink-700);
  background:var(--bg);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
code{
  font-family:'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  background:var(--teal-100); color:var(--teal-800);
  padding:2px 7px; border-radius:6px; font-size:.9em; white-space:nowrap;
}
h1,h2,h3,h4{
  font-family:'Plus Jakarta Sans','Inter',sans-serif;
  color:var(--ink-900);
  line-height:1.2;
  margin:0 0 .5em;
  letter-spacing:-0.01em;
}
p{ margin:0 0 1em; }
a{ color:var(--teal-700); text-decoration:none; }
img{ max-width:100%; display:block; }
ul{ margin:0; padding:0; list-style:none; }
.container{ max-width:var(--maxw); margin:0 auto; padding:0 24px; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:13px 24px; border-radius:999px; font-weight:600; font-size:.96rem;
  border:1px solid transparent; cursor:pointer; transition:.18s ease;
  white-space:nowrap;
}
.btn-primary{ background:var(--amber-600); color:#fff; box-shadow:var(--shadow-sm); }
.btn-primary:hover{ background:var(--amber-500); transform:translateY(-1px); box-shadow:var(--shadow-md); }
.btn-outline{ background:transparent; border-color:rgba(255,255,255,.5); color:#fff; }
.btn-outline:hover{ background:rgba(255,255,255,.12); }
.btn-teal{ background:var(--teal-700); color:#fff; }
.btn-teal:hover{ background:var(--teal-600); transform:translateY(-1px); box-shadow:var(--shadow-md); }
.btn-ghost{ background:var(--teal-50); color:var(--teal-800); border-color:var(--line); }
.btn-ghost:hover{ background:var(--teal-100); }
.btn-lg{ padding:16px 30px; font-size:1.02rem; }
.btn-sm{ padding:9px 18px; font-size:.86rem; }

/* ---------- Header ---------- */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.92); backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line);
}
.site-header .container{ display:flex; align-items:center; justify-content:space-between; height:76px; }
.brand{ display:flex; align-items:center; gap:12px; font-weight:800; color:var(--ink-900); font-size:1.15rem; }
.brand img{ height:38px; width:38px; }
.brand .brand-sub{ display:block; font-size:.66rem; font-weight:600; color:var(--ink-500); letter-spacing:.06em; text-transform:uppercase; margin-top:-2px; }
.nav-links{ display:flex; align-items:center; gap:30px; }
.nav-links a{ color:var(--ink-700); font-weight:600; font-size:.94rem; }
.nav-links a:hover{ color:var(--teal-700); }
.nav-links a.active{ color:var(--teal-800); }
.header-actions{ display:flex; align-items:center; gap:16px; }
.header-phone{ font-weight:600; color:var(--teal-800); font-size:.92rem; display:flex; align-items:center; gap:6px; }
.nav-toggle{ display:none; background:none; border:1px solid var(--line); border-radius:8px; padding:8px 10px; cursor:pointer; }
.nav-toggle span{ display:block; width:20px; height:2px; background:var(--ink-900); margin:4px 0; border-radius:2px; }

@media (max-width:920px){
  .nav-links{ position:fixed; inset:76px 0 0 0; background:#fff; flex-direction:column; padding:28px 24px;
    gap:22px; transform:translateY(-12px); opacity:0; pointer-events:none; transition:.2s ease; }
  .nav-links.open{ transform:translateY(0); opacity:1; pointer-events:auto; }
  .nav-toggle{ display:block; }
  .header-phone{ display:none; }
}

/* ---------- Hero ---------- */
.hero{
  background:
    linear-gradient(180deg, rgba(10,61,55,.94) 0%, rgba(13,79,71,.92) 55%, rgba(15,110,99,.90) 100%),
    url('../img/photos/consultation.jpg');
  background-size:cover; background-position:center 30%;
  color:#fff; padding:76px 0 96px; position:relative; overflow:hidden;
}
.hero::after{
  content:""; position:absolute; inset:auto -10% -40% auto; width:640px; height:640px; border-radius:50%;
  background:radial-gradient(closest-side, rgba(240,146,61,.18), transparent 70%);
}

/* ---------- Photo banners ---------- */
.photo-banner{
  border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-lg); position:relative;
  aspect-ratio:4/3; align-self:start; width:100%;
}
.photo-banner.square{ aspect-ratio:1/1; max-width:440px; margin:0 auto; }
.photo-banner img{ width:100%; height:100%; object-fit:cover; object-position:center 20%; display:block; }
.page-hero.with-photo{
  background:
    linear-gradient(180deg, rgba(10,61,55,.90) 0%, rgba(13,79,71,.88) 100%),
    url('../img/photos/doctor-portrait.jpg');
  background-size:cover; background-position:center 15%;
}
.hero .container{ position:relative; z-index:1; }
.hero-grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center; }
.eyebrow{
  display:inline-flex; align-items:center; gap:8px; background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.18);
  padding:7px 14px; border-radius:999px; font-size:.8rem; font-weight:600; color:#dff3ee; margin-bottom:20px;
}
.hero h1{ color:#fff; font-size:2.7rem; margin-bottom:.4em; }
.hero p.lead{ color:#d7e9e4; font-size:1.12rem; max-width:52ch; margin-bottom:1.6em; }
.hero-ctas{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom:36px; }
.hero-stats{ display:flex; gap:28px; flex-wrap:wrap; }
.hero-stats div{ min-width:120px; }
.hero-stats strong{ display:block; font-size:1.5rem; color:#fff; font-family:'Plus Jakarta Sans',sans-serif; }
.hero-stats span{ font-size:.8rem; color:#bfe0d8; }

@media (max-width:920px){
  .hero-grid{ grid-template-columns:1fr; }
  .hero h1{ font-size:2.1rem; }
}

/* ---------- Section basics ---------- */
section{ padding:88px 0; }
.section-head{ max-width:640px; margin:0 auto 48px; text-align:center; }
.section-head.left{ margin:0 0 44px; text-align:left; }
.kicker{ color:var(--teal-700); font-weight:700; font-size:.82rem; letter-spacing:.08em; text-transform:uppercase; margin-bottom:10px; display:block; }
.section-head h2{ font-size:2rem; }
.section-head p{ color:var(--ink-500); font-size:1.04rem; }
.bg-alt{ background:var(--paper); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.bg-teal{ background:var(--teal-900); color:#fff; }
.bg-teal h2, .bg-teal h3{ color:#fff; }
.bg-teal p{ color:#cfe6df; }

/* ---------- Cards / Grids ---------- */
.grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.grid-2{ display:grid; grid-template-columns:repeat(2,1fr); gap:26px; }
.grid-4{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
@media (max-width:920px){ .grid-3,.grid-4{ grid-template-columns:repeat(2,1fr); } .grid-2{ grid-template-columns:1fr; } }
@media (max-width:640px){ .grid-3,.grid-4{ grid-template-columns:1fr; } }

.card{
  background:var(--paper); border:1px solid var(--line); border-radius:var(--radius);
  padding:28px; box-shadow:var(--shadow-sm); transition:.18s ease;
}
.card:hover{ box-shadow:var(--shadow-md); transform:translateY(-2px); }
.feature-icon{
  width:46px; height:46px; border-radius:12px; background:var(--teal-100); color:var(--teal-700);
  display:flex; align-items:center; justify-content:center; font-size:1.3rem; margin-bottom:16px;
}
.card h3{ font-size:1.08rem; margin-bottom:8px; }
.card p{ color:var(--ink-500); font-size:.94rem; margin-bottom:0; }
.card .tag{
  display:inline-block; font-size:.72rem; font-weight:700; color:var(--teal-700); background:var(--teal-100);
  padding:3px 9px; border-radius:6px; margin-bottom:10px; letter-spacing:.03em; text-transform:uppercase;
}

.pill-list li{ position:relative; padding:9px 0 9px 28px; color:var(--ink-700); font-size:1.02rem; line-height:1.65; }
.pill-list li::before{ content:"✓"; color:var(--teal-600); font-weight:800; position:absolute; left:0; top:9px; }

/* ---------- Workflow timeline ---------- */
.timeline{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; position:relative; }
.timeline .card{ position:relative; }
.timeline .step-no{
  width:34px; height:34px; border-radius:50%; background:var(--teal-800); color:#fff; font-weight:700;
  display:flex; align-items:center; justify-content:center; margin-bottom:14px; font-family:'Plus Jakarta Sans';
}
@media (max-width:920px){ .timeline{ grid-template-columns:1fr; } }

/* ---------- Mockup UI chrome (for coded screenshots) ---------- */
.mock-window{
  background:#fff; border-radius:14px; border:1px solid var(--line); box-shadow:var(--shadow-lg);
  overflow:hidden;
}
.mock-titlebar{
  background:var(--teal-800); color:#fff; padding:10px 16px; display:flex; align-items:center; gap:10px;
  font-size:.8rem; font-weight:600;
}
.mock-titlebar .dots{ display:flex; gap:6px; margin-right:8px; }
.mock-titlebar .dots span{ width:9px; height:9px; border-radius:50%; background:rgba(255,255,255,.35); }
.mock-body{ padding:0; background:#f4f8f7; }
.mock-topnav{
  display:flex; align-items:center; gap:18px; background:#fff; border-bottom:1px solid var(--line);
  padding:10px 18px; font-size:.78rem; color:var(--ink-500); font-weight:600; overflow-x:auto;
}
.mock-topnav .cur{ color:var(--teal-800); }

/* Cashier fast dashboard mock */
.mock-tiles{ display:grid; grid-template-columns:repeat(4,1fr); gap:10px; padding:16px; }
.tile{ border-radius:10px; padding:14px 12px; color:#fff; font-size:.8rem; font-weight:700; min-height:64px; display:flex; flex-direction:column; justify-content:space-between; }
.tile span.count{ font-weight:800; font-size:1rem; }
.tile.t1{ background:#e0862c; } .tile.t2{ background:#d3a11f; } .tile.t3{ background:#1a8f7c; }
.tile.t4{ background:#c1493f; } .tile.t5{ background:#3d8ec9; } .tile.t6{ background:#6a5bc4; }
.tile.t7{ background:#3aa17e; } .tile.t8{ background:#c76fae; }

/* Visit workflow status bar mock */
.mock-statusbar{ display:flex; background:#fff; border-bottom:1px solid var(--line); font-size:.72rem; font-weight:700; color:var(--ink-300); }
.mock-statusbar div{ padding:10px 14px; border-right:1px solid var(--line); }
.mock-statusbar div.on{ background:var(--teal-700); color:#fff; }
.mock-form-row{ display:flex; justify-content:space-between; padding:10px 18px; border-bottom:1px solid #eef3f1; font-size:.82rem; }
.mock-form-row b{ color:var(--ink-900); font-weight:600; }
.mock-form-row span{ color:var(--ink-500); }
.mock-table{ width:100%; border-collapse:collapse; font-size:.78rem; }
.mock-table th{ text-align:left; background:#eef5f3; color:var(--ink-500); font-weight:700; padding:8px 12px; }
.mock-table td{ padding:8px 12px; border-top:1px solid #eef3f1; color:var(--ink-700); }
.badge{ display:inline-block; padding:2px 9px; border-radius:999px; font-size:.68rem; font-weight:700; }
.badge-green{ background:#dcf3ea; color:#0d6e47; }
.badge-amber{ background:var(--amber-100); color:var(--amber-600); }
.badge-red{ background:#fbe1dc; color:var(--red-600); }
.badge-teal{ background:var(--teal-100); color:var(--teal-700); }

/* Cashier shift balance mock */
.mock-balance{ display:grid; grid-template-columns:1fr 1fr; gap:0; padding:16px 18px; }
.mock-balance .col + .col{ border-left:1px solid #eef3f1; padding-left:20px; }
.balance-row{ display:flex; justify-content:space-between; padding:6px 0; font-size:.82rem; }
.balance-row.total{ border-top:1px dashed var(--line); margin-top:6px; padding-top:10px; font-weight:700; color:var(--ink-900); }

/* Screenshot gallery tabs */
.tabs{ display:flex; gap:8px; flex-wrap:wrap; justify-content:center; margin-bottom:32px; }
.tab-btn{ padding:9px 18px; border-radius:999px; border:1px solid var(--line); background:#fff; font-weight:600; font-size:.86rem; cursor:pointer; color:var(--ink-700); }
.tab-btn.active{ background:var(--teal-800); color:#fff; border-color:var(--teal-800); }
.tab-panel{ display:none; }
.tab-panel.active{ display:block; }
.gallery-caption{ text-align:center; max-width:560px; margin:20px auto 0; color:var(--ink-500); font-size:.94rem; }
.gallery-caption h3{ color:var(--ink-900); margin-bottom:6px; }

/* Stat row */
.stat-row{ display:flex; justify-content:center; gap:56px; flex-wrap:wrap; text-align:center; }
.stat-row strong{ display:block; font-size:2.1rem; font-family:'Plus Jakarta Sans'; color:var(--teal-800); }
.stat-row span{ color:var(--ink-500); font-size:.86rem; }
.bg-teal .stat-row strong{ color:#fff; }
.bg-teal .stat-row span{ color:#bfe0d8; }

/* Pricing */
.price-card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:34px 28px; box-shadow:var(--shadow-sm); display:flex; flex-direction:column; }
.price-card.featured{ border-color:var(--teal-600); box-shadow:var(--shadow-lg); position:relative; }
.price-card.featured::before{
  content:"Most chosen"; position:absolute; top:-13px; left:28px; background:var(--amber-600); color:#fff;
  font-size:.7rem; font-weight:700; padding:4px 12px; border-radius:999px;
}
.price-card h3{ font-size:1.2rem; }
.price-card .price-note{ color:var(--ink-500); font-size:.88rem; margin-bottom:18px; }
.price-card .pill-list{ flex:1; margin-bottom:22px; }

/* CTA banner */
.cta-banner{ background:linear-gradient(135deg,var(--teal-800),var(--teal-600)); border-radius:24px; padding:56px; color:#fff; text-align:center; }
.cta-banner h2{ color:#fff; }
.cta-banner p{ color:#d7e9e4; max-width:52ch; margin:0 auto 28px; }

/* Footer */
.site-footer{ background:var(--teal-900); color:#cfe6df; padding:64px 0 28px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.3fr; gap:36px; margin-bottom:48px; }
.footer-brand{ display:flex; align-items:center; gap:10px; margin-bottom:14px; }
.footer-brand img{ height:32px; width:32px; }
.footer-brand strong{ color:#fff; font-family:'Plus Jakarta Sans'; font-size:1.05rem; }
.site-footer h4{ color:#fff; font-size:.86rem; text-transform:uppercase; letter-spacing:.06em; margin-bottom:16px; }
.site-footer p{ font-size:.9rem; color:#a9c9c0; }
.site-footer ul li{ margin-bottom:10px; }
.site-footer a{ color:#cfe6df; font-size:.9rem; }
.site-footer a:hover{ color:#fff; }
.footer-bottom{ border-top:1px solid rgba(255,255,255,.12); padding-top:22px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; font-size:.82rem; color:#8fb3aa; }
@media (max-width:920px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:640px){ .footer-grid{ grid-template-columns:1fr; } }

/* Page header (inner pages) */
.page-hero{ background:var(--teal-900); color:#fff; padding:56px 0 64px; }
.page-hero h1{ color:#fff; font-size:2.2rem; }
.page-hero p{ color:#d7e9e4; max-width:60ch; }
.breadcrumb{ font-size:.82rem; color:#9fcbc0; margin-bottom:14px; }
.breadcrumb a{ color:#cfe6df; }

/* Forms */
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.form-grid .full{ grid-column:1 / -1; }
label{ display:block; font-size:.86rem; font-weight:600; color:var(--ink-700); margin-bottom:6px; }
input,select,textarea{
  width:100%; padding:12px 14px; border-radius:10px; border:1px solid var(--line); font-family:inherit; font-size:.94rem;
  background:#fff; color:var(--ink-900);
}
input:focus,select:focus,textarea:focus{ outline:2px solid var(--teal-500); outline-offset:1px; }
textarea{ resize:vertical; min-height:120px; }
@media (max-width:640px){ .form-grid{ grid-template-columns:1fr; } }

/* Utility */
.text-center{ text-align:center; }
.mt-0{ margin-top:0; }
.small{ font-size:.86rem; color:var(--ink-500); }
.divider{ height:1px; background:var(--line); border:none; margin:0; }
.tag-row{ display:flex; gap:8px; flex-wrap:wrap; margin-bottom:16px; }
.chip{ font-size:.74rem; font-weight:700; background:var(--teal-100); color:var(--teal-700); padding:4px 10px; border-radius:999px; }
.rtl-sample{ direction:rtl; text-align:right; font-family:'Segoe UI',Tahoma,sans-serif; }

/* ---------- Icon system (replaces emoji for reliable cross-platform rendering) ---------- */
.icon{ width:1em; height:1em; display:inline-block; vertical-align:-0.14em; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.icon-circle{
  width:44px; height:44px; min-width:44px; border-radius:12px; background:var(--teal-100); color:var(--teal-700);
  display:flex; align-items:center; justify-content:center; font-size:1.15rem;
}
.info-row{ display:flex; gap:16px; align-items:flex-start; padding:20px 0; }
.info-row + .info-row{ border-top:1px solid var(--line); }
.info-row h4{ margin:0 0 4px; font-size:1rem; color:var(--ink-900); text-transform:none; letter-spacing:0; }
.info-row p{ margin:0; font-size:.9rem; color:var(--ink-500); }
.info-row a{ font-weight:600; }
.header-phone .icon{ margin-right:2px; }

/* ---------- Jump nav (long feature pages) ---------- */
.jump-nav{
  position:sticky; top:76px; z-index:30; background:#fff; border-bottom:1px solid var(--line);
  overflow-x:auto; white-space:nowrap; padding:14px 0;
}
.jump-nav .container{ display:flex; gap:8px; }
.jump-nav a{
  flex:none; font-size:.82rem; font-weight:600; color:var(--ink-500); padding:7px 14px; border-radius:999px;
  border:1px solid var(--line); white-space:nowrap;
}
.jump-nav a:hover{ color:var(--teal-800); border-color:var(--teal-300,var(--teal-500)); background:var(--teal-50); }
.module-section{ scroll-margin-top:130px; }
.role-card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:26px; text-align:center; }
.role-card .role-avatar{
  width:56px; height:56px; border-radius:50%; background:var(--teal-100); color:var(--teal-700); margin:0 auto 14px;
  display:flex; align-items:center; justify-content:center; font-size:1.5rem;
}
.journey-strip{ display:grid; grid-template-columns:repeat(5,1fr); gap:0; position:relative; }
.journey-strip::before{ content:""; position:absolute; top:27px; left:5%; right:5%; height:2px; background:var(--line); z-index:0; }
.journey-step{ position:relative; z-index:1; text-align:center; padding:0 10px; }
.journey-step .num{
  width:54px; height:54px; border-radius:50%; background:#fff; border:2px solid var(--teal-600); color:var(--teal-700);
  display:flex; align-items:center; justify-content:center; margin:0 auto 14px; font-weight:800; font-family:'Plus Jakarta Sans'; font-size:1.2rem;
}
.journey-step h4{ font-size:.94rem; margin-bottom:6px; }
.journey-step p{ font-size:.82rem; color:var(--ink-500); }
@media (max-width:920px){
  .journey-strip{ grid-template-columns:1fr; gap:22px; }
  .journey-strip::before{ display:none; }
}
