@charset "UTF-8";
/*--------------------------------------------------- font Yekan Bakh FaNum ---------------------------------------------------------*/
@font-face {
  font-family: YekanBakhFaNum;
  font-style: normal;
  font-weight: 100;
  src: url(../font/YekanBakhFaNum-thin.woff?5be880a77ead40f7e8bd30190fe008f3) format("woff"), url(../font/YekanBakhFaNum-thin.woff2?31d6cfe0d16ae931b73c59d7e0c089c0) format("woff2");
}
@font-face {
  font-family: YekanBakhFaNum;
  font-style: normal;
  font-weight: 300;
  src: url(../font/YekanBakhFaNum-Light.woff?f849c820976dcc1f1b194a595aa9157c) format("woff"), url(../font/YekanBakhFaNum-Light.woff2?31d6cfe0d16ae931b73c59d7e0c089c0) format("woff2");
}
@font-face {
  font-family: YekanBakhFaNum;
  font-style: normal;
  font-weight: normal;
  src: url(../font/YekanBakhFaNum-Regular.woff?1768f515255e2457ee3cfcdb817b15e7) format("woff"), url(../font/YekanBakhFaNum-Regular.woff2?31d6cfe0d16ae931b73c59d7e0c089c0) format("woff2");
}
@font-face {
  font-family: YekanBakhFaNum;
  font-style: normal;
  font-weight: 600;
  src: url(../font/YekanBakhFaNum-SemiBold.woff?938bcaab577a929b2de35f186300ad8a) format("woff"), url(../font/YekanBakhFaNum-SemiBold.woff2?31d6cfe0d16ae931b73c59d7e0c089c0) format("woff2");
}
@font-face {
  font-family: YekanBakhFaNum;
  font-style: normal;
  font-weight: bold;
  src: url(../font/YekanBakhFaNum-Bold.woff?b8977a5a5772c1fa41e99c586300bc65) format("woff"), url(../font/YekanBakhFaNum-Bold.woff2?31d6cfe0d16ae931b73c59d7e0c089c0) format("woff2");
}
@font-face {
  font-family: YekanBakhFaNum;
  font-style: normal;
  font-weight: 800;
  src: url(../font/YekanBakhFaNum-ExtraBold.woff?d97cd1dfe591a1e7d9ecc9974769a496) format("woff"), url(../font/YekanBakhFaNum-ExtraBold.woff2?31d6cfe0d16ae931b73c59d7e0c089c0) format("woff2");
}
@font-face {
  font-family: YekanBakhFaNum;
  font-style: normal;
  font-weight: 900;
  src: url(../font/YekanBakhFaNum-Black.woff?31a9d53a8d99ab12734d3cc99a6a8b1b) format("woff"), url(../font/YekanBakhFaNum-Black.woff2?31d6cfe0d16ae931b73c59d7e0c089c0) format("woff2");
}
@font-face {
  font-family: YekanBakhFaNum;
  font-style: normal;
  font-weight: 950;
  src: url(../font/YekanBakhFaNum-ExtraBlack.woff?07b176b473cff4dfc69d94ee0fac1d73) format("woff"), url(../font/YekanBakhFaNum-ExtraBlack.woff2?31d6cfe0d16ae931b73c59d7e0c089c0) format("woff2");
}
body {
  font-family: "YekanBakhFaNum";
  margin: 0;
  padding: 0;
  background: url(../media/bg-3.png?eaaf0200efe5483d53555cb503d030b7) no-repeat center center fixed;
  background-size: cover;
}

.form-wrapper {
  width: 650px;
  padding: 20px;
  -webkit-backdrop-filter: blur(10px) brightness(1.1);
          backdrop-filter: blur(10px) brightness(1.1);
  border-radius: 12px;
  position: absolute;
  transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;
  direction: rtl;
}

.form-wrapper__title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 30px;
  font-weight: 600;
  color: #000;
  background: rgba(255, 255, 255, 0.8666666667);
  border-radius: 10px;
}

.question-card {
  background: rgba(255, 255, 255, 0.8666666667);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  display: none;
}
.question-card.active {
  display: block;
}
.question-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}
.question-card .question-text {
  font-weight: bold;
  margin-bottom: 12px;
  display: block;
  text-align: center;
  font-size: 19px;
}
.question-card .options label {
  display: block;
  margin-bottom: 8px;
  cursor: pointer;
  transition: color 0.2s;
}
.question-card .options label:hover {
  color: #007bff;
}
.question-card .text-input {
  width: 95%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 18px;
  margin-top: 5px;
  font-family: "YekanBakhFaNum";
}

.navigation-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}
.navigation-buttons button {
  padding: 12px 20px;
  font-size: 16px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s, background-color 0.3s;
  font-family: "YekanBakhFaNum";
}
.navigation-buttons #prevBtn {
  background-color: #6c757d;
  color: #fff;
}
.navigation-buttons #prevBtn:hover {
  background-color: #5a6268;
  transform: translateY(-2px);
}
.navigation-buttons #nextBtn {
  background-color: #007bff;
  color: #fff;
}
.navigation-buttons #nextBtn:hover {
  background-color: #0069d9;
  transform: translateY(-2px);
}
.navigation-buttons #nextBtn.disabled {
  opacity: 0.7;
  pointer-events: none;
}
.navigation-buttons #submitBtn {
  background-color: #28a745;
  color: #fff;
  display: none;
}
.navigation-buttons #submitBtn:hover {
  background-color: #218838;
  transform: translateY(-2px);
}

.thank-you-message {
  text-align: center;
  padding: 40px;
  background: #f0f9f9;
  border-radius: 20px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.thank-you-message h2 {
  color: #2c7a7b;
  font-size: 24px;
}

.question-progress {
  font-size: 16px;
  font-weight: bold;
  color: #444;
  background: #f1f1f1;
  border-radius: 8px;
  display: inline-block;
  padding: 6px 12px;
  margin: 10px 0;
  direction: ltr; /* برای درست نمایش دادن 10/5 */
}

.question-progress::before {
  content: "سوال ";
  font-weight: normal;
  color: #777;
}

@media (max-width: 768px) {
  .form-wrapper {
    width: 500px;
  }
  .navigation-buttons {
    flex-direction: column-reverse;
    gap: 10px;
  }
  .form-wrapper__title {
    font-size: 20px;
    padding: 10px 0;
  }
  .question-card .question-text {
    font-size: 17px;
  }
}
@media (max-width: 576px) {
  .form-wrapper {
    width: 350px;
  }
  .form-wrapper__title {
    font-size: 18px;
  }
}
@media (max-width: 400px) {
  .form-wrapper {
    width: 320px;
  }
}
