* {
  box-sizing: border-box;
}

body {
  direction: rtl;
  text-align: right;
  font-family: 'Segoe UI', 'Heebo', 'Poppins', sans-serif;
  background-color: #f8f9fa;
  margin: 0;
  padding: 0;
  color: #333;
}
html, body {
  overflow-x: hidden;
  width: 100%;
}

.container {
  max-width: 1200px;
  margin: auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
}

/* === 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;
}
}

/* === Contact Form Styling === */
.contact-form-container {
  background-color: #1a1a1a;
  padding: 30px;
  border-radius: 10px;
  max-width: 400px;
  margin: 30px 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%;
  }
}

/* === Contact Section with Background Text === */
.contact-section {
  background: #fff;
  padding: 60px 20px;
  text-align: center;
}

.contact-header {
  position: relative;
  margin-bottom: 40px;
}

.contact-header h2 {
  font-size: 32px;
  margin-bottom: 10px;
  color: #111;
  position: relative;
  z-index: 2;
}

.contact-bg-text {
  font-size: 100px;
  font-weight: 800;
  color: rgba(255, 153, 0, 0.08);
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  white-space: nowrap;
}

.subtitle {
  font-size: 18px;
  color: #f57c00;
  z-index: 2;
  position: relative;
}

/* === Contact Icons / Options === */
.contact-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.contact-item {
  width: 180px;
  background: #f5f5f5;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  text-align: center;
}

.contact-item .icon i {
  font-size: 28px;
  color: #f57c00;
}

.contact-item p {
  margin: 0;
  color: #111;
  font-size: 14px;
}

/* === 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;
}
