/* Mobile-First Base Styles */
.contact-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
  background: linear-gradient(
    to bottom right,
    var(--primary-50),
    var(--primary-100)
  );
}

.contact-container {
  width: 100%;
  max-width: 800px;
  background-color: transparent;
  text-align: center;
}

.contact-header h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--primary-900);
}

.contact-header p {
  color: var(--gray-700);
  margin-bottom: 30px;
  font-size: 1rem;
  line-height: 1.6;
}

.search-icon {
  background-color: transparent !important;
}

.contact-form {
  width: 100%;
}

.form-control {
  background-color: var(--white-color);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
  text-align: right;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: border-color 0.3s, box-shadow 0.3s;
  height: 56px; /* تم تصحيح 56ox إلى 56px */
}

textarea.form-control {
  height: auto;
}

.contact-form .form-control:focus {
  border-color: var(--primary-500);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.form-btn {
  height: 56px;
}

/* استخدام زر العلامة التجارية الموحّد */
.contact-form .btn-brand {
  border-radius: 8px;
  padding: 16px;
  font-weight: bold;
  width: auto;
}

/* reCAPTCHA placeholder (إن وجدت لاحقًا) */
.recaptcha-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border: 1px solid var(--gray-200);
  background-color: var(--gray-50);
  border-radius: 4px;
  margin-bottom: 20px;
  color: var(--gray-700);
}

#map {
  width: 100%;
  height: 300px; /* Optimized for mobile */
  border-radius: 15px;
  margin-top: 40px;
  border: 2px solid var(--white-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.social-icons {
  margin-top: 30px;
}

.social-icons a {
  display: inline-block;
  margin: 0 8px;
  transition: transform 0.3s ease;
}

.social-icons a:hover {
  transform: scale(1.1);
}

.social-icons img {
  width: 40px;
  height: 40px;
}

/* Tablet Styles */
@media (min-width: 768px) {
  .contact-section {
    padding: 96px;
  }

  .contact-header p {
    font-size: 1.1rem;
  }

  #map {
    height: 350px; /* Taller map for tablets */
    z-index: 1;
  }
}

/* Desktop Styles */
@media (min-width: 992px) {
  .contact-section {
    padding: 124px;
  }

  #map {
    height: 400px; /* Full height for desktops */
  }

  .social-icons a {
    margin: 0 15px;
  }
}

/* إضافات بسيطة */
.force-ltr {
  direction: ltr;
  unicode-bidi: plaintext;
}
