 :root{
      --bg:#0f1724;
      --card:#0b1220;
      --accent:#fb9a0b;
      --muted:#9aa6b2;
      --white:#ffffff;
      --radius:12px;
      --maxw:1100px;
      --pad:18px;
      --glass: rgba(255,255,255,0.03);
    }

    *{box-sizing:border-box}
    html,body{height:100%;margin:0;padding:0;background:var(--bg);color:var(--white);font-family:"Tajawal",system-ui,Arial; -webkit-font-smoothing:antialiased}
    a{color:var(--accent);text-decoration:none}
    .wrap{max-width:var(--maxw);margin:24px auto;padding:18px}
    /* header */
    header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
    .brand{display:flex;align-items:center;gap:12px}
    .logo{
      width:56px;height:56px;border-radius:12px;background:linear-gradient(135deg,var(--accent),#ffb86b);
      display:flex;align-items:center;justify-content:center;font-weight:800;color:#000;font-size:18px
    }
    nav.desktop{display:flex;gap:12px;align-items:center}
    .nav-btn{padding:8px 12px;border-radius:10px;background:transparent;border:1px solid rgba(255,255,255,0.06);font-weight:600}
    /* mobile nav */
    .hamb{display:none;background:transparent;border:1px solid #ffb86b ;padding:8px;border-radius:10px}
    .hamb.hamb{
      color: #ffffff;
    }
    /* hero */
    .hero{display:grid;grid-template-columns:1fr 360px;gap:20px;align-items:start}
    .hero-card{background:linear-gradient(180deg,rgba(255,255,255,0.02),transparent);padding:22px;border-radius:var(--radius);box-shadow:0 8px 30px rgba(0,0,0,0.6)}
    .hero h1{margin:0 0 6px;font-size:28px}
    .hero p{color:var(--muted);margin:0 0 12px;line-height:1.6}
    .badges{display:flex;gap:8px;flex-wrap:wrap}
    .badge{background:var(--glass);padding:6px 10px;border-radius:10px;font-size:13px;color:var(--muted)}
    .profile{background:var(--card);padding:20px;border-radius:var(--radius);text-align:center}
    .avatar{width:140px;height:140px;border-radius:50%;background:#111;margin:0 auto 12px;overflow:hidden}
    .avatar img{width:100%;height:100%;object-fit:cover;display:block}
    .profile h3{margin:8px 0 2px}
    .muted{color:var(--muted);font-size:14px}
    /* grid sections */
    .grid-two{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px}
    .card{background:var(--card);padding:16px;border-radius:12px}
    .services .item{display:flex;gap:12px;align-items:flex-start;margin-bottom:12px}
    .services .icon{width:44px;height: 44px;;border-radius:10px;background:rgba(255,255,255,0.04);display:flex;align-items:center;justify-content:center}
    .project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:12px}
    .project{background:linear-gradient(180deg,rgba(255,255,255,0.02),transparent);padding:12px;border-radius:10px;display:flex;flex-direction:column;gap:8px}
    .thumb{height:200px;border-radius:8px;background:#071024;overflow:hidden}
    .project h4{margin:0;font-size:16px}
    .project p{margin:0;color:var(--muted);font-size:13px}
    /* skiles */
    .skills-section {
  margin-top: 40px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.03));
  box-shadow: 0 8px 25px rgba(0,0,0,0.5);
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.3s ease;
}
.skills-section:hover {
  transform: translateY(-3px);
}
.section-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--accent);
}
.section-desc {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 20px;
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}
.skill-box {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: 0.3s;
}
.skill-box:hover {
  background: rgba(255,255,255,0.07);
  transform: translateY(-3px);
  border-color: var(--accent);
}
.skill-icon {
  font-size: 22px;
  background: var(--glass);
  border-radius: 10px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.skill-box strong {
  font-size: 15px;
  color: var(--white);
}
.skill-box p {
  margin: 3px 0 0;
}
    /* blog list */
    .blog-list{display:flex;flex-direction:column;gap:10px}
    .post{display:flex;gap:12px;align-items:center}
    .post-thumb{width:110px;height:70px;border-radius:8px;background:#071024}
    /* contact */
    .contact-grid{display:grid;grid-template-columns:1fr 320px;gap:18px}
    .form input,.form textarea{width:100%;padding:10px;border-radius:8px;border:1px solid rgba(255,255,255,0.04);background:transparent;color:var(--white);margin-bottom:10px}
    .btn-primary{background:var(--accent);color:#000;padding:10px 14px;border-radius:10px;font-weight:700;border:none;cursor:pointer ,}
    button.btn-primary {
       transition: all 0.2s ease;
        transform: scale(1);}
        button.btn-primary:active {
  transform: scale(0.95);
  background-color: #fb9a0b;
  box-shadow: 0 0 10px rgba(251,154,11,0.6);
}
button.btn-primary:hover {
  background-color: #ffb347;
  box-shadow: 0 0 15px rgba(251,154,11,0.4);
}



    footer{margin-top:28px;text-align:center;color:var(--muted);font-size:14px}
    /* whatsapp */
    .whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  background-color: #25D366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 999;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
}
.whatsapp-float img {
  width: 30px;
  height: 30px;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.7);
}

/* الحركة (نطّة خفيفة متكررة) */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}
.bounce {
  animation: bounce 2.5s infinite;
}
    /* responsive */
    @media (max-width:1100px){
      .hero{grid-template-columns:1fr 320px}
      .project-grid{grid-template-columns:repeat(2,1fr)}
      .grid-two{grid-template-columns:1fr}
      .contact-grid{grid-template-columns:1fr}
    }
    @media (max-width:760px){
      .hero{grid-template-columns:1fr;gap:12px}
      nav.desktop{display:none}
      .hamb{display:inline-block}
      .project-grid{grid-template-columns:1fr}
      .avatar{width:120px;height:120px}
      .brand h1{font-size:16px}
      .logo{width:48px;height:48px;font-size:16px}
      .wrap{margin:12px}
      .skills-grid {grid-template-columns: 1fr;}
      .whatsapp-float {bottom: 16px; right: 16px; width: 52px; height: 52px;}
    }

    /* small helpers */
    .row{display:flex;gap:12px;align-items:center}
    .muted-small{color:var(--muted);font-size:13px}
    .center{display:flex;align-items:center;justify-content:center}
    /* mobile menu */
    .mobile-menu{position:fixed;inset:0;background:rgba(0, 0, 0, 0.6);display:none;align-items:flex-end;justify-content:center}
    .mobile-menu .panel{background:var(--card);width:100%;padding:20px;border-radius:12px 12px 0 0}
    .mobile-menu a{display:block;padding:12px 0;border-bottom:1px dashed rgba(255,255,255,0.03)}