:root{
  --brand:#e1282d; --text:#1f2937; --muted:#6b7280; --bg:#ffffff; --footer:#1f3a52;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;background:#fff;color:var(--text)}
a{color:var(--brand);text-decoration:none}
.container{max-width:1100px;margin:0 auto;padding:0 16px}
.has-topbar{padding-top:0}

/* Topbar */
.topbar{background:#0f2535;color:#fff;font-size:13px}
.container-topbar{max-width:1100px;margin:0 auto;padding:6px 16px}
.topbar-line{display:flex;gap:8px;align-items:center;justify-content:flex-end}
.tb-item a{color:#fff}

/* Header */
.inner-hero{display:flex;justify-content:space-between;align-items:center;padding:14px 0}
.logo a,.logo{font-weight:800;font-size:20px;color:var(--text)}
nav{display:flex;flex-wrap:wrap;gap:16px;align-items:center}
nav .btn{background:var(--brand);color:#fff;padding:8px 12px;border-radius:10px}

/* Hero */
.hero{position:relative}
.hero img{width:100%;height:auto;display:block;border-radius:4px}
.hero__overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.1),rgba(0,0,0,0));}

/* Cards */
.section-title{font-size:30px;margin:28px 0 6px}
.section-lead{color:var(--muted);margin:0 0 16px}
.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.card{background:linear-gradient(180deg,#ff6969,#e1282d);color:#fff;padding:24px;border-radius:16px;text-align:center;box-shadow:0 10px 24px rgba(0,0,0,.08)}
.card h3{margin:0 0 16px}
.card .btn{background:#fff;color:#e1282d;font-weight:700;padding:12px 20px;border-radius:12px;display:inline-block}

/* Join-us */
.join-us{margin:40px 0;border-radius:0}
.join-us span{font-size:16px}

/* Blog section */
.blog-section{margin:60px 0}
.blog-preview article{width:100%}

/* Footer */
.site-footer{background:#1f3a52;color:#fff;padding:30px 0;margin-top:40px}
.site-footer a{color:#fff}
.footer-bottom{opacity:.9}

/* Responsive */
@media (max-width:1024px){ .cards{grid-template-columns:repeat(2,1fr)} }
@media (max-width:640px){ .cards{grid-template-columns:1fr} nav{gap:10px} .section-title{font-size:24px} }
/* Full-width hero */
.hero-full{
  width:100vw;
  position:relative;
  left:50%;
  right:50%;
  margin-left:-50vw;
  margin-right:-50vw;
}

.hero-full img{
  width:100%;
  height:auto;
  display:block;
  object-fit:cover;
}

/* اختيارية: ارتفاع ثابت لظهور الصورة ممتدة مع قص مناسب */
@media (min-width:768px){
  .hero-full img{height:520px}
}
@media (min-width:1200px){
  .hero-full img{height:640px}
}

/* منع تضييق البانر بسبب قيود الصفحة */
main.container{overflow:visible}
/* Full-width header bar */
.full-width-header{
  width:100vw;
  position:relative;
  left:50%;
  right:50%;
  margin-left:-50vw;
  margin-right:-50vw;
  background:#ffffff;            /* لون خلفية الهيدر */
  border-bottom:1px solid rgba(0,0,0,.07);
}

.header-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:14px 16px;
}

/* تأكد من أن .logo و nav تظهر بمحاذاة مثالية */
.logo a,.logo{font-weight:800;font-size:20px;color:#1f2937}
nav{display:flex;flex-wrap:wrap;gap:16px;align-items:center}
nav .btn{background:#e1282d;color:#fff;padding:8px 12px;border-radius:10px}
