.privacy-section {
  font-family: "Cairo", "Poppins", sans-serif;
  background: linear-gradient(to bottom right, #f9fafb, #eef2f7);
  color: #2b2b2b;
  line-height: 1.8;
  padding: 60px 25px;
  max-width: 950px;
  margin: 80px auto;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.privacy-section h1 {
  text-align: center;
  font-size: 2.2rem;
  color: #007bff;
  font-weight: 700;
  margin-bottom: 40px;
  position: relative;
}
.privacy-section h1::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #007bff;
  margin: 12px auto 0;
  border-radius: 2px;
}

.privacy-section h2 {
  color: #007bff;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.privacy-section p,
.privacy-section li {
  color: #555;
  text-align: justify;
}

.privacy-section ul {
  margin: 10px 0 20px 30px;
  list-style-type: disc;
}

.privacy-section a {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}
.privacy-section a:hover {
  color: #0056b3;
  text-decoration: underline;
}

.last-update {
  text-align: center !important;
  color: gray;
  margin-top: 40px;
  font-size: 0.9rem;
}

/* 🌗 الوضع الليلي */
body.dark-mode .privacy-section {
  background: #1e1e1e;
  color: #e0e0e0;
  box-shadow: none;
}
body.dark-mode .privacy-section h1,
body.dark-mode .privacy-section h2 {
  color: #00bcd4;
}
body.dark-mode .privacy-section a {
  color: #00bcd4;
}



/* 📱 التجاوب */
@media (max-width: 768px) {
  .privacy-section {
    padding: 35px 18px;
    margin: 40px 10px;
  }
  .privacy-section h1 {
    font-size: 1.8rem;
  }
  .privacy-section h2 {
    font-size: 1.15rem;
  }
}
