/* ============================
   HERO SECTION — PROFESSIONAL LOOK
============================ */
.home {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-block-start: 80px;

  /* الخلفية الأساسية للهيرو */
  background:
    radial-gradient(circle at 20% 30%, rgba(0, 238, 255, 0.18), transparent 60%),
    radial-gradient(circle at 80% 70%, rgba(180, 0, 255, 0.18), transparent 60%),
    linear-gradient(135deg, #06121f, #0a1f33);
}

/* خلفيات ناعمة */
.home::before,
.home::after {
  content: "";
  position: absolute;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
}

.home::before {
  background: #0ef;
  top: -100px;
  left: -100px;
  opacity: 0.25;
}

.home::after {
  background: #b400ff;
  bottom: -120px;
  right: -120px;
  opacity: 0.25;
}

/* النص */
.home-content {
  max-width: 600px;
}

.home-content h3 {
  font-size: 32px;
  font-weight: 700;
  color: #e2e2e2;
}

.home-content h3 span {
  color: #0ef;
}

.home-content h1 {
  font-size: 64px;
  font-weight: 800;
  margin: 10px 0;
  background: linear-gradient(90deg, #0ef, #b400ff);
  -webkit-background-clip: text;
  color: transparent;
  letter-spacing: 1px;
}

.home-content h3:nth-of-type(2) {
  margin-block-end: 25px;
  font-size: 30px;
}

.home-content p {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  color: #cfcfcf;
  margin-block-end: 10px;
}

/* Social Icons */
.home-sci a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid #b400ff;
  color: #b400ff;
  font-size: 20px;
  margin: 25px 12px 25px 0;
  transition: 0.3s ease;
}

.home-sci a:hover {
  background: #b400ff;
  color: #081b29;
  box-shadow: 0 0 20px #b400ff;
}

/* زر */
.btn {
  display: inline-block;
  padding: 12px 32px;
  background: linear-gradient(90deg, #0ef, #b400ff);
  border-radius: 40px;
  font-size: 17px;
  color: #081b29;
  font-weight: 600;
  letter-spacing: 1px;
  text-decoration: none;
  transition: 0.3s ease;
}

.btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 238, 255, 0.4);
}

/* الصورة */
.home-img {
  justify-content: flex-end;
}

.avatar-wrapper {
  width: 480px;
  height: 480px;
  border-radius: 50%;
  padding: 6px;
  background: linear-gradient(135deg, #00eaff, #b400ff);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: glow 4s ease-in-out infinite;
}

.avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s ease;
}

.avatar:hover img {
  transform: scale(1.06);
  filter: brightness(1.1);
}
/* شهب ناعمة وبطيئة */
.falling-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}
.text{
  display: inline-block;
  height: 30px;
}
/* شهب صغيرة جداً */
.falling-stars span {
  position: absolute;
  top: -10%;
  width: 1px;
  height: 40px;
  background: linear-gradient(
    180deg,
    rgba(0, 238, 255, 0.8),
    rgba(180, 0, 255, 0.0)
  );
  border-radius: 50px;
  filter: blur(0.4px);
  opacity: 0.6;
  transform: rotate(25deg);
  animation: fallStar linear infinite;
}

/* حركة أبطأ */
@keyframes fallStar {
  0% {
    transform: translateY(-150px) rotate(25deg);
    opacity: 0;
  }
  25% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(120vh) rotate(25deg);
    opacity: 0;
  }
}



/* توهج */
@keyframes glow {
  0% { box-shadow: 0 0 15px rgba(0, 238, 255, 0.4); }
  50% { box-shadow: 0 0 35px rgba(180, 0, 255, 0.5); }
  100% { box-shadow: 0 0 15px rgba(0, 238, 255, 0.4); }
}

/* موبايل */
@media (max-width: 992px) {
  .home .row {
    flex-direction: column-reverse;
    align-items: center;
    gap: 3rem;
    padding-block-start: 4rem;
  }
  .home-img{
    justify-content: center;
  }
  .home-content h1 {
    font-size: 48px;
  }

  .avatar-wrapper {
    width: 350px;
    height: 350px;
  }
}
