/* الأساس */
body {
  margin: 0;
  padding: 0;
  font-family: 'Cairo', sans-serif;
  background-color: #0e0e0e;
  color: #fff;
  overflow-x: hidden;
}

/* الخلفية المتحركة */
#bgCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  display: block;
}

/* هيكل الصفحة */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 10%;
  background: transparent;
  position: relative;
}

.content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  flex-wrap: wrap-reverse;
  gap: 40px;
}

/* النص */
.text h3 {
  color: #facc15;
  font-size: 50px;
  margin-bottom: 10px;
}

.text h1 {
  font-size: 50px;
  margin: 0;
}

.highlight {
  color: #facc15;
}

.text p {
  margin: 20px 0;
  line-height: 1.8;
  color: #ccc;
  font-size: 18px;
}

/* روابط السوشيال */
.social-links {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-links a {
  padding: 10px 18px;
  border-radius: 25px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s ease;
  font-size: 14px;
  color: #fff;
}

.social-links .snap { background: #FFFC00; color: #000; }
.social-links .tiktok { background: #000; color: #fff; }
.social-links .instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}
.social-links .facebook { background: #1877f2; }
.social-links .linkedin { background: #0a66c2; }
.social-links .telegram { background: #229ED9; }
.social-links .tellme {
  background: linear-gradient(135deg, #cb1146, #fc255b);
}

.social-links a:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

/* صورة دائرية */
.image-container {
  position: relative;
  width: 280px;
  height: 280px;
  z-index: 2;
  perspective: 1000px;
  margin-top: 20px;
}

.profile-img-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(60%) brightness(1.1);
  box-shadow: 0 30px 50px rgba(0, 255, 255, 0.1);
  transition: 0.4s ease;
  position: relative;
  z-index: 2;
}

.image-container:hover .profile-img-circle {
  filter: grayscale(10%) brightness(1.2);
  transform: scale(1.03);
}

/* دائرة الضوء */
.glow-circle {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,255,255,0.08), transparent 70%);
  animation: glowSpin 8s linear infinite;
  z-index: 1;
}

@keyframes glowSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* الهواتف */
@media (max-width: 768px) {
  .content {
    flex-direction: column-reverse;
    text-align: center;
  }

  .image-container {
    width: 200px;
    height: 200px;
    margin: 10px auto 0 auto; /* المسافة من الأعلى */
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
    border-radius: 50%;
  }

  .profile-img-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.25);
  }

  /* رفع النص والمحتويات */
  .text {
    margin-top: -20px;
  }

  .text h1 {
    font-size: 32px;
  }

  .text p {
    font-size: 16px;
  }

  .social-links {
    justify-content: center;
  }

  .social-links a {
    font-size: 13px;
    padding: 8px 14px;
  }
}
.contact-note {
  display: block;
  margin-top: 10px;
  font-size: 16px;
  color: #f0f0f0;
  opacity: 0.8;
}
