/* تنسيق عام */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  font-family: Arial, sans-serif;
  font-size: 20px;
  line-height: 1.6;
  background-color: #f4f4f4;
  color: #000;
  direction: rtl;
  width: 100%;
  overflow-x: hidden;
}

/* Header */
header {
  background: #002f4e;
  color: white;
  padding: 20px;
  text-align: center;
  font-size: 25px;
}

header .spinners {
  display: flex;
  justify-content: space-between; /* ⬅️ واحد يمين وواحد يسار */
  align-items: center;
  max-width: 1000px; /* عرض مناسب ضمن الشاشة */
  margin: 0 auto 20px auto; /* توسيط الحاوية نفسها */
  padding: 0 20px; /* مسافة من طرفي الشاشة */
}

.spinner {
  background-image: linear-gradient(rgb(145, 19, 19) 35%, rgb(29, 72, 129));
  width: 200px;
  height: 200px;
  animation: spinning82341 2s linear infinite;
  border-radius: 50px;
  filter: blur(1px);
  box-shadow: 0px -5px 20px rgb(186, 66, 255), 0px 5px 20px rgb(0, 225, 255);
}

.spinner1 {
  width: 200px;
  height: 200px;
  border-radius: 50px;
  filter: blur(10px);
}

@keyframes spinning82341 {
  to {
    transform: rotate(360deg);
  }
}

header ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  list-style: none;
  margin-top: 20px;
}

header ul li a {
  color: #ffffff;
  padding: 6px 15px;
  border-radius: 20px;
  text-decoration: none;
  transition: 0.3s;
}

header ul li a:hover,
.active {
  background: #440000;
}

/* Main content */
main {
  padding: 20px;
  max-width: 1000px;
  margin: auto;
  background: white;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1 {
  color: #ffffff;
}

h2, h3 {
  color: #860000;
}

section {
  margin-bottom: 20px;
}

ul {
  list-style-type: disc;
  margin-right: 20px;
}

/* Testimonials */
.testimonial {
  background: #363636;
  padding: 10px;
  border-left: 4px solid #5f0000;
  margin-bottom: 10px;
  color: #ffffff;
}

/* Footer */
footer {
  background-color: #002f4e;
  text-align: center;
  padding: 10px;
  margin-top: 40px;
}

footer ul {
  list-style: none;
  padding: 0;
}

footer ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

footer ul li a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .spinner,
  .spinner1 {
    width: 150px;
    height: 150px;
  }

  header {
    font-size: 20px;
  }

  header ul {
    flex-direction: column;
    gap: 10px;
  }

  main {
    padding: 15px;
  }
}