body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f8f8f8;
  color: #333;
  direction: rtl;
}

/* === Navbar Modern RTL === */
/* الوضع العادي (حاسوب) */
/* === Navbar Modern RTL === */
/* الوضع العادي (حاسوب) */
.navbar {
  background-color: #000;
  color: white;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
}

.navbar .logo a {
  font-size: 22px;
  font-weight: bold;
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-logo {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.navbar .menu {
  display: flex;
  gap: 20px;
  align-items: center;
}

.navbar .menu a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  padding: 8px 12px;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s;
}

.navbar .menu a:hover {
  background-color: #f57c00;
  color: black;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 2px;
}

.logo-image img {
  height: 40px;
  width: auto;
}

.logo-image {
  display: flex;
  align-items: center;
}

/* هاتف */
@media (max-width: 768px) {
  .navbar {
    justify-content: space-between;
    padding: 10px 15px;
  }

  .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .navbar .logo a {
    font-size: 20px;
    text-align: center;
  }

  .logo-image {
    position: relative;
    left: 0;
    margin-left: auto;
  }

  .logo-image img {
    height: 50px;
  }

  .hamburger {
    display: flex;
    margin-left: 10px;
  }

.navbar .menu {
  position: absolute;
  top: 60px;
  right: 0;
  width: 100%;
  flex-direction: column;
  background-color: #111;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s ease;
}

.navbar .menu.active {
  max-height: 500px; /* enough height for all items */
}

.navbar .menu a {
  padding: 12px 20px;
  width: 100%;
  border-bottom: 1px solid #333;
}
}


/* === Main Container === */
.container {
  max-width: 1000px;
  margin: 120px auto 40px;
  padding: 20px;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

h1 {
  color: #f4731f;
  margin-bottom: 20px;
}

p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.facebook-link {
  display: inline-block;
  padding: 10px 20px;
  background-color: #1877f2;
  color: white;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}

.facebook-link:hover {
  background-color: #0e5fc1;
}

/* Responsive adjustments for content */
@media (max-width: 768px) {
  .container {
    margin: 140px 10px 30px;
    padding: 15px;
  }

  p {
    font-size: 16px;
  }
}

/* === Footer === */
.footer {
  background-color: #000;
  color: #ccc;
  text-align: center;
  padding: 30px 20px;
  margin-top: 40px;
  font-size: 14px;
  border-top: 2px solid #f57c00;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.5);
}

.footer p {
  margin: 0;
  color: #aaa;
}

.footer p span {
  color: #f57c00;
  font-weight: bold;
}
footer a {
  color: #eee;           /* لون برتقالي موحد */
  text-decoration: none;    /* إزالة الخط */
  transition: color 0.3s;
  font-weight: 500;
}

footer a:hover {
  color: #ff9800;           /* لون أفتح عند التحويم */
  text-decoration: underline;
}

/* === Contact Form Styling === */
.contact-form-container {
  background-color: #1a1a1a;
  padding: 30px;
  border-radius: 10px;
  max-width: 350px;
  margin: 0 auto;
  text-align: right;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
}

.contact-form-container h4 {
  color: #f57c00;
  margin-bottom: 20px;
  font-size: 22px;
  text-align: center;
}

.contact-form-container input,
.contact-form-container textarea {
  width: 100%;
  padding: 10px 15px;
  margin-bottom: 12px;
  border: none;
  border-radius: 20px;
  font-size: 15px;
  background-color: #333;
  color: white;
}

.contact-form-container textarea {
  border-radius: 10px;
  resize: none;
}

.contact-form-container button {
  background-color: #f57c00;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 20px;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s ease;
}

.contact-form-container button:hover {
  background-color: #ff9800;
}

#formResponse {
  margin-top: 12px;
  font-size: 15px;
  text-align: center;
}

#formResponse.success {
  color: #4CAF50;
}

#formResponse.error {
  color: #ff4444;
}

@media (max-width: 480px) {
  .contact-form-container {
    padding: 20px;
    max-width: 90%;
  }

  .navbar .logo a {
    font-size: 18px;
  }
}
