body {
  margin: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-family: sans-serif;
  color: #fff;
  border-radius: 50%;
  object-fit: cover;

  /* خلفية ذهبية متموجة */
  background: linear-gradient(135deg, #e7e7e6, #f9d67b, #d4af37);
  background-size: 300% 300%;
  animation: goldWave 12s ease-in-out infinite;
}

@keyframes goldWave {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

h1 {
  position: relative;
  z-index: 1;
}

.bg-logos {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.logo {
  position: absolute;
  bottom: -100px; /* يبدأ تحت الشاشة */
  opacity: 0;
  will-change: transform, opacity;
  animation-name: floatUp;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  border-radius: 50%;
  object-fit: cover;
}

@keyframes floatUp {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    transform: translateY(-120vh);
    opacity: 0;
  }
}

/* ------------------------------------------------------------------ */

/* تحسين عام للصفحة */
body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  padding: 20px;
}

/* اسم الشركة */

.firmaName {
  text-align: center;
  font-size: 36px; /* بتكبر الخط */
  font-weight: bold;
  margin-bottom: 20px;
  background: linear-gradient(-45deg, #c9b01e, #ffffff, #ffb84d, #ffd700);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  animation: waveGold 6s ease infinite;
      text-shadow: 1px 1px 3px rgba(0,0,0,0.4);

}

@keyframes waveGold {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* تصميم البطاقة */
.card {
  background: #ffffff23;
  max-width: 350px;
  width: 100%;
  text-align: center;
  border-radius: 15px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  padding: 20px;
  transition: transform 0.3s ease-in-out;
}

.card:hover {
  /* transform: scale(1.03); */
}

/* تحسين الصورة */
.card img {
  width: 60%;
  border-radius: 50%;
  border: solid 2px #000000;
}

/* تحسين النصوص */
.card h1 {
  font-size: 22px;
  margin: 10px 0;
}

.card .title {
  font-size: 16px;
  color: gray;
}

.card p {
  margin: 5px 0;
  font-size: 14px;
}

/* تصميم الأزرار */
.social-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  padding: 10px;
  border-radius: 5px;
  color: white;
  transition: 0.3s;
}

.btn i {
  margin-right: 8px;
}

/* تخصيص ألوان الأزرار */
.ort {
  background: #ff5722;
}

.call {
  background: #500161;
}

.facebook {
  background: #3b5998;
}

.instagram {
  background: #e4405f;
}

.tiktok {
  background: #000;
}

.whatsapp {
  background: #25d366;
}

.btn:hover {
  opacity: 0.7;
  box-shadow: 0px 0px 7px rgb(0, 0, 0);
}

/* تحسين التناسق للأجهزة الصغيرة */
@media (max-width: 500px) {
  .card {
    max-width: 90%;
    padding: 15px;
  }

  .card h1 {
    font-size: 20px;
  }

  .card p {
    font-size: 13px;
  }

  .btn {
    font-size: 13px;
    padding: 8px;
  }
}

/* تحسين التناسق للأجهزة الكبيرة */
@media (min-width: 768px) {
  .card {
    max-width: 400px;
  }
}

@keyframes move {
  100% {
    transform: translate3d(0, 0, 1px) rotate(360deg);
  }
}

.background {
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  background: #3e1e68;
  overflow: hidden;
  z-index: -1; /* حتى تبقى في الخلفية */
}

.background span {
  width: 20vmin;
  height: 20vmin;
  border-radius: 20vmin;
  backface-visibility: hidden;
  position: absolute;
  animation: move;
  animation-duration: 45;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.background span:nth-child(0) {
  color: #e45a84;
  top: 9%;
  left: 55%;
  animation-duration: 11s;
  animation-delay: -1s;
  transform-origin: -11vw 10vh;
  box-shadow: 40vmin 0 5.255532349460009vmin currentColor;
}
.background span:nth-child(1) {
  color: #583c87;
  top: 88%;
  left: 66%;
  animation-duration: 42s;
  animation-delay: -3s;
  transform-origin: 16vw -3vh;
  box-shadow: -40vmin 0 5.11649258506373vmin currentColor;
}
.background span:nth-child(2) {
  color: #ffacac;
  top: 56%;
  left: 47%;
  animation-duration: 45s;
  animation-delay: -30s;
  transform-origin: -12vw 14vh;
  box-shadow: -40vmin 0 5.63197903086104vmin currentColor;
}
.background span:nth-child(3) {
  color: #e45a84;
  top: 6%;
  left: 86%;
  animation-duration: 53s;
  animation-delay: -35s;
  transform-origin: 24vw 8vh;
  box-shadow: -40vmin 0 5.0010226157473125vmin currentColor;
}
.background span:nth-child(4) {
  color: #e45a84;
  top: 83%;
  left: 14%;
  animation-duration: 37s;
  animation-delay: -6s;
  transform-origin: 5vw 17vh;
  box-shadow: 40vmin 0 5.750211180025509vmin currentColor;
}
.background span:nth-child(5) {
  color: #ffacac;
  top: 50%;
  left: 71%;
  animation-duration: 26s;
  animation-delay: -34s;
  transform-origin: -12vw -8vh;
  box-shadow: -40vmin 0 5.812681403762282vmin currentColor;
}
.background span:nth-child(6) {
  color: #ffacac;
  top: 93%;
  left: 65%;
  animation-duration: 24s;
  animation-delay: -50s;
  transform-origin: -13vw -18vh;
  box-shadow: -40vmin 0 5.5981937061792255vmin currentColor;
}
.background span:nth-child(7) {
  color: #ffacac;
  top: 5%;
  left: 72%;
  animation-duration: 28s;
  animation-delay: -46s;
  transform-origin: -7vw 21vh;
  box-shadow: 40vmin 0 5.571197293680922vmin currentColor;
}
.background span:nth-child(8) {
  color: #e45a84;
  top: 95%;
  left: 73%;
  animation-duration: 15s;
  animation-delay: -11s;
  transform-origin: -9vw 8vh;
  box-shadow: 40vmin 0 5.136096452160865vmin currentColor;
}
.background span:nth-child(9) {
  color: #583c87;
  top: 27%;
  left: 26%;
  animation-duration: 18s;
  animation-delay: -31s;
  transform-origin: -16vw 21vh;
  box-shadow: 40vmin 0 5.783162955645805vmin currentColor;
}
.background span:nth-child(10) {
  color: #ffacac;
  top: 22%;
  left: 98%;
  animation-duration: 10s;
  animation-delay: -34s;
  transform-origin: 23vw 13vh;
  box-shadow: -40vmin 0 5.2727445916177vmin currentColor;
}
.background span:nth-child(11) {
  color: #ffacac;
  top: 52%;
  left: 56%;
  animation-duration: 25s;
  animation-delay: -3s;
  transform-origin: -11vw -5vh;
  box-shadow: 40vmin 0 5.685260359912835vmin currentColor;
}
.background span:nth-child(12) {
  color: #583c87;
  top: 5%;
  left: 33%;
  animation-duration: 7s;
  animation-delay: -8s;
  transform-origin: 11vw -16vh;
  box-shadow: 40vmin 0 5.800600807621421vmin currentColor;
}
.background span:nth-child(13) {
  color: #e45a84;
  top: 85%;
  left: 13%;
  animation-duration: 7s;
  animation-delay: -8s;
  transform-origin: 9vw 0vh;
  box-shadow: 40vmin 0 5.0340633233157535vmin currentColor;
}
.background span:nth-child(14) {
  color: #583c87;
  top: 5%;
  left: 57%;
  animation-duration: 38s;
  animation-delay: -22s;
  transform-origin: -18vw 6vh;
  box-shadow: -40vmin 0 5.661787875163845vmin currentColor;
}
.background span:nth-child(15) {
  color: #ffacac;
  top: 2%;
  left: 25%;
  animation-duration: 29s;
  animation-delay: -9s;
  transform-origin: 25vw 17vh;
  box-shadow: 40vmin 0 5.727032492622641vmin currentColor;
}
.background span:nth-child(16) {
  color: #ffacac;
  top: 57%;
  left: 41%;
  animation-duration: 33s;
  animation-delay: -21s;
  transform-origin: -23vw -13vh;
  box-shadow: 40vmin 0 5.220155359975568vmin currentColor;
}
.background span:nth-child(17) {
  color: #ffacac;
  top: 24%;
  left: 98%;
  animation-duration: 20s;
  animation-delay: -44s;
  transform-origin: 22vw -15vh;
  box-shadow: 40vmin 0 5.849522832545446vmin currentColor;
}
.background span:nth-child(18) {
  color: #ffacac;
  top: 46%;
  left: 22%;
  animation-duration: 43s;
  animation-delay: -14s;
  transform-origin: -21vw -6vh;
  box-shadow: 40vmin 0 5.404588242061989vmin currentColor;
}
.background span:nth-child(19) {
  color: #583c87;
  top: 88%;
  left: 26%;
  animation-duration: 43s;
  animation-delay: -38s;
  transform-origin: -13vw 21vh;
  box-shadow: 40vmin 0 5.31923348333546vmin currentColor;
}
