.content
{
  margin-top: 3%;
  margin-bottom: 20% !important;
  height: auto;
}
.breadcrumb {

  align-items: center;
  font-size: 15px;
  padding-right: 20px; 
}
.breadcrumb svg
{
  margin-left: 1%;
  margin-right: 1%;
}

.breadcrumb a {
  color: #aaa;
  text-decoration: none; 
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: #fff; 
}

.breadcrumb .separator {
  margin: 0 8px;
  color: #666;
}

.breadcrumb .current {
  font-weight: bold;
  color: #fff;
}
.faq-section {
  height: 455px;
  margin: 40px auto;
  margin-bottom: 210px;
  text-align: right; 
  align-items: center;
  color: #fff;
}


.faq-section h2 {
  text-align: center;
  margin-bottom: 30px;
  margin-top: 5%;
}

.faq-tabs-wrapper {
  margin: 0 9%;
  font-size: 20px;
  position: relative;
  overflow-x: auto;   /* اسکرول افقی */
}
.faq-tabs-container {
  overflow-x: auto;
  white-space: nowrap;   /* مانع شکستن آیتم‌ها */
  -ms-overflow-style: none;  /* IE */
  scrollbar-width: none;     /* Firefox */
  background: transparent;
}
.faq-tabs-container::-webkit-scrollbar {
  display: none; /* Chrome/Safari/Edge */
}
.faq-dropdown {
  display: none;
  width: 100%;
  padding: 8px;
  margin-bottom: 8px;
  border-radius: 6px;
}
.faq-tabs {
  display: flex;        /* فلکس برای فاصله‌ها */
  flex-wrap: nowrap;    /* همه در یک خط */
  gap: 10px;            /* فاصله بین label ها */
  justify-content: flex-start; /* از اول شروع بشه */
  scrollbar-width: thin;  /* برای فایرفاکس */
  -ms-overflow-style: auto; /* IE */
  -ms-overflow-style: none;  /* IE و Edge قدیمی */
  scrollbar-width: none;     /* Firefox */

}
.faq-tabs input {
  display: none;
}
.faq-tabs select{
  display: none;
}

  .faq-tabs label {
  margin: 0 15px;
  padding: 8px 30px;
  border: 1px solid transparent;
  cursor: pointer;
  border-radius: 6px;
  transition: 0.3s;
  background: transparent;
  font-style: bold;
  }

  .faq-tabs input:checked + label + .faq-answer {
    display: block; /* وقتی radio انتخاب شد، جواب نمایش داده شود */
  }
  .faq-tabs input:checked + label {
    border: 1px solid #fff;
    box-shadow: 0 0 8px rgba(255,255,255,0.2);
    background: #33333368;
  }
  .faq-divider {
  height: 2px;
  margin: 20px 0;
  background: linear-gradient(to right, transparent, #fff, transparent);
  }

.faq-questions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items:center ;
  margin-top: 4%;
}

