/* =========================================================
   pages.css — استایل‌های اختصاصی صفحات درباره ما و تماس با ما
   می‌توانید هر استایلی را به دلخواه اضافه، حذف یا تغییر دهید
   ========================================================= */

.page-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.page-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.page-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.page-subtitle {
  font-size: 1.125rem;
  color: #64748b;
}

.page-content {
  background: #fff;
  border-radius: 1.5rem;
  border: 1px solid #e2e8f0;
  padding: 2.5rem;
  line-height: 1.8;
  color: #334155;
}

/* ----- بخش‌های درباره ما ----- */
.about-section {
  margin-bottom: 2.5rem;
}

.about-section:last-child {
  margin-bottom: 0;
}

.about-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #0284c7;
  display: inline-block;
}

.about-section p {
  margin-bottom: 1rem;
}

.about-section ul {
  list-style: disc;
  padding-right: 1.5rem;
  margin-top: 0.5rem;
}

.about-section li {
  margin-bottom: 0.5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.feature-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #0284c7;
  margin-bottom: 0.5rem;
}

/* ----- چیدمان دو ستونه صفحه تماس ----- */
.contact-page .page-container {
  max-width: 1100px;
}

.contact-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  direction: rtl;
}

.contact-col-right,
.contact-col-left {
  min-width: 0;
}

.contact-hero-img {
  width: 100%;
  height: auto;
  border-radius: 1.5rem;
  object-fit: cover;
  max-height: 565px;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.15);
}







/* 
.contact-col-left .page-content {
  height: 100%;
  width: 145%;
} */

/* دسکتاپ */

@media (min-width: 769px) {
  .contact-col-left .page-content {
    height: 100%;
    width: 145%;
  }
}

/* موبایل */
@media (max-width: 768px) {
  .contact-col-left .page-content {
    height: auto;
    width: 100%;
  }
}


@media (max-width: 768px) {
  .contact-two-col {
    grid-template-columns: 1fr;
  }
  .contact-hero-img {
    max-height: 500px;
  }
}

/* ----- بخش‌های تماس با ما ----- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info h2,
.contact-form-wrapper h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1.5rem;
}

.contact-item {
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #f1f5f9;
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-item strong {
  display: block;
  color: #0284c7;
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

.contact-item a {
  color: #0369a1;
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

.contact-form .form-group {
  margin-bottom: 1.25rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 500;
  color: #475569;
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.75rem;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.contact-form .btn {
  width: 100%;
  margin-top: 0.5rem;
}

.form-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: #94a3b8;
  text-align: center;
}

/* ----- واکنش‌گرا ----- */
@media (max-width: 640px) {
  .page-container {
    padding: 2rem 1rem;
  }
  .page-content {
    padding: 1.5rem;
  }
  .page-title {
    font-size: 1.75rem;
  }
}
