:root{
  --bg:#07111f;
  --bg-2:#0b1628;
  --panel:rgba(255,255,255,.05);
  --panel-2:rgba(255,255,255,.03);
  --border:rgba(255,255,255,.12);
  --primary:#19c2ff;
  --primary-2:#0aa3db;
  --text:#ffffff;
  --muted:#b9c4d1;
  --radius:20px;
  --container:1200px;
  --shadow:0 12px 40px rgba(0,0,0,.25);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Tahoma, Arial, sans-serif;
  background:linear-gradient(180deg,var(--bg) 0%,var(--bg-2) 100%);
  color:var(--text);
  direction:rtl;
}
img{max-width:100%;height:auto;display:block}
a{text-decoration:none;color:inherit}
ul{margin:0;padding:0;list-style:none}

.container{
  width:min(var(--container),92%);
  margin-inline:auto;
}

.section{padding:90px 0}

.site-header{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(7,17,31,.78);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--border);
}
.header-wrap{
  min-height:82px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}
.brand-logo img,
.custom-logo{
  width:46px;
  height:46px;
  object-fit:contain;
}
.brand-text{
  font-size:22px;
  font-weight:700;
  white-space:nowrap;
}
.main-nav ul{
  display:flex;
  align-items:center;
  gap:24px;
}
.main-nav a{
  color:var(--muted);
  transition:.25s ease;
}
.main-nav a:hover{color:var(--text)}
.menu-toggle{
  display:none;
  background:transparent;
  border:1px solid var(--border);
  color:var(--text);
  border-radius:12px;
  padding:10px 12px;
  cursor:pointer;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:14px 24px;
  border-radius:999px;
  font-weight:700;
  transition:.25s ease;
}
.btn-primary{
  background:var(--primary);
  color:#03101c;
}
.btn-primary:hover{
  background:var(--primary-2);
  transform:translateY(-2px);
}
.btn-secondary{
  background:transparent;
  border:1px solid var(--border);
  color:var(--text);
}
.btn-secondary:hover{
  transform:translateY(-2px);
  border-color:rgba(25,194,255,.5);
}
.eyebrow{
  display:inline-block;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(25,194,255,.12);
  color:var(--primary);
  font-size:14px;
  margin-bottom:16px;
}
.section-heading{
  margin-bottom:32px;
}
.section-heading.center{
  text-align:center;
}
.section-heading h2{
  margin:0;
  font-size:clamp(28px,4vw,42px);
  line-height:1.3;
}
.section-heading p{
  color:var(--muted);
}

.hero-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:42px;
  align-items:center;
}
.hero-content h1{
  font-size:clamp(36px,5vw,60px);
  line-height:1.18;
  margin:0 0 10px;
}
.hero-content p{
  font-size:18px;
  line-height:1.9;
  color:var(--muted);
  margin:0 0 26px;
}
.hero-actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}
.hero-image{
  width:100%;
  border-radius:26px;
  border:1px solid var(--border);
  box-shadow:0 0 45px rgba(25,194,255,.12);
}
.hero-card{
  min-height:420px;
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:18px;
  padding:24px;
  border-radius:26px;
  background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.03));
  border:1px solid var(--border);
  box-shadow:0 0 45px rgba(25,194,255,.12);
}
.hero-card span{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:130px;
  background:var(--panel);
  border:1px solid var(--border);
  border-radius:20px;
  font-size:22px;
  font-weight:700;
}

.content-box,
.contact-box,
.cta-box{
  background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.03));
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:32px;
  box-shadow:var(--shadow);
}
.content-box p{
  line-height:2;
  color:var(--muted);
}

.services-grid,
.projects-grid,
.why-grid,
.social-grid{
  display:grid;
  gap:22px;
}
.services-grid{
  grid-template-columns:repeat(3,1fr);
}
.service-card{
  padding:24px;
  border-radius:var(--radius);
  background:var(--panel);
  border:1px solid var(--border);
  transition:.25s ease;
}
.service-card:hover,
.project-card:hover,
.social-item:hover,
.mini-card:hover{
  transform:translateY(-6px);
  border-color:rgba(25,194,255,.34);
  box-shadow:0 0 30px rgba(25,194,255,.1);
}
.service-icon{
  width:58px;
  height:58px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:16px;
  background:rgba(25,194,255,.1);
  font-size:28px;
  margin-bottom:16px;
}
.service-card h3{
  margin:0 0 12px;
  font-size:22px;
}
.service-card p{
  margin:0;
  color:var(--muted);
  line-height:1.9;
}

