
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Cairo',sans-serif;
  background:#060816;
  color:white;
  overflow-x:hidden;
}

.hero{
  min-height:100vh;
  padding:20px 6%;
  background:
  radial-gradient(circle at top right,#1d4ed8 0%,transparent 30%),
  radial-gradient(circle at bottom left,#7c3aed 0%,transparent 30%),
  #060816;
}

nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.logo{
  font-size:26px;
  font-weight:900;
}

.hero-content{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:40px;
  margin-top:60px;
}

.text{
  flex:1;
}

.badge{
  display:inline-block;
  padding:10px 18px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.08);
  border-radius:50px;
  margin-bottom:22px;
  font-size:14px;
}

.text h1{
  font-size:62px;
  line-height:1.4;
  margin-bottom:25px;
}

.text h1 span{
  color:#60a5fa;
}

.text p{
  color:#d6d6d6;
  line-height:2;
  font-size:20px;
  margin-bottom:30px;
}

.hero-buttons{
  display:flex;
  gap:15px;
  flex-wrap:wrap;
}

.btn{
  text-decoration:none;
  padding:14px 28px;
  border-radius:16px;
  font-weight:700;
  transition:.3s;
  display:inline-block;
}

.primary{
  background:#2563eb;
  color:white;
}

.primary:hover{
  transform:translateY(-4px);
}

.secondary{
  border:1px solid rgba(255,255,255,.15);
  color:white;
}

.secondary:hover{
  background:white;
  color:black;
}

.hero-image{
  flex:1;
  position:relative;
  min-height:500px;
}

.floating-card{
  position:absolute;
  width:260px;
  padding:25px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.08);
  backdrop-filter:blur(12px);
  border-radius:24px;
  font-size:22px;
  animation:float 6s ease-in-out infinite;
  box-shadow:0 10px 40px rgba(0,0,0,.25);
}

.card1{
  top:20px;
  right:20px;
}

.card2{
  top:200px;
  left:10px;
  animation-delay:1s;
}

.card3{
  bottom:30px;
  right:70px;
  animation-delay:2s;
}

@keyframes float{
  0%,100%{
    transform:translateY(0);
  }
  50%{
    transform:translateY(-18px);
  }
}

section{
  padding:90px 6%;
}

h2{
  text-align:center;
  font-size:42px;
  margin-bottom:50px;
}

.cards{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:24px;
}

.service-card,
.about-box,
.contact-box{
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
  border-radius:28px;
  padding:35px;
  transition:.4s;
}

.service-card:hover{
  transform:translateY(-8px);
}

.icon{
  font-size:52px;
  margin-bottom:18px;
}

.service-card h3{
  margin-bottom:14px;
  font-size:28px;
}

.service-card p,
.about-box p,
.contact-box p{
  color:#d0d0d0;
  line-height:2;
}

.about-box,
.contact-box{
  max-width:800px;
  margin:auto;
  text-align:center;
}

footer{
  text-align:center;
  padding:30px;
  color:#999;
  border-top:1px solid rgba(255,255,255,.08);
}

.hidden{
  opacity:0;
  transform:translateY(30px);
  transition:1s;
}

.show{
  opacity:1;
  transform:translateY(0);
}

/* تحسينات الهاتف */

@media(max-width:992px){

  .hero-content{
    flex-direction:column;
    text-align:center;
  }

  .hero-buttons{
    justify-content:center;
  }

  .text h1{
    font-size:48px;
  }

  .hero-image{
    width:100%;
    min-height:420px;
  }

}

@media(max-width:600px){

  .hero{
    padding:18px 5%;
  }

  .logo{
    font-size:22px;
  }

  .nav-btn{
    padding:10px 18px;
    font-size:14px;
  }

  .hero-content{
    margin-top:40px;
    gap:25px;
  }

  .text h1{
    font-size:34px;
    line-height:1.6;
  }

  .text p{
    font-size:16px;
  }

  .btn{
    width:100%;
    text-align:center;
    padding:14px;
  }

  .hero-buttons{
    flex-direction:column;
  }

  .hero-image{
    min-height:330px;
  }

  .floating-card{
    width:170px;
    padding:16px;
    font-size:14px;
    border-radius:18px;
  }

  .card1{
    top:0;
    right:10px;
  }

  .card2{
    top:120px;
    left:0;
  }

  .card3{
    bottom:10px;
    right:50px;
  }

  h2{
    font-size:32px;
  }

  .service-card,
  .about-box,
  .contact-box{
    padding:26px;
  }

}
