/* contact.css */
:root {
    --primary: #0a4b91;
    --accent: #4f46e5;
    --muted: #6b7280;
    --bg: #f7fbff;
  }
  
  body {
    font-family: 'Vazir', Tahoma, sans-serif;
    background: #fff;
    margin: 0;
    padding: 30px;
    direction: rtl;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  .contact-container {
    max-width: 1100px;
    margin: 20px auto;
  }
  
  .page-title {
    text-align: center;
    font-size: 28px;
    color: #111827;
    margin-bottom: 18px;
  }
  
  .grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 24px;
  }
  
  .left, .right { display: flex; flex-direction: column; gap: 18px; }
  
  .card {
    background: #fff;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 8px 20px rgba(17,24,39,0.06);
  }
  
  .card h3 { margin-top: 0; color: #0f172a; }
  
  .info p { margin: 8px 0; color: var(--muted); font-size: 15px; }
  
  .map iframe {
    width: 100%;
    height: 260px;
    border: none;
    border-radius: 8px;
  }
  
  /* فرم */
  .form-card h2 {
    margin: 0 0 12px 0;
    color: var(--primary);
    font-size: 20px;
  }
  
  .form-card label {
    display: block;
    margin: 10px 0 6px;
    color: #374151;
    font-size: 14px;
    text-align: right;
  }
  
  .form-card input[type="text"],
  .form-card input[type="email"],
  .form-card textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #e6eef9;
    background: #fbfdff;
    font-size: 15px;
    box-sizing: border-box;
    transition: 0.15s;
    text-align: right;
  }
  
  .form-card input:focus,
  .form-card textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 4px 18px rgba(10,75,145,0.06);
  }
  
  .btn {
    margin-top: 14px;
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 12px 18px;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background .15s;
  }
  
  .btn:hover { background: #063a6a; }
  
  /* پیام خطا و موفقیت */
  .error-box {
    background: #fff1f2;
    border: 1px solid #fecaca;
    color: #7f1d1d;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 12px;
  }
  
  .success-box {
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    color: #064e3b;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 12px;
  }
  
  /* واکنش‌گرایی */
  @media (max-width: 1000px) {
    .grid { grid-template-columns: 1fr; }
    .right { order: -1; } /* فرم بالاتر نمایش داده شود */
  }
  