.why-grid{
  grid-template-columns:repeat(4,1fr);
}
.mini-card{
  padding:24px;
  border-radius:18px;
  background:var(--panel);
  border:1px solid var(--border);
  text-align:center;
  font-weight:700;
  transition:.25s ease;
}

.projects-grid{
  grid-template-columns:repeat(4,1fr);
}
.project-card{
  background:var(--panel);
  border:1px solid var(--border);
  border-radius:22px;
  overflow:hidden;
  transition:.25s ease;
}
.project-media img,
.project-placeholder{
  width:100%;
  height:240px;
  object-fit:cover;
}
.project-placeholder{
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,rgba(25,194,255,.12),rgba(255,255,255,.03));
  color:var(--muted);
  font-weight:700;
}
.project-body{
  padding:20px;
}
.project-body h3{
  margin:0 0 10px;
}
.project-body p{
  margin:0;
  color:var(--muted);
  line-height:1.8;
}

.contact-box{padding:40px 30px}
.social-grid{
  grid-template-columns:repeat(4,1fr);
  margin-top:26px;
}
.social-item{
  display:flex;
  align-items:center;
  gap:12px;
  padding:18px 16px;
  background:var(--panel);
  border:1px solid var(--border);
  border-radius:18px;
  transition:.25s ease;
}
.social-icon{
  width:42px;
  height:42px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(25,194,255,.1);
  font-weight:700;
}

.cta-box{
  text-align:center;
}
.cta-box h2{
  margin:0 0 12px;
  font-size:clamp(28px,4vw,40px);
}
.cta-box p{
  margin:0 0 20px;
  color:var(--muted);
  line-height:1.9;
}

.site-footer{
  padding:60px 0 24px;
  border-top:1px solid var(--border);
  background:rgba(0,0,0,.15);
}
.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr;
  gap:28px;
}
.footer-grid h3,
.footer-grid h4{
  margin-top:0;
}
.footer-grid p,
.footer-links a{
  color:var(--muted);
  line-height:1.9;
}
.footer-links li + li{
  margin-top:8px;
}
.footer-bottom{
  margin-top:28px;
  padding-top:20px;
  border-top:1px solid var(--border);
  text-align:center;
  color:var(--muted);
}

.center-text{text-align:center}

.whatsapp-float{
  position:fixed;
  left:20px;
  bottom:20px;
  z-index:1001;
  background:#25D366;
  color:#082012;
  padding:14px 18px;
  border-radius:999px;
  font-weight:700;
  box-shadow:0 12px 30px rgba(0,0,0,.28);
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width:1100px){
  .services-grid{grid-template-columns:repeat(2,1fr)}
  .projects-grid{grid-template-columns:repeat(2,1fr)}
  .why-grid{grid-template-columns:repeat(2,1fr)}
  .social-grid{grid-template-columns:repeat(3,1fr)}
}

@media (max-width:900px){
  .header-cta{display:none}
  .menu-toggle{display:block}
  .main-nav{
    display:none;
    position:absolute;
    top:82px;
    right:4%;
    width:92%;
    background:rgba(7,17,31,.97);
    border:1px solid var(--border);
    border-radius:18px;
    padding:16px;
  }
  .main-nav.open{display:block}
  .main-nav ul{
    flex-direction:column;
    align-items:flex-start;
    gap:14px;
  }
  .hero-grid{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
  .social-grid{grid-template-columns:repeat(2,1fr)}
}

@media (max-width:640px){
  .section{padding:70px 0}
  .brand-text{font-size:18px}
  .services-grid,
  .projects-grid,
  .why-grid,
  .social-grid,
  .footer-grid{
    grid-template-columns:1fr;
  }
  .hero-card{
    grid-template-columns:1fr 1fr;
    min-height:auto;
  }
  .content-box,
  .contact-box,
  .cta-box{
    padding:24px;
  }
}

/* --- إضافات الـ 1% للتحويل --- */
.service-cta {
  display: inline-block;
  margin-top: 15px;
  color: var(--primary);
  font-weight: bold;
  font-size: 15px;
  transition: 0.3s ease;
}
.service-cta:hover {
  color: var(--text);
  transform: translateX(-5px);
}