/* فونت و ریست اولیه */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Vazir", sans-serif;
}

body {
  background: #f3f4f6;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 10px;
}

/* کانتینر کلی */
.container {
  max-width: 1000px;
  width: 100%;
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.content-wrapper {
  display: flex;
  flex-direction: row; /* برای RTL */
  flex-wrap: wrap;
}

/* بخش متن سمت چپ */
.text-section {
  flex: 1 1 400px;
  padding: 40px;
}

.subtitle {
  text-transform: uppercase;
  color: #6366f1;
  font-weight: 600;
  margin-bottom: 10px;
}

.title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
}

.description {
  color: #4b5563;
  margin-bottom: 20px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #374151;
}

.contact-item {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* بخش فرم سمت راست */
.form-section {
  flex: 1 1 400px;
  padding: 40px;
  background-color: #f9fafb;
}

form .form-group {
  margin-bottom: 15px;
}

form label {
  display: block;
  font-weight: 500;
  margin-bottom: 5px;
}

form input,
form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  outline: none;
  transition: all 0.3s ease;
}

form input:focus,
form textarea:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

/* شبکه موضوع و تلفن */
.form-grid {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.form-grid .form-group {
  flex: 1 1 45%;
}

/* دکمه ارسال */
.btn-submit {
  width: 100%;
  background-color: #6366f1;
  color: #fff;
  font-weight: 600;
  padding: 12px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  background-color: #4f46e5;
}

/* واکنشگرایی موبایل */
@media (max-width: 768px) {
  .content-wrapper {
   flex-direction: column;/* متن بالا ، فرم پایین */
  }
  .form-grid .form-group {
    flex: 1 1 100%;
  }
}
