/* قاعدة عامة */
:root{
  --accent:#f3c13a; /* أصفر مائل كما في الصور */
  --muted:#9b9b9b;
  --card-bg:#ffffff;
  --card-shadow: 0 12px 30px rgba(11,11,11,0.04);
  --max-width:1180px;
  --container-padding:20px;
  --font-serif: "Cairo", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--font-serif);
  direction:rtl;
  color:#222;
  background:#fff;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.6;
}

/* Container */
.container{
  max-width:var(--max-width);
  margin:0 auto;
  padding:28px var(--container-padding);
}

/* Header */
.site-header{
  border-bottom:1px solid rgba(0,0,0,0.06);
  background:#fff;
  position:sticky;
  top:0;
  z-index:50;
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.logo{height:46px}
.main-nav ul{list-style:none;margin:0;padding:0;display:flex;gap:22px;align-items:center}
.main-nav a{color:#222;text-decoration:none;font-weight:600}

/* Hero */
.hero{display:flex;gap:30px;align-items:flex-start;padding:48px 0 60px}
.hero-left{flex:1;min-width:260px;padding-top:14px}
.hero-right{width:520px;display:flex;justify-content:center;align-items:center}
.hero h1{font-size:34px;margin:0 0 12px;font-weight:800}
.subtitle{color: #444;margin:6px 0 18px}
.btn-cta{display:inline-block;background:var(--accent);color:#111;padding:12px 18px;border-radius:8px;text-decoration:none;font-weight:700;box-shadow:0 6px 18px rgba(243,193,58,0.12)}
.meta{font-size:13px;color:var(--muted);margin-top:10px}
.meta a{color:var(--accent);text-decoration:none}

/* phones gallery */
.phones{position:relative;display:flex;gap:18px;justify-content:center;align-items:center}
.phone{background:#fff;border-radius:14px;padding:18px;box-shadow: var(--card-shadow);transform-origin:center;display:flex;justify-content:center;align-items:center}
.phone img{display:block;max-width:220px;height:auto;border-radius:18px}

/* position tweaks to mimic stacked phones */
.p1{transform: translateX(0) rotate(-1deg); z-index:3}
.p2{transform: translateX(-24px) translateY(6px) rotate(0deg); z-index:2}
.p3{transform: translateX(-48px) translateY(12px) rotate(2deg); z-index:1}

/* Features inline (hero) */
.features-inline{display:flex;gap:12px;margin-top:22px}
.feature-box{background:#fff;padding:18px;border-radius:10px;box-shadow: var(--card-shadow);flex:1}
.feature-box h4{margin:0 0 8px}

/* For employers */
.for-employers{padding:40px 0}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:18px}
.card{background:#fff;border-radius:12px;padding:22px;box-shadow:var(--card-shadow);min-height:110px}
.card h3{margin:0 0 10px;font-size:18px}

/* Blog teaser */
.blog-teaser{padding:40px 0 80px;text-align:center}
.blog-teaser .teaser-list{list-style:none;padding:0;margin:14px 0 0}
.blog-teaser .teaser-list li{margin:10px 0}
.blog-teaser a{color:var(--accent);text-decoration:none;font-weight:700}

/* Footer */
.site-footer{border-top:1px solid rgba(0,0,0,0.05);background:#fafafa;padding:30px 0}
.footer-grid{display:flex;gap:20px;align-items:flex-start;justify-content:space-between}
.footer-grid .col{flex:1}
.contact-col .emails a{color:var(--accent);text-decoration:none;font-weight:700}
.muted{color:var(--muted)}

/* Responsive: mobile first adjustments */
@media (max-width:980px){
  .hero{flex-direction:column-reverse;align-items:center;padding:28px 0}
  .hero-right{width:100%}
  .phones{gap:12px}
  .phone img{max-width:260px}
  .cards{grid-template-columns:1fr;align-items:stretch}
  .features-inline{flex-direction:column}
  .main-nav ul{gap:14px}
  .header-inner{padding:8px 10px}
  .logo{height:42px}
  .hero h1{font-size:28px;text-align:center}
  .hero-left{text-align:center}
  .blog-teaser{text-align:center}
  .footer-grid{flex-direction:column;gap:14px}
}

/* Small mobile tweaks */
@media (max-width:420px){
  .hero h1{font-size:22px}
  .phone img{max-width:220px}
  .btn-cta{padding:10px 14px}
}