.faq-item {
  display: flex;
  align-items: center; 
  justify-content: space-between; 
  width: 450px;
  height: 80px;
  padding: 14px 18px;
  border-radius: 8px;
  background: linear-gradient(to left, #373737 0%, #1E1C1D 50%)!important;
  transition: all 0.3s;
  position: relative;
  z-index: 1;
  
}

.faq-question {
  display: flex;
  cursor: pointer;
  font-weight: bold;
  position: relative;
  font-size: 24px;

}

.faq-item svg
{
  cursor: pointer;
}

.faq-answer-box {
  height: auto;
  margin-top: -433px!important;
  margin-right: 40%!important;
  flex: 1;
  background: transparent;
  padding: 16px;
  color: #fff;
  font-size: 14px;
  line-height: 1.6;
  min-height: 150px; /* همیشه جا داشته باشه */
  transition: all 0.3s ease;
}

.faq-item.active {
  border-right: 3px solid #fff; /* خط سفید کنار */
}

.faq-item.active .faq-answer {
  opacity: 1;
  pointer-events: auto;
}


.faq-container {
  display: flex;
  gap: 20px;
  position: relative;
}
.mobile-text { display: none; }
.footer
{
    background-color: #272626;
    color: #f1eded;
}

.foot
{
  margin: 0% 1%;
}
.foot a
{
    font-size: 16px;
    color: #f1eded;
    text-decoration: none;
    display: block;
}
.foot p
{
    font-size: 22px;
    font-weight: bold;
    
}
.foot svg
{
    color: #ffffff;
    fill: #ffffff;
}
.ficon
{
    margin-right: 7%;
}
.fi
{
    margin: 5% 0%;
}
.pic
{
    padding: 0% 4%;
}
.result
{
    margin-top: 2%;
}
hr
{
    border-bottom: 1px solid #949494
}
.end-one p
{
    float: left;
}

.vertical-border
{
    height: 30px;
    border-left: 3px solid #ffffff;
}



@media(max-width:650px){

  .content
{
  margin-bottom: 20% !important;
  height: auto;
}
.faq-answer-box p
{
  font-size: 7.6px;
}
.container
{
  height: auto;
}
 .breadcrumb {
  align-items: center;
  font-size: 8px;
  padding-right: 5px; 
  }

  .breadcrumb a {
    color: #aaa;
    text-decoration: none; 
    transition: color 0.2s;
  }

  .breadcrumb a:hover {
    color: #fff; 
  }

  .breadcrumb .separator {
    margin: 0 8px;
    color: #666;
  }

  .breadcrumb .current {
    font-weight: bold;
    color: #fff;
  }
 
  .faq-section {
    height: 455px;
    max-width: 900px;
    margin-bottom: 252px;
    margin-top: 13%;
    text-align: right; 
    color: #fff;
    display: block!important;
    padding: 0 0 5px 0;
  }

  .faq-tabs {
    display: none;
  }
  .faq-dropdown {
    display: block;
  }

  .faq-section h2 {
    text-align: center;
font-size: 5vw; 
margin-bottom: 0%;
font-weight: bold;
  }

  .faq-tabs {
    display: inline-flex;
    justify-content: center!important;
    text-align: center;
  }

  .faq-tabs input {
    display: none;

  }

  .faq-tabs label {
    display: inline;
    text-align: center;
    border: 1px solid transparent;
    cursor: pointer;
    border-radius: 6px;
    transition: 0.3s;
    background: transparent;
    padding: 6px 3px;
    font-size: 3.8VW;
    margin: 0 0;
  }

  .faq-tabs input:checked + label + .faq-answer {
    display: block; /* وقتی radio انتخاب شد، جواب نمایش داده شود */
  }
  .faq-tabs input:checked + label {
    border: 1px solid #fff;
    box-shadow: 0 0 8px rgba(255,255,255,0.2);
    background: #33333368;
  }
  #tab6,
  label[for="tab6"] {
    display: none !important;
  }

  /* خط گرادیان */
  .faq-divider {
    height: 2px;
    margin-bottom: 5%;
    margin-top: 3%;
    background: linear-gradient(to right, transparent, #666, transparent);
  }

  .faq-questions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 10%;
    width: 57vw;
  }

  .faq-item {
    align-items: flex;
    gap: 16px; 
    padding: 14px 7px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between; 
    width: 50vw;
    height: 55px;
    background: linear-gradient(to left, #373737 0%, #1E1C1D 75%)!important;
    transition: all 0.3s;
    position: relative;
    z-index: 1; 
    margin-bottom: 2%;
  }
  .faq-container {
  display: flex;
  gap: 20px;
  position: relative;
 }
  .faq-dropdown {
  display: none;
  width: 100%;
  padding: 8px;
  margin-bottom: 8px;
  border-radius: 6px;
  }
  .faq-question {
    font-weight: 500;
    cursor: pointer;
    display: flex;
    position: relative;
  }

  .faq-item svg
  {
    cursor: pointer;
    width: 25px;
    height: 25px;
  }
  .faq-item label
  {
    font-size: 15px;
  }

  .faq-answer-box {
    width: auto;
    height: auto;
    margin-top: -375px!important;
    margin-right: 230px!important;  
    background: transparent;
    padding: 12px;
    color: #fff;
    font-size: 14px;
    line-height: 1.6;
    min-height: 150px; 
    transition: transform 0.3s ease;
    flex: 1; /* پر کردن بقیه فضا */
  }
  .faq-item.active {
  border-right: 3px solid #fff; /* خط سفید کنار */
}

.faq-item.active .faq-answer {
  opacity: 1;
  pointer-events: auto;
}

  .faq-item:checked
  {
    border-right: 3px solid;
    border-image-slice: 1;
    border-image-source: #fff;
  }
  .faq-item input {
    display: none;
  }
  .faq-item:hover .faq-answer 
  {
    opacity: 1;
    pointer-events: auto;
    
  }
  .faq-container {
  display: flex;
  flex-direction: column; /* هر سوال جدا میاد */
  gap: 12px;

  }
  .footer
  {
    width: 100%;
    height: auto;
    margin-top: -192px;
  }
  .topfoot
  {
    width: 100%;
    height: auto;
  }
  .foot
  {
    margin: 0% 5%;
    padding: 0px 0%;
    width: 15%;
    height: auto;
  }
  .foot p 
  {
    font-size: 1.2rem;
  }
  .foot a 
  {
    margin: 0%;
    font-size: 0.7rem;
  }
  .lastfoot
  {
    display: none;
    visibility: hidden;
    height: 0;
    width: 0;
    overflow: hidden;
  }

  .extra svg
  {
    color: #ffffff;
    fill: #ffffff;
  }
  .extra a
  {
    text-decoration: none;
    padding: 0% 4%;
  }
    hr 
  {
    border: 2px solid #c5c5c5;
    opacity: 30;
    border-radius: 70%;
  }
  .result p
  {
    font-size: 0.7rem;
    line-height: 1.6;
  }
  .result2 p
  {
    width: 100%;
    height: auto;
    font-size: 0.7rem;
    line-height: 1.6;
  }
  .end1
  {
    height: auto;
    width: 50%;
  }
  .end2
  {
    height: auto;
    width: 50%;
  }
  .result2 .vertical-border
  {
    height: 30px;
    border-left: 3px solid #ffffff;
  }
}