/* 🌿 Custom Contact Page Styles */
.app {
  font-family: "IRANSans", sans-serif;
  direction: rtl;
  background-color: #ebe4dc;
  color: #222;
}

/* 🟩 Hero Section */
.hero-section {
  text-align: center;
  background: linear-gradient(135deg, #ebe4dc 0%, #ebe4dc 100%);
  color: #fff;
  padding: 4rem 1rem;
  border-bottom: none;
}

.hero-title {
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
color: #00462e;
}

.hero-s-title {
  font-size: 1.2rem;
  font-weight: 400;
  opacity: 0.9;
color:#00462e ;
}

.app-button {
  background: #e9e2da;
  color: #014a33;
  border: none;
  padding: 0.8rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.app-button:hover {
  background: #014a33;
  color: #fff;
  transform: translateY(-2px);
}

/* 🧭 Steps Section */
.daj-container {
  background: #ebe4dc;
  border-radius: 1.5rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  padding: 2rem;
  max-width: 850px;
}

.daj-title {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: #025237;
  margin-bottom: 2rem;
}

.step-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.step-item {
  position: relative;
  padding-right: 3.5rem;
}

.step-badge {
  position: absolute;
  right: 0;
  top: 0;
  background: #025237;
  color: #fff;
  width: 2.2rem;
  height: 2.2rem;
  line-height: 2.2rem;
  border-radius: 50%;
  text-align: center;
  font-weight: 700;
  font-size: 1.1rem;
margin-left: 10px;
}

.step-line {
  position: absolute;
  right: 1.05rem;
  top: 2.2rem;
  width: 2px;
  height: 100%;
  background: #c8e4d9;
  z-index: -1;
}

.step-item:last-child .step-line {
  display: none;
}

.step-text {
  font-size: 1rem;
  color: #333;
  line-height: 1.8;
}

/* 🧾 Telegram Form Container */
.form-nobat-con {
  margin-top: 2rem;
  text-align: center;
}

.stf-message {
  background: #ffeaea;
  color: #c00;
  border: 1px solid #f5c6cb;
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
}

/* 💬 FAQ Section */
.faq-container {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.faq-title {
  font-size: 1.4rem;
  color: #025237;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
}

.faq-item {
  border-bottom: 1px solid #eee;
  padding: 1rem 0;
  cursor: pointer;
}

.faq-question {
  font-weight: 600;
  color: #014a33;
  transition: color 0.3s ease;
}

.faq-item.active .faq-question {
  color: #038d5c;
}

.faq-answer {
  display: none;
  font-size: 0.95rem;
  color: #555;
  margin-top: 0.5rem;
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ☎️ Call Section Bottom */
.bg-white {
  background: #fff !important;
}

.pb-5 {
  padding-bottom: 3rem !important;
}

/* 📱 Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 1.9rem;
  }
  .daj-container {
    padding: 1.5rem;
  }
  .step-item {
    padding-right: 2.5rem;
  }
  .faq-container {
    padding: 1.5rem;
  }

.step-badge {
  position: absolute;
  right: 0;
  top: 0;
  background: #025237;
  color: #fff;
  width: 2.2rem;
  height: 2.2rem;
  line-height: 2.2rem;
  border-radius: 50%;
  text-align: center;
  font-weight: 700;
  font-size: 1.1rem;
margin-left: 10px;
}
}



.form-box-wrapper {
  width: 100%;
  display: flex;
  justify-content: flex-end; /* کل باکس میره سمت راست */
  direction: rtl; 
}

.form-nobat-con {
  width: 420px;
  max-width: 100%;
  background: none;
  border: 1px solid #eee;
  border-radius: 15px;
  padding: 0px 0px;
  box-shadow: none;
  text-align: right;
  direction: rtl;
  font-family: "IRANSansX", sans-serif;
}

/* متن پیام‌ها */
.stf-message {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeeba;
  padding: 1rem 1.2rem;
  border-radius: 10px;
  margin-top: 1rem;
  font-size: 0.95rem;
  text-align: right;
  line-height: 1.8;
}

.stf-message code {
  background: #f9f2f4;
  padding: 0.1rem 0.4rem;
  border-radius: 5px;
  color: #c7254e;
}

.stf-error {
  background: #fdecea;
  border-color: #f5c2c7;
  color: #b42318;
}

/* در موبایل وسط‌چین شود */
@media (max-width: 768px) {
  .form-box-wrapper {
    justify-content: center;
  }
  .form-nobat-con {
    width: 100%;
    padding: 0px;
  }
}