/* استايل عام */
body {
  font-family: 'Cairo', Tahoma, sans-serif;
  margin: 0;
  padding: 0;
  direction: rtl;
  background: url("images/background.jpg") no-repeat center center fixed;
  background-size: cover;
  color: #333;
}

header {
  text-align: center;
  padding: 20px;
  background: rgba(0, 74, 173, 0.85);
  color: #fff;
}

header h1 {
  margin: 0;
}

header p {
  margin: 5px 0 0;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

nav a:hover {
  text-decoration: underline;
}

/* الصناديق */
.box {
  background: rgba(255, 255, 255, 0.95);
  margin: 20px auto;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 900px;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

.box h2, .box h3 {
  margin-top: 0;
  text-align: center;
}

/* النماذج */
label {
  display: block;
  margin: 10px 0 5px;
  font-weight: bold;
}

input, textarea, button {
  width: 100%;
  padding: 10px;
  margin: 8px 0 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: inherit;
  font-size: 15px;
}

textarea {
  resize: vertical;
  min-height: 100px;
}

button {
  background: #004aad;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  border: none;
  transition: 0.3s;
}

button:hover {
  background: #00337a;
}

/* معرض الصور */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}

.gallery img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* الفوتر */
footer {
  text-align: center;
  padding: 15px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  margin-top: 30px;
  font-size: 14px;
}