:root{
  --bg:#0b0f17;
  --card:#121a2a;
  --text:#f2f5ff;
  --muted:#a9b4d0;
  --accent:#4da3ff;
  --accent2:#ff4d7d;
  --border:rgba(255,255,255,.08);
  --shadow: 0 10px 30px rgba(0,0,0,.35);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:"Cairo",system-ui,-apple-system,Segoe UI,Roboto,Arial;
  background:
    radial-gradient(1200px 700px at 10% 10%, rgba(77,163,255,.15), transparent 50%),
    radial-gradient(900px 600px at 90% 20%, rgba(255,77,125,.12), transparent 55%),
    var(--bg);
  color:var(--text);
}

.topbar{
  position:sticky; top:0; z-index:10;
  backdrop-filter: blur(10px);
  background: rgba(11,15,23,.65);
  border-bottom:1px solid var(--border);
  padding:14px 18px;
}

.brand{
  display:flex; align-items:center; gap:12px;
  justify-content:space-between;
  flex-wrap:wrap;
}
.logo{
  width:56px;height:56px;
  object-fit:cover;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
}
.brand-text h1{margin:0;font-size:22px;letter-spacing:.2px}
.subtitle{margin:0;color:var(--muted);font-size:14px}

.nav{
  display:flex; gap:10px; flex-wrap:wrap;
  margin-top:10px;
}
.nav-link{
  color:var(--text); text-decoration:none;
  padding:8px 12px; border:1px solid var(--border);
  border-radius:999px;
  background: rgba(255,255,255,.03);
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.nav-link:hover{border-color:rgba(77,163,255,.6); transform: translateY(-1px)}
.nav-link.active{border-color: rgba(77,163,255,.85); background: rgba(77,163,255,.18)}

.container{
  max-width: 1050px;
  margin: 18px auto 60px;
  padding: 0 14px;
  display:flex;
  flex-direction:column;
  gap:16px;
}

.card{
  background: rgba(18,26,42,.85);
  border:1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 18px;
}

.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:10px;
}

h2{margin:0 0 8px;font-size:20px}
h3{margin:0;font-size:15px}
.muted{margin:0;color:var(--muted);font-size:14px}

.services{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap:12px;
}
@media (max-width: 980px){
  .services{grid-template-columns: repeat(2, minmax(0,1fr))}
}
@media (max-width: 520px){
  .services{grid-template-columns: 1fr}
}

.service{
  position:relative;
  border:1px solid var(--border);
  border-radius: 16px;
  padding:14px 14px 12px;
  background: rgba(255,255,255,.03);
  overflow:hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.service::before{
  content:"";
  position:absolute;
  inset:-2px;
  background: radial-gradient(500px 180px at 10% 20%, rgba(77,163,255,.18), transparent 55%),
              radial-gradient(500px 180px at 90% 10%, rgba(255,77,125,.14), transparent 60%);
  opacity:.0;
  transition: opacity .18s ease;
  pointer-events:none;
}
.service:hover{
  transform: translateY(-6px);
  border-color: rgba(255,255,255,.18);
  box-shadow: 0 16px 45px rgba(0,0,0,.45);
}
.service:hover::before{opacity:1}

.service-ico{
  width:54px;height:54px;
  border-radius:18px;
  display:grid;place-items:center;
  border:1px solid rgba(77,163,255,.35);
  background: rgba(77,163,255,.10);
  margin-bottom:10px;
}
.service-ico i{font-size:22px}
.service p{margin:8px 0 0; font-size:13px; color: rgba(255,255,255,.82); line-height:1.6}

.center{display:flex;justify-content:center}

.btn{
  display:inline-block;
  padding:10px 14px;
  border-radius: 12px;
  border:1px solid rgba(77,163,255,.45);
  background: rgba(77,163,255,.12);
  color: var(--text);
  text-decoration:none;
  transition: transform .14s ease, background .14s ease, border-color .14s ease, box-shadow .14s ease;
}
.btn:hover{
  background: rgba(77,163,255,.2);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
}
.btn-big{font-size:18px; padding:14px 22px; border-radius: 14px}

.btn-outline{
  background: transparent;
  border: 1px solid rgba(255,255,255,.28);
}
.btn-outline:hover{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.42);
}

.badge{
  margin:10px auto 0;
  width: fit-content;
  padding:9px 14px;
  border-radius:999px;
  background: rgba(34,197,94,.15);
  border:1px solid rgba(34,197,94,.45);
  color:#d1fae5;
  font-weight:700;
  text-align:center;
  display:flex;
  align-items:center;
  gap:8px;
}

.social-icons{
  display:flex;
  gap:12px;
  justify-content:center;
  align-items:stretch;
  flex-wrap:wrap;
  margin-top:10px;
}

.social-btn{
  min-width: 190px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 14px;
  border:1px solid var(--border);
  border-radius: 16px;
  background: rgba(255,255,255,.03);
  text-decoration:none;
  color:var(--text);
  transition: transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
.social-btn i{font-size:22px}
.social-btn:hover{
  transform: translateY(-3px);
  border-color: rgba(255,255,255,.20);
  background: rgba(255,255,255,.06);
  box-shadow: 0 14px 38px rgba(0,0,0,.42);
}
.social-btn.whatsapp i{color:#25D366}
.social-btn.facebook i{color:#1877F2}
.social-btn.instagram i{color:#E4405F}

.contact-note{
  margin: 14px 0 0;
  text-align:center;
  color: rgba(255,255,255,.8);
}

.footer{
  text-align:center;
  color:var(--muted);
  margin-top: 6px;
  font-size: 13px;
}

/* Reveal animation on scroll */
.reveal{
  opacity:0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in-view{
  opacity:1;
  transform: translateY(0);
}
