.contact-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  margin: 60px auto;
  max-width: 1100px;
  padding: 20px;
}

.contact-option-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.contact-option-card i {
  font-size: 30px;
  color: #0076ce;
  margin-bottom: 15px;
}

.contact-option-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.contact-option-card p {
  font-size: 14px;
  color: #555;
}

.contact-option-card .btn-primary {
  margin-top: 15px;
  display: inline-block;
  background: #0076ce;
  color: white;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
}

.contact-hero-banner { 
  position: relative;
  width: 100%;
  height: 140px;                /* ارتفاع ثابت دسکتاپ */
  min-height: 60px;            /* 👈 حداقل ارتفاع برای جلوگیری از collapse */
  background-size: cover;      /* تصویر کل بنر رو پر کنه */
  background-position: center; /* تصویر همیشه وسط باشه */
  background-repeat: no-repeat;
  display: flex;               /* برای چینش متن راحت‌تر */
  align-items: center;         /* متن وسط عمودی */
  justify-content: center;     /* متن وسط افقی */
  overflow: hidden;
  color: #fff;                 /* متن پیش‌فرض سفید */
  text-align: center;
}

.hero-overlay-text {
  position: absolute;
  top: 50%;
  left: 9%;
  transform: translateY(-50%);
  color: white;
  text-align: left;
}

.hero-overlay-text h1 {
  font-size: 2rem;
  font-weight: 500;
  margin: 0;
}

.hero-overlay-text p {
  font-size: 0.8rem;
  margin-top: 10px;
  color: #f0f0f0;
}
.contact-hero-banner img {
  max-height: 120%;     /* تا حد ارتفاع بنر پر کنه */
  height: 100px;        /* 👈 بزرگ‌ترش کن، مثلاً 100px */
  width: auto;
  object-fit: contain;  /* نسبت تصویر خراب نشه */
}
.contact-hero-banner {
  position: relative;
  width: 100%;
  height: 170px;                 /* ارتفاع بنر (قابل تغییر) */
  min-height: 100px;
  
  background-image: url('/assets/images/contact-hero.jpg'); /* 👈 مسیر تصویر */
  background-size: 160% auto;     /* بزرگ‌تر کردن تصویر */
  background-position: right center;
  background-position: 80% center; /* 👈 درصد کمتر یا بیشتر کن */
  background-repeat: no-repeat;
  background-color: #98b7cc;      /* رنگ آبی روشن پشت تصویر */
  
  display: flex;
  align-items: center;
  justify-content: flex-start;    /* متن سمت چپ قرار بگیرد */
  padding-left: 40px;             /* فاصله متن از لبه چپ */
  box-sizing: border-box;
  overflow: hidden;
  color: #fff;
}

.contact-hero-banner h1 {
  font-size: 2rem;
  font-weight: 600;
  margin: 0;
  z-index: 2;                     /* متن روی تصویر باشد */
}

.contact-hero-banner p {
  font-size: 1rem;
  margin-top: 5px;
  color: #f0f0f0;
}

@media (max-width: 768px) {
  .contact-hero-banner {
    height: 140px;
    background-size: 110%;
    background-position: 80% center;  /* صورت وسط‌تر شود */
  }

  .hero-overlay-text {
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    text-align: center;
  }

  .hero-overlay-text h1 {
    font-size: 1.8rem;
  }

  .hero-overlay-text p {
    font-size: 1rem;
  }
}

/* ===== Contact Info Section ===== */
.contact-info-section {
  margin: 60px auto;
  max-width: 1000px;
  padding: 0 20px;
}

.contact-info-section .contact-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 25px;
  text-align: center;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
}

.contact-info-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.contact-info-card i {
  font-size: 22px;
  color: #0076ce;
  margin-top: 4px;
}

.contact-info-text h4 {
  font-size: 15px;
  margin: 0 0 6px;
  font-weight: 600;
  color: #222;
}

.contact-info-text p {
  margin: 0;
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

.contact-link {
  color: #0076ce;
  text-decoration: none;
  border-bottom: 1px dotted #0076ce;
}
.contact-link:hover {
  border-bottom-style: solid;
}

